• Resolved dragonflyarts

    (@dragonflyarts)


    I am having trouble changing the date format on my site. It currently reads (dd,mm,yyyy) and I want it to read (mm,dd,yyyy). I have gone into General Settings and changed the date format, time zone and time format several times, but the date on my blog posts never changes. I have diligently scanned and even tried to use the “find” function to locate the date php function to see if the template was overwriting the WordPress settings. I have had no luck. What could I be doing wrong? The site to which I’m referring is https://www.coloramamusic.com/blog/. I have also read several threads on this forum, and have tried several of the suggested fixes, but to no avail. I would appreciate any assistance offered. Thank you in advance.

Viewing 1 replies (of 1 total)
  • Thread Starter dragonflyarts

    (@dragonflyarts)

    Well, finally got it figured out…here’s what needed to happen:
    Changes in php files required. For the home page widget, edit file my-recent-posts.php from the folder theme1738/includes/widgets—
    <span><?php the_time(‘Y’); ?></span></time>
    For all other dates on the site, changes should be done in post-meta.php file , on the line 4:
    <b><time datetime=”<?php the_time(‘m-d-Y\TH:i’); ?>”><?php the_time(‘m-d-Y’); ?></time></b>

    Drove me crazy – but so glad got it working. Just don’t know why theme author would do this…

Viewing 1 replies (of 1 total)
  • The topic ‘Post Date Isn't Changing with Settings’ is closed to new replies.