post-page

Global Variables and the WordPress Loop

40
responses
by
 
on
June 6th, 2007
in
WordPress FAQs, WordPress Tips
heading
heading
heading
40
Responses

 

Comments

  1. AJ (2 comments.) says:

    Congrats on becoming an author here Ron! Hopefully more people will be able to benefit from your WP knowledge :)

  2. Jean-Paul Horn (3 comments.) says:

    *EXCELLENT POST*! Thanks!

  3. jez (3 comments.) says:

    great article, I am looking forward to reading more from your side. also I like the fancy illustrations:)

  4. steve (2 comments.) says:

    Excellent post! Great info..

    Just installed the Ajax Edit Comments WP Plugin actually – great upgrade.

    Thanks,

    –Steve

  5. rkcorp (8 comments.) says:

    i can’t believe i manage to take some time to read it in full..:)
    Great stuff man…yes..custom template tag is definately useful if you don’t want to clutter your theme code..for easy plugin intergration..all the plugin yo developed are superb…pingback and default comment separated also sure come handy..

    there is one custom template tag i would like to see..something like a post feature..ye know let’s say i only want my latest post in category A to be in top of my frontpage…and if i post latest post in category B..it will not replace the first post from category A..:)

    sure appreciate it if someone have similiar custom template tag without using plugin..thanks.

  6. Ronald (39 comments.) says:

    Thanks for all the feedback. Template tags do some in handy for organizing theme code.

  7. Bryce (1 comments.) says:

    Thanks heaps, this is a really useful tutorial.

  8. Sudar (4 comments.) says:

    Thanks for the tutorial. It has cleared up lot of confusion which I had over the LOOP. It is a great source for plugin authors like me. Thanks :)

    Cheers,
    Sudar

  9. Micha (1 comments.) says:

    Thanks for the good explanation! It was usefull for me to get into WP loops.

  10. holy hannah (1 comments.) says:

    Hi, this is all like reading a foreign language to me so forgive me if I’m completely in the wrong area. I’m looking for a way to get a list of all the blogs by a writer automatically listed on their individual bio page. Sort of a personal archive for each writer. Is this plugin loop something that would work for that?
    Thanks

  11. ChrisM (4 comments.) says:

    I think your subscribe to comments plugin is misbehaving…
    I left a comment on the New Twist on Premium WordPress Themes post, and am now receiving new comment notifications on this and Printer Friendly Codex posts…

  12. ben says:

    can you tell me what is the code for gettin a post category and parent category links like in the top of that post?

  13. Sumeet Chawla (1 comments.) says:

    Very nice article.. I really wanted to know about all the global variables supported by wordpress, specially related to the comments section ^_^ Thanks for the share..

  14. Mick (3 comments.) says:

    Thanks for the post – was struggling getting my head round how the loop worked but your diagrams helped a lot.



Trackbacks/Pingbacks

  1. […] Source:Weblog Tools Collection My name is Ronald Huereca and am a new author here at WLTC. I come from a technical and business background with a degree in EET and a MS in Business Administration. I hope to share with the WTLC readers some of little intricacies of WordPress, whether it be theme or plugin related. […] Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages. […]

  2. […] Global Variables and the Loop – An in-depth explanation. […]

  3. […] Simple pero preciso. Aprende cómo funciona WP. Vía Blogpocket Artículos relacionados :Posible contrataque de NintendoCómo hacer nudosMovistar, AvísaMe, ¡por favor!Manual para crear un plugin para WP para torpesWordpress para Wii Clasificado bajo:Weblogs / How to / minipost Comentarios : […]

  4. […] Aprende como es que funciona WordPress, si no sabes que es wordpress, es probablemente el mejor software para la creación de blogs que además es de código abierto y que usamos actualmente en Estrafalarius. En: WordPress, Mini-Posts — June 6, 2007 […]

  5. […]   Global Variables and the WordPress Loop,讲述WordPress在模板中如何处理全局变量和回环处理,对于模板作者们来说这是一篇很不错的结构文章。 […]

  6. […] Global Variables and the WordPress Loop Simple pero preciso post sobre la logica interna de funcionamiento de WordPress. (tags: Blogs WordPress) […]

  7. […] Huereca from WLTC wrote a very informative blog post on the WordPress loop and global variables. In the post he discusses a series of programming […]

  8. […] Weblog Tools Collection » Blog Archive » Global Variables and the WordPress Loop […]

  9. […] Global Variables and the WordPress LoopVery detailed description of the WordPress Loop, and the globals available within. […]

  10. […] Aprende cómo funciona WordPress en Weblog Tools Collection un sencillo artículo sobre las variables globales en Wordress y los loops. […]

  11. […] Weblog Tools Collection » Blog Archive » Global Variables and the WordPress Loop (tags: wordpress programming plugins php) […]

  12. […] blog, general i dearly wanted 2 know the wordpress stuff.. here it is and it’s informative >> No Comments so far Leave a comment RSS feed for comments on this post. TrackBack URI […]

  13. […] Weblog Tools Collection » Blog Archive » Global Variables and the WordPress Loop (tags: wordpress webdev programming) […]

  14. […] funciona WordPress? Una muy buena explicación de como funciona nuestro CMS […]

  15. […] Great tips from the gold standard wordpress blog […]

  16. […] ????Global Variables and the WordPress Loop????????Ronald Huereca ? Ajax Edit Comments ? Feed Styler ???????????????????????????????? ?????????? WordPress ???? ???????????????????????????????????? ?????????????? ? ??????????? ? […]

  17. […] Guide to the WordPress Loop: Ah, the famed WordPress loop that runs it all. Ronald has done a very nice job of identifying global variables in the WordPress loop in the past. Much like that post, this guide is for themers and plugin developers who want the […]

  18. […] Anyway, two recent articles, I have have found helpful are: The Ultimate Guide to the WordPress Loop and another called Global Variables and the WordPress Loop. […]

  19. […] Thanks for visiting! If you’re new here, you may want to subscribe to our RSS feed. This blog posts regular WordPress news, updates of themes, plugins, ideas, hacks, quick fixes and everything about blogging, especially about WordPress. Go ahead, subscribe to our feed! You can also receive updates from this blog via email.We all know what the WordPress Loop is right? If not, there are many great tutorials around the web that explain the WordPress Loop. […]

  20. […] Weblog Tools Collection » Blog Archive » Global Variables and the WordPress Loop Ähum, wordpressloopen verkar vara nån basicgrej. (tags: wordpress loop) […]

  21. […] Weblog Tools Collection » Blog Archive » Global Variables and the WordPress Loop […]

  22. […] Link: Weblog Tools Collection […]

  23. […] many great tutorials around the web that explain the WordPress Loop. […]

  24. […] We all know what the WordPress Loop is right? If not, there are many great tutorials around the web that explain the WordPress Loop. […]

  25. […] Notice the use of the recentPosts variable to start the loop. We utilize two methods of WP_Query, which is have_posts and the_post. You can read more about those two methods on my article Global Variables and the WordPress Loop. […]

  26. […] know what the WordPress Loop or query_posts(). If you have no clue what that is, then you should read more about it because it’s kind of a big deal, and very important to know if you plan to develop with […]

Obviously Powered by WordPress. © 2003-2013

page counter
css.php