• Kudos
  • Contact
Webstractions Web Development
Abstract thoughts in web design and development.
  • Home
  • About
Browse: Home / query_posts()

query_posts()

Undocumented WordPress Query Function: wp_reset_query()

By Ronnie T. Dodger on February 26, 2009

Creating a conditional sidebar widget in Wordpress turned into an odyssey of discovery. How an obscure usage of query_posts will bork your is_home() conditional tags.

Posted in Wordpress | Tagged code, is_front_page(), is_home, query_posts(), recent entries, sidebar, widgets, wordpress functions, wordpress theme, wp_reset_query() | 11 Responses

Recent Posts

  • Firefox Add-on to Resize & Move Form Elements
  • Jazzing Up Yoast’s Sociable WordPress Plugin to Spur More Sharing
  • How to remove inline Recent Comments style from WordPress
  • Big Website List for Photoshop Tutorials, Tips and Tricks
  • Solutions for Filtering the Noise on Twitter
  • iconPot: Free icons for personal & commercial use
  • Writing a WordPress Function: breadcrumbs()

Affiliateships

Gravity Forms Plugin for WordPress Blogohblog.com - Premium WordPress Themes

Recent Comments

  • Ronnie T. Dodger on How to remove inline Recent Comments style from WordPress
  • Ronnie T. Dodger on How to remove inline Recent Comments style from WordPress
  • Mike on How to remove inline Recent Comments style from WordPress
  • John on How to remove inline Recent Comments style from WordPress
  • John on How to remove inline Recent Comments style from WordPress

Categories

  • Aside
  • Graphics
  • Social Networking
  • Wordpress

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Bookmarks

  • Justin Tadlock

Copyright © 2010 Webstractions Web Development.

Powered by WordPress, Hybrid, and Webstractive.