Get 20% Off On All Our Premium WordPress Themes Bundle. Use GRACEBFCM Coupon Code For Discount Deal Upto Dec 15 Buy Now

News Bug Section 9 ?

Home Support MilestoneZ WordPress Theme News Bug Section 9 ?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5232
    Edgar
    Participant

    In Section 9 (NEWS) is a wrong DATE on homepage.

    Look at your demo:

    https://www.gracethemes.com/demo/milestonez/

    3 News on 06 Jun and 1 on 11 Nov

    But it was create on June 5, and November 13.

    On my site the same bug. All news have wrong date. I don´t use it on homepage (date=”hide”) but I wanted to tell you this.

    Greetings from germany 🙂

    #5235
    Grace Themes
    Member

    Hi Edgar

    Thanks for pointing this issue.
    We have just updated MilestoneZ theme to solve the issue of date.

    To display the correct date
    Go to Appearance -> Editor -> custom-functions.php
    at line no. 902 you will find the below code

    $post_date = '<div class="postdt"><span>'.get_the_date('m').'</span> '.get_the_date('M').'</div>';

    Just need to replace this line with below code

    $post_date = '<div class="postdt"><span>'.get_the_date('d').'</span> '.get_the_date('M').'</div>';

    Regards
    Grace Themes

    #5239
    Edgar
    Participant

    Good work 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.