WordPress.org

Ready to get started?Download WordPress

Forums

show titles of a certain category only (3 posts)

  1. mhawkins
    Member
    Posted 9 years ago #

    Guys,
    I'm setting up my WordPress templates for the first time and things are going well. I'm sure this is an easy request (I hope so anyway). I have a sidebar on my page where I'd like to be able to show the 5 most recent entries of a specific category.
    For instance, say I have a handful of posts, filed in these categories: "Work", "Personal", "Travel". In my sidebar, I'd like to have a list like "5 most recent travel entries" and show the titles of those posts that have been filed under "Travel" (the titles would be links to the individual posts).
    Is there a built-in function that can do this or do I need to write my own?
    Hope this makes sense. Thanks for any help anyone can give.

  2. chiensavant
    Member
    Posted 9 years ago #

    I hope you have noticed the search box on top of that page. If you haven't, look, it's on the top right... ;)
    Using it would have led you to a previous post that contains the answer you're looking for.

  3. mhawkins
    Member
    Posted 9 years ago #

    Thanks for the help. I tried using the search, but must have overlooked this result. Opps...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.