WordPress.org

Forums

Calling The Loop twice (4 posts)

  1. Petester
    Member
    Posted 6 years ago #

    I wonder if it is possible to call The Loop twice, or seperate the posts returned from the Loop in two different locations.

    I am trying to port the Habari theme (example: http://wifi.axieblast.com) over, so I would need to call it twice.

  2. MichaelH
    Member
    Posted 6 years ago #

    The Codex article, The Loop, has examples of multiple loops.

  3. Petester
    Member
    Posted 6 years ago #

    Thanks, it worked however I am having some weird problems

    http://www.axieblast.com/wp

    I called the_date function in the "Previous Posts" section after the post title (sadasfds), so it is supposed to show "sadasfds on *date* by Petester....", but somehow the date is not appearing.

    Also, the_tags() that I included both in single.php and index.php shows only on single.php (should appear above the category). I think it has something to do with the Loop.

    Thanks in Advanced

  4. Petester
    Member
    Posted 6 years ago #

    Can somebody help me? I would really appreciate it

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags