Custom templates for a specific category

I am having issues creating a custom page template for a category in WP. I am currently using the standard content type “post”.

So the issue is I have a parent category, and many sub categories and I would like any posts within these categories to use a specific layout. This custom template should apply to all sub categories within the parent. Is this possible, or would I need to create separate templates for each sub category?

I have looked at custom post types as another option, but It doesn’t seem they have the hierarchy options required.

Any advise would be appreciated

Read more here:: Custom templates for a specific category

Leave a Reply

Your email address will not be published. Required fields are marked *