tag template and category template

Posted in: Newspaper
Post count: 21

Hi,

Im using Newspaper 9 and I have some questions according to tag template and category template

1)Under Theme panel -> Categories -> Category global settings : Category Template, the info box(?) says that “Some of the headers also show the category description” but it seems that all headers are showing the category description. Is there a way to hide the category description for category pages?

2) I use tag to regroup articles from different categories (that’s the purpose of tags right?) and the template of the tag page is not really beautiful with the title “Tag: XYZ” and also the tag description is visible. Is there a way to modify the template or to inherit the template from the category global settings?

Thank you!

Post count: 35449

Hi,

For first problem, you can insert a css code in Newspaper > Theme panel > Custom Code > Custom Css and paste this code there:
https://www.screencast.com/t/5ekZEG1Qh
https://www.screencast.com/t/M3wsGSdkJErR

For your second problem if you desire to hide the tags there is an option in Newspaper > Theme panel > Post Settings then deselect Show tags https://www.screencast.com/t/zkUo1txQ2IG or if you change the name tag you can do it from translate part https://www.screencast.com/t/TDcwCbaHzIb

Thank you.

Post count: 21

Hi,

1) Thank you, it solves my problem

2) I was talking about the tag page that is displayed when I click on a tag. I don’t like the title “Tag: XYZ” and also the tag description is visible (i would like to hide it). Is there a way to modify the template or to inherit the template from the category global settings?

Thank you

Post count: 35449

Hi,

If you desire to hide the description fro tag please insert this code :
.entry-content{
display: none;
}
in Newspaper > Theme panel > Custom Code > Custom Css

And for tag name in Newspaper > Theme panel > Translate change as you wish.
https://www.screencast.com/t/OlBdkoRM9B7

See the results: https://www.screencast.com/t/5mnFMRlK04u

Thank you.

Post count: 21

Thank you for your answer.

I will write what I tried because it is not really crystal clear in the translation panel. It could maybe help someone else:
– if I translate “Tags”: it modifies the tag name in the breadcrumb
– if I translate “TAGS”: it modifies the tag name at the end of the articles
– if I translate “Tag”: it modifies the tag name in the title of a tag page

Ok good it is possible to change the name, but i would like to just show the name of the tag. I want to remove the “Tag:“, just like it is displayed for a category. Is this possible?

Thank you.

Post count: 35449

Hi,

To do that you can use a custom javascript, or you can delete “Tag:” from file, or the easiest way you can add a template from cloud templates ( or you can create new one by selecting the Black_ tag template ) https://www.screencast.com/t/COhuQNWr ; after is open click on tag and delete additional text ( https://www.screencast.com/t/lBRwZWlx9fhn ); after you save it go back on WP Dashboard Newspaper > Theme panel > Template settings expand Tag template go to TDB tag Templates and select from drop down list the tag template you just edit from cloud ( our case Tag Template 1 ) don’t forget to save the settings ( https://www.screencast.com/t/hJSIrC2A ).

See the results: https://www.screencast.com/t/bsAy9XRQ6lfY

Thank you.

Post count: 21

Hi,

Perfect. Thank you for your help.

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.