Displaying Recent Posts (2 posts)

  1. gtar
    Posted 10 years ago #

    Hi there, I'm working on a new WordPress template and want to display a list of 'Recent Posts' in the Side-Bar. The Main page displays x amount of preview posts and I was a simple 'list' of posts for the SideBar after the posts on the main page. For example:

    Main Page: post1, post2, post3
    Side-Bar (Recent Posts): post4, post5, post6 ...

    I understand I need to create a new query object but am unsure how to use it. Any help?

  2. moshu
    Posted 10 years ago #

    You can also use some Plugins.
    You can use one of the archive tags >> Template_Tags
    Or see The_Loop or the query_posts tag... endless options :)

Topic Closed

This topic has been closed to new replies.

About this Topic