Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $counter == 1; ?>
- <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
- <?php if ($counter == 1) : get_template_part('content', 'lead'); {echo '<div class="ng-row">';}?>
- <div class="half">
- <hr class="mh-separator"><?php
- else :
- get_template_part('content');
- endif;
- $counter++;
- endwhile;
- else :
- get_template_part('content', 'none');
- endif;
- mh_newsdesk_lite_pagination(); ?>
- </div>
- <?php $counter++;
- if($counter == 3) {
- $counter = 1;
- echo '</div>';
- }?>
- <?php
- if($counter > 3) {
- echo '</div>';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement