categories now are showed using archive php and a selector
This commit is contained in:
parent
34dc5a6030
commit
b6c9e94b92
|
@ -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>
|
Loading…
Reference in New Issue