categories now are showed using archive php and a selector

This commit is contained in:
jorge 2022-03-30 21:00:07 +02:00
parent 34dc5a6030
commit b6c9e94b92
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ get_header(); ?>
<article>
<main>
<?php// get_template_part( 'template-parts/section', 'news' ); ?>
<?php// get_template_part( 'template-parts/section', 'categoryposts' ); ?>
<section class="category-posts">
<header>
<h2><?php single_term_title( );?></h2>
@ -64,7 +64,7 @@ get_header(); ?>
<?php else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
</main>
<aside>
<nav>