<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Justin Tadlock &#187; WordPress Widgets</title>
	<atom:link href="http://justintadlock.com/tags/wordpress-widgets/feed" rel="self" type="application/rss+xml" />
	<link>http://justintadlock.com</link>
	<description>Life, Blogging, and WordPress</description>
	<lastBuildDate>Fri, 11 May 2012 00:27:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Quote This: WordPress Plugin</title>
		<link>http://justintadlock.com/archives/2009/03/26/quote-this-wordpress-plugin</link>
		<comments>http://justintadlock.com/archives/2009/03/26/quote-this-wordpress-plugin#comments</comments>
		<pubDate>Thu, 26 Mar 2009 07:14:41 +0000</pubDate>
		<dc:creator>Justin Tadlock</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Widgets]]></category>

		<guid isPermaLink="false">http://justintadlock.com/?p=1552</guid>
		<description><![CDATA[A WordPress plugin for displaying quotes on your blog with either the <code>quote_this()</code> template tag, <code>&#091;quote-this&#093;</code> shortcode, or the <em>Quote This</em> widget.]]></description>
			<content:encoded><![CDATA[<p><img src="http://justintadlock.com/blog/wp-content/uploads/2009/03/quote-this.png" alt="Quote This WordPress Plugin" title="Quote This WordPress Plugin" width="600" height="100" class="aligncenter size-full wp-image-1554" /></p>
<p><span class="drop-cap">T</span>o continue working on my <a href="http://justintadlock.com/archives/2009/02/06/on-a-mission-to-create-new-wordpress-widgets" title="On a mission to create new WordPress widgets">mission to create new WordPress widgets</a>, fulfill my obsession with <a href="http://justintadlock.com/archives/2009/03/24/template-tag-shortcodes-wordpress-plugin" title="Template Tag Shortcodes: WordPress Plugin">shortcodes</a>, and release my fourth plugin this month, I present to you <em>Quote This</em>, a plugin to display quotes on your blog.</p>
<p>I didn&#8217;t set out to <em>break the mold</em> with this plugin.  I&#8217;m well aware of several other plugins that display quotes, some which probably do it far better than this plugin does.  </p>
<p>I&#8217;ve been using this on my blog for several years now, and I figured I might as well turn it into a plugin.  I actually mentioned creating it in a <a href="http://justintadlock.com/archives/2008/03/17/the-options-themes-new-groove#comment-3541" title="Comment 3541">comment</a> just over a year ago.  So, it&#8217;s been lying around, gathering dust.</p>
<p>You can see it in action on my <a href="http://justintadlock.com/writing" title="Writing">Writing page</a>.</p>
<h2>What does the Quote This plugin do?</h2>
<p>It is my personal collection of quotes that can be randomly displayed on your blog.  There are three ways to use it:</p>
<ul>
<li>Call the <code>quote_this()</code> function in your theme template files.</li>
<li>Type the <code>&#091;quote-this&#093;</code> shortcode in your posts and pages.</li>
<li>Use the <em>Quote This</em> widget in your widget areas.</li>
</ul>
<p>You can display quotes from several categories:</p>
<ul>
<li>Art</li>
<li>Film</li>
<li>Friendship</li>
<li>Individual</li>
<li>Life</li>
<li>Literature</li>
</ul>
<h2>Future features of the Quote This plugin</h2>
<p>Right now, the plugin is nothing special.  It doesn&#8217;t have a ton of quotes or 100 features to choose from.  It&#8217;s just a simple plugin.</p>
<p>I&#8217;d like to add in more formatting options.  Maybe even throw in an option to grab quotes by author.  Add in various ways to display quotes.  I&#8217;m open to suggestions.</p>
<p>The main thing is to add more quotes to the <em>Quote This</em> collection.  I&#8217;ll probably periodically update it with new quotes when I&#8217;m bored (I like to collect quotes).  Of course, you all are welcome to submit quotes as well.  Just send me an <a href="http://justintadlock.com/contact" title="Justin Tadlock's contact page">email</a> if you&#8217;d like with the quotes (include quote authors).  I&#8217;ll be happy to add them to the plugin.</p>
<h2>Download the plugin</h2>
<p>Take a look at the <code>readme.html</code> file for full instructions on how to use this plugin.</p>
<ul>
<li><strong>Version:</strong> 0.1</li>
<li><strong>Requires:</strong> WordPress 2.5+</li>
<li><strong>Support:</strong> <a href="http://themehybrid.com/support" title="Support forums at Theme Hybrid">Support forums</a></li>
<li><a href="http://justintadlock.com/downloads/quote-this.zip" title="Download the Quote This WordPress plugin">Download</a></li>
<li><a href="http://wordpress.org/extend/plugins/quote-this" title="Download the Quote This WP plugin from the plugins repository">Download</a> (WP.org plugin repository)</li>
</ul>
<p class="note">Please don&#8217;t use my contact page or the comments section to ask support questions.  Use my <a href="http://themehybrid.com/support" title="Theme Hybrid support forums">support forums</a> at Theme Hybrid, which is where I handle all support questions for my WordPress projects.</p>
]]></content:encoded>
			<wfw:commentRss>http://justintadlock.com/archives/2009/03/26/quote-this-wordpress-plugin/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Query Posts Widget: WordPress Plugin</title>
		<link>http://justintadlock.com/archives/2009/03/15/query-posts-widget-wordpress-plugin</link>
		<comments>http://justintadlock.com/archives/2009/03/15/query-posts-widget-wordpress-plugin#comments</comments>
		<pubDate>Sun, 15 Mar 2009 09:02:36 +0000</pubDate>
		<dc:creator>Justin Tadlock</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Widgets]]></category>

		<guid isPermaLink="false">http://justintadlock.com/?p=1526</guid>
		<description><![CDATA[Have you ever wanted a WordPress widget that would allow you to display posts <em>your</em> way?  Now you can have that.  Check out the <em>Query Posts</em> widget.]]></description>
			<content:encoded><![CDATA[<p>The <em>Query Posts</em> WordPress widget is finally here.  I figured after I&#8217;ve let you all <a href="http://justintadlock.com/archives/2009/01/28/anybody-want-to-test-a-new-widget" title="Anybody want to test a new widget?">beta test</a> this thing for over a month, it was about time.</p>
<p>This widget has everything you&#8217;ll ever need to show posts on your site without touching code.  It&#8217;s like having a WordPress developer ready to do your bidding all wrapped up in a widget.  All you need is a theme that&#8217;s widgetized, which I believe is pretty standard these days.</p>
<h2>What does the Query Posts widget do?</h2>
<p>It lets you displays posts by nearly any criteria you can imagine using the <a href="http://codex.wordpress.org/Template_Tags/query_posts" title="WordPress Codex: query_posts">query_posts()</a> function, except you don&#8217;t need to know anything about <acronym title="Hypertext Preprocessor">PHP</acronym> to use it.  You can do all kinds of neat things:</p>
<ul>
<li>Posts by tag.</li>
<li>Posts by category.</li>
<li>Posts by author.</li>
<li>Posts by time/date.</li>
<li>Posts by custom field key and/or value.</li>
<li>Choose any number.</li>
<li>Order by various terms.</li>
<li>Show pages.</li>
<li>Show the full post, excerpt, or even order them in a list.</li>
<li>And much more&#8230;</li>
</ul>
<p>Nearly 40 options are available in this widget, which you can use any number of times.  Just check out the screenshot:</p>
<p><a href="http://justintadlock.com/blog/wp-content/uploads/2009/03/query-posts-widget.png" title="Screenshot of the Query Posts widget settings"><img src="http://justintadlock.com/blog/wp-content/uploads/2009/03/query-posts-thumb.png" alt="Query Posts WordPress Widget" title="Query Posts WordPress Widget" width="600" height="146" class="aligncenter size-full wp-image-1527" /></a></p>
<h2>Download the Query Posts widget</h2>
<p>If you need more detailed instructions on how to use the plugin or don&#8217;t understand the settings, see the <code>readme.html</code> file included with the plugin download.</p>
<ul>
<li><strong>Support:</strong> <a href="http://themehybrid.com/support" title="Support forums at Theme Hybrid">Support forums</a></li>
<li><a href="http://wordpress.org/extend/plugins/query-posts" title="Download the Query Posts widget from WordPress.org">Download</a> (from WP.org)</li>
</ul>
<p><strong>Tutorials:</strong></p>
<ul>
<li>Basic instructions included in the <code>readme.html</code> file.</li>
<li><a href="http://wordpress.tv/2009/03/17/using-the-query-posts-widget-plugin-video-overview-tutorial" title="Video Overview of the Query Posts widget plugin">Video Overview</a> by <a href="http://wordpressmodder.org/query-posts-widget-wordpress-plugin-video-overview-tutorial-350.html" title="Video overview by Adam Warner">Adam Warner</a></li>
<li><a href="http://wordpressmodder.org/query-posts-widget-plugin-widgetized-page-template-widget-logic-wordpress-gold-366.html" title="Query Posts widget + widgetized page templates + Widget Logic">Query Posts + Widgetized Page Template + Widget Logic</a> video by Adam Warner</li>
</ul>
<p class="note">Please don&#8217;t use my contact page or the comments section below to ask support questions.  Use my <a href="http://themehybrid.com/support" title="Theme Hybrid support forums">support forums</a> at Theme Hybrid, which is where I handle all support questions for my WordPress projects.</p>
<p>If you run across any bugs or want to share ideas about how to make this plugin better, feel free to post in the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://justintadlock.com/archives/2009/03/15/query-posts-widget-wordpress-plugin/feed</wfw:commentRss>
		<slash:comments>230</slash:comments>
		</item>
		<item>
		<title>Disable widget areas (sidebars) without touching theme templates</title>
		<link>http://justintadlock.com/archives/2009/03/06/disable-widget-areas-without-touching-theme-templates</link>
		<comments>http://justintadlock.com/archives/2009/03/06/disable-widget-areas-without-touching-theme-templates#comments</comments>
		<pubDate>Sat, 07 Mar 2009 00:38:48 +0000</pubDate>
		<dc:creator>Justin Tadlock</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Widgets]]></category>

		<guid isPermaLink="false">http://justintadlock.com/?p=1495</guid>
		<description><![CDATA[A guide on how to remove WordPress widgets areas on a conditional basis with sacrificing the original theme code. ]]></description>
			<content:encoded><![CDATA[<p><span class="drop-cap">O</span>ne thing that&#8217;s always bothered me about needing to remove widget areas in WordPress is that you have to dive into template files to do it.  For example, I may want to create a post that doesn&#8217;t need widgets shown.  That typically requires a little editing of my files.</p>
<p>If you know me well enough, then you know that I hate for anyone to edit templates in a WordPress theme, even if that person is me.</p>
<p>So, what I&#8217;ll be showing you is two quick and easy ways to disable widget areas using your theme&#8217;s <code>functions.php</code> file.  Technically, what we&#8217;ll be doing is disabling the widgets, which is basically the same thing when you get right down to it.</p>
<p>This article assumes that your theme sets no default code if no widgets are shown.  Otherwise, it is outside the scope of this tutorial.</p>
<h2>Removing all widget areas</h2>
<p>What we&#8217;ll be doing in this first function is disabling all widgets on the home page.  First, open your theme&#8217;s <code>functions.php</code> file and input this <acronym title="Hypertext Preprocessor">PHP</acronym> code:</p>
<pre><code>&lt;?php

add_filter( 'sidebars_widgets', 'disable_all_widgets' );

function disable_all_widgets( $sidebars_widgets ) {

	if ( is_home() )
		$sidebars_widgets = array( false );

	return $sidebars_widgets;
}

?&gt;</code></pre>
<p>This is a function that will remove widget areas from our home page.  Well, you might have other pages, posts, archives, or whatever in mind that you want to disable widget areas on.  In that case, you need to look up the appropriate WordPress <a href="http://codex.wordpress.org/Conditional_Tags" title="WordPress conditional tags">conditional tag</a>.</p>
<h2>Removing a single widget area</h2>
<p>Let&#8217;s suppose your theme has widgets in multiple places.  Let&#8217;s further suppose that you want to remove only the footer widget area on single posts.  This will be basically the same thing as above, but you need to know the <acronym title="Identification">ID</acronym> of the widget area.  This will be something you&#8217;ll either have to find in your theme&#8217;s code or ask your theme author about.</p>
<p>For the sake of this tutorial, the <acronym title="Identification">ID</acronym> of our footer widget area is simply <code>footer</code>.  We&#8217;ll create a new function for this as well.  Add this to your theme&#8217;s <code>functions.php</code> file.</p>
<pre><code>&lt;?php

add_filter( 'sidebars_widgets', 'disable_footer_widgets' );

function disable_footer_widgets( $sidebars_widgets ) {

	if ( is_single() )
		$sidebars_widgets['footer'] = false;

	return $sidebars_widgets;
}

?&gt;</code></pre>
<p>Again, we used a WordPress <a href="http://codex.wordpress.org/Conditional_Tags" title="WordPress conditional tags">conditional tag</a> to check if it was a single post.</p>
<h2>Why use these methods as opposed to directly editing templates?</h2>
<p>One of the biggest issues between theme authors and users happens when it&#8217;s time to upgrade a theme.  Users don&#8217;t generally know the best way to accomplish something like removing a widget area without compromising the original code.  Therefore, the user might not upgrade his or her theme and take advantage of the benefits of better code.</p>
<p>WordPress allows a <code>functions.php</code> file in themes that&#8217;s ideal for overwriting things.  The more we keep users out of theme files, the easier it becomes to upgrade themes for both theme authors and end users.</p>
<p>Also, theme authors should take a good look at the above functions.  This is a great way to make certain parts of your theme look and function differently from the rest of the theme.  Use your imagination (Ex: pages without sidebars, custom fields to remove widgets, etc.).</p>
]]></content:encoded>
			<wfw:commentRss>http://justintadlock.com/archives/2009/03/06/disable-widget-areas-without-touching-theme-templates/feed</wfw:commentRss>
		<slash:comments>39</slash:comments>
		</item>
		<item>
		<title>Widgets Reset: WordPress Plugin</title>
		<link>http://justintadlock.com/archives/2009/03/03/widgets-reset-wordpress-plugin</link>
		<comments>http://justintadlock.com/archives/2009/03/03/widgets-reset-wordpress-plugin#comments</comments>
		<pubDate>Wed, 04 Mar 2009 00:36:25 +0000</pubDate>
		<dc:creator>Justin Tadlock</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Widgets]]></category>

		<guid isPermaLink="false">http://justintadlock.com/?p=1481</guid>
		<description><![CDATA[If you've ever lost your WordPress widgets when switching themes or they've gotten stuck in some random widget area, you should check out this plugin.  It completely resets all of your widgets.]]></description>
			<content:encoded><![CDATA[<p><span class="drop-cap">H</span>ave your widgets ever been <em>stuck</em> in another widget area?  Have they ever disappeared when you switched WordPress themes?</p>
<p>Well, this little plugin is for completely resetting your widgets back to the factory settings.</p>
<p>It&#8217;s not for moving widgets, saving widgets, or anything of the sort.  When I say it <em>resets</em> your widgets, I really mean it.  The slate is wiped completely clean.</p>
<h2>Why create a plugin to reset widgets?</h2>
<p>If you&#8217;ve hung out around the WordPress.org support forums lately, you&#8217;ve probably seen a few people wondering why their widgets disappeared when changing themes.  I also had this same issue on one of the releases of the <em>Hybrid</em> theme.</p>
<p>Basically, widget areas (aka <em>sidebars</em>) with unique <acronym title="Identification">ID</acronym>s will throw things off.  Widgets are added according to a widget area&#8217;s <acronym title="Identification">ID</acronym>.  When you change themes that have different <acronym title="Identification">ID</acronym>s, the widgets are no longer where you might expect them to be.</p>
<h2>Download the Widgets Reset WordPress plugin</h2>
<p class="note"><strong>Note:</strong> If you have important information saved in something like a text widget, you better find a way to save it before resetting your widgets because you&#8217;ll lose that information.  In short, don&#8217;t complain if you lose widget information that you decided to reset.</p>
<ul>
<li><a href="http://justintadlock.com/downloads/widgets-reset.zip" title="Download the Widgets Reset WordPress plugin">Download</a></li>
</ul>
<p>See the <code>readme.html</code> file in the plugin download for full instructions.</p>
<h2>How to manually reset your widgets</h2>
<p>Actually, this plugin just provides a pretty interface.  You really don&#8217;t need the plugin.  A simple way to do this would be to drop the below code in your theme&#8217;s <code>functions.php</code> file and hit refresh on your browser.</p>
<pre><code>&lt;?php update_option( 'sidebars_widgets', $null ); ?&gt;</code></pre>
<p>Then, just remove it.  But, if the thought of adding <acronym title="Hypertext Preprocessor">PHP</acronym> code scares you, just use the plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://justintadlock.com/archives/2009/03/03/widgets-reset-wordpress-plugin/feed</wfw:commentRss>
		<slash:comments>61</slash:comments>
		</item>
		<item>
		<title>On a mission to create new WordPress widgets</title>
		<link>http://justintadlock.com/archives/2009/02/06/on-a-mission-to-create-new-wordpress-widgets</link>
		<comments>http://justintadlock.com/archives/2009/02/06/on-a-mission-to-create-new-wordpress-widgets#comments</comments>
		<pubDate>Fri, 06 Feb 2009 07:18:58 +0000</pubDate>
		<dc:creator>Justin Tadlock</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Widgets]]></category>

		<guid isPermaLink="false">http://justintadlock.com/?p=1450</guid>
		<description><![CDATA[I'm on a mission to create cool, new WordPress widgets. Of course, I'll need some help with coming up with fresh ideas.]]></description>
			<content:encoded><![CDATA[<p><span class="drop-cap">I</span> admit it.  I&#8217;m addicted to WordPress widgets, but probably not in the same way that some people might be.  I very much like building cool widgets, even if I have no use for them myself.</p>
<p>I&#8217;ve been looking around the <em>WordPress-o-Sphere</em>, trying to find any widgets that I would recommend to my users at <a href="http://themehybrid.com" title="Theme Hybrid">Theme Hybrid</a>.  Quite frankly, I haven&#8217;t found too many that I like.  Many don&#8217;t offer settings for the user to tinker with.  Most aren&#8217;t even <em>multi-widgets</em> (you can only use them once).</p>
<p>So, I&#8217;m on a mission.</p>
<h2>What are WordPress widgets?</h2>
<p>Unless you&#8217;re new to WordPress or haven&#8217;t upgraded your blog in quite some time, you&#8217;ve missed out on a lot.  The WordPress Codex explains <a href="http://codex.wordpress.org/Plugins/WordPress_Widgets" title="WordPress Widgets">widgets</a> as:</p>
<blockquote cite="http://codex.wordpress.org/Plugins/WordPress_Widgets"><p>
WordPress Widgets are also known as &#8220;sidebar accessories&#8221; which are WordPress Plugins or add-ons to your WordPress blog sidebar. Developed by Automattic for WordPress and WordPress.com blogs, WordPress Widgets allow the easy addition of design elements, gadgets, content, images, and more to your WordPress sidebar to personalize your blog without knowing HTML, PHP, or any code.
</p></blockquote>
<p>Ughh!  They used the term &#8220;sidebar accessories.&#8221;  </p>
<p>If you&#8217;re using a theme like <a href="http://themehybrid.com/themes/hybrid" title="Hybrid WordPress theme framework">Hybrid</a> or <a href="http://themeshaper.com/thematic-for-wordpress/" title="Thematic for WordPress">Thematic</a>, you probably know that the term &#8220;sidebar accessories&#8221; doesn&#8217;t apply to your theme.  You&#8217;re probably aware that you can add widgets just about anywhere.  In fact, <em>Hybrid</em> has a page template that&#8217;s completely widgetized.</p>
<p>To settle this right now &mdash; widgets are not sidebar accessories.  They are simply accessories.  With the right theme, they are accessories that you can place anywhere.</p>
<h2>My mission</h2>
<p>I want to code some new widgets.</p>
<p>My vision of what widgets should be and others&#8217; visions might be different.  I want widgets that extend the core WordPress functions.  I want to extend the things that are already there but might be hard for Average Joe to implement.</p>
<p>For example, anyone that has used WordPress long enough probably knows how to work with the <a href="http://codex.wordpress.org/Template_Tags/wp_list_pages" title="WordPress template tag: wp_list_pages()">wp_list_pages()</a> function.  But, isn&#8217;t it much easier to just click an option here, select a drop-down there, instead of diving into code?  (Note: The <a href="http://justintadlock.com/archives/2008/12/09/widgets-reloaded-wordpress-plugin" title="Widgets Reloaded plugin">Widgets Reloaded</a> plugin handles this particular function.)</p>
<h2>What widgets would you like to see?</h2>
<p>Pretend you were hiring me to create a cool widget for you.  What would you have me build?</p>
<p>Honestly, I wouldn&#8217;t take the job if you asked me to integrate with some third-party service like Twitter or Flickr or something like that.  I would probably only take it if you wanted to get information that already exists within WordPress and use it within a widget.</p>
]]></content:encoded>
			<wfw:commentRss>http://justintadlock.com/archives/2009/02/06/on-a-mission-to-create-new-wordpress-widgets/feed</wfw:commentRss>
		<slash:comments>43</slash:comments>
		</item>
		<item>
		<title>Anybody want to test a new widget?</title>
		<link>http://justintadlock.com/archives/2009/01/28/anybody-want-to-test-a-new-widget</link>
		<comments>http://justintadlock.com/archives/2009/01/28/anybody-want-to-test-a-new-widget#comments</comments>
		<pubDate>Wed, 28 Jan 2009 07:08:30 +0000</pubDate>
		<dc:creator>Justin Tadlock</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Plugins]]></category>
		<category><![CDATA[WordPress Widgets]]></category>

		<guid isPermaLink="false">http://justintadlock.com/?p=1437</guid>
		<description><![CDATA[I'm looking for people to test out a new, experimental WordPress widget that allow you to display content in just about any way you want.]]></description>
			<content:encoded><![CDATA[<p class="note">This widget has now been officially released.  Go to the <a href="http://justintadlock.com/archives/2009/03/15/query-posts-widget-wordpress-plugin" title="Query Posts WordPress widget">Query Posts plugin page</a> for more information and to download.</p>
<p><span class="drop-cap">A</span> few days ago, I mentioned that I&#8217;d be releasing a beta version of a new widget.  Now, I&#8217;m looking for people to test it out and provide insightful feedback on what they think about it.</p>
<p>This widget is pretty powerful in terms of what it can do.  I&#8217;m not even sure if there are any widgets that attempt to do what this one does.  Right now, it&#8217;s experimental.  I&#8217;m hoping that by getting some solid feedback on it I&#8217;ll be able to refine it and officially release it.</p>
<h2>What does this plugin/widget do?</h2>
<p>The plugin creates a new widget called <em>Query Posts</em>.  Basically, it allows you to grab posts and display them according to most of the <a href="http://codex.wordpress.org/Template_Tags/query_posts" title="Query Posts">query_posts()</a> arguments.  Right now, the widget has more than 30 various settings.</p>
<p>You can display posts according to category, tag, author, custom field, time, and loads of other arguments.  Seriously.  Just take a look at the screenshot (<em>click image for larger view</em>):</p>
<p><a href="http://justintadlock.com/blog/wp-content/uploads/2009/01/query-posts-widget.png" title="Screenshot of the Query Posts WP widget"><img src="http://justintadlock.com/blog/wp-content/uploads/2009/01/query-posts-thumb.png" alt="Query Posts WordPress Widget" title="Query Posts WordPress Widget" width="600" height="150" class="aligncenter size-full wp-image-1438" /></a></p>
<h2>Why create this widget?</h2>
<p>I recently held a survey at <a href="http://themehybrid.com" title="Theme Hybrid">Theme Hybrid</a> to get a feel for what type of themes everyone wanted.  On this survey, I asked a question about what areas should be widgetized.  One of the choices was &#8220;I want all templates completely widgetized.&#8221;  This was an answer I jokingly added because creating a theme that is completely widgetized is not really a viable option.  </p>
<p>That choice pulled the second-highest number of votes.</p>
<p>If I were to create a completely widgetized theme, there&#8217;d have to be widgets that handled displaying post content.  This is the first step in seeing how that might work.</p>
<p>While I am entertaining this idea as an experiment, I don&#8217;t believe themes should be widgetized like that.  It takes away from the creativity of the theme designer in many aspects, but I won&#8217;t get into that now.</p>
<p>There are other practical applications for using this widget.  Maybe something like adding asides to a sidebar or widgetizing a page template to allow for custom pages (for those of you unaware, the <em>Hybrid</em> theme has this page template).</p>
<h2>Get the widget</h2>
<p>Before downloading this and testing it out, please note that you should have a basic understanding of how <a href="http://codex.wordpress.org/Template_Tags/query_posts" title="Query Posts">query_posts()</a> works.</p>
<ul>
<li>You may now download this on the official <a href="http://justintadlock.com/archives/2009/03/15/query-posts-widget-wordpress-plugin" title="Query Posts WordPress widget">Query Posts plugin page</a></li>
</ul>
<p>I hope you have fun with this widget.  Break it.  Get annoyed with it.  Report back to me with suggestions and feedback, please.</p>
<p class="note">This is not an official version and is not for use on a live site.  It is a test version.  If you put it on a live site and it breaks your blog, then that&#8217;s on you.  I doubt it&#8217;ll break your blog though.</p>
]]></content:encoded>
			<wfw:commentRss>http://justintadlock.com/archives/2009/01/28/anybody-want-to-test-a-new-widget/feed</wfw:commentRss>
		<slash:comments>34</slash:comments>
		</item>
		<item>
		<title>If you were a WordPress theme developer: Widget areas</title>
		<link>http://justintadlock.com/archives/2008/10/05/if-you-were-a-wordpress-theme-developer-widget-areas</link>
		<comments>http://justintadlock.com/archives/2008/10/05/if-you-were-a-wordpress-theme-developer-widget-areas#comments</comments>
		<pubDate>Sun, 05 Oct 2008 15:00:43 +0000</pubDate>
		<dc:creator>Justin Tadlock</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Widgets]]></category>

		<guid isPermaLink="false">http://justintadlock.com/?p=1058</guid>
		<description><![CDATA[In this third post of the <em>If you were a WordPress theme developer</em> series, I'm asking users to share their ideas about WordPress widgets.  What areas of a theme should come widgetized?]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I wrote about how we could <a href="http://justintadlock.com/archives/2008/04/18/widgetize-this" title="Widgetize this!">widgetize different areas</a> of our site.  Today, I want to ask everyone what areas should be widgetized.</p>
<p>This is the third post in my <em>If you were a WordPress theme developer</em> series, in which I&#8217;m asking users to give their feedback on how themes should work.  We&#8217;ve already talked about <a href="http://justintadlock.com/archives/2008/10/02/if-you-were-a-wordpress-theme-developer-page-templates" title="What page templates should be included in WordPress themes?">page templates</a> and <a href="http://justintadlock.com/archives/2008/10/04/if-you-were-a-wordpress-theme-developer-404-templates" title="What should be added to 404 templates in WP themes?">404 templates</a>.  So, add your input on those posts as well.</p>
<h3>What are widgets?</h3>
<p>Well, if you don&#8217;t know what widgets are, you&#8217;re either new to WordPress or haven&#8217;t came out from under your rock in some time.  The WordPress Codex has a good explanation of <a href="http://codex.wordpress.org/Plugins/WordPress_Widgets" title="WordPress widgets">widgets</a>.</p>
<p>Basically, widgets let you dress up your blog with cool add-ons straight from your WordPress dashboard, which gives the average user a lot more control over what&#8217;s shown on his or her blog.  </p>
<p>Typical themes will have a certain amount of widget sections, which lets you add widgets.</p>
<p>In most themes, you can only add widgets to your sidebar.  Some themes have even branched out and added a footer widget section.</p>
<p>One of the best implementations of an advanced widget system is Ian Stewart&#8217;s <a href="http://themeshaper.com/thematic-for-wordpress/" title="Thematic WordPress theme framework">Thematic theme</a>.  Even though it is a bit more advanced, it doesn&#8217;t add a lot of complexity for users.  It actually makes it much easier to customize your blog.  I would definitely recommend giving it a go.</p>
<h3>What sections of a theme should be widgetized?</h3>
<p>I want to branch out a bit more from the standard sidebar-only widget areas.  As users, you might have a better idea about what would work great for you.</p>
<p>If you developed your own theme, what areas of the theme would have a widget section?  Don&#8217;t let current and past trends hinder your imagination.</p>
]]></content:encoded>
			<wfw:commentRss>http://justintadlock.com/archives/2008/10/05/if-you-were-a-wordpress-theme-developer-widget-areas/feed</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

