芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/www/wp-content/plugins/uicore-framework/includes/templates/pages.php
page(); } } } /** * This is the default Page template */ function page() { global $post; $is_builder = false; while (have_posts()): //setup the post first the_post(); //check if the page is built with elementor if(\class_exists('\Elementor\Plugin') && isset($post->ID) && $post->ID){ $is_builder = \Elementor\Plugin::$instance->documents->get( $post->ID )->is_built_with_elementor(); } if(\class_exists('\UiCoreBlocks\Frontend') && isset($post->ID) && $post->ID){ $is_builder = \UiCoreBlocks\Frontend::is_built_with_blocks(); } //if the page is built with elementor, then we don't need to add the wrapper if ( ($is_builder && !\class_exists('WooCommerce')) || (Helper::get_option('gen_maintenance') === 'true' && !is_user_logged_in()) || ($is_builder && \class_exists('WooCommerce') && !\is_product())) { $this->elementor_content(); } else { $this->content(); } endwhile; // End of the loop. } /** * This is the default content function */ function elementor_content() { ?>
>
>