Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * The Template for displaying pages.
- *
- * @license For the full license information, please view the Licensing folder
- * that was distributed with this source code.
- *
- * @package Bimber_Theme 4.10
- */
- // Prevent direct script access.
- if ( ! defined( 'ABSPATH' ) ) {
- die( 'No direct script access allowed' );
- }
- get_header();
- ?>
- <?php
- $bimber_home_settings = bimber_get_home_settings();
- bimber_set_template_part_data( $bimber_home_settings );
- ?>
- <?php
- if ( bimber_can_use_plugin( 'bbpress/bbpress.php' )){
- if ( is_bbpress() && bimber_show_home_featured_entries() ) :
- get_template_part( 'template-parts/featured/' . $bimber_home_settings['featured_entries_template'] );
- get_template_part( 'template-parts/ads/ad-after-featured-content' );
- endif;
- }
- ?>
- <div id="primary" class="g1-primary-max">
- <div id="content" role="main">
- <?php
- while ( have_posts() ) : the_post();
- // Include the page content template.
- get_template_part( 'template-parts/content', 'page' );
- endwhile;
- ?>
- </div><!-- #content -->
- </div><!-- #primary -->
- <?php get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement