Your SlideShare is downloading. ×
0
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
What is the WordPress Loop?
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

What is the WordPress Loop?

2,862

Published on

This presentation describes what the WordPress loop is and why LoopBuddy is a great solution for tackling the complexity of the WordPress loop.

This presentation describes what the WordPress loop is and why LoopBuddy is a great solution for tackling the complexity of the WordPress loop.

Published in: Education, Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
2,862
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. What is the WordPress Loop? By Ronald Huereca September 15th, 2011
  • 2. Most of you have seen this screen:
  • 3. Most of you have not seen this one:
  • 4. When you a post... Your post gets saved in a “posts” database table Your post can have: Post Meta (custom fields) Taxonomies (Categories, Tags, Post Format) Attachments (Featured images, galleries) And lots more!
  • 5. WordPress and your themeautomatically turns this...
  • 6. ...into a post your userscan see on a web site.
  • 7. How do you go from this...
  • 8. ...to this?
  • 9. With a Query
  • 10. Queries decide... Which items to display Under which category And sorted in a particular order And any other conditions you can think of
  • 11. An example query... grab the post bygrab the post by ID 2338 post_status draft grab posts by sort by date published the post’s author
  • 12. Once you have the results of the Query, you can display them.
  • 13. Here is a query result displayed:
  • 14. The results from a query are outputtedin the form of a Loop.
  • 15. This post is one iterationof a WordPress Loop.
  • 16. Let’s look what makes upa Loop Item in WordPress...
  • 17. The Loop Dissected Date Published Post Author Post Title Post Content
  • 18. So how do you create your ownLoop (cough, the hard way)? Create your own Query - http://codex.wordpress.org/Template_Tags/get_posts Create a page template in your theme - http://codex.wordpress.org/Pages#Page_Templates Assign that page template to a page in WordPress Anything more complicated, you may want to create your own child theme
  • 19. Or you can use LoopBuddyand Builder (the easy way) Create unlimited queries and Loop layouts Override any section The front page The archive pages An individual post or page Search results Create a new section A “blog” archive A custom 404 page A sitemap
  • 20. no coding or thememodifications required!
  • 21. With LoopBuddy,you control the Loop
  • 22. Try out LoopBuddy andbe blown away at the possibilities Try it at: http://trials.ithemes.com/config/loopbuddy Buy it at: http://pluginbuddy.com/purchase/loopbuddy

×