Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( have_posts() ) { $count = 0; $column_count_1 = 0; $column_count_2 = 0;
- ?>
- <div class="fix"></div>
- <?php
- while ( have_posts() ) { the_post(); $count++;
- // Featured Starts
- if ( $count <= $woo_options['woo_magazine_feat_posts'] && ! is_paged() ) {
- woo_get_template_part( 'content', 'magazine-featured' );
- continue;
- }
- $column_count_1++; $column_count_2++;
- ?>
- <?php echo adrotate_ad(1); ?>
- <div class="block<?php if ( $column_count_1 > 1 ) { echo ' last'; $column_count_1 = 0; } ?>">
- <?php
- woo_get_template_part( 'content', 'magazine-grid' );
- ?>
- </div><!--/.block-->
- <?php
- if ( $column_count_1 == 0 ) { ?><div class="fix"></div><?php } // End IF Statement
- } // End WHILE Loop
- } else {
- get_template_part( 'content', 'noposts' );
- } // End IF Statement
- woo_loop_after();
- woo_pagenav();
- add_action( 'woo_post_inside_before', 'woo_display_post_image', 10 );
- ?>
Add Comment
Please, Sign In to add comment