• HOME
  • ABOUT
  • BLOG
  • PODCAST
  • THE OXFORD CLUB
NATHAN HURD

THE RICH LIFE GUY

NATHAN HURD

THE RICH LIFE GUY

  • HOME
  • ABOUT
  • BLOG
  • PODCAST
  • THE OXFORD CLUB

What is The WordPress Loop?

Share

The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post.

When WordPress documentation says “This tag must be within The Loop”, such as for specific Template Tag or plugins, the tag will be repeated for each post. For example, The Loop displays the following information by default for each post:

You can display other information about each post using the appropriate Template Tags or (for advanced users) by accessing the variable, which is set with the current post’s information while The Loop is running.

previously

I don’t know what all the WordPress terms mean: where can I get help?

up next

What is WordPress?
I'm Nathan Hurd.

I'm Nathan Hurd.

Rich Life Ambassador and Chief Growth Officer at The Oxford Club.

Follow me

Listen on Apple PodcastsListen on SpotifyListen on OvercastListen on Amazon MusicRSS Feed
NATHAN HURD

THE RICH LIFE GUY

Copyrights © 2022 NATHAN HURD. All Rights Reserved.