Forums

Pulling posts from multiple categories into static area (2 posts)

  1. Publicola
    Member
    Posted 3 years ago #

    I am using the static front page and I have an area at the top of the page that is currently pulling in the latest post from a main category. I only want to show one post in this area, however rather than showing the latest post from one specific category id, I would like it to pull the latest post regardless of the category id. Is there any way to do that?

  2. MichaelH
    Volunteer
    Posted 3 years ago #

    Should be able to take out the 'cat=' parameter if that is what you are using to restrict the category now.

    Related:
    query_posts()

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.