Having post category name (or id) in the class field

Posted in: Newspaper
Post count: 7

Hello,

when listing posts, is it possible to have the post category name (or id) inside the class=”…” field in the post containing div?

Post count: 35449

Hi,

If you refer that is a connection between them, then yes it is ( https://www.screencast.com/t/l3xbsCYltYB )

Thanks.

Post count: 7

When I am inside a Post there is the tag in <article> class name, but when I am in result list in home page, the tag does not appear anywhere.

I need to change the style of a post in the results set (home page) depending on the category or a specific tag (category would be OK).

Thanks

Post count: 35449

Hi,

If I understand correctly, you refer to a filter/sorter on blocks in pages ( https://www.screencast.com/t/omSA02cd ) , if is so please read this documentation about Block settings tutorial: https://forum.tagdiv.com/block-settings-tutorial/

Thank you.

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