✏️ 正在编辑: pages-rich-snippets.php
路径:
/home/lssfapb/www/wp-content/themes/Avada/templates/pages-rich-snippets.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * Rich snippets template. * * @author ThemeFusion * @copyright (c) Copyright by ThemeFusion * @link https://theme-fusion.com * @package Avada * @subpackage Core */ // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } ?> <?php if ( Avada()->settings->get( 'disable_date_rich_snippet_pages' ) ) : ?> <?php if ( $title_tag && Avada()->settings->get( 'disable_rich_snippet_title' ) ) : ?> <span class="entry-title rich-snippet-hidden"> <?php the_title(); ?> </span> <?php endif; ?> <?php if ( $author_tag && Avada()->settings->get( 'disable_rich_snippet_author' ) ) : ?> <span class="vcard rich-snippet-hidden"> <span class="fn"> <?php the_author_posts_link(); ?> </span> </span> <?php endif; ?> <?php if ( $updated_tag && Avada()->settings->get( 'disable_rich_snippet_date' ) ) : ?> <span class="updated rich-snippet-hidden"> <?php echo esc_attr( get_the_modified_time( 'c' ) ); ?> </span> <?php endif; ?> <?php endif; ?>
💾 保存文件
← 返回文件管理器