Hide / show date only in category

Posted in: Newspaper
Post count: 10

Hello,

I think this is a simple question, but I can not find the answer on the forum.

Please tell me how can I show the dates for only one category?(for all posts in this category)
Other posts on the site must be with a hidden date.

Regards to your team.

Post count: 35449

Hello,

I do not quite understand, you want to show dates for one category and the posts that make part from that category? if is so then you can achieve this with using tagDiv Composer with tagDiv Cloud Library, get from cloud two single post template and two category templates and edit them, let on one category the date and set it in theme panel on the category you need to set the date -> http://prntscr.com/pt84iy, on the second category template remove the date -> http://prntscr.com/pt83zq and set it general in categories templates ( theme panel -> http://prntscr.com/pt84tg), do the same with single post template.
Also from home page you can use flex blocks and remove the date from the blocks you want -> https://forum.tagdiv.com/flex-block-settings-guide/

Hope this will help you!
Thank you!

Post count: 9

Calin, it looks like it doesn’t work on the mobile theme, so I tried it here.

  • This reply was modified 6 years by GMusic.
Post count: 35449

Hi GMusic,

For mobile theme plugin you can use the settings from theme panel, these will be apply on mobile theme as on standard templates -> https://i.imgur.com/EXnvjpD.png -> https://i.imgur.com/AUEkZMt.png or using custom css -> https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

If this is not what you mean, please provide some more details.

Thank you!

Post count: 9

So it means that it is not possible to have articles in one category with a date, and articles in another category without a date in the mobile theme. It is?

Post count: 35449

Hi,

Yes, you can display/hide the date but not for category, these settings need to be apply on modules (this is working only on flex elements ->https://i.imgur.com/1Hm64FA.jpg -> https://i.imgur.com/bK9X6Q2.png), to achieve this on category you need to use a custom css.

Thank you for your understanding!

Thank you!

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