WordPress.org

Ready to get started?Download WordPress

Forums

The 2010 Loop (5 posts)

  1. mythusmage
    Member
    Posted 3 years ago #

    I would like to add some code from a few of Lester Chan's plugins to the loop, but I'm not sure as to exactly where they go. The 2010 Loop is a bit more involved than the standard Loop after all.

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    all the loop code is in loop.php of the theme, and in single.php.
    not much different from other loops, as long as you realize that there are three different areas in loop.php.

    can you give more details of what code you would like to add where?

  3. mythusmage
    Member
    Posted 3 years ago #

    Okay, how do you differentiate between the three sub-areas in the 2010 Loop. Where do they start and where do they end?

    The code I'd like to add is the result display code for Lester Chan's WP PostView plugin.

  4. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    the 'normal' post output starts after this line (line 122, if you have line numbers in your editor):

    <?php /* How to display all other posts. */ ?>
  5. mythusmage
    Member
    Posted 3 years ago #

    I see. Thanks for your assistance.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags