Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( have_posts() ){
- while (have_posts()){ the_post();
- if( $gdl_show_title != "No" ){
- echo '<div class="sixteen columns mb0">';
- echo '<div class="page-header-wrapper">';
- echo '<h1 class="page-header-title title-color gdl-title">' . get_the_title() . '</h1>';
- echo '<div class="header-gimmick mr0"></div>';
- echo '<div class="clear"></div>';
- echo '</div>';
- echo '</div>'; // sixteen columns
- }
- if( $page_background != 'No' ){
- echo "<div class='sixteen columns'>";
- echo '<div class="page-bkp-frame-wrapper">';
- echo '<div class="page-bkp-frame">';
- }
- if(get_field('pick_your_theme') != "MacroForces"){ continue; }
- $content = get_the_content();
- // Show content
- if( $gdl_show_content != 'No' && !empty($content) ){
- echo '<div class="sixteen columns">';
- echo '<div class="gdl-page-content">';
- echo '<div class="bkp-frame-wrapper">';
- echo '<div class="bkp-frame p20">';
- the_content();
- echo '</div>';
- echo '</div>';
- echo '</div>'; // page-content
- echo '</div>'; // sixteen columns
- }
- } // while loop
- } //if have posts
Advertisement
Add Comment
Please, Sign In to add comment