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?
- The topic ‘Displaying Recent Posts’ is closed to new replies.