Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #27611

    Hi,

    I have changed date format from ’01 Aug 2013′ to 2013/08/01′.

    So, it shows well in Enfold_child Latest News widget.

    But it does not work in the list of posts.

    Waiting your early reply

    Regards,

    Hojoon

    #134651

    Hi!

    Hey! Which list of posts do you mean. could you provide us with a link?

    Regards,

    Kriesi

    #134652

    Thanks a lot for your reply.

    Link is below;

    http://goo.gl/oOSzby

    Regards,

    Hojoon

    #134653

    Hi,

    Edit includes > loop-index.php, find this code:

    echo "<span class='date-container minor-meta'>".get_the_time('d M Y')."</span>";

    Replace it with:

    echo "<span class='date-container minor-meta'>".get_the_time('Y/m/d')."</span>";

    Regards,

    Ismael

    #134654

    Thanks so much, Ismael

    If I update enfold theme in the future after I changed this code, what happen?

    Go back to original code, or no change?

    By the way, can I amend this code in Custom CSS?

    If possible, pls let me know…

    Regards,

    Hojoon

    #134655

    Hey,

    It will be lost on your update. Please create a change log so that you can easily monitor the files that you change or use a child theme.

    No, you can’t do it via CSS.

    Regards,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘date format’ is closed to new replies.