[ad_1]
I was having issues with a blog from 2022 and the easiest way for me to fix the issue was to duplicate the page and republish. However, it defaults to the current date 5/1/24) and when I tried to back date it to the original date in 2022, it doesn’t change. Anyone know why? I’m running on WP 6.5.2 and PHP 8.3. Thanks in advance!
[ad_2]
> it defaults to the current date
Where is this visual default occurring?
Are you able to set the 2022 date within the post edit screen? If the desired date saves on the edit screen, are you then seeing the current 2024 date on the public, front-end of the site?
If this is the case, then it sounds like your theme is displaying the [Modified Date](https://developer.wordpress.org/reference/functions/the_modified_date/) instead of displaying the [Published Date](https://developer.wordpress.org/reference/functions/get_the_date/)