Need help with A code: To show last updated date

Posted in: Newspaper
Post count: 88

Hello,

For people,the freshness of content always matters. So, I’m experimenting to replace the meta info from loop-single.php and successfully changed it to “Last updated on: X/Y/Z” on every single posts. However, I see that for each and every module I have to edit the meta info code in order to replace the publish date with the last modified time.

So, basically, I know how to do that. But, was wondering if you could let me know a single file which I can modify once to replace dates everywhere on the site from the published date to the last modified date.

P.S: Using the Instant WordPress. Not trying it on a live site. So, feel free to share what you feel may work out for me to replace the dates site-wide from date of publish to the last modified date.

Post count: 23312

Hello ankush,

I suppose that you want to add the last modified date for your module, for all the site, please notice that you will have to add the td_module.php file.

Hope this helps!

Thanks.

Post count: 88

I cloned the td_module_1 and renamed the copy of the module 1 file as the td_module.php along with the modified date code added (the lines of code are correct because it works on single post pages which were added on loop-single.php).

Is that the right way to create a td_module.php? Because cloning the module 1 file and using it as module.php didn’t work. Now, I’ve achieved it on every single post. But, not on post modules present at the sidebar and at the homepage.

My URL: https://www.techlegends.in

There’s no rush. You can take your time and let me know about it.

Post count: 23312

Hello ankush,

As I said you above, the only core file which you will have to add the condition is td_module.php, like this -> http://screencast.com/t/YXY5rOyEyb
If you are not aware of the steps in this regard, please consider hiring a freelancer/developer to help you because our support policy does not cover the custom work.

Thanks for your understanding!

Post count: 88

Thanks! That would do! 🙂 The screenshot explains what I need to do 😀

Post count: 19

Hello Ankush,

Just in case you haven’t found a solution yet, then I’ve blogged about it :

http://www.techbuzz.in/tagdiv-newspaper-theme-last-updated-modified-time.php

Bloggers should use this feature cautiously as mis-using it might attract penalty from Google.

Hope this helps.

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