Get $500+ of the best After Effects files, video templates and music for only $20!
WordPress Cheat Sheets: The Loop Visual Model
basix

WordPress Cheat Sheets: The Loop Visual Model

This entry is part 2 of 4 in the series WordPress Cheat Sheets

With the popularity of our old WordPress cheat sheet, we’ve decided to fire up a new batch of these quick pocket guides that you guys n’ gals can download, save to your phones for a fast reference, or even print out and keep next to your desk while you’re working on customizing WordPress to do your bidding. Today’s cheat sheet: The Loop Visual Model!

The Loop is easily one of the most powerful and crucial pieces of WordPress to understand, and while there’s a lot already written about it, it’s also just nice to have a quick reference for the loop in the event that you need a fast refresher.

This is a quick visual model that can be a great helper when trying to wrap your brain around the loop for the first time (or the thirtieth!). It doesn’t include everything that you can possibly do with it (ie: comments.php isn’t even shown), but it’s a simple model that should pair nicely with coded examples.


Don’t Miss…

Don’t miss out on Our Beginners Guide to The_Loop(), or our Advanced Guide to WordPress Queries, which plays right into the content of this cheat sheet.

Oh, and we’ll be doing our best to keep these sheets updated as WordPress grows into new versions, but if you spot an error (or just want to send some love), let us know in the comments!


Other parts in this series:WordPress Cheat Sheet: The Loop Code SnippetWordPress Cheat Sheets: Theme Anatomy Model
Brandon Jones is epicera on Themeforest
Add Comment

Discussion 13 Comments

  1. Abhimanyu says:

    A typo, I found there. :)

    In the_author(), the description should be outputs the post/page author.

    BTW, a very straightforward chart. Looks like I am going to print it right away.

    Cheers!

  2. supprof1 says:

    not any video tutorial
    what’s wrong with this website
    wordpress videotutorial from html/css template to wordpress theme
    i know it sounds like an impossible mission. i remember jeffry form net.tutsplus.com way was going to make a wordpress theme from psd to html to wordpress. and when he arrived to the last step (i mean html to wordpress) he canceld this last step. what a disappointment!!!!
    when i saw this website coming i said finally. we are rescued thinking that this website will make it happen (a wordpress video tutorial theme). days have passed, months have passed and sonner year will pass and we see nothing coming. this is the reel deal. so are going to make it

  3. komiska says:

    this is an excellent template! i think i’ll turn this visual into what Camern Moll did with his fantastic html5 magnets:
    http://cameronmoll.tumblr.com/post/10688505696/html5-whiteboard-magnets

    thanks for posting this!

  4. Adrian says:

    The blog really takes an insight view in to Loops. I had heard about it but never really knew the way it works. Now I have a fair bit of idea although I have miles to go before I know more about it. Waiting for similar blogs! Thanks for this one though!

  5. Alex Denning says:

    Gotta love cheat sheets :)

  6. you may want to use the_time() rather than the_date().

    if you have multiple posts on the same date being displayed, the_date will only display 1 of them. the_time negates this. read the special note: http://codex.wordpress.org/Function_Reference/the_date

  7. M.R. says:

    It would be great a visual cheat sheet for comments template too :)

    • Brandon Jones says:
      Author

      That’s actually in the list of Cheat Sheets to come – I have about 10 total that will be in this series ;)

  8. wdesignerblog says:

    great useful cheat sheets, thanks for sharing mate :)

Add a Comment

To add a code snippet to your comment, please wrap your code like so: <pre name="code" class="html">YOUR CODE</pre>. You can replace the class name with "js," "css," "sql," or "php." If there are any "<" or ">" within your code, please search and replace them with: &lt; and &gt; respectively.