WordPress.org

Ready to get started?Download WordPress

Forums

This Tag Is Out of the WordPress Loop (6 posts)

  1. duches77
    Member
    Posted 10 years ago #

    "This tag is out of the WordPress loop."
    I was reading through the documentation on the tags and saw this phrase several times. At the risk of sounding like a total dork, what does this mean?

  2. Beel
    Member
    Posted 10 years ago #

    Outside what comes between:
    ... foreach ($posts as $post) : start_wp(); ?>
    and
    <?php endforeach; else: ?>

  3. duches77
    Member
    Posted 10 years ago #

    Thank you! ^_^

  4. randybrown
    Member
    Posted 10 years ago #

    I'm out of the loop most of the time.

  5. unoamigo
    Member
    Posted 10 years ago #

    Inside of the WordPress loop, calls are generally made to acquire data on the post. Author, when it was posted, the content itself, it's geo location...
    Outside of the loop you would typically make calls to get your links, your archives, categories...

  6. duches77
    Member
    Posted 10 years ago #

    Right... I kinda figured that certain tags were for the content and certain ones were for navigation since I've already spent some time working with Blogger. I just thought the actual "out of loop" statement meant it was a tag that they were going to discontinue or something. I didn't realize they meant loop as in programming loop instead of something else.
    Like Randy said, I was a bit 'out of the loop' myself. LOL.
    Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags