1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
/** * The template for displaying archive pages * * Used to display archive-type pages if nothing more specific matches a query. * For example, puts together date-based pages if no date.php file exists. * * If you'd like to further customize these archive views, you may create a * new template file for each one. For example, tag.php (Tag archives), * category.php (Category archives), author.php (Author archives), etc. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package WordPress * @subpackage First Ranking Theme * @since First Ranking Theme 1.0 */ |
1 |
<?php get_header(); ?> |
1 2 3 |
<?php single_cat_title( '<h1 class="post-title">', '</h1>' ); the_archive_description( '<div class="taxonomy-description">', '</div>' ); ?> |
1 2 3 4 5 6 |
<?php while ( have_posts() ) : the_post(); ?> <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <?php the_excerpt(); ?> <?php // End the loop. endwhile; ?> |
1 |
<?php get_footer(); ?> |