• Home
  • About
  • Fitness
    • Fit Mama Tries
  • Lifestyle
    • Beauty & Fashion
    • Diary
    • Health
    • Wellbeing & Productivity
    • Travel
    • Recipes
  • Mum Life
  • Music

Subscribe

Sign up to receive tips, tricks and exclusive updates straight to your inbox

  • Home
  • Links
  • Privacy Policy
  • Guest Posts
  • Blogging Tips
The Daily Shayla
The Daily Shayla
  • Home
  • About
  • Fitness
    • Fit Mama Tries
  • Beauty & Fashion
  • Lifestyle
    • Wellbeing & Productivity
    • Health
    • Diary
    • Recipes
    • Travel
  • Music
    • My Soundcloud
  •  

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.

Thanks for stopping by
signature
TheDailyShayla
Welcome to my blog!! Hello all, I am a mama blogger from the UK! You'll find me blogging about all things from fitness to lifestyle to parenting (as well as the other random bits in-between). See you soon! - Shayla x

Subscribe so you don’t miss a post
I dare ya!

previously

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

up next

What is WordPress?

Looking for something?

Shop My Home Faves

Pinterest

Free 2 week shred challenge schedule

Follow me

Popular Posts

8 Amazing Small Bedroom Storage Ideas
Lifestyle

8 Amazing Small Bedroom Storage Ideas

Posted on September 30, 2020June 14, 2022
A Birthday In a Pandemic- Turning 23
DiaryLifestyle

A Birthday In a Pandemic- Turning 23

Posted on November 23, 2020
My 5 Favourite Natural Hair Products of 2019!
HairBeauty & FashionLifestyle

My 5 Favourite Natural Hair Products of 2019!

Posted on September 21, 2019January 2, 2022
How To Glow Up Physically And Mentally In 2021
LifestyleWellbeing & Productivity

How To Glow Up Physically And Mentally In 2021

Posted on January 19, 2021March 11, 2022
  • Home
  • Privacy Policy
  • Links
  • About Me
Copyrights © 2020 THEDAILYSHAYLA. All Rights Reserved.

Cookies help to deliver content on this website. By continuing to use the website, you agree to the use of cookies.

OK More information