WordPress.org

Ready to get started?Download WordPress

Forums

Inserting posts below every post page (2 posts)

  1. Bodygard
    Member
    Posted 5 years ago #

    Hello. I want to know how can i insert posts below every post page. Take an example:

    When i click in a post tittle, it opens a page that is a page containing the post content. Below that post, i want to make appear a list of the other posts i have in the main page.

    Is that possible? Thank you

  2. scribblerguy
    Member
    Posted 5 years ago #

    Yes. Here's a few options:
    (1) Use a custom Loop with a custom query_posts call before it.
    (2) Use wp_get_archives with the "type=postbypost" argument.

    There is also a "Recent Posts" widget that can display a number of your most recent post titles in your sidebar, or elsewhere, depending on your theme's configuration.

Topic Closed

This topic has been closed to new replies.

About this Topic