Guest User

Untitled

a guest
Jan 27th, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. if ( have_posts() ){
  2. while (have_posts()){ the_post();
  3.  
  4. if( $gdl_show_title != "No" ){
  5. echo '<div class="sixteen columns mb0">';
  6. echo '<div class="page-header-wrapper">';
  7. echo '<h1 class="page-header-title title-color gdl-title">' . get_the_title() . '</h1>';
  8. echo '<div class="header-gimmick mr0"></div>';
  9. echo '<div class="clear"></div>';
  10. echo '</div>';
  11. echo '</div>'; // sixteen columns
  12. }
  13.  
  14. if( $page_background != 'No' ){
  15. echo "<div class='sixteen columns'>";
  16. echo '<div class="page-bkp-frame-wrapper">';
  17. echo '<div class="page-bkp-frame">';
  18. }
  19.  
  20. if(get_field('pick_your_theme') != "MacroForces"){ continue; }
  21.  
  22. $content = get_the_content();
  23. // Show content
  24. if( $gdl_show_content != 'No' && !empty($content) ){
  25. echo '<div class="sixteen columns">';
  26. echo '<div class="gdl-page-content">';
  27. echo '<div class="bkp-frame-wrapper">';
  28. echo '<div class="bkp-frame p20">';
  29. the_content();
  30. echo '</div>';
  31. echo '</div>';
  32. echo '</div>'; // page-content
  33. echo '</div>'; // sixteen columns
  34. }
  35.  
  36. } // while loop
  37.  
  38. } //if have posts
Advertisement
Add Comment
Please, Sign In to add comment