Different global templates for different blog post categories?

Posted in: Newspaper
Post count: 29

Hello,

I was wondering if we are able to assign different blog post templates to different blog post categories from the tagDiv composer OR, should I create a Custom Post type/taxonomy for one of the categories and assign different post templates to these different post types. (I am talking about global templates, not changing each individual posts’ template one-by-one).

Details:

Say I have 2 categories of my blog posts: “News” and “Training Resources”. “News” is a standard blog post that can use a single post cloud template, no problem.

But, for the “Training Resources” posts, I want to have a different template. To be able have a different page template for these, I need to achieve this by creating a custom post type for “Training Resources” and assigning a new cloud template to this post type, right? OR is there an easier way?

(I don’t want to change all the “Training Resources” posts templates one by one, I want to use a global template for each “Training Resources” post).

Thank you in advance!
Ozgur

Post count: 21065

Hello Ozgur!

You cannot assign a single post template to a category or revert. The single post template is for posts and articles only.
If you want to use CPTs, then you can find the CPT cloud templates here: https://prnt.sc/RYaKPwiytMkh, and from here you can assign a template for your CPTs.
For more information about CPT, you can find it here: https://forum.tagdiv.com/custom-post-type-support/.

You can achieve this more easily by using the theme panel settings:https://prnt.sc/UsVxLX131Fja ( For the posts in the architecture category, it is assigned that single post template.)
In conclusion, you can assign a single post template for the posts that have that primary category. For the next category, you can choose another single post template for its posts. There, you can see all of your categories (theme panel -> categories). 

Thank you!

Post count: 29

very useful answer, thanks for your time Bettina!

Have a good day,

Best,
Ozgur

Post count: 21065

Hello Ozgur!

I’m glad that I could help you!

Have a good day too!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.