<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Digging into WordPress</title>
	
	<link>http://digwp.com</link>
	<description>Take your WordPress skills to the next level.</description>
	<lastBuildDate>Fri, 17 May 2013 21:10:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/DiggingIntoWordpress" /><feedburner:info uri="diggingintowordpress" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>DiggingIntoWordpress</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Post Format Archives Widget</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/Minb_eNdMIo/</link>
		<comments>http://digwp.com/2013/04/post-format-archives-widget/#comments</comments>
		<pubDate>Mon, 01 Apr 2013 20:20:39 +0000</pubDate>
		<dc:creator>Jeff Starr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[widgets]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=7044</guid>
		<description><![CDATA[Custom Post Formats enable you to customize your asides, images, and other types of posts. Doing so is a great way to bring character and definition to an otherwise amorphous collection of regular posts. Then, as your custom-formatted posts grow in number, your site will feature uniquely styled archives for each of your Custom Post [...]]]></description>
				<content:encoded><![CDATA[<p>Custom Post Formats enable you to customize your asides, images, and other types of posts. Doing so is a great way to bring character and definition to an otherwise amorphous collection of regular posts. Then, as your custom-formatted posts grow in number, your site will feature uniquely styled archives for each of your Custom Post Formats. </p>
<p>To help your visitors find and enjoy your Post Format Archives, here is a widget that displays a menu with links to each of them. It&#8217;s a great way to open up your site and showcase your custom content.</p>
<p><span id="more-7044"></span></p>
<h3>What it does</h3>
<p>As-is, this widget displays links for the Post Formats that are included with the <em>Twenty Twelve</em> default theme:</p>
<ul>
<li>Asides</li>
<li>Images</li>
<li>Links</li>
<li>Quotes</li>
<li>Status</li>
</ul>
<p>It should be possible to change these and add new Post Formats by editing the code as needed. Here are some screenshots showing the simplicity of the Post Format Archives Widget:</p>
<p><img src="http://digwp.com/wp-content/uploads/2013/04/post-format-widget.jpg" alt="post-format-widget" width="550" height="420" /></p>
<p>As you can see, the widget includes options for the title-text and each of the menu items&#8217; link text. On the front-end of your site, the menu will list links to the Archive Page View for each of the five Post Formats.</p>
<h3>Post Format Archives Widget</h3>
<p>Here is the code required to implement this widget:</p>
<pre><code>// Post Format Archives Widget
// http://digwp.com/2013/04/post-format-archives-widget/

add_action('widgets_init', create_function('', 'register_widget("Post_Format_Archives_Widget");'));

class Post_Format_Archives_Widget extends WP_Widget {
	function __construct() {
		parent::WP_Widget('post_format_archives_widget', 'Post Format Archives', array('description'=&gt;'Displays a list of links to post-format archives'));
	}
	function widget($args, $instance) {
		extract($args, EXTR_SKIP);

		$title  = empty($instance['title']) ? ' ' : apply_filters('widget_title', $instance['title']);
 		$aside  = empty($instance['aside']) ? ' ' : apply_filters('widget_aside', $instance['aside']);
		$image  = empty($instance['image']) ? ' ' : apply_filters('widget_image', $instance['image']);
		$link   = empty($instance['link']) ? ' ' : apply_filters('widget_link', $instance['link']);
		$quote  = empty($instance['quote']) ? ' ' : apply_filters('widget_quote', $instance['quote']);
		$status = empty($instance['status']) ? ' ' : apply_filters('widget_status', $instance['status']);

		echo $before_widget;
		if (!empty($title)) { echo $before_title . $title . $after_title; };

		// @ http://codex.wordpress.org/Function_Reference/get_post_format_link
		echo '&lt;ul id="custom-post-format-widget"&gt;';
		echo '	&lt;li&gt;&lt;a href="' . get_post_format_link('aside') . '"&gt;' . $aside . '&lt;/a&gt;&lt;/li&gt;';
		echo '	&lt;li&gt;&lt;a href="' . get_post_format_link('image') . '"&gt;' . $image . '&lt;/a&gt;&lt;/li&gt;';
		echo '	&lt;li&gt;&lt;a href="' . get_post_format_link('link') . '"&gt;' . $link . '&lt;/a&gt;&lt;/li&gt;';
		echo '	&lt;li&gt;&lt;a href="' . get_post_format_link('quote') . '"&gt;' . $quote . '&lt;/a&gt;&lt;/li&gt;';
		echo '	&lt;li&gt;&lt;a href="' . get_post_format_link('status') . '"&gt;' . $status . '&lt;/a&gt;&lt;/li&gt;';
		echo '&lt;/ul&gt;';

		echo $after_widget;
	}
	function update($new_instance, $old_instance) {
		$instance = $old_instance;
		$instance['title']  = strip_tags($new_instance['title']);
		$instance['aside']  = strip_tags($new_instance['aside']);
		$instance['image']  = strip_tags($new_instance['image']);
		$instance['link']   = strip_tags($new_instance['link']);
		$instance['quote']  = strip_tags($new_instance['quote']);
		$instance['status'] = strip_tags($new_instance['status']);
		return $instance;
	}
	function form($instance) {
		$defaults = array(
			'title' =&gt; __('Browse the site'), 
			'aside' =&gt; __('View Aside posts'), 
			'image' =&gt; __('View Image posts'), 
			'link' =&gt; __('View Link posts'), 
			'quote' =&gt; __('View Quote posts'), 
			'status' =&gt; __('View Status posts'),
		);
		$instance = wp_parse_args((array) $instance, $defaults);
		$title = strip_tags($instance['title']);
		$aside = strip_tags($instance['aside']);
		$image = strip_tags($instance['image']);
		$link = strip_tags($instance['link']);
		$quote = strip_tags($instance['quote']);
		$status = strip_tags($instance['status']); ?&gt;

		&lt;p&gt;&lt;label for="&lt;?php echo $this-&gt;get_field_id('title'); ?&gt;"&gt;Title text&lt;/label&gt;
			&lt;input class="widefat" id="&lt;?php echo $this-&gt;get_field_id('title'); ?&gt;" name="&lt;?php echo $this-&gt;get_field_name('title'); ?&gt;" type="text" value="&lt;?php echo esc_attr($title); ?&gt;" /&gt;
		&lt;/p&gt;
		&lt;p&gt;&lt;label for="&lt;?php echo $this-&gt;get_field_id('aside'); ?&gt;"&gt;&lt;?php _e('Link text for Aside archive'); ?&gt;&lt;/label&gt;
			&lt;input class="widefat" id="&lt;?php echo $this-&gt;get_field_id('aside'); ?&gt;" name="&lt;?php echo $this-&gt;get_field_name('aside'); ?&gt;" type="text" value="&lt;?php echo esc_attr($aside); ?&gt;" /&gt;
		&lt;/p&gt;
		&lt;p&gt;&lt;label for="&lt;?php echo $this-&gt;get_field_id('image'); ?&gt;"&gt;&lt;?php _e('Link text for Image archive'); ?&gt;&lt;/label&gt;
			&lt;input class="widefat" id="&lt;?php echo $this-&gt;get_field_id('image'); ?&gt;" name="&lt;?php echo $this-&gt;get_field_name('image'); ?&gt;" type="text" value="&lt;?php echo esc_attr($image); ?&gt;" /&gt;
		&lt;/p&gt;
		&lt;p&gt;&lt;label for="&lt;?php echo $this-&gt;get_field_id('link'); ?&gt;"&gt;&lt;?php _e('Link text for Link archive'); ?&gt;&lt;/label&gt;
			&lt;input class="widefat" id="&lt;?php echo $this-&gt;get_field_id('link'); ?&gt;" name="&lt;?php echo $this-&gt;get_field_name('link'); ?&gt;" type="text" value="&lt;?php echo esc_attr($link); ?&gt;" /&gt;
		&lt;/p&gt;
		&lt;p&gt;&lt;label for="&lt;?php echo $this-&gt;get_field_id('quote'); ?&gt;"&gt;&lt;?php _e('Link text for Quote archive'); ?&gt;&lt;/label&gt;
			&lt;input class="widefat" id="&lt;?php echo $this-&gt;get_field_id('quote'); ?&gt;" name="&lt;?php echo $this-&gt;get_field_name('quote'); ?&gt;" type="text" value="&lt;?php echo esc_attr($quote); ?&gt;" /&gt;
		&lt;/p&gt;
		&lt;p&gt;&lt;label for="&lt;?php echo $this-&gt;get_field_id('status'); ?&gt;"&gt;&lt;?php _e('Link text for Status archive'); ?&gt;&lt;/label&gt;
			&lt;input class="widefat" id="&lt;?php echo $this-&gt;get_field_id('status'); ?&gt;" name="&lt;?php echo $this-&gt;get_field_name('status'); ?&gt;" type="text" value="&lt;?php echo esc_attr($status); ?&gt;" /&gt;
		&lt;/p&gt;
&lt;?php }
}</code></pre>
<p>To add this widget to your theme, include it in the <code>functions.php</code> file and upload to your server. No code-editing is required, unless you want to swap out some Post Formats or add some new ones. Note that one of the keys to making this work is the <code>get_post_format_link()</code> function, which is listed <a href="http://codex.wordpress.org/Function_Reference/get_post_format_link">here in the WP Codex</a>.</p>
<h3>An easier way?</h3>
<p>I created this widget to help with a new theme I&#8217;m developing for a new book on WordPress. If you know of a better, simpler way of doing it &mdash; and I have no doubt that there is one &mdash; please share your wisdom with a comment. Thanks!</p>
<hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/04/post-format-archives-widget/">Permalink</a> | <a href="http://digwp.com/2013/04/post-format-archives-widget/#comments">10 comments</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/04/post-format-archives-widget/&title=Post Format Archives Widget">del.icio.us</a> | Post tags: <a href="http://digwp.com/tag/tips/" rel="tag">tips</a>, <a href="http://digwp.com/tag/widgets/" rel="tag">widgets</a><br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/Minb_eNdMIo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/04/post-format-archives-widget/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://digwp.com/2013/04/post-format-archives-widget/</feedburner:origLink></item>
		<item>
		<title>Spring SALE!</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/ggrC6XNknKg/</link>
		<comments>http://digwp.com/2013/03/spring-sale/#comments</comments>
		<pubDate>Sat, 30 Mar 2013 20:21:22 +0000</pubDate>
		<dc:creator>Jeff Starr</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=7118</guid>
		<description><![CDATA[To celebrate the Spring season, we&#8217;re holding a Spring Sale on Print &#38; PDF copies of Digging into WordPress! Save $15 on the Print version (includes free PDF) and $7 on the PDF version. Both versions include all extras, exclusive themes, and lifetime updates. Sweet bundled deals also available for Digging into WordPress and .htaccess [...]]]></description>
				<content:encoded><![CDATA[<p>To celebrate the Spring season, we&#8217;re holding a Spring Sale on Print &amp; PDF copies of Digging into WordPress! Save $15 on the Print version (includes free PDF) and $7 on the PDF version. Both versions include all extras, exclusive themes, and lifetime updates. Sweet bundled deals also available for <a href="http://digwp.com/2012/11/v3-4-printed-books/">Digging into WordPress</a> and <a href="http://htaccessbook.com/">.htaccess made easy</a> when purchased together. Contact <a href="mailto:sales@digwp.com">sales@digwp.com</a> for details!</p>
<p><small><a href="http://digwp.com/book/" title="Direct link to featured article">Direct Link to Article</a> &#8212; <a href="http://digwp.com/2013/03/spring-sale/" title="Permalink to post on DiW">Permalink on DiW</a></small></p><hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/03/spring-sale/">Permalink</a> | <a href="http://digwp.com/2013/03/spring-sale/#comments">No comment</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/03/spring-sale/&title=Spring SALE!">del.icio.us</a> | Post tags: <br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/ggrC6XNknKg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/03/spring-sale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://digwp.com/book/</feedburner:origLink></item>
		<item>
		<title>Find the Perfect Theme with “There is a Theme for That”</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/imQj2B9e8k8/</link>
		<comments>http://digwp.com/2013/03/there-is-a-theme-for-that/#comments</comments>
		<pubDate>Wed, 06 Mar 2013 21:09:01 +0000</pubDate>
		<dc:creator>Matt Hall</dc:creator>
				<category><![CDATA[Theme]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=7049</guid>
		<description><![CDATA[I&#8217;ve been working with WordPress for about 2 years now. I&#8217;ve set up dozens of websites for both myself and clients and finding the perfect theme has always been a bit of a chore. Don&#8217;t get me wrong, I love that there are so many to choose from, but now that there are over 100 [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been working with WordPress for about 2 years now. I&#8217;ve set up dozens of websites for both myself and clients and finding the perfect theme has always been a bit of a chore. Don&#8217;t get me wrong, I love that there are so many to choose from, but now that there are over 100 companies that make WordPress themes outside of the big market places like TemplateMonster and ThemeForest I quickly got tired of clicking through all of them to find the perfect theme.</p>
<p><span id="more-7049"></span></p>
<p>The problem is even worse for anyone looking for application type themes such as classified ads, directory themes, daily deal themes, or the like. As WordPress increases in popularity, these themes are in higher and higher demand, but finding all of the options so that you can choose the best one is getting tough. Did you know there are at least 17 different themes out there just for Classified Ads? No one else does either.</p>
<blockquote><p>As Sweet Brown said&#8230; &#8220;Ain&#8217;t nobody got time for that!&#8221;</p></blockquote>
<p>Eventually, I realized that I couldn&#8217;t be the only person out there who goes through this mindless drudgery of finding the perfect theme for myself or a client. I decided to start a website that compared application-type themes together (here&#8217;s my first serious post comparing business directory themes). This post met with quite a bit of success (as you can see in the comments) and so I decided to bring together as many application-type themes as possible on my site so people wouldn&#8217;t have to go searching all over the digital universe for them.</p>
<p><img src="http://digwp.com/wp-content/uploads/2013/03/thereisathemeforthat.jpg" alt="thereisathemeforthat" width="550" height="350" /></p>
<p>One thing led to another and after a lot of work and a lot of modifications, I have collected over 1750 themes from over 100 theme companies at my new site, <a href="http://thereisathemeforthat.com/">There is a Theme for That</a>. Themes can now be searched based on keywords, category, purchase options (single themes vs theme clubs), popular features, and price making finding the right theme a breeze. If someone still can&#8217;t find the perfect theme, they can just contact me through the site and I&#8217;ll do what I can to point them in the right direction.</p>
<p>Creating a theme directory is not a unique concept of course &#8211; there are dozens of other directories on the web. What IS unique about my site is that it&#8217;s kept up to date. My team regularly monitors theme companies to keep up with new releases as well as themes that are deprecated. My convinced that we have the freshest index of any other theme directory of this type out there.</p>
<p>To date we have over 300 business themes, over 200 magazine themes, and over 100 ecommerce themes (more ecommerce themes than any other marketplace on the web!). We&#8217;ve also put together some helpful resources for the WordPress community like our list of WordPress theme companies that offer affiliate programs, and our list of theme companies that we&#8217;ve indexed which are in addition to our theme reviews, theme comparisons, and news posts.</p>
<p><img src="http://digwp.com/wp-content/uploads/2013/03/thereisathemelist.jpg" alt="thereisathemeforthat" width="550" height="350" /></p>
<p>Overall, I&#8217;m VERY happy with how the site has turned out and I hope that the rest of the WordPress community embraces it to help them find the perfect them. I&#8217;m firmly convinced that no matter what the web application, &#8220;there is a theme for that&#8221; and that my new site is probably your best bet for finding it! I know that I find myself using the site all the time myself :)</p>
<p><strong>Link:</strong> <a href="http://thereisathemeforthat.com/">There is a Theme for That</a></p>
<hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/03/there-is-a-theme-for-that/">Permalink</a> | <a href="http://digwp.com/2013/03/there-is-a-theme-for-that/#comments">4 comments</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/03/there-is-a-theme-for-that/&title=Find the Perfect Theme with &#8220;There is a Theme for That&#8221;">del.icio.us</a> | Post tags: <a href="http://digwp.com/tag/theme/" rel="tag">Theme</a>, <a href="http://digwp.com/tag/tips/" rel="tag">tips</a><br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/imQj2B9e8k8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/03/there-is-a-theme-for-that/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://digwp.com/2013/03/there-is-a-theme-for-that/</feedburner:origLink></item>
		<item>
		<title>55 Resources for WordPress Beginners</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/V5f5wl8LHXU/</link>
		<comments>http://digwp.com/2013/03/resources-wordpress-beginners/#comments</comments>
		<pubDate>Sun, 03 Mar 2013 20:47:46 +0000</pubDate>
		<dc:creator>Jeff Starr</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=7053</guid>
		<description><![CDATA[Thanks to Devesh over at WPKube for putting together this super-useful list of resources for those first getting into WordPress. From books to blogs and blogs to themes and plugins, you&#8217;ll find plenty of awesome WP resources. Check it out! Direct Link to Article &#8212; Permalink on DiW © 2013 Digging into WordPress &#124; Permalink [...]]]></description>
				<content:encoded><![CDATA[<p>Thanks to Devesh over at <strong>WPKube</strong> for putting together this super-useful list of resources for those first getting into WordPress. From books to blogs and blogs to themes and plugins, you&#8217;ll find plenty of awesome WP resources. Check it out!</p>
<p><small><a href="http://www.wpkube.com/wordpress-handbook/" title="Direct link to featured article">Direct Link to Article</a> &#8212; <a href="http://digwp.com/2013/03/resources-wordpress-beginners/" title="Permalink to post on DiW">Permalink on DiW</a></small></p><hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/03/resources-wordpress-beginners/">Permalink</a> | <a href="http://digwp.com/2013/03/resources-wordpress-beginners/#comments">No comment</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/03/resources-wordpress-beginners/&title=55 Resources for WordPress Beginners">del.icio.us</a> | Post tags: <br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/V5f5wl8LHXU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/03/resources-wordpress-beginners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wpkube.com/wordpress-handbook/</feedburner:origLink></item>
		<item>
		<title>WebHostingBuzz Winners!</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/DzXh2lE2sl4/</link>
		<comments>http://digwp.com/2013/02/webhostingbuzz-winners/#comments</comments>
		<pubDate>Thu, 07 Feb 2013 20:21:16 +0000</pubDate>
		<dc:creator>Jeff Starr</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=7031</guid>
		<description><![CDATA[Congratulations to the three lucky winners of our recent WebHostingBuzz Giveaway! John David Hunt, Rodney Weis, and Ji each will receive an entire year of free hosting at WebHostingBuzz. Thank you to everyone who participated! Direct Link to Article &#8212; Permalink on DiW © 2013 Digging into WordPress &#124; Permalink &#124; No comment &#124; Add [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Congratulations</strong> to the three lucky winners of our recent <a href="http://digwp.com/2013/01/webhostingbuzz-giveaway/">WebHostingBuzz Giveaway</a>! John David Hunt, Rodney Weis, and Ji each will receive an entire year of free hosting at WebHostingBuzz. <em>Thank you to everyone who participated!</em></p>
<p><small><a href="http://digwp.com/2013/01/webhostingbuzz-giveaway/" title="Direct link to featured article">Direct Link to Article</a> &#8212; <a href="http://digwp.com/2013/02/webhostingbuzz-winners/" title="Permalink to post on DiW">Permalink on DiW</a></small></p><hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/02/webhostingbuzz-winners/">Permalink</a> | <a href="http://digwp.com/2013/02/webhostingbuzz-winners/#comments">No comment</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/02/webhostingbuzz-winners/&title=WebHostingBuzz Winners!">del.icio.us</a> | Post tags: <br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/DzXh2lE2sl4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/02/webhostingbuzz-winners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://digwp.com/2013/01/webhostingbuzz-giveaway/</feedburner:origLink></item>
		<item>
		<title>WebHostingBuzz Giveaway</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/DzXh2lE2sl4/</link>
		<comments>http://digwp.com/2013/01/webhostingbuzz-giveaway/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 20:05:07 +0000</pubDate>
		<dc:creator>Jeff Starr</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[giveaway]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=6991</guid>
		<description><![CDATA[We&#8217;ve teamed up with WebHostingBuzz to present you with a superb giveaway. WebHostingBuzz are providing the following great prizes: three lucky winners will pick up an entire year of FREE hosting that includes 750 GB Disk Space, 15,000 GB monthly Bandwidth, a free domain name and more. Enter to Win! To win one of the [...]]]></description>
				<content:encoded><![CDATA[<p>We&#8217;ve teamed up with <a href="http://www.webhostingbuzz.co.uk/">WebHostingBuzz</a> to present you with a <em>superb</em> giveaway. WebHostingBuzz are providing the following great prizes: <strong>three lucky winners</strong> will pick up an entire year of FREE hosting that includes 750 GB Disk Space, 15,000 GB monthly Bandwidth, a free domain name and more.</p>
<p><span id="more-6991"></span></p>
<h3>Enter to Win!</h3>
<p>To win one of the three prizes, leave a comment on this post with your <strong>#1 goal for 2013</strong>. We&#8217;ll announce the winners next week. Good luck!</p>
<h3>Giveaway Prizes</h3>
<p>Each of the three lucky winners will receive a FREE one-year subscription to WebHostingBuzz&#8217;s &#8220;Hosting Standard&#8221; package, which includes everything here:</p>
<ul>
<li>750 GB Disk space</li>
<li>10,000 GB Bandwidth</li>
<li>Free Migration / Transfer</li>
<li>Unlimited Websites</li>
<li>1 Free Domain</li>
<li>Unlimited Email &#038; FTP Accounts</li>
<li>Unlimited MySQL DBs and Subdomains</li>
<li>cPanel Control Panel</li>
<li>99.9% Uptime Guarantee</li>
<li>CodeGuard.com Backups</li>
<li>CloudFlare CDN</li>
</ul>
<p>Here is a screenshot showing the &#8220;Hosting Standard&#8221; package listed in the middle column. (Click the image for a closer look..)</p>
<p><a href="http://www.webhostingbuzz.co.uk/web-hosting.php" style="float:left;padding:3px;"><img src="http://digwp.com/wp-content/uploads/2013/01/webhostingbuzz-01.jpg" alt="WebHostingBuzz - Hosting Plans" style="float:left;" /></a></p>
<div style="clear:both;"></div>
<h3>About WebHostingBuzz</h3>
<p>WebHostingBuzz offer a worthy web hosting service, combining excellent customer service with unrivalled international hosting services. Delivering fast and reliable web hosting, reseller hosting, VPS hosting and dedicated servers, WebHostingBuzz provide for everyone&#8217;s needs and budgets.</p>
<hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/01/webhostingbuzz-giveaway/">Permalink</a> | <a href="http://digwp.com/2013/01/webhostingbuzz-giveaway/#comments">42 comments</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/01/webhostingbuzz-giveaway/&title=WebHostingBuzz Giveaway">del.icio.us</a> | Post tags: <a href="http://digwp.com/tag/giveaway/" rel="tag">giveaway</a>, <a href="http://digwp.com/tag/hosting/" rel="tag">hosting</a><br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/DzXh2lE2sl4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/01/webhostingbuzz-giveaway/feed/</wfw:commentRss>
		<slash:comments>42</slash:comments>
		<feedburner:origLink>http://digwp.com/2013/01/webhostingbuzz-giveaway/</feedburner:origLink></item>
		<item>
		<title>Browser Detection WordPress Plugin</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/mwO0SCWWYAM/</link>
		<comments>http://digwp.com/2013/01/browser-detection-wordpress-plugin/#comments</comments>
		<pubDate>Mon, 28 Jan 2013 20:04:55 +0000</pubDate>
		<dc:creator>Jeff Starr</dc:creator>
				<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=5826</guid>
		<description><![CDATA[There are two main routes for detecting browser identity: client-side or server-side. You can do feature-detection for client-side detection, or use PHP and the user-agent server-variable for server-side detection. That said, if you&#8217;re using WordPress, this plugin makes server-side detection SO easy. Direct Link to Article &#8212; Permalink on DiW © 2013 Digging into WordPress [...]]]></description>
				<content:encoded><![CDATA[<p>There are two main routes for detecting browser identity: client-side or server-side. You can do feature-detection for <em>client-side</em> detection, or use PHP and the user-agent server-variable for <em>server-side</em> detection. That said, if you&#8217;re using WordPress, <a href="http://wordpress.org/extend/plugins/php-browser-detection/">this plugin</a> makes server-side detection SO easy.</p>
<p><small><a href="http://wordpress.org/extend/plugins/php-browser-detection/" title="Direct link to featured article">Direct Link to Article</a> &#8212; <a href="http://digwp.com/2013/01/browser-detection-wordpress-plugin/" title="Permalink to post on DiW">Permalink on DiW</a></small></p><hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/01/browser-detection-wordpress-plugin/">Permalink</a> | <a href="http://digwp.com/2013/01/browser-detection-wordpress-plugin/#comments">No comment</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/01/browser-detection-wordpress-plugin/&title=Browser Detection WordPress Plugin">del.icio.us</a> | Post tags: <br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/mwO0SCWWYAM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/01/browser-detection-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://wordpress.org/extend/plugins/php-browser-detection/</feedburner:origLink></item>
		<item>
		<title>Display Blog Posts on any Page (with navigation)</title>
		<link>http://feedproxy.google.com/~r/DiggingIntoWordpress/~3/cKMyma-5JEA/</link>
		<comments>http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/#comments</comments>
		<pubDate>Sun, 13 Jan 2013 05:38:33 +0000</pubDate>
		<dc:creator>Jeff Starr</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[loop]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[pages]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://digwp.com/?p=6939</guid>
		<description><![CDATA[By default, your latest WordPress posts are displayed on the home page, with older posts available via post navigation on /page/2/, /page/3/, and so on. In this DigWP post, we&#8217;ll explain how to display your blog posts on any static page using a custom WP_Query loop that works beautifully with post navigation. For example, if [...]]]></description>
				<content:encoded><![CDATA[<p>By default, your latest WordPress posts are displayed on the home page, with older posts available via <a href="http://digwp.com/2009/08/wordpress-page-navigation/" title="Definitive Guide to WordPress Post/Page Navigation">post navigation</a> on <code>/page/2/</code>, <code>/page/3/</code>, and so on. In this <abbr title="Digging into WordPress">DigWP</abbr> post, we&#8217;ll explain how to display your blog posts on <em>any static page</em> using a custom <a href="http://codex.wordpress.org/Class_Reference/WP_Query" title="WP Codex: WP_Query">WP_Query</a> loop that works beautifully with post navigation.</p>
<p><span id="more-6939"></span></p>
<p>For example, if you&#8217;re displaying a <strong>static page</strong> for your front page (as specified in the <a href="http://codex.wordpress.org/Settings_Reading_Screen" title="WP Codex: Reading Settings">Reading Settings</a>), you may want to display your blog posts separately, perhaps on a custom &#8220;blog&#8221; page. That&#8217;s what I ended up doing for the <a href="http://xycss.com/blog/" title="Expeditions into responsive liquid-grid CSS design">xy.css blog</a> while using a static (post-less) home page. It&#8217;s nice because post-navigation works <em>intuitively</em>, like so:</p>
<ul>
<li><code>http://xycss.com/blog/</code> &#8212; displays latest blog posts</li>
<li><code>http://xycss.com/blog/page/2/</code> &#8212; displays second page of posts</li>
<li><code>http://xycss.com/blog/page/3/</code> &#8212; displays third page of posts</li>
<li>..etc..</li>
</ul>
<p>As you can imagine, this is super-useful when setting up custom <abbr title="Content Management System">CMS</abbr> configurations, for example when using the home page as a forum, storefront, or landing page. For such scenarios, here&#8217;s how to display blog posts on a custom page (with navigation!).</p>
<p><strong>Update!</strong> almost immediately after this article posted, <a href="http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/#comment-41748">Brian Krogsgard explains</a> an even easier way: create two pages and then set one as the &#8220;front page&#8221; and the other as the &#8220;posts page&#8221; via Reading Settings. The method here may be useful for further customization (via query parameters), but using the settings-only method is a better way to do it.</p>
<h3>Step 1: Page template</h3>
<p>Create a blank page template named &ldquo;<code>page-blog.php</code>&rdquo; and include the following code:</p>
<pre><code>&lt;?php 
/*
	Template Name: Blog
*/
?&gt;
&lt;?php get_header(); ?&gt;

	&lt;article&gt;

		&lt;?php // Display blog posts on any page @ http://m0n.co/l
		$temp = $wp_query; $wp_query= null;
		$wp_query = new WP_Query(); $wp_query-&gt;query('showposts=5' . '&amp;paged='.$paged);
		while ($wp_query-&gt;have_posts()) : $wp_query-&gt;the_post(); ?&gt;

		&lt;h2&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;" title="Read more"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;
		&lt;?php the_excerpt(); ?&gt;

		&lt;?php endwhile; ?&gt;

		&lt;?php if ($paged &gt; 1) { ?&gt;

		&lt;nav id="nav-posts"&gt;
			&lt;div class="prev"&gt;&lt;?php next_posts_link('&amp;laquo; Previous Posts'); ?&gt;&lt;/div&gt;
			&lt;div class="next"&gt;&lt;?php previous_posts_link('Newer Posts &amp;raquo;'); ?&gt;&lt;/div&gt;
		&lt;/nav&gt;

		&lt;?php } else { ?&gt;

		&lt;nav id="nav-posts"&gt;
			&lt;div class="prev"&gt;&lt;?php next_posts_link('&amp;laquo; Previous Posts'); ?&gt;&lt;/div&gt;
		&lt;/nav&gt;

		&lt;?php } ?&gt;

		&lt;?php wp_reset_postdata(); ?&gt;

	&lt;/article&gt;

&lt;?php get_footer(); ?&gt;</code></pre>
<p>That&#8217;s the money shot, just plug it in and take charge with your own <a href="http://codex.wordpress.org/Class_Reference/WP_Query#Parameters" title="WP Codex: WP_Query: Parameters">parameters for WP_Query</a> and you&#8217;re all set. For example, instead of showing <code>5</code> posts, you can set <code>showposts=10</code> or whatever works best.</p>
<p>Note that the post-navigation is conditional, such that the first page of posts (i.e., your <code>/blog/</code> page) doesn&#8217;t display empty markup/styles for the &#8220;next posts&#8221; link. Learn more about <a href="http://digwp.com/2009/12/optimizing-wordpress-post-navigation/" title="Optimizing WordPress Post Navigation">optimizing WordPress post navigation</a>.</p>
<p>Note also that the <abbr title="Hypertext Markup Language">HTML</abbr> used in this example is rudimentary to keep things simple. You&#8217;ll probably need to make a few changes to the markup to synchronize with your theme design.</p>
<h3>Step 2: Add New Page</h3>
<p>Once <code>page-blog.php</code> is complete and uploaded to the server, log in to the WP Admin and visit the <strong>Add New Page</strong> screen. There, create a new page named &#8220;Blog&#8221; (or whatever you want), and set its Template as &#8220;Blog&#8221; from the &#8220;Page Attributes&#8221; panel.</p>
<p><strong>Done!</strong> Now visit the Blog page after publishing and you should see the custom WP_Query loop working its magic: your latest blog posts will be displayed on the page along with navigation to previous posts, if they exist ;)</p>
<h3>Wrap-up</h3>
<p>WordPress makes it easy to display your blog posts just about anywhere. In this post, we explain how to display posts on any page using a custom WP_Query loop that supports post navigation, which can be super-useful when configuring WordPress as a customized CMS.</p>
<hr />
<p><small>© 2013 <a href="http://digwp.com">Digging into WordPress</a> | <a href="http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/">Permalink</a> | <a href="http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/#comments">16 comments</a> | Add to <a href="http://del.icio.us/post?url=http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/&title=Display Blog Posts on any Page (with navigation)">del.icio.us</a> | Post tags: <a href="http://digwp.com/tag/loop/" rel="tag">loop</a>, <a href="http://digwp.com/tag/navigation/" rel="tag">navigation</a>, <a href="http://digwp.com/tag/pages/" rel="tag">pages</a>, <a href="http://digwp.com/tag/posts/" rel="tag">posts</a>, <a href="http://digwp.com/tag/template/" rel="tag">template</a><br/></small></p><img src="http://feeds.feedburner.com/~r/DiggingIntoWordpress/~4/cKMyma-5JEA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		<feedburner:origLink>http://digwp.com/2013/01/display-blog-posts-on-page-with-navigation/</feedburner:origLink></item>
	</channel>
</rss>
