Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: get_post_time is adding dropping a day on the front end.

Discussion in 'Misc WordPress Requests' started by David Sword, Nov 10, 2017.

  1. David Sword

    Guest

    Reply To: get_post_time is adding dropping a day on the front end., by David Sword

    yeah, I’ve found too to always use get_the_date(). It seems the_date() and other functions (seemingly like get_post_time()) never seem to work as one would think they would.

    In regards to the function only showing one date and not for others, for some reason that’s intentional on several date related functions:


    …the_date() only displays the date for the first post (that is, the first instance of the_date())..

    As for it showing a +1/-1 date difference, that sounds like a timezone confusion. if you really think this is a bug in a core function, the support forums aren’t for that, you can submit a real ticket to https://make.wordpress.org/core/handbook/testing/reporting-bugs/

    Reply To: get_post_time is adding dropping a day on the front end.
     
    #1

Share This Page

Web Hosting