• Resolved marcusmelo

    (@marcusmelo)


    Hello I am working on a website using wordpress for an online magazine but one thing is causing me a lot of problems.

    On my “single.php” page I want to have a navigation to the latest 5 posts including thumbnails, category and author info. I do not know how to do this, since I can’t “get the posts” since there is only one post this page (the single blogpost). The closest I have gotten to this is to use

    <?php wp_get_archives('type=postbypost&limit=5'); ?>

    Which shows the title and links to the latest five blog posts, but without the thumbnail and etc. which I also want displayed for consistency across the site.

    I hope someone is able to help – please let me know if you want me to provide screenshots or similar additional information. The site is currently running on localhost.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add post navigation to "single.php" post page’ is closed to new replies.