Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * Singular Content Template
- */
- ?>
- <?php get_header(); ?>
- <div class="main wrap cf">
- <div class="row">
- <div class="col-12 main-content">
- <?php while (have_posts()) : the_post(); ?>
- <?php
- $panels = get_post_meta(get_the_ID(), 'panels_data', true);
- if (!empty($panels) && !empty($panels['grid'])):
- get_template_part('content', 'builder');
- else:
- get_template_part('content', 'single');
- endif;
- ?>
- <div class="comments">
- <?php comments_template('', true); ?>
- </div>
- <?php endwhile; // end of the loop. ?>
- </div>
- </div> <!-- .row -->
- </div> <!-- .main -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement