I use Pro and I want to edit the theme template so that I can have different custom text on the top of each of my blog category pages. I found this link with instructions to do so https://codex.wordpress.org/Category_Templates
Where do I find the category-slug.php file to edit in the Template Hierarchy? Going to Go to Appearance » Editor doesn’t work with Pro.
The above link says I should add this code:
<?php if (is_category('Category A')) : ?>This is the text to describe category A
<?php elseif (is_category('Category B')) : ?>This is the text to describe category B
<?php else : ?>This is some generic text to describe all other category pages, I could be left blank
<?php endif; ?>My blog is currently:https://blog.donnabarnes.com/blog/