| Line | |
|---|
| 1 | <?php |
|---|
| 2 | /** |
|---|
| 3 | * The template for displaying archive pages. |
|---|
| 4 | * |
|---|
| 5 | * @link https://codex.wordpress.org/Template_Hierarchy |
|---|
| 6 | * |
|---|
| 7 | * @package SoftMe |
|---|
| 8 | */ |
|---|
| 9 | |
|---|
| 10 | get_header(); |
|---|
| 11 | ?> |
|---|
| 12 | <section id="dt_posts" class="dt_posts dt-py-default"> |
|---|
| 13 | <div class="dt-container"> |
|---|
| 14 | <div class="dt-row dt-g-4"> |
|---|
| 15 | <?php if ( !is_active_sidebar( 'softme-sidebar-primary' ) ): ?> |
|---|
| 16 | <div class="dt-col-lg-12 dt-col-md-12 dt-col-12 wow fadeInUp"> |
|---|
| 17 | <?php else: ?> |
|---|
| 18 | <div id="dt-main" class="dt-col-lg-8 dt-col-md-12 dt-col-12 wow fadeInUp"> |
|---|
| 19 | <?php endif; ?> |
|---|
| 20 | <div class="dt-row dt-g-4"> |
|---|
| 21 | <div class="dt-col-lg-12 dt-col-sm-12 dt-col-12 single-post"> |
|---|
| 22 | <?php if( have_posts() ): |
|---|
| 23 | // Start the loop. |
|---|
| 24 | while( have_posts() ): the_post(); |
|---|
| 25 | get_template_part('template-parts/content','page'); |
|---|
| 26 | endwhile; // End the loop. |
|---|
| 27 | endif; |
|---|
| 28 | comments_template( '', true ); // show comments ?> |
|---|
| 29 | </div> |
|---|
| 30 | </div> |
|---|
| 31 | </div> |
|---|
| 32 | <?php get_sidebar(); ?> |
|---|
| 33 | </div> |
|---|
| 34 | </div> |
|---|
| 35 | </section> |
|---|
| 36 | <?php get_footer(); ?> |
|---|
Note: See
TracBrowser
for help on using the repository browser.