Neeon - WordPress News Magazine Theme

Neeon - WordPress News Magazine Theme v3.0.8

No permission to download

Bella Gatti

Well-known member
Babiato Lover
Trusted Seller
Trusted Uploader
Nov 16, 2019
1,519
2,131
120
Somewhere
bellagatti.com
  • Like
Reactions: gratisux

isyedjawad

New member
May 10, 2022
4
1
3
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: 16

zyntsz

New member
May 4, 2022
29
7
3
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.
 

This2ShallPass

Well-known member
Jun 21, 2020
296
172
50
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: Bella Gatti

zyntsz

New member
May 4, 2022
29
7
3
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

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu