How to Edit Blog Category Templates to show different text

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/

Hi Donna,

Thanks for writing in! Custom development is outside the scope of our support, however you can get an idea by following this thread (https://theme.co/apex/forum/t/creating-default-post-templates-by-category/15909).

Also you can read about our planned layout builder here (https://theme.co/apex/forum/t/status-report-july-31-2018/39909) on our status report.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.