| @@ 26-47 (lines=22) @@ | ||
| 23 | ||
| 24 | <?php lsx_content_top(); ?> | |
| 25 | ||
| 26 | <?php if ( have_posts() ) : ?> | |
| 27 | ||
| 28 | <?php /* Start the Loop */ ?> | |
| 29 | <?php while ( have_posts() ) : the_post(); ?> | |
| 30 | ||
| 31 | <?php | |
| 32 | /* Include the Post-Format-specific template for the content. | |
| 33 | * If you want to override this in a child theme, then include a file | |
| 34 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. | |
| 35 | */ | |
| 36 | get_template_part( 'content', get_post_format() ); | |
| 37 | ?> | |
| 38 | ||
| 39 | <?php endwhile; ?> | |
| 40 | ||
| 41 | <?php lsx_paging_nav(); ?> | |
| 42 | ||
| 43 | <?php else : ?> | |
| 44 | ||
| 45 | <?php get_template_part( 'content', 'none' ); ?> | |
| 46 | ||
| 47 | <?php endif; ?> | |
| 48 | ||
| 49 | <?php lsx_content_bottom(); ?> | |
| 50 | ||
| @@ 28-43 (lines=16) @@ | ||
| 25 | } | |
| 26 | ?> | |
| 27 | ||
| 28 | <?php if ( have_posts() ) : global $lsx_archive; $lsx_archive = 1; ?> | |
| 29 | ||
| 30 | <?php /* Start the Loop */ ?> | |
| 31 | <?php while ( have_posts() ) : the_post(); ?> | |
| 32 | ||
| 33 | <?php lsx_get_template_part( 'content', get_post_type() ); ?> | |
| 34 | ||
| 35 | <?php endwhile; ?> | |
| 36 | ||
| 37 | <?php lsx_paging_nav(); ?> | |
| 38 | ||
| 39 | <?php else : ?> | |
| 40 | ||
| 41 | <?php lsx_get_template_part( 'content', 'none' ); ?> | |
| 42 | ||
| 43 | <?php endif; $lsx_archive = 0; ?> | |
| 44 | ||
| 45 | <?php lsx_content_bottom(); ?> | |
| 46 | ||