v9.6 now adds new $modified_date code in all the td modules?

Posted in: Newspaper
Post count: 72

In the new version of Newspaper theme v9.6 all the td modules now contain this:

$modified_date = $this->get_shortcode_att('show_modified_date');
<?php echo $this->get_date($modified_date);?>

So this now displaying the modified date rather than the published date on all posts, correct?

I don’t mind that, but I only want to list posts by their published date. Will this new code you added affect how posts are listed?

I use a Child theme, so I need to be sure to modify your code so it works on my site. Thanks for your help!

Post count: 35449

Hi,

The modified date is a new option that alloy you to display each date you want to gave on blocks, you can use this option, or use the old one with publish date.

Please check the settings from theme panel -> https://www.screencast.com/t/H7CFzAKVw7 set the option with tagDiv Composer-> https://www.screencast.com/t/OAoAK9oUu make update on post -> https://www.screencast.com/t/vcQoLkQByxc now check the date of that post -> https://www.screencast.com/t/sKbLrp1jz also you can can sort after modified date -> https://www.screencast.com/t/VSePr63B

Also the modified date on post can be set with tagDiv Composer on single post template -> https://www.screencast.com/t/eYkeLqbCqV -> https://www.screencast.com/t/3qCSo9Nxtt

Hope this will help you!
Thanks.

Post count: 184

Any chance that this will be shown on the single post template? Like, right beside the publish date?

Post count: 35449

Hi @mrsky28,

The modified date on post already exist, you’ll need to use a single post template from tagDiv Cloud Library -> https://www.screencast.com/t/eYkeLqbCqV -> https://www.screencast.com/t/3qCSo9Nxtt -> https://www.screencast.com/t/NVr3blfQSmiG

Thank you!

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