Specific category name (or specific tag name) on featured image?

Posted in: Newsmag
Post count: 2

For a certain kind of posts, i’d like to have the name of the category or tag that belongs to the post. Is this a feature already today? Or can I program it myself; if so what files d I need to change?

Background FIY. My site is https://rymdnyheter.se which has astronomical and space news. A couple of times I’d post “Skywatching Tips” (things to watch on the sky). I
d like the word “Skywatching Tips” on the upper left or right corner of the Featured Image. Those tips are always in the “Skywatching tips”, but I can also tag it with that.

Kind regards,
Claes

  • This topic was modified 1 year by Claes.
Post count: 35449

Hi Claes,
Most of the blocks display one category of the article (exceptions are made if the article has the featured category) – https://i.imgur.com/1zrUWru.pnghttps://forum.tagdiv.com/newsmag-featured-posts/ in case that you want to have a specific category to be display you can set that category as primary category on the article – https://forum.tagdiv.com/newsmag-category-tag-on-modulesblocks/https://i.imgur.com/WNfF2nW.png
I hope this will help you!

Post count: 2

Thanks. But I was unclear:

My site is https://rymdnyheter.se which has astronomical and space news. A couple of times a week I post “Skywatching Tips” (things to watch on the sky). I’d like the word “Skywatching Tips” on the upper left or right corner of the Featured Image. Those tips are always in the “Skywatching tips” category, but I can also tag it with “Skywatching Tips”.

Kind regards,
Claes

Post count: 35449

Hi Claes,
If I correctly understand you want to display the article category or tag on feature image on block like this – https://i.imgur.com/coBzDEH.jpeg for this you can check our guide -> https://forum.tagdiv.com/newsmag-category-tag-on-modulesblocks/ the category should be enabled in the theme panel per module block and the post should have a category that will be set as primary category (as it is mentioned in our guide).
Thank you!

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