<?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>WordPress for Beginners</title>
	
	<link>http://www.wpbeginner.com</link>
	<description>Beginner's Guide for WordPress</description>
	<lastBuildDate>Tue, 07 Sep 2010 13:30:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/wpbeginner" /><feedburner:info uri="wpbeginner" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://www.wpbeginner.com/?pushpress=hub" /><feedburner:emailServiceId>wpbeginner</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>How to Style Each WordPress Post Differently</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/REdeN9LYSFQ/</link>
		<comments>http://www.wpbeginner.com/wp-themes/how-to-style-each-wordpress-post-differently/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 13:30:20 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[how to give different styling to each post in a loop]]></category>
		<category><![CDATA[how to style each post differently in wordpress]]></category>
		<category><![CDATA[how to style the loop posts differently]]></category>
		<category><![CDATA[how to use post_class function in wordpress]]></category>
		<category><![CDATA[style posts differently in wordpress]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2279</guid>
		<description><![CDATA[Have you ever came across a site that style their posts differently? Some sites have different sticky posts highlighted whereas others have each category post styled with a different color, or some may even have a totally unique outlook altogether.<p><a href="http://www.wpbeginner.com/wp-themes/how-to-style-each-wordpress-post-differently/">How to Style Each WordPress Post Differently</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-themes/how-to-exclude-latest-post-from-the-wordpress-post-loop/' rel='bookmark' title='Permanent Link: How to Exclude Latest Post from the WordPress Post Loop'>How to Exclude Latest Post from the WordPress Post Loop</a></li>
<li><a href='http://www.wpbeginner.com/plugins/allow-multiple-authors-to-be-associated-with-a-post-in-wordpress/' rel='bookmark' title='Permanent Link: Allow Multiple Authors to Be Associated with a Post in WordPress'>Allow Multiple Authors to Be Associated with a Post in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-themes/how-to-display-any-number-of-posts-in-a-wordpress-loop/' rel='bookmark' title='Permanent Link: How to Display Any Number of Posts in a WordPress Loop'>How to Display Any Number of Posts in a WordPress Loop</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Have you ever came across a site that style their posts differently? Some sites have different sticky posts highlighted whereas others have each category post styled with a different color, or some may even have a totally unique outlook altogether. Well, that is exactly what we are going to cover in this article. We will share how you can style different WordPress posts in different ways. So what are we going to use? We will use a function called <a href="http://codex.wordpress.org/Template_Tags/post_class" rel="nofollow">post_class</a>. Post Class function prints out different post container classes which can be added, typically, in the <em>index.php</em>, <em>single.php</em>, and other template files featuring post content.</p>
<p>Note: This tutorial requires that you are somewhat familiar with WordPress theming, and know fairbits of HTML / CSS. </p>
<p>When you open your index.php file, or another file with a loop, you will normally see something a div with post-id, but we are adding a new variable post_class to it like shown in the example below:</p>
<pre class="brush: php;">&lt;div id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class(); ?&gt;&gt;</pre>
<p>By adding this function in the div, each of your posts will get specific css classes added to them which will allow you to modify the looks of your WordPress posts via CSS. The following classes are added by default:</p>
<ul>
<li>.post-id</li>
<li>.post</li>
<li>.attachment</li>
<li>.sticky</li>
<li>.hentry (hAtom microformat pages)</li>
<li>.category-ID</li>
<li>.category-name</li>
<li>.tag-name</li>
</ul>
<p>An example output would look like this:</p>
<pre class="brush: php;">&lt;div id=&quot;post-4564&quot; class=&quot;post post-4564 category-48 category-dancing logged-in&quot;&gt;</pre>
<p>So if you open your <em>style.css</em> file and add the class .category-dancing, you will be able to make your posts from the dancing category look different in the post.</p>
<pre class="brush: css;">.category-dancing{background: #97c3e1; border: 1px solid #84aac4;}</pre>
<p>This will make your dancing category posts have a blue background with a dark blue border. You can further this by adding a different link class for .category-dancing etc. You can use the same technique to make posts with a specific tag look different.</p>
<p>But for someone who is looking to really customize the look of their site might need additional controls in terms of classes. Well, you can specify the classes if you wish like so:</p>
<pre class="brush: php;">&lt;?php post_class('class-1 class-2'); ?&gt;</pre>
<p>But, how will this work on a dynamic platform like WordPress? So let&#8217;s look at some examples of how you can add classes to make your posts look different.</p>
<h4>Style Posts Based on Authors</h4>
<p>Often you will see that blogs highlight author&#8217;s comment differently. Well for multi-author blogs, it might be a good idea to give each author&#8217;s post a different style altogether. So in this example, we will give each post it&#8217;s own styling based on author&#8217;s first name. So in your <em>index.php</em> or another file (archive.php / category.php etc), lets get the author&#8217;s first name value by adding this code BEFORE <a href="http://codex.wordpress.org/The_Loop" rel="nofollow">the loop</a>:</p>
<pre class="brush: php;">&lt;?php $author = get_the_author_meta('display_name'); ?&gt;</pre>
<p>The code above is getting author&#8217;s display_name which can be selected in user&#8217;s profile area, and it is assigning the value with $author variable. Now that we have a dynamic class value created, we can add it in our post_class code like this:</p>
<pre class="brush: php;">&lt;?php post_class('class-1 class-2 ' . $author); ?&gt;</pre>
<p>Note: You do not have to keep class-1 and class-2. That is just if you want to add static classes. So your code should output something like this:</p>
<pre class="brush: php;">&lt;div id=&quot;post-4564&quot; class=&quot;post post-4564 category-48 category-dancing logged-in class-1 class-2 Syed&quot;&gt;</pre>
<p>Notice that Syed is added in final output. The name will be different on each post based on the author&#8217;s display_name. You can then style each class in your CSS like so:</p>
<pre class="brush: css;">.Syed{border: 1px solid #000;}
.Zain{border: 1px solid #d88b3d;}
.Dronix {border: 1px solid #4781a8;}</pre>
<p>Then each post in the loop with these authors will be styled differently. You can further the individual styling using the technique above for other authors on your site.</p>
<h4>Style Posts Based on Popularity using Comment Count</h4>
<p>You have seen sites with popular posts widgets, which are mostly based on comment counts. Well in this example, we will show you how to style posts differently using the comment count. First thing we need to do is get the comment count and associate a class with it. To get the comment count, we need to paste the following code INSIDE the loop:</p>
<pre class="brush: php;">&lt;?php
	$postid = get_the_ID();
	$total_comment_count = wp_count_comments($postid);
		$my_comment_count = $total_comment_count-&gt;approved;
	if ($my_comment_count &lt;10) {
		$my_comment_count = 'new';
	} elseif ($my_comment_count &gt;= 10 &amp;&amp; $my_comment_count &lt;20) {
		$my_comment_count = 'ermerging';
	} elseif ($my_comment_count &gt;= 20) {
		$my_comment_count = 'popular';
	}
?&gt;</pre>
<p>In the code above we are adding classes based on a scale. If the post has less than 10 comments, then the class &#8216;new&#8217; will be added. If the post has greater than 10 comments and less than 20 comments, then the class &#8216;emerging&#8217; will be added. If the post has greater than 20 comments, then the class &#8216;popular&#8217; will be added. You may change this scale based on your site&#8217;s average comment rate.</p>
<p>So your post_class code will look like this:</p>
<pre class="brush: php;">&lt;?php post_class('class-1 class-2 ' . $my_comment_count); ?&gt;</pre>
<p>Then you can create the following classes in your style.css file:</p>
<pre class="brush: css;">.new {border: 1px solid #FFFF00;}
.emerging {border: 1px dashed #FF9933;}
.popular {border: 1px dashed #CC0000;}</pre>
<p>Notice that we are only changing the border colors, but you can go in much more depth with this including adding a custom background image, background color etc. This will spice up your theme and make the blog page stand out.</p>
<p>Want more control over the CSS classes? Well then we can look at a way that you can assign classes via Custom fields.</p>
<h4>Style Posts based on Custom Fields</h4>
<p>You can add specific classes via post <a href="http://codex.wordpress.org/Using_Custom_Fields" rel="nofollow">custom fields</a>. So for example, it is your blog&#8217;s anniversary and you want the anniversary post to look different. You can create a custom field and give it the name &#8216;post-class&#8217; and then add the value &#8216;anniversary&#8217;. Once you add this custom field and save the post, this value is stored in your database. Now we can pull it from our loop using the code below:</p>
<pre class="brush: php;">&lt;?php $custom_values = get_post_meta($post-&gt;ID, 'post-class'); ?&gt;</pre>
<p>Make sure you paste the code above INSIDE the loop. Then you will add the $custom_values variable to post_class function.</p>
<pre class="brush: php;">&lt;?php post_class('class-1 class-2 ' . $custom_variable); ?&gt;</pre>
<p>Now you can go to your style.css file and add the class such as:</p>
<pre class="brush: css;">.anniversary{YOur Styling Goes Here}</pre>
<p>This is by far the most control you will get with post_class function in terms of CSS styling. But sometimes, you want even more control. CSS classes lets you change the background and other stylistic elements, but you cannot change the entire structure this way. So let&#8217;s look at something a little bit more advanced which we like to call THE SUPER LOOP.</p>
<pre class="brush: php;">&lt;?php if (have_posts()) : ?&gt;
&lt;?php $count = 0; ?&gt;
&lt;?php while (have_posts()) : the_post(); ?&gt;
&lt;?php $count++; ?&gt;
&lt;?php if ($count == 1) : ?&gt;

 Add your Custom Post Divs Here for the 1st post. 

&lt;?php elseif ($count == 2) : ?&gt;      

 Add your Custom Post Divs Here for the 2nd post.          

&lt;?php elseif ($count == 3) : ?&gt; 

 Add your Custom Post Divs Here for the 3rd post.      

&lt;?php elseif ($count == 4) : ?&gt;  

 Add your Custom Post Divs Here for the 4th post.     

&lt;?php else : ?&gt;

 Add your Custom Post Divs Here for the rest of the posts. 

  &lt;?php endif; ?&gt;
&lt;?php endwhile; ?&gt;
&lt;?php endif; ?&gt;</pre>
<p>If you notice that we just created a loop above that lets you style each post based on count. This is very helpful when you want your first three posts to look different from the rest. For example, your first three posts can be one column posts whereas the rest will be smaller and in a two column list. You can accomplish almost everything with the super loop. You can add your own queries and much more. If you are a developer, then this will be worth taking a stab at to push the limits.</p>
<h4>Sources:</h4>
<p><a href="http://www.problogdesign.com/wordpress/styling-different-posts-in-different-ways-with-post_class/" rel="nofollow">EpicAlex of ProblogDesign</a><br />
<a href="http://codex.wordpress.org/Template_Tags/post_class" rel="nofollow">WordPress Codex</a><br />
<a href="http://perishablepress.com/press/2007/08/06/super-loop-exclude-specific-categories-and-display-any-number-of-posts/" rel="nofollow">Super Loop by Perishable</a></p>
<p><a href="http://www.wpbeginner.com/wp-themes/how-to-style-each-wordpress-post-differently/">How to Style Each WordPress Post Differently</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-themes/how-to-exclude-latest-post-from-the-wordpress-post-loop/' rel='bookmark' title='Permanent Link: How to Exclude Latest Post from the WordPress Post Loop'>How to Exclude Latest Post from the WordPress Post Loop</a></li>
<li><a href='http://www.wpbeginner.com/plugins/allow-multiple-authors-to-be-associated-with-a-post-in-wordpress/' rel='bookmark' title='Permanent Link: Allow Multiple Authors to Be Associated with a Post in WordPress'>Allow Multiple Authors to Be Associated with a Post in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-themes/how-to-display-any-number-of-posts-in-a-wordpress-loop/' rel='bookmark' title='Permanent Link: How to Display Any Number of Posts in a WordPress Loop'>How to Display Any Number of Posts in a WordPress Loop</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=REdeN9LYSFQ:jRJnQgkVrrQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=REdeN9LYSFQ:jRJnQgkVrrQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=REdeN9LYSFQ:jRJnQgkVrrQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=REdeN9LYSFQ:jRJnQgkVrrQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=REdeN9LYSFQ:jRJnQgkVrrQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=REdeN9LYSFQ:jRJnQgkVrrQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=REdeN9LYSFQ:jRJnQgkVrrQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=REdeN9LYSFQ:jRJnQgkVrrQ:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/REdeN9LYSFQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/wp-themes/how-to-style-each-wordpress-post-differently/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/wp-themes/how-to-style-each-wordpress-post-differently/</feedburner:origLink></item>
		<item>
		<title>Beginning WordPress 3 Review</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/5sNDYQ9bUYA/</link>
		<comments>http://www.wpbeginner.com/books/beginning-wordpress-3-review/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 16:53:08 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Beginning WordPress]]></category>
		<category><![CDATA[Beginning WordPress 3]]></category>
		<category><![CDATA[book review]]></category>
		<category><![CDATA[guidebook]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WordPress 3]]></category>
		<category><![CDATA[WordPress books]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2237</guid>
		<description><![CDATA[<a href="http://www.wpbeginner.com/refer/beginningwp3">Beginning WordPress 3</a> is quite the instructional tome by Stephanie Leary. Leary begins with a passionate argument for choosing WordPress, complete with nearly full page screen shots of some prime examples of WordPress in action. She then devotes the following three chapters to the standard "How to use WordPress" explanations, complete with screen shots of each step along the way. After these initial chapters (and of course a chapter on migrating to WordPress) Leary does something unique. Instead of ending the book with these basic ideas, or tossing in a reference or two to media uploading or content creation, Leary takes users up a step to actual tinkering with WordPress. Using actual examples, Leary guides users through the creation of themes, widgets, and plugins with actual functioning examples, allowing users to get elbow deep in code without risking getting lost. Leary then explains user roles, increasing security, and custom taxonomies before ending the book with an introduction to BuddyPress and multi-user capability of WordPress 3.0. Finally the book ends with a few quick reference guides to plugins and theme functions. <p><a href="http://www.wpbeginner.com/books/beginning-wordpress-3-review/">Beginning WordPress 3 Review</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/books/professional-wordpress-book-review/' rel='bookmark' title='Permanent Link: Professional WordPress Book Review'>Professional WordPress Book Review</a></li>
<li><a href='http://www.wpbeginner.com/books/digging-into-wordpress-v3-0/' rel='bookmark' title='Permanent Link: Digging into WordPress v3.0'>Digging into WordPress v3.0</a></li>
<li><a href='http://www.wpbeginner.com/plugins/manage-your-ads-in-wordpress-with-oio-publisher-review/' rel='bookmark' title='Permanent Link: Manage Your Ads in WordPress with OIO Publisher (Review)'>Manage Your Ads in WordPress with OIO Publisher (Review)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wpbeginner.com/refer/beginningwp3">Beginning WordPress 3</a> is quite the instructional tome by Stephanie Leary. Leary begins with a passionate argument for choosing WordPress, complete with nearly full page screen shots of some prime examples of WordPress in action. She then devotes the following three chapters to the standard &#8220;How to use WordPress&#8221; explanations, complete with screen shots of each step along the way. After these initial chapters (and of course a chapter on migrating to WordPress) Leary does something unique. Instead of ending the book with these basic ideas, or tossing in a reference or two to media uploading or content creation, Leary takes users up a step to actual tinkering with WordPress. Using actual examples, Leary guides users through the creation of themes, widgets, and plugins, allowing users to get elbow deep in code without risking getting lost. Leary then explains user roles, increasing security, and custom taxonomies before ending the book with an introduction to BuddyPress and multi-user capability of WordPress 3.0. Finally the book ends with a few quick reference guides to plugins and theme functions. </p>
<p>Admittedly, at first glance <a href="http://www.wpbeginner.com/refer/beginningwp3">Beginning WordPress 3</a> looks daunting. At 400 pages, its length is pretty standard for a WordPress instructional book, but the sheer breath of what is covered within those pages is what is truly amazing. Leary says that she designed this book to &#8220;fill the gap&#8221; between beginner&#8217;s guides and developer&#8217;s guides and she succeeded at doing just that. Even though this book was published before the official release of WordPress 3, Leary manages to introduce WordPress, showcase the changes that version 3 brought to the table, and throw in a how to guide for theme and plugin development. Not too shabby in my opinion. While this could easily be a great book for a first introduction to WordPress, it could just as easily be a desk reference for an intermediate user who is trying to move up in the WordPress world.<br />
<a href="http://www.wpbeginner.com/refer/beginningwp3"><br />
<img src="http://cdn.wpbeginner.com/blogpostsimages/books/beginningwordpress.gif" alt="Beginning WordPress 3" /></a></p>
<p>One of the biggest strengths of this book is it&#8217;s design. Reading <a href="http://www.wpbeginner.com/refer/beginningwp3">Beginning WordPress 3</a> is like reading a online tutorial. The sheer number of screen shots that Leary provides is unbelievable and does wonders for the confidence of a WordPress newbie trying to find their bearings in the WordPress ocean. Also, Leary&#8217;s decision to create the appendixes as a reference guide is such an improvement over the traditional method of listing recommendations mid-chapter. I highly recommend this book to any WordPress novices out there or really anyone who wants to dip their hands a little deeper into WordPress.</p>
<p>Ready to see what all the buzz is about? Get <a href="http://www.wpbeginner.com/refer/beginningwp3">Beginning WordPress 3</a> now. </p>
<p><a href="http://www.wpbeginner.com/books/beginning-wordpress-3-review/">Beginning WordPress 3 Review</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/books/professional-wordpress-book-review/' rel='bookmark' title='Permanent Link: Professional WordPress Book Review'>Professional WordPress Book Review</a></li>
<li><a href='http://www.wpbeginner.com/books/digging-into-wordpress-v3-0/' rel='bookmark' title='Permanent Link: Digging into WordPress v3.0'>Digging into WordPress v3.0</a></li>
<li><a href='http://www.wpbeginner.com/plugins/manage-your-ads-in-wordpress-with-oio-publisher-review/' rel='bookmark' title='Permanent Link: Manage Your Ads in WordPress with OIO Publisher (Review)'>Manage Your Ads in WordPress with OIO Publisher (Review)</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=5sNDYQ9bUYA:jLTjA6CHMM8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=5sNDYQ9bUYA:jLTjA6CHMM8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=5sNDYQ9bUYA:jLTjA6CHMM8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=5sNDYQ9bUYA:jLTjA6CHMM8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=5sNDYQ9bUYA:jLTjA6CHMM8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=5sNDYQ9bUYA:jLTjA6CHMM8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=5sNDYQ9bUYA:jLTjA6CHMM8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=5sNDYQ9bUYA:jLTjA6CHMM8:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/5sNDYQ9bUYA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/books/beginning-wordpress-3-review/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/books/beginning-wordpress-3-review/</feedburner:origLink></item>
		<item>
		<title>How to Add Custom Post Types to Your Main WordPress RSS Feed</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/f0WTBIzkJFM/</link>
		<comments>http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 11:52:40 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[custom post type wordpress 3.0]]></category>
		<category><![CDATA[custom post types]]></category>
		<category><![CDATA[custom post types rss feed]]></category>
		<category><![CDATA[how to add custom post types to rss feeds]]></category>
		<category><![CDATA[how to add custom post types to wordpress rss feed]]></category>
		<category><![CDATA[how to add custom post types to your main wordpress rss feed]]></category>
		<category><![CDATA[how to exclude a certain custom post type to be added to the rss feed]]></category>
		<category><![CDATA[how to include a specific custom post type to wordpress rss feed]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2261</guid>
		<description><![CDATA[If you are using Custom Post Types, or thinking of custom post types, then you may have the urge to add it into your main RSS Feed. In this article, we will share how you can add Custom Post Types to your main WordPress RSS feeds.<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/">How to Add Custom Post Types to Your Main WordPress RSS Feed</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make a Separate RSS Feed for Each Custom Post Type in WordPress'>How to Make a Separate RSS Feed for Each Custom Post Type in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/' rel='bookmark' title='Permanent Link: How to use Custom Post Types in WordPress 3.0'>How to use Custom Post Types in WordPress 3.0</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Custom Post Types Archive Page in WordPress'>How to Create a Custom Post Types Archive Page in WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/">Custom Post Type</a>s was one of the most hyped feature of WordPress 3.0. This feature alone expanded the horizon of WordPress usage as a Content Management System (CMS). If you are using Custom Post Types, or thinking of custom post types, then you may have the urge to add it into your main RSS Feed. This option is not built-in by default because your main WordPress RSS feed only includes &#8220;Posts&#8221; not even pages, so custom post types are a long shot. In this article, we will share how you can add Custom Post Types to your main WordPress RSS feeds.</p>
<p>You would need to open your theme&#8217;s <em>functions.php</em> file and add the following code within the PHP markup:</p>
<pre class="brush: php;">function myfeed_request($qv) {
	if (isset($qv['feed']))
		$qv['post_type'] = get_post_types();
	return $qv;
}
add_filter('request', 'myfeed_request');
</pre>
<p>This code modifies the query to keep the default content type for blog posts &#8220;post&#8221; in the main RSS feed, and also adding new custom post types.</p>
<p>But what if you have five custom post types in your new project, and you only want to add three to the main RSS feed? Well that shouldn&#8217;t be any problem because we will just modify the code slightly to give you the option to only include the ones that you want. </p>
<pre class="brush: php;">function myfeed_request($qv) {
	if (isset($qv['feed']) &amp;&amp; !isset($qv['post_type']))
		$qv['post_type'] = array('post', 'story', 'books', 'movies');
	return $qv;
}
add_filter('request', 'myfeed_request');
</pre>
<p>If you see in the code above, we simply added an array to modify the post_types that will be shown in the main RSS feed. We are showing the default posts, story, books, and movies.</p>
<p>Source: <a href="http://core.trac.wordpress.org/ticket/12943" rel="nofollow" target="_blank">Core Trac Ticket #12943</a></p>
<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/">How to Add Custom Post Types to Your Main WordPress RSS Feed</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make a Separate RSS Feed for Each Custom Post Type in WordPress'>How to Make a Separate RSS Feed for Each Custom Post Type in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/' rel='bookmark' title='Permanent Link: How to use Custom Post Types in WordPress 3.0'>How to use Custom Post Types in WordPress 3.0</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Custom Post Types Archive Page in WordPress'>How to Create a Custom Post Types Archive Page in WordPress</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f0WTBIzkJFM:sZr_rDWsZ2Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f0WTBIzkJFM:sZr_rDWsZ2Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=f0WTBIzkJFM:sZr_rDWsZ2Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f0WTBIzkJFM:sZr_rDWsZ2Y:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f0WTBIzkJFM:sZr_rDWsZ2Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f0WTBIzkJFM:sZr_rDWsZ2Y:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=f0WTBIzkJFM:sZr_rDWsZ2Y:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f0WTBIzkJFM:sZr_rDWsZ2Y:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/f0WTBIzkJFM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/</feedburner:origLink></item>
		<item>
		<title>How to Make a Separate RSS Feed for Each Custom Post Type in WordPress</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/jInxwXkMpGQ/</link>
		<comments>http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 17:40:55 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[custom post type rss feed]]></category>
		<category><![CDATA[how to create a specific custom post type rss feed]]></category>
		<category><![CDATA[specific custom post type rss feed]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2264</guid>
		<description><![CDATA[One of our users asked us how can they create a separate RSS feed for a specific custom post type in WordPress. In this article, we will be answering that question.<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/">How to Make a Separate RSS Feed for Each Custom Post Type in WordPress</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/' rel='bookmark' title='Permanent Link: How to Add Custom Post Types to Your Main WordPress RSS Feed'>How to Add Custom Post Types to Your Main WordPress RSS Feed</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-separate-rss-feed-for-each-category-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make Separate RSS Feed for Each Category in WordPress'>How to Make Separate RSS Feed for Each Category in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/' rel='bookmark' title='Permanent Link: How to use Custom Post Types in WordPress 3.0'>How to use Custom Post Types in WordPress 3.0</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Everyone is utilizing <a href="http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/">Custom Post Types</a> in their new WordPress sites because this is a very powerful feature. One of our users asked us how can they create a separate RSS feed for a specific custom post type in WordPress. In this article, we will be answering that question.</p>
<p>You would think that it require a lot of coding, but it doesn&#8217;t. It works just like <a href="http://www.wpbeginner.com/wp-tutorials/how-to-make-separate-rss-feed-for-each-category-in-wordpress/">creating a separate RSS feed for each category in WordPress</a>. You can simply type this URL:</p>
<blockquote><p>http://www.yoursite.com/feed/?post_type=book</p></blockquote>
<p>Just change the post_type name to the one that you want to create a separate RSS feed for. Are you looking to take it to the next level and make it for a specific custom post type and custom taxonomy? Well that is not hard at all either:</p>
<blockquote><p>http://www.yoursite.com/feed/?post_type=book&#038;genre=romance</p></blockquote>
<p>As you can see in the code above, that genre would be the custom taxonomy, and romance would be the tag if you may call it that. You can create a button in your sidebar to link to that. You may also link this feed and <a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-setup-feedburner-for-wordpress/">create a separate feedburner feed</a> for it.</p>
<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/">How to Make a Separate RSS Feed for Each Custom Post Type in WordPress</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/' rel='bookmark' title='Permanent Link: How to Add Custom Post Types to Your Main WordPress RSS Feed'>How to Add Custom Post Types to Your Main WordPress RSS Feed</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-separate-rss-feed-for-each-category-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make Separate RSS Feed for Each Category in WordPress'>How to Make Separate RSS Feed for Each Category in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/' rel='bookmark' title='Permanent Link: How to use Custom Post Types in WordPress 3.0'>How to use Custom Post Types in WordPress 3.0</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=jInxwXkMpGQ:PUvK-VQ-EEA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=jInxwXkMpGQ:PUvK-VQ-EEA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=jInxwXkMpGQ:PUvK-VQ-EEA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=jInxwXkMpGQ:PUvK-VQ-EEA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=jInxwXkMpGQ:PUvK-VQ-EEA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=jInxwXkMpGQ:PUvK-VQ-EEA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=jInxwXkMpGQ:PUvK-VQ-EEA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=jInxwXkMpGQ:PUvK-VQ-EEA:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/jInxwXkMpGQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>How to Add Verification Codes to Your WordPress RSS Feed</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/2VGkE6A_DVI/</link>
		<comments>http://www.wpbeginner.com/beginners-guide/how-to-add-verification-codes-to-your-wordpress-rss-feed/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 11:13:51 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Beginners Guide]]></category>
		<category><![CDATA[importing feeds to digg]]></category>
		<category><![CDATA[verification codes in wordpress feeds]]></category>
		<category><![CDATA[verify wordpress feed]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2229</guid>
		<description><![CDATA[Often when WordPress bloggers signup for third party publisher accounts such as Digg and others, they are required to verify ownership. Most services offer multiple options of verification such as adding meta tags to the header, uploading a blank file, and adding content to the RSS feed.<p><a href="http://www.wpbeginner.com/beginners-guide/how-to-add-verification-codes-to-your-wordpress-rss-feed/">How to Add Verification Codes to Your WordPress RSS Feed</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/' rel='bookmark' title='Permanent Link: How to Add Custom Post Types to Your Main WordPress RSS Feed'>How to Add Custom Post Types to Your Main WordPress RSS Feed</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-separate-rss-feed-for-each-category-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make Separate RSS Feed for Each Category in WordPress'>How to Make Separate RSS Feed for Each Category in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make a Separate RSS Feed for Each Custom Post Type in WordPress'>How to Make a Separate RSS Feed for Each Custom Post Type in WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Often when WordPress bloggers signup for third party publisher accounts such as Digg and others, they are required to verify ownership. Most services offer multiple options of verification such as adding meta tags to the header, uploading a blank file, and adding content to the RSS feed. This article will use Digg.com as an example because Digg version 4 has this new feature called auto feed syndication for publishers. The only way of verification is by adding the verification codes to your RSS Feed. After we posted about our <a href="http://www.wpbeginner.com/news/follow-wpbeginner-on-the-new-digg-this-could-help-all-of-us/">account on digg</a>, many of our users joined. We got a request to do a tutorial on this subject because it was confusing for beginners.</p>
<p>When Digg asks you to add the content in your RSS feed, it means for you to add it in your next post. So you will need to create a new post (doesn&#8217;t have to be about that service). It can be any post, and you need to add the code at the bottom of the post. For example, if your key is:</p>
<blockquote><p>6ca1386293854e5d835d3f430df34700</p></blockquote>
<p>then you will add:</p>
<blockquote><p>&lt;!&#8211;6ca1386293854e5d835d3f430df34700&#8211;&gt;</p></blockquote>
<p>The reason why you add the extra elements before and after is so this code is not shown to your users, but it is still added in the RSS feed. Once you add this code, you will have to wait for about 20 &#8211; 30 minutes for your feed to update (specially if you are <a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-setup-feedburner-for-wordpress/">using Feedburner</a>).</p>
<p>The code can go anywhere, preferably at the bottom. Once your account is verified, you can remove the code from your post. If you are adding it in Digg this week, be sure to try it multiple times and let the page load fully before you click anything. Digg is very buggy as it is new. While you are on digg, don&#8217;t forget to <a href="http://digg.com/wpbeginner" rel="nofollow">follow WPBeginner on Digg</a>.</p>
<p><a href="http://www.wpbeginner.com/beginners-guide/how-to-add-verification-codes-to-your-wordpress-rss-feed/">How to Add Verification Codes to Your WordPress RSS Feed</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-add-custom-post-types-to-your-main-wordpress-rss-feed/' rel='bookmark' title='Permanent Link: How to Add Custom Post Types to Your Main WordPress RSS Feed'>How to Add Custom Post Types to Your Main WordPress RSS Feed</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-separate-rss-feed-for-each-category-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make Separate RSS Feed for Each Category in WordPress'>How to Make Separate RSS Feed for Each Category in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-make-a-separate-rss-feed-for-each-custom-post-type-in-wordpress/' rel='bookmark' title='Permanent Link: How to Make a Separate RSS Feed for Each Custom Post Type in WordPress'>How to Make a Separate RSS Feed for Each Custom Post Type in WordPress</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=2VGkE6A_DVI:K5gGCGls9ng:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=2VGkE6A_DVI:K5gGCGls9ng:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=2VGkE6A_DVI:K5gGCGls9ng:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=2VGkE6A_DVI:K5gGCGls9ng:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=2VGkE6A_DVI:K5gGCGls9ng:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=2VGkE6A_DVI:K5gGCGls9ng:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=2VGkE6A_DVI:K5gGCGls9ng:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=2VGkE6A_DVI:K5gGCGls9ng:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/2VGkE6A_DVI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/beginners-guide/how-to-add-verification-codes-to-your-wordpress-rss-feed/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/beginners-guide/how-to-add-verification-codes-to-your-wordpress-rss-feed/</feedburner:origLink></item>
		<item>
		<title>Digging into WordPress v3.0</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/f5Hc7ZlWrrY/</link>
		<comments>http://www.wpbeginner.com/books/digging-into-wordpress-v3-0/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 13:25:47 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[coupon for digging into wordpress]]></category>
		<category><![CDATA[digging into wordpress]]></category>
		<category><![CDATA[digging into wordpress version 3.0]]></category>
		<category><![CDATA[digwp]]></category>
		<category><![CDATA[digwp 3.0]]></category>
		<category><![CDATA[digwpv3]]></category>
		<category><![CDATA[discount for digging into wordpress]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2254</guid>
		<description><![CDATA[Digging into WordPress is a book written by two of the most credible figures in the WordPress industry, Jeff Starr and Chris Coyier. They recently announced the release of version 3 to cover the latest WordPress changes.<p><a href="http://www.wpbeginner.com/books/digging-into-wordpress-v3-0/">Digging into WordPress v3.0</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/news/lucky-winners-for-digging-into-wordpress-book-giveaway/' rel='bookmark' title='Permanent Link: Lucky Winners for Digging into WordPress Book Giveaway'>Lucky Winners for Digging into WordPress Book Giveaway</a></li>
<li><a href='http://www.wpbeginner.com/news/giveaway-get-your-free-copy-of-digging-into-wordpress-book/' rel='bookmark' title='Permanent Link: Giveaway &#8211; Get Your Free Copy of Digging Into WordPress Book'>Giveaway &#8211; Get Your Free Copy of Digging Into WordPress Book</a></li>
<li><a href='http://www.wpbeginner.com/books/beginning-wordpress-3-review/' rel='bookmark' title='Permanent Link: Beginning WordPress 3 Review'>Beginning WordPress 3 Review</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wpbeginner.com/refer/diggwp" style="" target="_blank" rel="nofollow" >Digging into WordPress</a> is a book written by two of the most credible figures in the WordPress industry, Jeff Starr and Chris Coyier. They recently announced the release of version 3 to cover the latest WordPress changes. All previous owners of this ebook will get the updates for FREE. WordPress is constantly evolving where new functions are added and old are deprecated. Jeff and Chris has done a great job in keeping up and improving their book on each version. This book is a <strong>MUST HAVE</strong> for everyone who is trying to get more familiar with WordPress. It is built to broaden your horizon. In short, this is nearly a 450 page full of practical information.</p>
<p><a href="http://www.wpbeginner.com/refer/diggwp" target="_blank" rel="nofollow"><img src="http://cdn.wpbeginner.com/blogpostsimages/books/digwpv3.gif" alt="Digging into WordPress version 3" /></a></p>
<p>Everything in the book is now hot-wired and fine-tuned to the latest version of WordPress, with new popouts and fresh links throughout the book. The beautiful colored pages, and ease of copying and pasting the codes make this eBook a fun resource to have. 20+ new pages are added in this release with a whole bunch of other stuff, including how to setup multi-site, custom post types / taxonomies, use the built-in shortlink feature, author templates, comment-form template-tags, and more of WordPress 3.0.</p>
<h4>What do you get with this purchase?</h4>
<p>Here’s what you get for $27:</p>
<ul>
<li>Beautiful, full-color, easy-to-read design</li>
<li>Nearly 450 pages of practical, how-to WordPress content</li>
<li>3 Free Themes: All Ajax, Lines &#038; Boxes, and Plastique from their Theme Club House.</li>
<li>Free Lifetime Updates (current book owners received version 3.0 yesterday)</li>
<li>Friendly, helpful customer support <img src='http://cdn.wpbeginner.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ul>
<p>Well for being a WPBeginner user, you get a discount so this book will cost <del datetime="2010-09-01T13:04:33+00:00">$27</del> <strong>$23</strong> when you use the coupon: &#8220;<a href="http://www.wpbeginner.com/refer/diggwp" target="_blank" rel="nofollow">WPBeginnerDIW</a>&#8220;.</p>
<p><a href="http://www.wpbeginner.com/refer/diggwp" target="_blank" rel="nofollow">Buy this book now and you won&#8217;t look back.</a></p>
<p><a href="http://www.wpbeginner.com/books/digging-into-wordpress-v3-0/">Digging into WordPress v3.0</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/news/lucky-winners-for-digging-into-wordpress-book-giveaway/' rel='bookmark' title='Permanent Link: Lucky Winners for Digging into WordPress Book Giveaway'>Lucky Winners for Digging into WordPress Book Giveaway</a></li>
<li><a href='http://www.wpbeginner.com/news/giveaway-get-your-free-copy-of-digging-into-wordpress-book/' rel='bookmark' title='Permanent Link: Giveaway &#8211; Get Your Free Copy of Digging Into WordPress Book'>Giveaway &#8211; Get Your Free Copy of Digging Into WordPress Book</a></li>
<li><a href='http://www.wpbeginner.com/books/beginning-wordpress-3-review/' rel='bookmark' title='Permanent Link: Beginning WordPress 3 Review'>Beginning WordPress 3 Review</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f5Hc7ZlWrrY:AA3U-JQ4gso:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f5Hc7ZlWrrY:AA3U-JQ4gso:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=f5Hc7ZlWrrY:AA3U-JQ4gso:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f5Hc7ZlWrrY:AA3U-JQ4gso:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f5Hc7ZlWrrY:AA3U-JQ4gso:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f5Hc7ZlWrrY:AA3U-JQ4gso:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=f5Hc7ZlWrrY:AA3U-JQ4gso:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=f5Hc7ZlWrrY:AA3U-JQ4gso:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/f5Hc7ZlWrrY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/books/digging-into-wordpress-v3-0/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/books/digging-into-wordpress-v3-0/</feedburner:origLink></item>
		<item>
		<title>How to Create a Custom Post Types Archive Page in WordPress</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/i13qFiMX0ic/</link>
		<comments>http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 15:57:54 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[custom post type loop]]></category>
		<category><![CDATA[custom post types archive page]]></category>
		<category><![CDATA[display custom post types in a loop]]></category>
		<category><![CDATA[how to create a custom post type archive page in WordPress]]></category>
		<category><![CDATA[how to display custom post types in a loop]]></category>
		<category><![CDATA[wordpress 3.0]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2225</guid>
		<description><![CDATA[One of our users asked us a question on twitter (@wpbeginner), how to create a custom post types archive page. We covered it in our initial article about <a href="http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/">Custom Post Types</a>, but it wasn't explained thoroughly. So in this article, we will show you a step by step guide on creating a custom post types archive page in WordPress.<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/">How to Create a Custom Post Types Archive Page in WordPress</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-themes/how-to-create-a-page-that-displays-a-random-post-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Page that Displays a Random Post in WordPress'>How to Create a Page that Displays a Random Post in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/' rel='bookmark' title='Permanent Link: How to use Custom Post Types in WordPress 3.0'>How to use Custom Post Types in WordPress 3.0</a></li>
<li><a href='http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Custom Page in WordPress'>How to Create a Custom Page in WordPress</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/">Custom Post Types</a> was one of the awesome <a href="http://www.wpbeginner.com/news/whats-coming-in-wordpress-3-0-features/">features included in WordPress 3.0</a>. One of our users asked us a question on twitter (@wpbeginner), how to create a custom post types archive page. We covered it in our initial article about Custom Post Types, but it wasn&#8217;t explained thoroughly. So in this article, we will show you a step by step guide on creating a custom post types archive page in WordPress.</p>
<h4>1. Creating a Custom Page Template</h4>
<p>First step would be creating a <a href="http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/">custom page template in WordPress</a>. All we will do is add the following code at the top of our new .php file which we will call (custompt-archives.php).</p>
<pre class="brush: php;">&lt;?php /* Template Name: Custom Post Type Archive */ ?&gt;</pre>
<h4>2. Adding the Necessary Template Codes</h4>
<p>Next, you will need to add the necessary template codes including but not limited to header, footer, sidebar etc. This area will vary for each site, but for basics it would look like this:</p>
<pre class="brush: php;">&lt;?php get_header(); ?&gt;
This is where our Loop codes will go in the next step.
&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer();?&gt;</pre>
<h4>3. Creating our Custom Archive Loop</h4>
<p>The loop is explained in details at the <a href="http://codex.wordpress.org/The_Loop_in_Action" rel="nofollow" target="_blank">WordPress Codex</a>, and we will be using different aspects of it to create our custom archives loop. Our loop will simply list posts with the necessary information surrounding it. You will be responsible for adding styling around it. Our loop:</p>
<pre class="brush: php;">
&lt;?php
global $query_string;
query_posts($query_string . &quot;post_type=YOUR-CUSTOM-POST-TYPE&amp;post_status=publish&amp;posts_per_page=10&quot;);
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;

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

&lt;?php endwhile;
endif; ?&gt;
&lt;div class=&quot;navigation&quot;&gt;
	&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link('Previous entries') ?&gt;&lt;/div&gt;
	&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link('Next entries') ?&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;?php wp_reset_query(); ?&gt;
</pre>
<p>You can change the number of posts being displayed on the page by changing <strong>posts_per_page</strong> variable value.</p>
<h4>Final Code</h4>
<p>Your final code for the custom page should look like this:</p>
<pre class="brush: php;">
&lt;?php /* Template Name: Custom Post Type Archive */
get_header(); ?&gt;

&lt;?php
global $query_string;
query_posts($query_string . &quot;post_type=YOUR-CUSTOM-POST-TYPE&amp;post_status=publish&amp;posts_per_page=10&quot;);
if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;

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

&lt;?php endwhile;
endif; ?&gt;
&lt;div class=&quot;navigation&quot;&gt;
	&lt;div class=&quot;alignleft&quot;&gt;&lt;?php next_posts_link('Previous entries') ?&gt;&lt;/div&gt;
	&lt;div class=&quot;alignright&quot;&gt;&lt;?php previous_posts_link('Next entries') ?&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;?php wp_reset_query(); ?&gt;

&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer();?&gt;
</pre>
<p>Now upload this file in your theme&#8217;s directory. After you have done that, you need to go to your WordPress admin panel, and create a new page. Call it &#8220;Your Custom Post Type&#8221; Archives (or whatever you like to call it) and change the page template to &#8220;Custom Post Type Archive&#8221; as shown <a href="http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/">here</a>. Do not add anything in the page content area, and simply publish the page. You should now have a custom post types archive page in WordPress.</p>
<p><a href="http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/">How to Create a Custom Post Types Archive Page in WordPress</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-themes/how-to-create-a-page-that-displays-a-random-post-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Page that Displays a Random Post in WordPress'>How to Create a Page that Displays a Random Post in WordPress</a></li>
<li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-use-custom-post-types/' rel='bookmark' title='Permanent Link: How to use Custom Post Types in WordPress 3.0'>How to use Custom Post Types in WordPress 3.0</a></li>
<li><a href='http://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/' rel='bookmark' title='Permanent Link: How to Create a Custom Page in WordPress'>How to Create a Custom Page in WordPress</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=i13qFiMX0ic:qtusvEdX-_Y:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=i13qFiMX0ic:qtusvEdX-_Y:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=i13qFiMX0ic:qtusvEdX-_Y:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=i13qFiMX0ic:qtusvEdX-_Y:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=i13qFiMX0ic:qtusvEdX-_Y:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=i13qFiMX0ic:qtusvEdX-_Y:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=i13qFiMX0ic:qtusvEdX-_Y:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=i13qFiMX0ic:qtusvEdX-_Y:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/i13qFiMX0ic" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/wp-tutorials/how-to-create-a-custom-post-types-archive-page-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>Lucky Winners of Impact Page Builder WordPress Plugin Giveaway</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/4FNqmQvyfCc/</link>
		<comments>http://www.wpbeginner.com/news/lucky-winners-of-impact-page-builder-wordpress-plugin-giveaway/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 13:53:01 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[free copy of impact page builder wordpress plugin]]></category>
		<category><![CDATA[giveaway]]></category>
		<category><![CDATA[impact page builder for wordpress]]></category>
		<category><![CDATA[impact page builder plugin]]></category>
		<category><![CDATA[impact plugin]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2246</guid>
		<description><![CDATA[This past week, we had a tremendous opportunity to giveway one of the hottest new WordPress plugins in the market, Impact Page Builder. Here are the winners.<p><a href="http://www.wpbeginner.com/news/lucky-winners-of-impact-page-builder-wordpress-plugin-giveaway/">Lucky Winners of Impact Page Builder WordPress Plugin Giveaway</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/news/giveaway-get-your-free-copies-of-impact-page-builder-for-wordpress/' rel='bookmark' title='Permanent Link: Giveaway &#8211; Get your Free Copies of Impact Page Builder for WordPress'>Giveaway &#8211; Get your Free Copies of Impact Page Builder for WordPress</a></li>
<li><a href='http://www.wpbeginner.com/news/lucky-winners-for-templatic-wordpress-themes-giveaway/' rel='bookmark' title='Permanent Link: Lucky Winners for Templatic WordPress Themes Giveaway'>Lucky Winners for Templatic WordPress Themes Giveaway</a></li>
<li><a href='http://www.wpbeginner.com/news/lucky-winners-of-themejam-wordpress-theme-giveaway/' rel='bookmark' title='Permanent Link: Lucky Winners of ThemeJam WordPress Theme Giveaway'>Lucky Winners of ThemeJam WordPress Theme Giveaway</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This past week, we had a tremendous opportunity to giveway one of the hottest new WordPress plugins in the market, <a href="http://www.wpbeginner.com/refer/impactpagebuilder" style="" target="_blank" rel="nofollow" >Impact Page Builder</a>. We are giving away 10 copies of this plugin, and each of our winners have an option of either getting a Single Site License for FREE, or pay $39 fee to get an unlimited license (which is worth $88)..</p>
<p>This was a twitter-exclusive contest where users were required to tweet about the contest and post a comment with their twitter link. Last requirement was that they must follow @wpbeginner on twitter, so we could notify them via Direct Message.</p>
<p>Winners were selected randomly. Each entry was assigned a number, and the chosen ones received our Direct messages.</p>
<p>Contest Winners:<br />
@OneJason<br />
@arielmariani<br />
@melowout<br />
@peterlandt<br />
@raksakaindra<br />
@z3olyte<br />
@thefunkhouse<br />
@albertalbs<br />
@poliquinp<br />
@satryaWp</p>
<p>There were 85+ entries in the contest, so a lot of you did not get the chance to win. <a href="http://www.wpbeginner.com/refer/impactpagebuilder" style="" target="_blank" rel="nofollow" >Impact Page Builder</a> is an awesome plugin and it was tweeted by some of the top bloggers including us and @problogger. We have worked out a deal with them to offer WPBeginner users an exclusive 20% discount if you go through our link and use the coupon &#8220;<a href="http://www.wpbeginner.com/refer/impactpagebuilder" target="_blank" rel="nofollow">wpbeginner</a>&#8220;. (Just click on the coupon and buy it). This is a limited time discount, so grab it now while it is available.</p>
<p><a href="http://www.wpbeginner.com/news/lucky-winners-of-impact-page-builder-wordpress-plugin-giveaway/">Lucky Winners of Impact Page Builder WordPress Plugin Giveaway</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/news/giveaway-get-your-free-copies-of-impact-page-builder-for-wordpress/' rel='bookmark' title='Permanent Link: Giveaway &#8211; Get your Free Copies of Impact Page Builder for WordPress'>Giveaway &#8211; Get your Free Copies of Impact Page Builder for WordPress</a></li>
<li><a href='http://www.wpbeginner.com/news/lucky-winners-for-templatic-wordpress-themes-giveaway/' rel='bookmark' title='Permanent Link: Lucky Winners for Templatic WordPress Themes Giveaway'>Lucky Winners for Templatic WordPress Themes Giveaway</a></li>
<li><a href='http://www.wpbeginner.com/news/lucky-winners-of-themejam-wordpress-theme-giveaway/' rel='bookmark' title='Permanent Link: Lucky Winners of ThemeJam WordPress Theme Giveaway'>Lucky Winners of ThemeJam WordPress Theme Giveaway</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=4FNqmQvyfCc:sdW3LA0Yj4I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=4FNqmQvyfCc:sdW3LA0Yj4I:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=4FNqmQvyfCc:sdW3LA0Yj4I:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=4FNqmQvyfCc:sdW3LA0Yj4I:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=4FNqmQvyfCc:sdW3LA0Yj4I:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=4FNqmQvyfCc:sdW3LA0Yj4I:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=4FNqmQvyfCc:sdW3LA0Yj4I:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=4FNqmQvyfCc:sdW3LA0Yj4I:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/4FNqmQvyfCc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/news/lucky-winners-of-impact-page-builder-wordpress-plugin-giveaway/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/news/lucky-winners-of-impact-page-builder-wordpress-plugin-giveaway/</feedburner:origLink></item>
		<item>
		<title>How to Install and Setup W3 Total Cache for Beginners</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/h0hIiYk_cZM/</link>
		<comments>http://www.wpbeginner.com/plugins/how-to-install-and-setup-w3-total-cache-for-beginners/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 14:01:25 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[beginners guide for w3 total cache]]></category>
		<category><![CDATA[best caching plugin for wordpress]]></category>
		<category><![CDATA[best wordpress caching plugin]]></category>
		<category><![CDATA[cdn in wordpress]]></category>
		<category><![CDATA[cpanel hosting cname record]]></category>
		<category><![CDATA[do i need w3 total cache]]></category>
		<category><![CDATA[how to add cdn in firefox]]></category>
		<category><![CDATA[how to create a cname record]]></category>
		<category><![CDATA[how to improve wordpress yslow grade]]></category>
		<category><![CDATA[How to Install and Setup W3 Total Cache and MaxCDN for Beginners]]></category>
		<category><![CDATA[how to install maxcdn in wordpress]]></category>
		<category><![CDATA[how to install w3 total cache]]></category>
		<category><![CDATA[how to setup maxdn in wordpress]]></category>
		<category><![CDATA[setup maxcdn]]></category>
		<category><![CDATA[setup maxcdn in wordpress]]></category>
		<category><![CDATA[setup w3 total cache]]></category>
		<category><![CDATA[w3 total cache plugin]]></category>
		<category><![CDATA[yslow wordpress]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2202</guid>
		<description><![CDATA[Due to a very high volume of request, we have decided to create a step by step user's guide to installing and setting up W3 Total Cache for beginners. In this article, we will show you how to install <a href="http://wordpress.org/extend/plugins/w3-total-cache/" rel="nofollow" target="_blank">W3 Total Cache Plugin</a>, set it up properly so you can maximize the benefits, and how you can combine W3 Total Cache with CDN services to make your site load even faster.<p><a href="http://www.wpbeginner.com/plugins/how-to-install-and-setup-w3-total-cache-for-beginners/">How to Install and Setup W3 Total Cache for Beginners</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/beginners-guide/how-to-install-and-setup-wp-super-cache-for-beginners/' rel='bookmark' title='Permanent Link: How to Install and Setup WP Super Cache for Beginners'>How to Install and Setup WP Super Cache for Beginners</a></li>
<li><a href='http://www.wpbeginner.com/news/wpbeginner-is-now-powered-by-maxcdn/' rel='bookmark' title='Permanent Link: WPBeginner is now Powered by MaxCDN'>WPBeginner is now Powered by MaxCDN</a></li>
<li><a href='http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/' rel='bookmark' title='Permanent Link: Step by Step Guide to Install a WordPress Plugin for Beginners'>Step by Step Guide to Install a WordPress Plugin for Beginners</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Last week, we wrote <a href="http://www.wpbeginner.com/news/wpbeginner-is-now-powered-by-maxcdn/">an article</a> announcing that we have switched our site from <a href="http://www.wpbeginner.com/beginners-guide/how-to-install-and-setup-wp-super-cache-for-beginners/">WP Super Cache</a> to W3 Total Cache. That article also announced our partnership with <a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >MaxCDN</a>. Due to a very high volume of request, we have decided to create a step by step user&#8217;s guide to installing and setting up W3 Total Cache for beginners. In this article, we will show you how to install <a href="http://wordpress.org/extend/plugins/w3-total-cache/" rel="nofollow" target="_blank">W3 Total Cache Plugin</a>, set it up properly so you can maximize the benefits, and how you can combine W3 Total Cache with <a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >CDN</a> services to make your site load even faster.</p>
<p>Before you begin, we want you to download the <a href="http://developer.yahoo.com/yslow/" target="_blank">YSlow Addon for Firefox</a> and run it for your site. Write down the load time of your homepage, and the letter grade YSlow gave your site.</p>
<h4>What is W3 Total Cache?</h4>
<p>W3 Total Cache is the fastest and most complete WordPress performance optimization plugin. Trusted by many popular sites including: mashable.com, smashingmagazine.com,  yoast.com and WPBeginner. W3 Total Cache improves the user experience of your site by improving your server performance, caching every aspect of your site, reducing the download times and providing transparent <a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >content delivery network</a> (<a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >CDN</a>) integration.</p>
<h2>1. Installing W3 Total Cache in WordPress</h2>
<p>Before you install W3 Total Cache, you need to make sure that you uninstall all other caching plugins (for example WP Super Cache). If you do not do this prior to installing, the plugin will have issues upon activation. We have a very thorough guide explaining <a href="http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/">how to install a WordPress plugin</a> which you can follow. Or you can follow the brief guide below:</p>
<p>Go to your WordPress admin panel, and click on Plugins &raquo; Add New, where you will search the name &#8220;W3 Total Cache&#8221;. You should see results like the image below:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/installw3totalcache.gif" alt="Installing W3 Total Cache" /></p>
<p>Install and activate the plugin. If you choose to do this via FTP, first download the plugin and then upload it in to your <strong>/wp-content/plugins/</strong> directory. Upon the activation of this plugin, a new menu option will be added in your WordPress admin panel called &#8220;Performance&#8221;. Click on the tab, and you will enter the configuration area.</p>
<h2>2. Settings and Configuration of W3 Total Cache</h2>
<p>W3 Total Cache is a very powerful plugin, so it has tons of options. We will visit each of these options in detail, but first we need to start with the General Settings.</p>
<h4>General Settings</h4>
<p>Make sure that you are on the General Settings Page. You can confirm that by viewing two of these options:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/generalsettings1.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>Now lets dive into the general configurations page. First you see an option to enable or disable preview. You should click disable, so the site is actually running W3 Total Cache rather than just previewing it. So your final screen would look like this:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general2.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>Next option on the screen will be Page Cache. This works just like how WP Super Cache plugin works. This section is responsible for creating static cache pages for each page that is loaded, so it is not being dynamically loaded upon each page load. By having this enabled, you will significantly decrease your load time. For Shared servers, which most users are using, the Disk (Enhanced) Method is highly recommended. Your final screen result should look like this:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general3.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>After the page cache, you should see the option for Minify in the general page. Minify is the famous technique of reducing the size of your CSS files, JS files, HTML files, posts, pages, and RSS. What this does is remove the unnecessary objects that your users do not need to see. Such as commenting in the stylesheet. That is for developers, not for average users to see. This plugin will remove all useless spacing from the code which by average speeds up your site load time by 10%. Disk is the only / best option for Shared servers. Your final screen should look like this:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general4.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>Next option is Database Cache. This is crucial for site load time because WordPress sites are entirely running on Database. Often high load of database queries are the cause that slows yours site down and/or crash the site upon high traffic. The Database cache option will cache queries such as pulling the twitter count from your database, if you are using that. This option can essentially speed up your site by 100x. Your final setting for this area would look like this:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general5.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>Object Cache is the option that comes next. This increases the performance of highly dynamic sites that uses the Object Cache API. The final settings should look like this:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general6.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>The next option after this is for Content Delivery Networks (<a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >CDN</a>). W3 Total Cache supports <a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >MaxCDN</a>, NetDNA, Amazon S3, Rackspace Cloud, and Amazon Cloud Front. WPBeginner is using <a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >MaxCDN</a>. This section will only apply to sites that are using CDN, or are planning on using CDN. If you think you will be using CDN, then we recommend MaxCDN (use coupon &#8220;<a href="http://www.wpbeginner.com/refer/maxcdn" rel="nofollow">wpbeginner</a>&#8221; for 25% off). Example screen of someone who uses MaxCDN would look like this:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general7.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>The next and last option on the general settings page is for Browser Cache. Browser Cache enables HTTP compression and adds expiration headers on the objects of your site. Each time a user visits your site, their browser stores a copy of your site, so on the next visit, your user does not have to re-load the site entirely (which speeds up the load time). But each browser resets the cache on their own schedule even when the file has not been changed. By enabling this, your site will tell the browser how long to hold each object. For example, you don&#8217;t change your favicon every day, or even month. That is something can be stored for one month period without change. The final screen should look like this:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general8.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>Now that we have gone through the general settings page, we will dive into each individual settings to give you a look for more options.</p>
<h4>Page Cache Options in Detail</h4>
<p>Now that you have enabled page cache, we will show you what other options that you can tweak. First you need to go to the Page Cache Settings page like so:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/pagecache.gif" alt="Configure W3 Total Cache - Page Cache Settings" /></p>
<p>Now you will see the following options:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/pagecache1.gif" alt="Configure W3 Total Cache - Page Cache Settings" /></p>
<p>Notice in the screen above that you will see Page Cache is currently enabled. If you do not see this, then you are doing something wrong. Go back to general settings and enable it. Next, you also see a way to empty page cache. When you notice an error on your site, you want to immediately fix it. This could be a spelling error that your user reported, or something else. In a situation like that, you would have to manually clear the cache so the changes can be implemented on the live site right away.</p>
<p>We have selected the option to not cache pages for logged in users such as administrators. The reason for that is, if we want to see any changes that we make on the live site before it goes live, we can do so. Next option is cache the homepage. Homepage is often the most visited page on many sites. It would be a good idea to check that. Cache feeds, categories, and tags is checked because thousands of people go through our categories daily. Dynamically loading each page will slow our site down significantly. We have not selected the option to cache search strings, and 404 pages because we do not see a need for it, but for some websites it can be great.</p>
<p>Now we will look into some advanced options for Page Caching.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/pagecache2.gif" alt="Configure W3 Total Cache - Page Cache Settings" /></p>
<p>Under the advanced options, you can see that we haven&#8217;t really touched the default. You can select to change the page cache to be longer or smaller interval. Default is 3600 seconds. You can make it smaller interval if you have a busy site. Next option is for Rejected User Agents and Rejected Cookies. You can select not to send cache pages to Google Bot, not recommend, but you can if you wish. If your page use a specific cookie, you should have those pages listed under rejected cookies page. </p>
<p>Under the never cache the following pages section, you see that we have added another page to the list. By default it is the index.php and wp-.php. But we added a manual page in there. The reason why we added this page was because we want this to load dynamically. This is a secret page on our site that you can constantly refresh to get a new tip randomly from our article database. See our <a href="http://www.wpbeginner.com/random-posts-from-wpbeginner/">Random Posts Page</a>. You can add any page that you do not want to cache in that list. All the other settings can be left to default.</p>
<h4>Minify Settings in Detail</h4>
<p>Minify Settings advanced option will vary from site to site, but there are somethings that should be universal. First you need to make sure that it is enabled.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/minify.gif" alt="Configure W3 Total Cache - Minify Settings" /></p>
<p>As you can see in the image above, that you have a green text saying it is enabled. We recommend that you follow the settings above exactly as shown. Each option is self-explanatory. One thing you should note is the Help Wizard at the top. That is a very nice feature that will come in handy when we see the CSS / JS Minify settings.</p>
<p>We are not using JS minify for this plugin because it was causing some areas of our site to not work properly, but we have minified our CSS. You are required to attach files, which you can do by either entering the URL of the file, or using the helpwizard.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/minify2.gif" alt="Configure W3 Total Cache - Minify Settings" /></p>
<p>Once you select the files in there, you will see them added in the minify page below:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/minify3.gif" alt="Configure W3 Total Cache - Minify Settings" /></p>
<p>Everything else should be left to blank, unless you know what you are doing.</p>
<h4>Database Cache Settings</h4>
<p>We did not modify anything in the Database Cache settings. Everything was left as default. You do not need to modify it unless you know that your site needs additional modification. The most important section is the never cache the following pages. For example, if one of your page or section heavily relies on database queries, then it is wise to add that page or that entire section in this field:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/dbcache.gif" alt="Configure W3 Total Cache - Database Cache Settings" /></p>
<h4>Object Cache Settings</h4>
<p>Everything should be left as default for an average site. If you know that you need something in there specifically, then you may modify it.</p>
<h4>Browser Cache Settings</h4>
<p>By default, only Gzip compresssion and Set W3 Total Cache Header is enabled, but we have taken it a step further in our setup. We enabled Set Expires Header, Set Entity Tag (etag) for each option. You may do the same for your site as well. It is recommended that you do a little research about expire header and etag functions, so you make an informed decision that well-reflect your site. Not everything that works for us will work for your site as each site has different needs. There are tons of pros and cons of these functions which could be an article on its own.</p>
<h4>CDN Settings in W3 Total Cache</h4>
<p>This section will be slighly biased because we are only showing MaxCDN implementation. We are using MaxCDN and their quality service, so that is the only option that we have access to display (we will also explain why we chose them). If you followed this tutorial entirely, you should have already enabled the use of CDN and seleted MaxCDN as the option (only if you have an account with MaxCDN). If not, then this can be done through the General Settings. One you have done that, lets visit our CDN Settings Page.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/cdn.gif" alt="Configure W3 Total Cache - CDN Settings" /></p>
<p>As you see that we have selected all four options in the general settings. Host wp-include files, this so if your theme is calling jQuery from WordPress include library, it will be added and served through the CDN service. Theme files option is checked, so all of our theme files are served via CDN. Host minified CSS and JS files via CDN. This is important to have checked, so when W3 Total Cache minify your CSS files, it can be served via a CDN. Lastly serve custom files via CDN. Often bloggers have a tendency of keeping somethings separate for the sake of organization. Let it be ad images, or other set of files. You can specify those to be served via CDN as well.</p>
<h3>Setting up MaxCDN with W3 Total Cache for WordPress</h3>
<p>Next option is configuration of your CDN provider. We will show you how to do that with MaxCDN. You need to have an &#8220;Origin Pull&#8221; CDN account. Rackspace Cloud, and Amazon cloud front, do not offer this service which makes MaxCDN superior. Origin-Pull is simple to use and highly transparent. This type is also known as &#8220;mirror&#8221; CDN.</p>
<p>1. Login to your <a href="http://www.wpbeginner.com/refer/maxcdn">MaxCDN</a> account (If you don&#8217;t have one, then get one).</p>
<p>2. In your MaxCDN dashboard menu, click on &#8220;Manage Zones&#8221; option. Then click on &#8220;Create Pull Zone&#8221; button, just like it is shown in the image below: </p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/maxcdn.gif" alt="Configure W3 Total Cache - MaxCDN Settings" /></p>
<p>3. On the next page, you will need to fill out the necessary information to create a Pull Zone:</p>
<ul>
<li>Pull Zone Name: This can be anything without spaces, minimum 3 characters long. Think of this as your username.</li>
<li>Origin Server URL: Enter the URL of your wordpress blog. Must have &#8220;http://&#8221; and the trailing slash(/).</li>
<li>Custom CDN Domain: This is Optional, but we recommend it for the sake of branding. Use any subdomain for examplke: cdn.wpbeginner.com</li>
<li>Label: This is like a description field. It is optional to add a description.</li>
<li>Compression: We recommend that you enable this as it will save the usage of bandwidth on your account.</li>
</ul>
<p>We have filled out the fields for you to see in the image below:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/maxcdn2.gif" alt="Configure W3 Total Cache - MaxCDN Settings" /></p>
<p>Upon creation, you will see a screen that will give you the URL for your CDN. If you chose the option for Custom CDN Domain, it will ask you to create a CNAME record for that domain. We will show you how to create the CNAME Record with cPanel Webhosting providers such as <a href="http://www.wpbeginner.com/refer/hostgator" rel="nofollow">HostGator</a>, <a href="http://www.wpbeginner.com/refer/supergreenhosting" rel="nofollow">Super Green Hosting</a>, and <a href="http://www.wpbeginner.com/refer/bluehost" rel="nofollow">Bluehost</a>. You will need to login to your cPanel, then scroll down to the Domains Section and click on <strong>Simple DNS Zone Editor</strong>.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/cname1.gif" alt="Configure W3 Total Cache - Adding a CNAME Record" /></p>
<p>Then you will fill out the fields to Add an CNAME Record. The two values, you will be required to fill are: Name and CNAME.</p>
<ul>
<li>Name: This would be what you put in your MaxCDN Pull Zone as the Custom CDN Domain. In the image above, you see that our custom CDN domain is cdn.wpbeginner.com, so we will put &#8220;cdn&#8221; in our name field.</li>
<li>CNAME: This will be URL provided to you by MaxCDN when you create the Pull zone.</li>
</ul>
<p>We have filled out the fields for you to see in the image below:</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/cname2.gif" alt="Configure W3 Total Cache - Adding a CNAME Record" /></p>
<p>Now, you have the CNAME created for your MaxCDN Pull zone. Note: This method will be different if you have a different host. Sometimes, CNAME records are created via Domain Registrar such as <a href="http://www.wpbeginner.com/refer/godaddy" rel="nofollow">Godaddy</a>.</p>
<p>Lets configure our W3 Total Cache Plugin to work with MaxCDN. In the general settings above, you have already enabled <a href="http://www.wpbeginner.com/refer/maxcdn" style="" target="_blank" rel="nofollow" >Content Delivery Network</a> option and set it to Mirror: NetDNA/MaxCDN. So now when you go to the CDN Settings page, you will see an option for Configuration. W3 Total Cache wants you to enter the API ID, and the API Key. These can be found in your MaxCDN Dashboard if you go to Manage Account &raquo; API. Copy those and paste it here. Next complete the field that asks you to &#8220;Replace site&#8217;s hostname with:&#8221;. You will add your custom CNAME here. You can see in our example below, we have added cdn.wpbeginner.com.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/cdn1.gif" alt="Configure W3 Total Cache - W3 Total Cache CDN Configuration" /></p>
<p>After setting this up, your MaxCDN should be setup and ready to go. But there are other options that you can add as well to improve performance a little bit further. Lets look at the &#8220;Advanced&#8221; options on the Content Delivery Networks settings.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/cdn2.gif" alt="Configure W3 Total Cache - W3 Total Cache CDN Configuration" /></p>
<p>If you look at the image above, you see that some fields are already filled. The main part in this area is Custom file list. After enabling MaxCDN on our site, we saw that almost all files were being served via CDN except for some plugin files such as <a href="http://www.wpbeginner.com/refer/oiopublisher" style="" target="_blank" rel="nofollow" onmouseover="self.status='OIO Publisher - Best Plugin for Managing the Ads';return true;" onmouseout="self.status=''">OIO Publisher</a>, SyntaxHighlighter etc. So we decided to add those to the list. <a href="http://www.wpbeginner.com/refer/oiopublisher" rel="nofollow">OIO Publisher</a> is a plugin that lets us manage ads on our site (<a href="http://www.wpbeginner.com/plugins/manage-your-ads-in-wordpress-with-oio-publisher-review/">Full Review</a>). When adding ads through this plugins, we can upload images through the plugin which were stored in the plugin&#8217;s uploads folder. So now all those images were served through CDN. Syntax Highlighter adds JavaScripts at the bottom of our page which were being served directly. So we added the syntax highlighter folder, so all files are served via CDN. This area will vary from site to site as each site uses different plugins. Some users will not have to add anything in here, but it is just an option to know. Also if you notice in the image above, there is a Rejected files area where contact form 7 file is listed. If you are using contact form 7, then you do not want to serve the captcha file through CDN. </p>
<p>This will conclude our CDN settings setup. Now if you load your site, the image URLs should be served from the CDN subdomain rather than your site&#8217;s actual domain. For example:</p>
<blockquote><p>http://www.wpbeginner.com/wp-content/themes/wpbeginner/images/logo.jpg</p></blockquote>
<p>will be replaced with:</p>
<blockquote><p>http://cdn.wpbeginner.com/wp-content/themes/wpbeginner/images/logo.jpg</p></blockquote>
<p>This concludes the setup of your W3 Total Cache Plugin. Your site should load a lot faster now. For the sake of testing, you can use YSlow to see what letter grade you get now compared to before. YSlow only recognizes the known CDNs names, so it will not recognize your custom subdomain. You will need to follow the <a href="http://blog.maxcdn.com/news/configuring-yslow-to-see-maxcdn-yslow-%E2%80%93-an-answer-to-%E2%80%9Cwhy-is-my-website-slow%E2%80%9D/">tutorial on MaxCDN blog</a> that shows how you can add your CDN to the list for your browser. This will be for the sake of testing the actual grade that your site gets.</p>
<p>Now that you have everything setup, it is best if you create a backup for your W3 Total Cache Configuration. After all, we went through a lot in this article. You will need to come back to your W3 Total Cache&#8217;s General Settings Page. There is a section for Import / Export Settings. Click to Download the settings file from your server.</p>
<p><img src="http://cdn.wpbeginner.com/blogpostsimages/w3totalcache/general9.gif" alt="Configure W3 Total Cache - General Settings" /></p>
<p>This is good to do because if your site crashes, or you accidentally reset the settings, you will have a file to backup.</p>
<p>We hope that you found this article useful. For those users who are still not sold on the concept of CDN, we highly recommend you give it a shot. CDN work with your web host to decrease server load and increase site performance. We are using <a href="http://www.wpbeginner.com/refer/maxcdn" rel="nofollow">MaxCDN</a> and we recommend you to do the same. (Try them for just a month, and you will see why we recommend them). Use the coupon &#8220;<a href="http://www.wpbeginner.com/refer/maxcdn" rel="nofollow">wpbeginner</a>&#8221; for 25% off.</p>
<p>If you have any questions, then please feel free to ask in the comments below. Also don&#8217;t forget to share this article on Twitter, Digg, Facebook using the buttons to your left. We truly appreciate your support.</p>
<p><a href="http://www.wpbeginner.com/plugins/how-to-install-and-setup-w3-total-cache-for-beginners/">How to Install and Setup W3 Total Cache for Beginners</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/beginners-guide/how-to-install-and-setup-wp-super-cache-for-beginners/' rel='bookmark' title='Permanent Link: How to Install and Setup WP Super Cache for Beginners'>How to Install and Setup WP Super Cache for Beginners</a></li>
<li><a href='http://www.wpbeginner.com/news/wpbeginner-is-now-powered-by-maxcdn/' rel='bookmark' title='Permanent Link: WPBeginner is now Powered by MaxCDN'>WPBeginner is now Powered by MaxCDN</a></li>
<li><a href='http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/' rel='bookmark' title='Permanent Link: Step by Step Guide to Install a WordPress Plugin for Beginners'>Step by Step Guide to Install a WordPress Plugin for Beginners</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=h0hIiYk_cZM:IN__lfcdxkI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=h0hIiYk_cZM:IN__lfcdxkI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=h0hIiYk_cZM:IN__lfcdxkI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=h0hIiYk_cZM:IN__lfcdxkI:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=h0hIiYk_cZM:IN__lfcdxkI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=h0hIiYk_cZM:IN__lfcdxkI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=h0hIiYk_cZM:IN__lfcdxkI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=h0hIiYk_cZM:IN__lfcdxkI:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/h0hIiYk_cZM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/plugins/how-to-install-and-setup-w3-total-cache-for-beginners/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/plugins/how-to-install-and-setup-w3-total-cache-for-beginners/</feedburner:origLink></item>
		<item>
		<title>Follow WPBeginner on the New Digg, This could help all of us</title>
		<link>http://feedproxy.google.com/~r/wpbeginner/~3/BZ5sT1REtYE/</link>
		<comments>http://www.wpbeginner.com/news/follow-wpbeginner-on-the-new-digg-this-could-help-all-of-us/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 05:48:06 +0000</pubDate>
		<dc:creator>Editorial Staff</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=2215</guid>
		<description><![CDATA[One of the most popular news aggregating social media sites, Digg recently went through a major overhaul. We were able to obtain a publisher's account for <a href="http://digg.com/wpbeginner" rel="nofollow">WPBeginner</a>.<p><a href="http://www.wpbeginner.com/news/follow-wpbeginner-on-the-new-digg-this-could-help-all-of-us/">Follow WPBeginner on the New Digg, This could help all of us</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>



Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-add-a-digg-button-in-your-wordpress-using-custom-fields/' rel='bookmark' title='Permanent Link: How to Add a Digg Button in your WordPress using Custom Fields'>How to Add a Digg Button in your WordPress using Custom Fields</a></li>
<li><a href='http://www.wpbeginner.com/news/going-out-of-business-save-wpbeginner/' rel='bookmark' title='Permanent Link: Going out of Business &#8211; Save WPBeginner'>Going out of Business &#8211; Save WPBeginner</a></li>
<li><a href='http://www.wpbeginner.com/plugins/how-to-allow-users-to-submit-news-posts-to-your-wordpress-site/' rel='bookmark' title='Permanent Link: How to Allow Users to Submit News / Posts to Your WordPress Site'>How to Allow Users to Submit News / Posts to Your WordPress Site</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One of the most popular news aggregating social media sites, Digg recently went through a major overhaul. We were able to obtain a publisher&#8217;s account for <a href="http://digg.com/wpbeginner" rel="nofollow">WPBeginner</a>. One of the nice aspects of the improved site is that it&#8217;s a little more social than its previous version. We are still a relatively small brand compared to big names like Mashable, Engadget etc. Therefore we need your support to get noticed. Please help us by joining <a href="http://digg.com/wpbeginner" rel="nofollow">WPBeginner on Digg</a>. The best part about following us is that you know you will be seen. We are following every user that follows us back because we want to return the favor and check out the interesting news that you submit. Also, we haven&#8217;t seen another WordPress resource site on Digg yet, so we are also representing the WordPress unofficially.</p>
<p>Thanks for All your Support,<br />
WPBeginner Editorial Staff</p>
<p><!--ceec8963a1c9429ea41c3551244c6ad7--></p>
<p><a href="http://www.wpbeginner.com/news/follow-wpbeginner-on-the-new-digg-this-could-help-all-of-us/">Follow WPBeginner on the New Digg, This could help all of us</a> is a post from: <a href="http://www.wpbeginner.com" target="_blank" rel="friend">WPBeginner</a> which is not allowed to be copied on other sites.</p>


<p>Related posts:<ol><li><a href='http://www.wpbeginner.com/wp-tutorials/how-to-add-a-digg-button-in-your-wordpress-using-custom-fields/' rel='bookmark' title='Permanent Link: How to Add a Digg Button in your WordPress using Custom Fields'>How to Add a Digg Button in your WordPress using Custom Fields</a></li>
<li><a href='http://www.wpbeginner.com/news/going-out-of-business-save-wpbeginner/' rel='bookmark' title='Permanent Link: Going out of Business &#8211; Save WPBeginner'>Going out of Business &#8211; Save WPBeginner</a></li>
<li><a href='http://www.wpbeginner.com/plugins/how-to-allow-users-to-submit-news-posts-to-your-wordpress-site/' rel='bookmark' title='Permanent Link: How to Allow Users to Submit News / Posts to Your WordPress Site'>How to Allow Users to Submit News / Posts to Your WordPress Site</a></li>
</ol></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/wpbeginner?a=BZ5sT1REtYE:tFO5y4Il89E:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=BZ5sT1REtYE:tFO5y4Il89E:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=BZ5sT1REtYE:tFO5y4Il89E:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=BZ5sT1REtYE:tFO5y4Il89E:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=BZ5sT1REtYE:tFO5y4Il89E:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=BZ5sT1REtYE:tFO5y4Il89E:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/wpbeginner?i=BZ5sT1REtYE:tFO5y4Il89E:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/wpbeginner?a=BZ5sT1REtYE:tFO5y4Il89E:I9og5sOYxJI"><img src="http://feeds.feedburner.com/~ff/wpbeginner?d=I9og5sOYxJI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/wpbeginner/~4/BZ5sT1REtYE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.wpbeginner.com/news/follow-wpbeginner-on-the-new-digg-this-could-help-all-of-us/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://www.wpbeginner.com/news/follow-wpbeginner-on-the-new-digg-this-could-help-all-of-us/</feedburner:origLink></item>
	</channel>
</rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Content Delivery Network via cdn.wpbeginner.com

Served from: www.wpbeginner.com @ 2010-09-09 00:24:37 -->
