How can I add elements to a specific post or category?

Posted in: Newspaper
Post count: 30

How can I add for example an author box or eliminate the date post in just one category, without extrapolating the function to the other post and categories.

Thank you!

Post count: 18283

Hello !

You can set a post template for each category: https://www.screencast.com/t/s7ebA4XG

Thank you !

Post count: 30

I have created a new post template for the opinion category, because I need this one, unlike the others, to show the author’s box in the post. I have the menu and the photo of post copied but I miss the part of the text, title, sidebar and everything that goes under this (related news, etc) except the footer that I already have it. Do you know how I can copy all this, to transfer it with the same format to the template I designed for the category of opinions.

The problem is that if I do it item by item, which is how I’ve done it so far, the margins are not respected and it comes out different. Look at those screeshots!

https://connectats24h.cat/wp-content/uploads/2021/01/3c4e2ce1-788c-45b4-bef7-5bc8e209eeb9.jpg

https://connectats24h.cat/wp-content/uploads/2021/01/4409c28d-2a79-46b0-aee1-37884396f2f8.jpg

https://connectats24h.cat/wp-content/uploads/2021/01/80e914c2-9956-4956-a4fd-50a38f15d232.jpg

https://connectats24h.cat/wp-content/uploads/2021/01/2bbb6536-15d2-469d-9ddf-a7f64b33dfe6.jpg

I would like the format to be in both cases like the one of the photos that there have green indications. Once i have that i will add the “author box” and because it will not be connected to all categories it will only be displayed in the opinion category.

How can we do that?

Post count: 18283

Hello !

You will have to do the following:

Edit the template as you can see here:https://www.screencast.com/t/vpXRzB7FYMyV
Copy all the shortcodes from the template: https://www.screencast.com/t/ye2iAqcLVdf
Open a post template like on your new host: https://www.screencast.com/t/sXhnGhmYxJ
Select all the content from here and remove: https://www.screencast.com/t/0cgtSqguH And now paste over the shortcodes you have copied from the old template.

Simply save the template and enjoy !

I hope this was helpful !

Thank you !

Post count: 30

Great, it had worked perfectly, thank you!

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