✏️ 正在编辑: bbpress.php
路径:
/home/lssfapb/www/wp-content/themes/Avada/bbpress.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php /** * A generic template for bbPress. * * @package Avada * @subpackage Templates */ // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } ?> <?php get_header(); ?> <section id="content" <?php Avada()->layout->add_class( 'content_class' ); ?> <?php Avada()->layout->add_style( 'content_style' ); ?>> <?php if ( have_posts() ) : ?> <?php the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php echo fusion_render_rich_snippets_for_pages(); ?> <div class="post-content"> <?php the_content(); ?> <?php fusion_link_pages(); ?> </div> <?php if ( ! post_password_required( $post->ID ) ) : ?> <?php if ( ( class_exists( 'WooCommerce' ) && Avada()->settings->get( 'comments_pages' ) && ! is_cart() && ! is_checkout() && ! is_account_page() && ! is_page( get_option( 'woocommerce_thanks_page_id' ) ) ) || ( ! class_exists( 'WooCommerce' ) && Avada()->settings->get( 'comments_pages' ) ) ) : ?> <?php comments_template(); ?> <?php endif; ?> <?php endif; // Password check. ?> </div> <?php endif; ?> </section> <?php do_action( 'avada_after_content' ); ?> <?php get_footer(); ?>
💾 保存文件
← 返回文件管理器