✏️ 正在编辑: page.php
路径:
/home/h359620/public_html/wp-content/themes/datis/page.php
提示:
您可以编辑任何文件(包括二进制文件),但请注意不当修改可能导致文件损坏。
<?php if (!defined('ABSPATH')) exit; get_header(); if (function_exists('datis_breadcrumbs') && !is_front_page()) : ?> <div class="container pt-3"> <div class="breadcrumbs"> <?php datis_breadcrumbs(); ?> </div> </div> <?php endif; ?> <?php $is_elementor_page = false; if ( did_action('elementor/loaded') ) { $post_id = get_queried_object_id(); if ( $post_id && method_exists(\Elementor\Plugin::$instance->db, 'is_built_with_elementor') ) { $is_elementor_page = (bool) \Elementor\Plugin::$instance->db->is_built_with_elementor($post_id); } if ( \Elementor\Plugin::$instance->editor->is_edit_mode() || \Elementor\Plugin::$instance->preview->is_preview_mode() ) { $is_elementor_page = true; } } ?> <?php if ( ! $is_elementor_page ) : ?> <div class="container mt-lg-5 "> <?php endif; ?> <?php if (have_posts()) { while (have_posts()) { the_post(); the_content(); } } ?> <?php if ( ! $is_elementor_page ) : ?> </div> <?php endif; ?> <?php get_footer();
💾 保存文件
← 返回文件管理器