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

<channel>
	<title>Jared Atchison&#187; WordPress</title>
	<atom:link href="http://www.jaredatchison.com/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaredatchison.com</link>
	<description>WordPress Consultant and Genesis Developer</description>
	<lastBuildDate>Fri, 27 Jan 2012 05:34:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Custom Metaboxes and Fields 0.9 released</title>
		<link>http://www.jaredatchison.com/2012/01/20/custom-metaboxes-and-fields-0-9-released/</link>
		<comments>http://www.jaredatchison.com/2012/01/20/custom-metaboxes-and-fields-0-9-released/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 20:29:01 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Custom Metaboxes and Fields]]></category>
		<category><![CDATA[custom fields]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=882</guid>
		<description><![CDATA['m happy to announce Custom Metaboxes and Fields for WordPress version 0.9 is out and ready for consumption. This is probably one of the large updates we have put out as it contains a lot of fixes, tweaks, and even a few nice additions.]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-898" title="Custom metaboxes and fields for WordPress" src="http://www.jaredatchison.com/wp-content/uploads/2012/01/cmb.jpg" alt="Custom metaboxes and fields for WordPress" width="620" height="300" /></p>
<p>After a few months in the works I&#8217;m happy to announce <a href="https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress">Custom Metaboxes and Fields for WordPress</a> version 0.9 is out and ready for consumption.<span id="more-882"></span></p>
<p>This is probably one of the large updates we have put out as it contains a <em>lot</em> of fixes, tweaks, and even a few nice additions. Taken straight from the readme, here&#8217;s a list of what new with 0.9!</p>
<ul>
<li>Cleaned up scripts being queued</li>
<li>Cleaned up and reorganized jQuery</li>
<li>Use $pagenow instead of custom $current_page</li>
<li>Fixed CSS, removed inline styles, now all in style.css</li>
<li>Fixed multicheck issues (issue #48)</li>
<li>Fixed jQuery UI datepicker CSS conflicting with WordPress UI elements</li>
<li>Fixed zeros not saving in fields</li>
<li>Fixed improper labels on radio and multicheck fields</li>
<li>Fixed fields not rendering properly when in sidebar</li>
<li>Fixed bug where datepicker triggers extra space after footer in Firefox</li>
<li>Added jQuery UI datepicker packaged with 3.3 core</li>
<li>Added date time combo picker</li>
<li>Added color picker</li>
<li>Added readme.md markdown file</li>
</ul>
<p><a href="http://www.billerickson.net">Bill</a> and <a href="http://andrewnorcross.com/">Norcross</a> have put in a lot of time for past releases, so in this release I tried to pick up the slack as I hadn&#8217;t been as active.</p>
<p>If you are using 0.8 you should be able to upgrade without any issues. However it&#8217;s worth noting <strong>this release is for WordPress 3.3+</strong> &#8211; if you have not upgraded to 3.3 do not use 0.9.</p>
<h6>What&#8217;s next</h6>
<p>The next version is going to be a good one, so definitely keep an eye out. You can take a peak at the To-do in the <a href="https://github.com/jaredatch/Custom-Metaboxes-and-Fields-for-WordPress/blob/master/readme.md">readme</a> to get an idea of what&#8217;s on our radar. Specifically here&#8217;s a few things that are a priority in 1.0:</p>
<ul>
<li>Code cleanup. Since CMB has a rather large user base now, I figure we owe it to them to tidy up the code. This is going to be the #1 goal (but not the only) for 1.0.</li>
<li>Improve inline documentation. This goes hand-in-hand with the first point.</li>
<li>Move the jQuery datepicker and timepicker code inline and make each instance configurable with options passed through the array. This will allow multiple timepickers with different ranges, etc.</li>
<li>Add array option for placeholder value. Now that most modern browsers support this (html5) it should be a no-brainer.</li>
<li>Add array option for required elements. Like the previous point, this should be easy thanks to HTML5.</li>
</ul>
<div>There are a few other features, if time permits, we are going to try to squeeze in as well &#8211; but the ones above will be the focus.</div>
<h6>Props!</h6>
<p>Special thanks to <a href="http://garyjones.co.uk/">Gary Jones</a> for some great feedback as well as tweaks, <a href="http://www.billerickson.net">Bill</a> for squashing a few bugs, and everyone who has been reporting bugs on GitHub.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2012/01/20/custom-metaboxes-and-fields-0-9-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exclude categories from WordPress search results</title>
		<link>http://www.jaredatchison.com/2011/10/20/exclude-categories-from-wordpress-search-results/</link>
		<comments>http://www.jaredatchison.com/2011/10/20/exclude-categories-from-wordpress-search-results/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 03:00:21 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=859</guid>
		<description><![CDATA[Excluding a category (or categories) from the WordPress search results is easy peezy, however, that doesn&#8217;t stop most of the snippets I&#8217;ve found from doing it wrong.]]></description>
			<content:encoded><![CDATA[<p>Excluding a category (or categories) from the WordPress search results is easy peezy, <em>however,</em> that doesn&#8217;t stop most of the snippets I&#8217;ve found from doing it wrong.</p>
<div id="gist-1300302" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="cp">&lt;?php</span></div><div class='line' id='LC2'><br/></div><div class='line' id='LC3'><span class="nx">add_filter</span><span class="p">(</span> <span class="s1">&#39;pre_get_posts&#39;</span><span class="p">,</span> <span class="s1">&#39;ja_search_filter&#39;</span> <span class="p">);</span></div><div class='line' id='LC4'><span class="sd">/**</span></div><div class='line' id='LC5'><span class="sd"> * Exclude category 7 from search results.</span></div><div class='line' id='LC6'><span class="sd"> *</span></div><div class='line' id='LC7'><span class="sd"> * @since ?.?.?</span></div><div class='line' id='LC8'><span class="sd"> * @author Jared Atchison</span></div><div class='line' id='LC9'><span class="sd"> * @link https://gist.github.com/1300302</span></div><div class='line' id='LC10'><span class="sd"> *</span></div><div class='line' id='LC11'><span class="sd"> * @param WP_Query $query Existing query object</span></div><div class='line' id='LC12'><span class="sd"> * @return WP_Query Amended query object</span></div><div class='line' id='LC13'><span class="sd"> */</span></div><div class='line' id='LC14'><span class="k">function</span> <span class="nf">ja_search_filter</span><span class="p">(</span> <span class="nv">$query</span> <span class="p">)</span> <span class="p">{</span></div><div class='line' id='LC15'><br/></div><div class='line' id='LC16'>	<span class="k">if</span> <span class="p">(</span> <span class="nv">$query</span><span class="o">-&gt;</span><span class="na">is_search</span> <span class="o">&amp;&amp;</span> <span class="o">!</span><span class="nx">is_admin</span><span class="p">()</span> <span class="p">)</span></div><div class='line' id='LC17'>		<span class="nv">$query</span><span class="o">-&gt;</span><span class="na">set</span><span class="p">(</span> <span class="s1">&#39;cat&#39;</span><span class="p">,</span><span class="s1">&#39;-7&#39;</span> <span class="p">);</span></div><div class='line' id='LC18'><br/></div><div class='line' id='LC19'>	<span class="k">return</span> <span class="nv">$query</span><span class="p">;</span></div><div class='line' id='LC20'><br/></div><div class='line' id='LC21'><span class="p">}</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1300302/6574d689381cc99ebbaeb0c934b903c07eca1674/gistfile1.aw" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1300302#file_gistfile1.aw" style="float:right;margin-right:10px;color:#666">gistfile1.aw</a>
            <a href="https://gist.github.com/1300302">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/10/20/exclude-categories-from-wordpress-search-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Taking advantage of the template_include filter</title>
		<link>http://www.jaredatchison.com/2011/10/02/taking-advantage-of-the-template_include-filter/</link>
		<comments>http://www.jaredatchison.com/2011/10/02/taking-advantage-of-the-template_include-filter/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 02:35:02 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=836</guid>
		<description><![CDATA[If you are like me, you often want to control what template file WordPress uses. Some of the methods I&#8217;ve seen around the internet try to use template_redirect. Others are even worse and employ sticking tons of conditionals inside WordPress template files (eg category.php). Well I am here to tell you there is a much easier way. [...]]]></description>
			<content:encoded><![CDATA[<p>If you are like me, you often want to control what template file WordPress uses. Some of the methods I&#8217;ve seen around the internet try to use <strong>template_redirect</strong>. Others are even worse and employ sticking tons of conditionals inside WordPress template files (eg category.php).</p>
<p>Well I am here to tell you there is a much easier way. It&#8217;s fairly unknown and sparsely documented. It&#8217;s the <strong>template_include</strong> filter.<span id="more-836"></span></p>
<p>The use cases for template_include are endless but I will give you a great example where I recently took advantage of it.</p>
<p>Let&#8217;s say you have a category structure like below:</p>
<ul>
<li>Audio</li>
<li>News</li>
<ul>
<li>Local</li>
<li>Health</li>
<li>Technology</li>
<li>Sports</li>
<li>Politics</li>
<li>Travel</li>
</ul>
<li>Videos</li>
</ul>
<p>Looks straight forward, right? Using the normal <a href="http://codex.wordpress.org/Template_Hierarchy">WordPress template hierarchy</a> you can easily target these categories. We all know <strong>category-news.php</strong> would be used when viewing the News category or <strong>category-health.php</strong> would take care of the Health category.</p>
<p>However, what if you want to create a unique template for all the News <em>sub-categories</em>? Here are the two options you will usually find.</p>
<ol>
<li>Create a category.php file and use conditionals to target the individual sub categories. Lame!</li>
<li>Create a template file for each sub-category (category-local.php, category-health.php, etc). Even more lame!</li>
</ol>
<p>I want to have <em>one</em> template file that will be used for all the News sub-categories, not conditionals or duplicate scattered everywhere. With single snippet (which would be in functions.php) using the template_include filter this can be done!</p>
<div id="gist-1256954" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="cp">&lt;?php</span></div><div class='line' id='LC2'><span class="nx">add_filter</span><span class="p">(</span> <span class="s1">&#39;template_include&#39;</span><span class="p">,</span> <span class="s1">&#39;ja_template_check&#39;</span> <span class="p">);</span></div><div class='line' id='LC3'><span class="k">function</span> <span class="nf">ja_template_check</span><span class="p">()</span> <span class="p">{</span></div><div class='line' id='LC4'>	<span class="k">global</span> <span class="nv">$template</span><span class="p">;</span></div><div class='line' id='LC5'><br/></div><div class='line' id='LC6'>	<span class="k">if</span> <span class="p">(</span> <span class="nx">is_category</span><span class="p">()</span> <span class="p">){</span></div><div class='line' id='LC7'><br/></div><div class='line' id='LC8'>		<span class="c1">// Get category information</span></div><div class='line' id='LC9'>		<span class="nv">$cat</span> <span class="o">=</span> <span class="nx">get_query_var</span><span class="p">(</span> <span class="s1">&#39;cat&#39;</span> <span class="p">);</span></div><div class='line' id='LC10'>		<span class="nv">$category_info</span> <span class="o">=</span> <span class="nx">get_category</span><span class="p">(</span> <span class="nv">$cat</span> <span class="p">);</span></div><div class='line' id='LC11'><br/></div><div class='line' id='LC12'>		<span class="c1">// News sub-categories, where 7 is the ID for News</span></div><div class='line' id='LC13'>		<span class="k">if</span> <span class="p">(</span> <span class="nv">$category_info</span><span class="o">-&gt;</span><span class="na">parent</span> <span class="o">==</span> <span class="mi">7</span> <span class="p">){</span></div><div class='line' id='LC14'>			<span class="nv">$template_file</span> <span class="o">=</span> <span class="nx">get_stylesheet_directory_uri</span><span class="p">()</span> <span class="o">.</span> <span class="s1">&#39;/subcategory-news.php&#39;</span><span class="p">;</span></div><div class='line' id='LC15'>			<span class="k">return</span> <span class="nv">$template_file</span><span class="p">;</span></div><div class='line' id='LC16'>		<span class="p">}</span></div><div class='line' id='LC17'>	<span class="p">}</span></div><div class='line' id='LC18'>	<span class="k">return</span> <span class="nv">$template</span><span class="p">;</span></div><div class='line' id='LC19'><br/></div><div class='line' id='LC20'><span class="p">}</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1256954/191b6524fc628c5ffcce613bcb68156dd1a15fd4/gistfile1.aw" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1256954#file_gistfile1.aw" style="float:right;margin-right:10px;color:#666">gistfile1.aw</a>
            <a href="https://gist.github.com/1256954">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>

<p>The code above first checks to see if you are looking at a category. If that is true it then checks to see if the parent category ID is 7. Finally, if this checks out it uses a template file I created,  subcategory-news.php.</p>
<p>Pretty easy, right?</p>
<p><em>Props to <a href="http://twitter.com/#!/wpmuguru">@wpmuguru</a> for sending me in this direction.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/10/02/taking-advantage-of-the-template_include-filter/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Starter Genesis child theme</title>
		<link>http://www.jaredatchison.com/2011/10/02/starter-genesis-child-theme/</link>
		<comments>http://www.jaredatchison.com/2011/10/02/starter-genesis-child-theme/#comments</comments>
		<pubDate>Sun, 02 Oct 2011 01:55:06 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Genesis Framework]]></category>
		<category><![CDATA[Theme Release]]></category>
		<category><![CDATA[Themes]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=828</guid>
		<description><![CDATA[UPDATE 1/23/2012: The starter theme has been completely rebuilt using the styles and features from Genesis 1.8. I created a new repo (and removed the old one) so the links below have been updated accordingly. Please check out the readme for more information! This is my personal &#8220;starter&#8221; theme (base theme) I use when working with [...]]]></description>
			<content:encoded><![CDATA[<p><strong>UPDATE 1/23/2012</strong>: The starter theme has been completely rebuilt using the styles and features from Genesis 1.8. I created a new repo (and removed the old one) so the links below have been updated accordingly. Please check out the <a href="http://github.com/jaredatch/Genesis-Starter-Theme/blob/master/readme.md">readme</a> for more information!</p>
<p>This is my personal &#8220;starter&#8221; theme (base theme) I use when working with a project running the Genesis Framework. It is based on of the <a href="http://www.studiopress.com/themes/sample">Sample child theme</a> by StudioPress with some minor modifications. Feel free to use it as you see fit. Obviously, it requires the <a href="http://www.jaredatchison.com/go/genesis">Genesis Framework</a>. Suggestions and forks encouraged. The GitHub page contains a bit more information.</p>
<p><a class="button button-green download" style="width: 135px; padding-left: 15px; padding-right: 15px; margin-top: 10px;" href="http://github.com/jaredatch/Genesis-Starter-Theme">Download (GitHub)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/10/02/starter-genesis-child-theme/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>bbPress 2.0 RC5 brings Genesis compatibility</title>
		<link>http://www.jaredatchison.com/2011/09/15/bbpress-2-0-rc5-brings-genesis-compatibility/</link>
		<comments>http://www.jaredatchison.com/2011/09/15/bbpress-2-0-rc5-brings-genesis-compatibility/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 21:23:29 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[bbPress]]></category>
		<category><![CDATA[Genesis Framework]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=815</guid>
		<description><![CDATA[Just a few days ago bbPress 2 rc5 was released. It has a handful of tweaks, but the one I wanted to point out is addressing&#160;Genesis Framework compatibility. Ticket #1622 was opened just 2 weeks ago by jjj and was based on the bbPress Genesis Extend plugin I had thrown together to fix a few [...]]]></description>
			<content:encoded><![CDATA[<p>Just a few days ago <a href="http://bbpress.org/blog/2011/09/bbpress-2-0-rc-5/">bbPress 2 rc5</a> was released. It has a handful of tweaks, but the one I wanted to point out is addressing&nbsp;<a href="http://www.jaredatchison.com/go/genesis">Genesis Framework</a> compatibility.</p>
<p>Ticket <a href="http://bbpress.trac.wordpress.org/ticket/1622">#1622</a> was opened just 2 weeks ago by jjj and was based on the <a href="http://www.jaredatchison.com/2011/09/02/genesis-bbpress-extend/">bbPress Genesis Extend </a>plugin I had thrown together to fix a few issues with Genesis. After a week of tossing the patches back and forth with jjj, we ended up with solid fix and he committed it just in time for rc5. <img src='http://www.jaredatchison.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-815"></span></p>
<p>If you want to see the guts of the patch look no further than <em>bbp-includes/bbp-extend-genesis.php</em>. Quick breakdown of the patch:</p>
<ul>
<li>Fixes issue with bbPress pages not loading due to customized Genesis archive settings</li>
<li>Removes post info &amp; meta from bbPress pages</li>
<li>Removes Genesis breadcrumbs from bbPress pages</li>
<li>Removes Genesis author boxes from bbPress pages</li>
<li>Removes pagination from bbPress pages</li>
<li>By default, uses a full width layout across all bbPress pages</li>
</ul>
<p>The last fix is really nice as it allows you to make sure a set layout is used across all your bbPress pages. Before this fix it was quite the task to get a consistent layout. The best thing is, thanks to jjj, it is completely filterable. So while, by default, bbPress uses the full-width-layout it can be easily changed using the&nbsp;<em>bbp_genesis_force_full_content_width</em> filter.</p>
<p>If you are using bbPress with Genesis and run into any issues, be sure and let me know in the <a href="http://bbpress.org/forums/">bbPress forums</a> or in #bbpress!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/09/15/bbpress-2-0-rc5-brings-genesis-compatibility/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Genesis bbPress Extend</title>
		<link>http://www.jaredatchison.com/2011/09/02/genesis-bbpress-extend/</link>
		<comments>http://www.jaredatchison.com/2011/09/02/genesis-bbpress-extend/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 03:57:19 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[bbPress]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=793</guid>
		<description><![CDATA[I recently had a project which required integrating bbPress (which, obviously I am a fan of) into a site built on top of the Genesis Framework. From my experience, 90% of the integration went smoothly. There are a few things that may crop up and screw with your iteration depending on how you have your Genesis settings [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a project which required integrating bbPress (which, obviously <a href="http://www.jaredatchison.com/2011/08/28/bbpress-new-topic-notifications/">I am a fan of</a>) into a site built on top of the Genesis Framework.</p>
<p>From my experience, 90% of the integration went smoothly. There are a few things that may crop up and screw with your iteration depending on how you have your Genesis settings configured.</p>
<p>I have thrown together a quick (translation: <em>rough</em>) plugin that should keep these oddities for occurring.<span id="more-793"></span></p>
<p><a class="button button-green download" href="http://www.jaredatchison.com/wp-content/uploads/genesis_bbpress_extend.txt" target="_blank">Download plugin</a></p>
<blockquote><p><strong>UPDATE</strong>: JohnJamesJacoby has taken this and turned it into an <a href="http://bbpress.trac.wordpress.org/ticket/1622">elegant patch</a>. Needs testing, but looks very promising.</p></blockquote>
<p>As I mentioned, this plugin isn&#8217;t quite done, which is why I haven&#8217;t submitted it to the .org repo yet. However, I noticed in the bbPress forums others were having this same issue, so hopefully this can help fix the issues until a packed plugin is released.</p>
<p>The root of the problem boils down to Genesis archive pages. By default these archive pages use the_content &#8211; when this is the case usually things work fine. Problems start creeping up when users change the archive settings in Genesis. If you have your archives set to automatically display a post thumbnail or to crop the content output to XXX characters, things break.</p>
<p>bbPress does all its magic by filtering the_content to add in all of the forum goodness. When Genesis changes what is output (say by adding post images or limited the content length) things explode because that is not what bbPress is expecting. I have bought this up in Genesis Trac and it doesn&#8217;t appear a fix will be applied to core, which judging by the length of this plugin I don&#8217;t blame them, so a plugin will be needed to fix the issues.</p>
<p>Hope this helps. If you have any questions just leave a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/09/02/genesis-bbpress-extend/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Giving away 2 copies of Professional WordPress Plugin Development</title>
		<link>http://www.jaredatchison.com/2011/08/29/giving-away-professional-wordpress-plugin-development/</link>
		<comments>http://www.jaredatchison.com/2011/08/29/giving-away-professional-wordpress-plugin-development/#comments</comments>
		<pubDate>Mon, 29 Aug 2011 18:40:48 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=782</guid>
		<description><![CDATA[The title say it all &#8211; I&#8217;m giving away 2 copies of Professional WordPress Plugin Development. Two recent events spurred me to do this. First, lately I&#8217;ve had to deal with an obscene number of plugins that are terrible. The concept behind them is great, but the execution (code) is bad enough to warrant sticking a rusty [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://justintadlock.com/plugindevbook"><img class="alignright size-medium wp-image-783" title="Professional WordPress Plugin Development" src="http://www.jaredatchison.com/wp-content/uploads/2011/08/plugindevbook-238x300.jpg" alt="" width="238" height="300" /></a>The title say it all &#8211; I&#8217;m giving away 2 copies of <a href="http://justintadlock.com/plugindevbook">Professional WordPress Plugin Development</a>. Two recent events spurred me to do this.</p>
<p>First, lately I&#8217;ve had to deal with an obscene number of plugins that are terrible. The concept behind them is great, but the execution (code) is bad enough to warrant sticking a rusty fork in my eye. I understand, writing a good plugin is no easy task. However, thanks to new information available (such as this book), there is really no excuse for a plugin to cut corners. Or have no corners at all. I want to raise awareness and promote writing plugins the <em>right</em> way.</p>
<p>Secondly, I just released my own plugin into the wild: <a href="http://www.jaredatchison.com/2011/08/28/bbpress-new-topic-notifications/">bbPress New Topic Notifications</a>.</p>
<p>Professional WordPress Plugin Development is the best (and only) book which walks you through writing a plugin properly. It covers all the APIs and best practices, so you can be sure and receive all the praises of writing an awesome plugin.</p>
<p><strong>Entering to win is simple</strong>. Just leave a comment that describes a plugin you would like to see written. Example: I&#8217;d like to see a plugin that enables avatar uploads for bbPress 2.0.</p>
<p>Two winners will be selected and announced on Friday.</p>
<blockquote><p><strong>Update</strong>: Congrats to Nick P. and Mannie S. &#8211; they were the two randomly selected winners. Check your inbox for more details! I&#8217;m hoping to run another giveaway with more goodies next month!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/08/29/giving-away-professional-wordpress-plugin-development/feed/</wfw:commentRss>
		<slash:comments>108</slash:comments>
		</item>
		<item>
		<title>bbPress New Topic Notifications</title>
		<link>http://www.jaredatchison.com/2011/08/28/bbpress-new-topic-notifications/</link>
		<comments>http://www.jaredatchison.com/2011/08/28/bbpress-new-topic-notifications/#comments</comments>
		<pubDate>Sun, 28 Aug 2011 06:57:18 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[bbPress]]></category>
		<category><![CDATA[Plugin Release]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=766</guid>
		<description><![CDATA[Download plugin Many people who run forums would like to know when a new topic (thread) has been posted but do not have the time to constantly check their forum for activity. This solves that! bbPress New Topic Notifications will send an e-mail notification to specific addresses when a new topic has been posted. The [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_770" class="wp-caption aligncenter" style="width: 610px"><img class="size-large wp-image-770" title="bbPress topic notifications" src="http://www.jaredatchison.com/wp-content/uploads/2011/08/screenshot-1-600x445.png" alt="" width="600" height="445" /><p class="wp-caption-text">Preview of the admin settings</p></div>
<p><a class="button button-green download" href="http://wordpress.org/extend/plugins/bbpress-new-topic-notifications/">Download plugin</a></p>
<p>Many people who run forums would like to know when a new topic (thread) has been posted but do not have the time to constantly check their forum for activity. This solves that!</p>
<p>bbPress New Topic Notifications will send an e-mail notification to specific addresses when a new topic has been posted. The users who receive notification along with a simple e-mail template is configured in the bbPress settings.</p>
<p>Please report any bugs you find in the comments or the plugin page on WordPress.org.</p>
<p>The next major item on the to-do list is to add the option for notifications when a reply is posted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/08/28/bbpress-new-topic-notifications/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordCamp San Francisco is going to be cool &#8211; literally</title>
		<link>http://www.jaredatchison.com/2011/08/10/wordcamp-san-francisco-is-going-to-be-cool-literally/</link>
		<comments>http://www.jaredatchison.com/2011/08/10/wordcamp-san-francisco-is-going-to-be-cool-literally/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 04:43:29 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[WordCamp]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordCamp San Francisco]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=756</guid>
		<description><![CDATA[Just checked the weather around the San Francisco area for this weekend, it&#8217;s going to feel great! Here in College Station the high every day is around 102-105 &#8211; I may not want to leave San Francisco.]]></description>
			<content:encoded><![CDATA[<p>Just checked the weather around the San Francisco area for this weekend, it&#8217;s going to feel great! Here in College Station the high every day is around 102-105 &#8211; I may not want to leave San Francisco.</p>
<p><img src="http://www.jaredatchison.com/wp-content/uploads/2011/08/Screen-shot-2011-08-09-at-11.38.33-PM.png" alt="" title="Screen shot 2011-08-09 at 11.38.33 PM" width="263" height="291" class="aligncenter size-full wp-image-757" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/08/10/wordcamp-san-francisco-is-going-to-be-cool-literally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fetch total custom post type count</title>
		<link>http://www.jaredatchison.com/2011/08/08/fetch-total-custom-post-type-count/</link>
		<comments>http://www.jaredatchison.com/2011/08/08/fetch-total-custom-post-type-count/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 21:28:29 +0000</pubDate>
		<dc:creator>Jared</dc:creator>
				<category><![CDATA[how to]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[custom post types]]></category>

		<guid isPermaLink="false">http://www.jaredatchison.com/?p=750</guid>
		<description><![CDATA[I recently was working on my own Genesis CRM (similar&#160;to what Bill Erickson has released). Unlike the other CRMs out there I decided to create a custom post type for my contacts instead of doing a bunch of magic to use posts. In a few places throughout the app I needed to pull the total [...]]]></description>
			<content:encoded><![CDATA[<p>I recently was working on my own Genesis CRM (similar&nbsp;to what Bill Erickson <a href="http://www.billerickson.net/wordpress-genesis-crm/">has released</a>).</p>
<p>Unlike the other CRMs out there I decided to create a custom post type for my contacts instead of doing a bunch of magic to use posts. In a few places throughout the app I needed to pull the total number of contact entries in the database.</p>
<p>Turns out, it is <strong>very</strong> easy to do! Just a few lines of code, which you can see below. Make sure and change <em>contact</em> to the name of your post type.</p>
<pre class="brush: php; title: ; notranslate">
function ja_total_post_count() {
	global $wpdb;
	$numposts = $wpdb-&gt;get_var(&quot;SELECT COUNT(*) FROM $wpdb-&gt;posts WHERE post_type = 'contact'&quot;);
	if (0 &lt; $numposts) $numposts = number_format($numposts);
	return $numposts;
}
// To use...
echo 'Number of total contacts: ' . ja_total_post_count();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jaredatchison.com/2011/08/08/fetch-total-custom-post-type-count/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced

Served from: www.jaredatchison.com @ 2012-02-05 02:18:50 -->
