How to create a template for categories

So for this you’d want to use Category Templates in your theme file, which you can read about in the codex here: https://codex.wordpress.org/Category_Templates Basically, let’s say you have the category “Trending Articles”, with the category slug being trending. You would want to copy the category template from your current theme (category.php, or if that doesn’t … Read more

Why does my category page display “posted on…” when all I want it to do is display categories?

Open the archive.php file of the Blank theme and delete this code from the top. <?php /* If this is a category archive */ if (is_category()) { ?> <h2>Archive for the &#8216;<?php single_cat_title(); ?>&#8217; Category</h2> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h2>Posts Tagged &#8216;<?php single_tag_title(); ?>&#8217;</h2> … Read more