Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Design > Graphic Design > Wordpress Themes

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 12-19-2017, 09:38 PM   #2
friendhrm
Registered User
 
Join Date: Feb 2017
Posts: 181
The WordPress Loop is the code that WordPress uses to display content on your website. Take your index. php template, for example. In a basic blogging theme, this template is generally used to display several posts or post excerpts on your home page. The index.php template uses the WordPress Loop in order to do this.
friendhrm is offline   Reply With Quote
Old 12-24-2017, 10:23 PM   #3
michael Amaral
Registered User
 
Join Date: May 2017
Posts: 59
The WordPress Loop is the code that WordPress uses to display content on your website.
Below is an example of a simple WordPress Loop.
<?php
if ( have_posts() ) :
while ( have_posts() ) :
the_post();
//
// Post Content here
//
endwhile; // end while
endif; // end if
?>
michael Amaral is offline   Reply With Quote
Old 01-08-2018, 01:05 AM   #4
aesthetiqclinic
Registered User
 
Join Date: Jan 2018
Posts: 97
A loop used to display list of post on pages.It is a php code to display the posts.
<?php
if ( have_posts() )
{
while ( have_posts() )
{
the_post();
//
// Post here
//
} // end while
} // end if
?>
aesthetiqclinic is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is WordPress loop? designpluz Graphic Design 10 01-10-2018 09:33 PM
What is WordPress loop? designpluzindia Wordpress Themes 0 12-05-2017 03:53 AM
Reliable Managed Wordpress Hosting scopehosts Post your ad here 0 06-16-2017 02:36 AM
Managed Wordpress Hosting | Secure & Reliable | 99.99% Uptime | 24*7*365 Support thewebhosting Post your ad here 0 01-25-2017 09:45 PM
Managed wordpress hosting | fast, secure & reliable | 99.99% uptime | 24*7 support thewebhosting Post your ad here 0 05-09-2016 07:21 PM


All times are GMT -7. The time now is 05:38 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.