Advertisement
cyberdev

Untitled

Aug 24th, 2017
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. <?php
  2. /**
  3. * The Template for displaying pages.
  4. *
  5. * @license For the full license information, please view the Licensing folder
  6. * that was distributed with this source code.
  7. *
  8. * @package Bimber_Theme 4.10
  9. */
  10.  
  11. // Prevent direct script access.
  12. if ( ! defined( 'ABSPATH' ) ) {
  13. die( 'No direct script access allowed' );
  14. }
  15.  
  16. get_header();
  17. ?>
  18. <?php
  19. $bimber_home_settings = bimber_get_home_settings();
  20. bimber_set_template_part_data( $bimber_home_settings );
  21.  
  22. if ( is_bbpress() ) :
  23. get_template_part( 'template-parts/featured/' . $bimber_home_settings['featured_entries_template'] );
  24. get_template_part( 'template-parts/ads/ad-after-featured-content' );
  25. endif;
  26. ?>
  27. <div id="primary" class="g1-primary-max">
  28. <div id="content" role="main">
  29.  
  30. <?php
  31. while ( have_posts() ) : the_post();
  32.  
  33. // Include the page content template.
  34. get_template_part( 'template-parts/content', 'page' );
  35. endwhile;
  36. ?>
  37.  
  38. </div><!-- #content -->
  39. </div><!-- #primary -->
  40.  
  41. <?php get_footer();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement