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:34 PM   #1
designpluzindia
Registered User
 
Join Date: Dec 2017
Posts: 88
What is WordPress loop?

What is WordPress loop?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
,
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
designpluzindia is offline   Reply With Quote

Old 12-19-2017, 10:38 PM   #2
friendhrm
Registered User
 
Join Date: Feb 2017
Posts: 134
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
friendhrm is offline   Reply With Quote
Old 12-24-2017, 11:23 PM   #3
michael Amaral
Registered User
 
Join Date: May 2017
Posts: 37
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
?>
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
michael Amaral is offline   Reply With Quote
Old 01-08-2018, 02:05 AM   #4
aesthetiqclinic
Registered User
 
Join Date: Jan 2018
Posts: 230
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? designpluzindia Wordpress Themes 0 12-05-2017 04: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 10: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 08:52 AM.


Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.