Topic: Post Dates Not Showing | WP Masonry Layout

Post Dates Not Showing

Home Forums Lite Version Post Dates Not Showing

This topic contains 2 replies, has 2 voices, and was last updated by  Masonry Guy 8 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19863 Reply

    Rebekah M

    So I edited the layout.php, and added the_date();
    This displays the date on some posts, and is not working on some posts.
    Any idea why?

    #19864 Reply

    Rebekah M

    BTW, there are no js errors in the console.

    #19876 Reply

    Masonry Guy
    Keymaster

    Hi,

    You need to use

    <?php echo get_the_date(); ?>

    the_date only shows in 1 posts.

    Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Post Dates Not Showing
Your information: