• Home
  • Lookbook
    • Outfits by Season
    • Outfits by Color
    • Outfits by Holiday
  • About me
    • Portfolio
    • Disclosure
  • Resources
    • DIY
  • Etsy Store
Leanne Choi

Bottled Up Glam

  • take meHome
  • fashionLookbook
    • Outfits by Season
    • Outfits by Color
    • Outfits by Holiday
  • learn moreAbout me
    • Portfolio
    • Disclosure
  • check theseResources
    • DIY
  • shop myEtsy Store
  •  

What is The WordPress Loop?

Posted on March 14, 2018
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.

as always,
signature
Hi, my name is Leanne

Hi, my name is Leanne

I have no idea what I'm doing, but that's the beauty of creativity, you can just make it up as you go.

signature
read more

Connect

Instagram Follow Me @bottledupglam

🧧 You knew this was coming, the making of my...

🧧 You knew this was coming, the making of my...

Happy Lunar New Year! 🧧🎋 Wishing you all great health,...

Happy Lunar New Year! 🧧🎋 Wishing you all great health,...

Happy 2023! Hope everyone had an awesome NYE. 🎉🥳 I...

Happy 2023! Hope everyone had an awesome NYE. 🎉🥳 I...

A small recap of my 2022. I definitely tend to...

A small recap of my 2022. I definitely tend to...

Plenty of holiday light displays still going on for another...

Plenty of holiday light displays still going on for another...

Merry Christmas from the Zhu Zoo! Yes we memed ourselves....

Merry Christmas from the Zhu Zoo! Yes we memed ourselves....

© Leanne Choi. All Rights Reserved.