Teri Valentina
  • Home
  • Travel
  • Champagne Life
  • Food + Wine
  • Entertaining

Sign up to receive exclusive content on all things lifestyle and entertaining!

Teri Valentina

Travel, Style, Food and Wine.

  • Home
  • Travel
  • Champagne Life
  • Food + Wine
  • Entertaining
  • Subscribe

What is The WordPress Loop?

Posted on March 14, 2018

Share

0

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.

XOXO
signature

Subscribe so you don’t miss a post
Sign up with your email address to receive news and updates!

Bonjour!

Bonjour!

I'm Teri Valentina, and this is my travel and lifestyle blog. I hope you enjoy and come back often. Santé, xoxo

signature
Read more

Facebook

I am currently in Paris, France.

Follow me

Recent Pins

Follow me on

  • Facebook
  • Twitter
  • Instagram
  • Pinterest
  • Linkedin
  • Youtube
  • Mail

Latest Tweets

→ Follow me
  • Privacy Policy
Copyrights Teri Valentina 2022

We use cookies to ensure you get the best experience on our website.

OK