• 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

20 Amazon Must Haves: Items You NEED in your Kitchen
Lifestyle

20 Amazon Must Haves: Items You NEED in your Kitchen

Posted on March 18, 2022June 14, 2022
These Are 4 Reasons Why I Now Take Regular Breaks
LifestyleWellbeing & Productivity

These Are 4 Reasons Why I Now Take Regular Breaks

Posted on June 5, 2021
My Night Time Skincare Routine For Super Hydrated Skin
Beauty & FashionLifestyle

My Night Time Skincare Routine For Super Hydrated Skin

Posted on October 21, 2020January 17, 2021
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