How to hide date of page in sidebar widget

Posted in: Newspaper
Post count: 37

How can I hide the date of Pages (not posts) which I display in the sidebar widget?

Post count: 22421

Hello,

Please check this option: https://www.screencast.com/t/MYYGEn0MKRa

Thanks

Post count: 37

Hi,

this option works fine across posts and pages (date is hidden).

However, we want to hide the date only for pages (not for posts).
The reason being is that pages are mostly evergreen content and it may look outdated even if it’s still very much relevant.
Whereas posts should highlight the date as publishing date shows freshness of content.

Please advise how to hide the date meta in widgets/sidebars only for pages and keep it for posts.

Thanks!

Post count: 22421

Hello,

The option above removes the date from pages exclusively. It will not remove it from post. Make sure this option is active: https://www.screencast.com/t/5wegsttaYZq5

Thanks.

Post count: 37

Hi, I am not referring to the date on the pages or post.

The discussion I am trying to make here is about the date in the sidebar widget not the date on single posts or pages.

We want the date of posts to show in the block 7 sidebar widget but to hide the date if the block 7 sidebar widget displays (filtered) pages.

Please see the screenshot: https://www.screencast.com/t/69QMC7s85

Post count: 20688

Hi,

So you want the date to be shown/hidden depending on what the block is filtered to display. That is not possible by a theme setting or even a modification I would know about. The block module will still be the same regardless of what is displayed in it, there would be no connection between the module and the post/page it shows.

Post count: 37

Hi,

ok, so a possible work around could be that in a future update in the “Block Settings” you allow show/hide date in “meta info on modules/blocks” > 1. Show Date for Posts (already there) 2. Show Date for Pages (not there, would be nice to have).

I don’t know how difficult this is to implement from a coding perspective, but it would be nice to have this function in a future update.

Thanks

Post count: 20688

Hi,

In the future the option in the theme panel may be still kept as a general setting, an addition would be that each block will have the setting also. So you can customize each individual block to display or not this information.

Post count: 6

I was looking for the option to hide the date in a block on my page. But why is the settings on the Theme Options page? This disables it everywhere. This should be an option on the specific block when generating it on a page.

For Example it should then generate per block:

[td_block_14 installed_post_types=”postnames” limit=”5″ sort=”alphabetical_order” ajax_pagination=”” showdate=”false”]

Post count: 20688

Hi,


@mmedia
This has not been implemented in the theme up to this moment. There would be other priorities at the moment. But it is noted and will be considered at a future time.

So if you want to remove the date for a specific block for the moment you would have to resort to some CSS
https://www.screencast.com/t/RUnybZHRTg
https://www.screencast.com/t/ctoYzhosCx7
Example code used here

.my_special_block .td-post-date,
.my_special_block .td-post-author-name span {
display: none;
}

https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/

Thanks

Post count: 6

Yeah I know the CSS “workaround”, but there should be simple tickboxes for these kind of things 😉

Post count: 20688

We have to be careful with the new options that we add in the composer. If there is a request mentioned or suggested by many users it will be strongly considered. It will also be considered if it will be very helpful and over bulk the composer. So this option may be available at some point in the future. Sorry for any inconvenience.

Post count: 7

Hi !
I would like the same issue for some blocks. Why options to desable “date” or “comments” or any other layout (show/hide) are available in the “Flex block” and not in the “Block” modules ?
thank you for your help
Sonno

Post count: 35449

Hi sonno,
The “Block” element is an old element in our theme, this is since we started to build our theme, now for more flexibility we added some new elements and our developers made the flex block and flex grid.
Thank you for your understating!

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