Wordpress different blog assignment to different categories

aureliop
25 Posts
aureliop posted this 25 January 2019

Hi.

I've two categories in my site:
- "Actualidades legales" as in http://castelazolegal.ypunto.mx/2a-prueba-de-actualidades/
- "Notas informativas" as in http://castelazolegal.ypunto.mx/adicion-al-codigo-civil-de-la-ciudad-de-mexico/
Each one has a Post template: ("Post Actualidades legales" and "Post Notas informativas")

As you can see the first one has grey background and no border and the second one has alight blue background and a border. In order to represente they are different.

My question is when you want to see all the posts in either categories, they look the same:
- http://castelazolegal.ypunto.mx/category/actualidadeslegales/
- http://castelazolegal.ypunto.mx/category/notasinformativas/

I'd like to know if I can assign the same post template to these. I can select what Post template in each Post in WP, but, as there isn't a screen in WP for each category I can do the same.

I hope my question is clear.

Thanks in advance

Aurelio

Hi. I've two categories in my site: - "Actualidades legales" as in http://castelazolegal.ypunto.mx/2a-prueba-de-actualidades/ - "Notas informativas" as in http://castelazolegal.ypunto.mx/adicion-al-codigo-civil-de-la-ciudad-de-mexico/ Each one has a Post template: ("Post Actualidades legales" and "Post Notas informativas") As you can see the first one has grey background and no border and the second one has alight blue background and a border. In order to represente they are different. My question is when you want to see all the posts in either categories, they look the same: - http://castelazolegal.ypunto.mx/category/actualidadeslegales/ - http://castelazolegal.ypunto.mx/category/notasinformativas/ I'd like to know if I can assign the same post template to these. I can select what Post template in each Post in WP, but, as there isn't a screen in WP for each category I can do the same. I hope my question is clear. Thanks in advance Aurelio
Vote to pay developers attention to this features or issue.
1 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 25 January 2019

Hello Aurelio,

For the posts in a category Blog template is used by default, so it is the same for all categories. To create a different template for a specific category, consider using a custom template of Custom type as described in this article in the section "Category templates":
https://answers.themler.io/articles/9466/how-to-create-and-use-custom-templates

Sincerely,
Nettie

Hello Aurelio, For the posts in a category Blog template is used by default, so it is the same for all categories. To create a different template for a specific category, consider using a custom template of Custom type as described in this article in the section "Category templates": https://answers.themler.io/articles/9466/how-to-create-and-use-custom-templates Sincerely, Nettie
You must log in or register to leave comments