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