Support » Theme: Mission News » Bug Report: The Post Date

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Mission News!

    I’m not able to recreate this issue and see the post’s date displaying properly in the byline. The existing code is similar to your edit but also internationalizes it to support different formats:

    $post_date = date_i18n( get_option( 'date_format' ), strtotime( get_the_date('r') ) );

    get_the_date() is meant to be used within “the loop” and always returns the date of the current post.

    • This reply was modified 1 year, 7 months ago by Ben Sibley.

    Thanks for attention.

    I use this theme for a Persian website and using wp-jalali plugin to make the website suitable for Persian users. the plugin make some adjustment including date conversion. Using original line, the current date (today) is shown in byline section of all posts.
    I fixed it in my site by changing that line.

    Theme Author Ben Sibley

    (@bensibley)

    Okay I see. Thanks for the tip!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug Report: The Post Date’ is closed to new replies.