edited archive view

This commit is contained in:
jorge 2024-04-02 20:44:57 +02:00
parent 10298cd016
commit 4313f488c1
1 changed files with 8 additions and 2 deletions

View File

@ -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>';