Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Themes and Templates
    In reply to: splash page
    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().

    Thread Starter krisnam

    (@krisnam)

    figured it the code is:
    ——————————
    <li class=”cat-item”>Archives

      <?php get_archives(); ?>

    ————–
    I was making it too complicated. (I do that a lot.)

Viewing 2 replies - 1 through 2 (of 2 total)