Topic: FIX for displaying post dates | WP Masonry Layout

FIX for displaying post dates

Home Forums Pro Version FIX for displaying post dates

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Masonry Guy 3 months, 3 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #20426 Reply

    Sven Kannenberg
    Participant

    I’ve experienced the problem that, when more then one post is being published on the same date, only the first post has it’s publishing date being displayed. The problem is the get_date method that is being used in e.g. themes/makalu/layout.php

    I’ve repleaced the content of the code block by

    `echo get_the_date(get_option(‘date_format’));

    to fix my problems. Would be great if you could merge it into your plugin 🙂

    RE get_date: the_date() not working (StackExchange)

    #20435 Reply

    Masonry Guy
    Keymaster

    Hi Sven,

    You should use get_the_time in place of get_the_date and it should fix the issue.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: FIX for displaying post dates
Your information: