• Resolved krisnam

    (@krisnam)


    I want a splash page with a chronological listing of all posts subdivided by category. I have been messing around with wp_query. But am wondering if there is an easier way to do this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • wp_query will do that. But if you want to list all at once, check for a sitemap page code!

    Thread Starter krisnam

    (@krisnam)

    I used query_posts. I am a little worried about the caveat: I was hoping someone could explain this better. It does -seem- to work for my purposes.

    You should not use query_posts() to create secondary listings (for example, a list of related posts at the bottom of the page, or a list of links in a sidebar widget).

    For creating secondary loops, you should make a new instance of WP_Query and use that instead. The easiest way to do this is with get_posts().

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘splash page’ is closed to new replies.