文件操作 - schema.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/ltlcompare.com/wp-content/plugins/all-in-one-seo-pack/app/Common/Views/main/schema.php
编辑文件内容
<?php /** * This is the output for structured data/schema on the page. * * @since 4.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } // phpcs:disable VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable, WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound // phpcs:disable Generic.WhiteSpace.ScopeIndent.Incorrect, Generic.WhiteSpace.ScopeIndent.IncorrectExact // phpcs:disable Generic.Files.EndFileNoNewline.Found $schema = aioseo()->schema->get(); ?> <?php if ( ! empty( $schema ) ) : ?> <script type="application/ld+json" class="aioseo-schema"> <?php echo $schema . "\n"; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </script> <?php endif;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件