Deprecated: Optional parameter $prefix declared before required parameter $extension_name is implicitly treated as a required parameter in /home/lagourz/www/wp-content/plugins/mwt-unyson-extensions/mwt-unyson-extensions.php on line 86

Deprecated: Optional parameter $full declared before required parameter $zip_path is implicitly treated as a required parameter in /home/lagourz/www/wp-content/plugins/unyson/framework/extensions/backups/includes/module/tasks/class--fw-ext-backups-module-tasks.php on line 985

Deprecated: Optional parameter $option_id declared before required parameter $value is implicitly treated as a required parameter in /home/lagourz/www/wp-content/plugins/unyson/framework/extensions/megamenu/helpers.php on line 193

Deprecated: Optional parameter $method declared before required parameter $args is implicitly treated as a required parameter in /home/lagourz/www/wp-content/plugins/unyson/framework/extensions/social/extensions/social-facebook/class-fw-extension-social-facebook.php on line 104

Deprecated: Optional parameter $method declared before required parameter $args is implicitly treated as a required parameter in /home/lagourz/www/wp-content/plugins/unyson/framework/extensions/social/extensions/social-facebook/helpers.php on line 17
What is The WordPress Loop? – La Gourmandista

Cooking in progress...

What is The WordPress Loop?

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.

es_MXSpanish