My Lavender Girl

Sign up to receive exclusive content updates, fashion & beauty tips!

My Lavender Girl
  • Home
  • Accessories
  • Clothing
  • Shopping
  • Contact

What is The WordPress Loop?

Posted on March 14, 2018

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.

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

previously

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

up next

What is WordPress?

At My Lavender Girl, we spend hours to connect you with the right picks from around the world in your favourite designer labels. Our aim is to aid your decision in dressing in the most quintessential pieces every season and flaunt that style quotient effortlessly...

Read more

Search

Categories

  • Accessories
  • Beauty and Skincare
  • Clothing
  • Fashion Events
  • Lifestyle and Fashion
  • Personal
  • Shopping
  • Styling Brands
  • Travelling Tips

Recent Posts

  • Stepping out in the must-have footwear this Fall 2022
  • Engage in a WedLock with the perfect engagement ring
  • Upcoming clothing trends to look for
  • Big hit fashion trends of 2022
  • Fashion trends that are getting fame presently

Recent Pins

Common beauty mistakes that are hampering your beauty game

Common beauty mistakes that are hampering your beauty game

Posted on September 19, 2021August 4, 2021
These are the beauty trends that 2021 has in store for you

These are the beauty trends that 2021 has in store for you

Posted on July 28, 2021August 4, 2021
Easy-to-follow tips to make acne-prone skin behave during the wedding week

Easy-to-follow tips to make acne-prone skin behave during the wedding week

Posted on August 13, 2021August 4, 2021
The most important beauty trends of spring 2021

The most important beauty trends of spring 2021

Posted on August 24, 2021August 4, 2021
My Lavender Girl

Copyrights © 2021, My Lavender Girl. All Rights Reserved.

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

OK