Support » Plugins » Hacks » Looking to add & display post date above post title

  • Resolved CommonSenseCool


    I just wanted to say sorry in advance, I wasn’t sure where to put this question, so posted it twice.

    I’m using the Suffusion Theme, which is pretty good. The only problem is that when using one of the templates called “Magazine”, there is a function that displays excerpts in a “Tile” formation.

    On the top you have the image, follow by the post title and then the excerpt. The one thing it doesn’t show is the date of the post and I would like some help with that. If any one has any ideas, I have included the code that needs to be changed. If anyone can point me in the right direction and let me know what needs to be changed or removed.

    Here is the link: Image

    [Code moderated as per the Forum Rules. Please use the pastebin]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The code you need to add is very simple, and uses several perimeters to define what you would like to display. It all depends on where you would like the date/time to show up. Above the picture, below/above the post title, with the content, etc…

    The basic use to grab the post date would be:

    <?php the_time() ?>

    To point you in the right direction, have a look Here. It’s about the post meta data, and display uses.

    Thanks for pointing me in the right direction!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Looking to add & display post date above post title’ is closed to new replies.