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
template_include
hook for Posts, or look further into CPTs - what hierarchy are you trying to achieve? stackoverflow.com/questions/3114934/…