[ad_1]
I just want to have the heading look different if it’s a blog post. The post h1 doesn’t have an id and the only class applies to all posts not category and I don’t see anywhere else to add classes or id’s.
[ad_2]Copyright © 2020 - 2022, Project DMC - WordPress Tutorials for Beginners- All Rights Reserved. Privacy Policy
Duplicate your category.php template and name it category-xxxx.php where xxxx is the slug of the category you’re wanting to use e.g. If your Cats category’s slug is ‘cats’, you’d name the new template category-cats.php. Now in your new template you can add whatever code you like.
https://codex.wordpress.org/Category_Templates