Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Single post on page?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23912
    LinCSS25
    Participant

    Can anyone share with me how to set up my home page so that it only shows one post of my blog (the most recent post) with a continue reading link… What code to I change to do that? What I want is to have ONLY the most recent post on my home page then have a link in the navigation for Blog.. then that page would show the whole blog list.. however many post I allow to be shown on a page. Does that make sense?

    So I guess I need to know how to do both. how to I make another page show the whole blog rather than the home page, but have the home page show just one most recent post.

    as an example I kind of like how this guy set his up, he put the rest of his posts in an archive.

    Thanks

    #52899
    humanboy
    Member

    You might want to try a query_posts. http://codex.wordpress.org/Template_Tags/query_posts

    You can save this as your home.php and set wordpress to display this as a static home page.

    Example:

    Code:
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.