have_posts() ) { ?>
=6 || $power_mag_cat_count==1){ /* Start the Loop */ $cat_count_second = 1; ?> have_posts() ) : $query->the_post(); /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'category-layouts/ccategory-layout-1', get_post_format() ); $power_mag_cat_count++; endwhile; } else { return; } ?>
= 4 || $power_mag_cat_count==1){ /* Start the Loop */ $cat_count_second = 1; ?> have_posts() ) : $query->the_post(); /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ get_template_part( 'category-layouts/category-layout-2', get_post_format() ); /* * Include the Post-Format-specific template for the content. * If you want to override this in a child theme, then include a file * called content-___.php (where ___ is the Post Format name) and that will be used instead. */ endwhile; } else { return; } ?>
str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 'format' => '?paged=%#%', 'current' => max( 1, get_query_var('paged') ), 'total' => $query->max_num_pages ) ) ); ?>