edited archive view
This commit is contained in:
parent
10298cd016
commit
4313f488c1
10
archive.php
10
archive.php
|
@ -13,9 +13,16 @@ get_header();
|
||||||
<main id="primary" class="site-main">
|
<main id="primary" class="site-main">
|
||||||
|
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<h1><?php single_term_title( ' ' ); ?></h1>
|
<h1><?php single_term_title( ' ' ); ?></h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<aside>
|
||||||
|
<?php if( in_category('faq') ) : ?>
|
||||||
|
<?php xarxaprod_display_faqs_labels(); ?>
|
||||||
|
<?php xarxaprod_display_faqs_search(); ?>
|
||||||
|
<?php endif; //end if is_category faq ?>
|
||||||
|
</aside>
|
||||||
|
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
|
|
||||||
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
<content class="archive-posts <?php xarxaprod_class_posttype(); ?>">
|
||||||
|
@ -33,7 +40,6 @@ get_header();
|
||||||
|
|
||||||
endwhile;
|
endwhile;
|
||||||
|
|
||||||
|
|
||||||
the_posts_navigation();
|
the_posts_navigation();
|
||||||
echo '</content>';
|
echo '</content>';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue