• You MUST read the Babiato Rules before making your first post otherwise you may get permanent warning points or a permanent Ban.

    Our resources on Babiato Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Babiato to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Babiato"

Neeon - WordPress News Magazine Theme

Neeon - WordPress News Magazine Theme v3.0.2

No permission to download
  • Like
Reactions: gratisux
when i reply to test a comment error shows without showing the box
ERROR: please select I'm not a robot!« Back
 

Attachments

  • eror.png
    eror.png
    15.5 KB · Views: 19
Does anyone know how to replace the published date with the last updated date?

I tried online solutions but none of them worked and the plugin solution also doesn't work.
 
Does anyone know how to replace the published date with the last updated date?

I tried online solutions but none of them worked and the plugin solution also doesn't work.
Full disclosure, I don't use this theme and just looked through the files because of what you asked. So, I haven't checked this solution. But here is what I think you can do :

Go to :
neeon\inc\general.php

in line 608 you see this :

Code:
$post_time = '<span class="date meta-item"><span>'.$since.'</span></span>';

change $since with :
Code:
get_the_modified_date()

It appears to be within the loop so I don't think you need to pass the post ID to get_the_modified_date() but in case you need to play with it or change time formats etc ... you can check the documentation here :


Again I haven't tested this but it seems to me that this should work. So give it a try.

Oh, and remember this will entirely skip the theme's time display settings so if you want to use the time settings from the theme, you probably need to edit lines 598 through 608 accordingly.
 
  • Like
Reactions: promowp
Full disclosure, I don't use this theme and just looked through the files because of what you asked. So, I haven't checked this solution. But here is what I think you can do :

Go to :
neeon\inc\general.php

in line 608 you see this :

Code:
$post_time = '<span class="date meta-item"><span>'.$since.'</span></span>';

change $since with :
Code:
get_the_modified_date()

It appears to be within the loop so I don't think you need to pass the post ID to get_the_modified_date() but in case you need to play with it or change time formats etc ... you can check the documentation here :


Again I haven't tested this but it seems to me that this should work. So give it a try.

Oh, and remember this will entirely skip the theme's time display settings so if you want to use the time settings from the theme, you probably need to edit lines 598 through 608 accordingly.
Didn't work. Thanks for the effort tho
 
  • Like
Reactions: This2ShallPass
Thank you @promowp for share...

I guess someone will help me to add "thumbnail" on search results
 
AdBlock Detected

We get it, advertisements are annoying!

However in order to keep our huge array of resources free of charge we need to generate income from ads so to use the site you will need to turn off your adblocker.

If you'd like to have an ad free experience you can become a Babiato Lover by donating as little as $5 per month. Click on the Donate menu tab for more info.

I've Disabled AdBlock