<?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>Nerdtivity &#187; Development</title>
	<atom:link href="http://www.willayers.net/categories/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.willayers.net</link>
	<description>Life of a Nerd in Disguise</description>
	<lastBuildDate>Thu, 07 Oct 2010 23:27:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Creating a Custom Post Type in WordPress 3.0</title>
		<link>http://www.willayers.net/2010/10/creating-a-custom-post-type-in-wordpress-3-0/</link>
		<comments>http://www.willayers.net/2010/10/creating-a-custom-post-type-in-wordpress-3-0/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 23:27:04 +0000</pubDate>
		<dc:creator>cointilt</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Custom Post Types]]></category>
		<category><![CDATA[Wordpress 3.0]]></category>

		<guid isPermaLink="false">http://www.willayers.net/?p=82</guid>
		<description><![CDATA[A really great new feature in WordPress is the ability to create custom post types. This allows you to write very little code, and create entire sections on your site using built in WordPress features and UI. Here is a &#8230; <a href="http://www.willayers.net/2010/10/creating-a-custom-post-type-in-wordpress-3-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A really great new feature in WordPress is the ability to create custom post types. This allows you to write very little code, and create entire sections on your site using built in WordPress features and UI. Here is a really really basic overview on how to get started creating a custom post type.</p>
<p>All of the code below can be put inside your functions.php page in your theme folder.</p>
<p>It all starts with the function <a href="http://codex.wordpress.org/Function_Reference/register_post_type"><code>register_post_type</code></a>:</p>
<pre class="brush: php;">register_post_type ( $post_type, $options );</pre>
<p>The <code>$post_type</code> is the name of the custom post type you want to associate it as. For example we will create a custom post type called Events like the below code:</p>
<pre class="brush: php;">

$options = array
(
    'label' =&gt; 'Events',
    'singular_label' =&gt; 'Event',
    'public' =&gt; TRUE,
    'show_ui' =&gt; TRUE,
    'capability_type' =&gt; 'post',
    'hierarchical' =&gt; TRUE,
    'rewrite' =&gt; array( 'slug' =&gt; 'events' ),
    'query_var' =&gt; TRUE,
    'supports' =&gt; array( 'title', 'editor', 'author' )
);

register_post_type ( 'events', $options );
</pre>
<p>The description and other options can be found <a href="http://codex.wordpress.org/Function_Reference/register_post_type#Parameters">on the register_post_type function page</a> at WordPress&#8217; website.</p>
<p>Now you will have a custom post type in the backend of your WordPress theme.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.willayers.net/2010/10/creating-a-custom-post-type-in-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove WordPress Version From Head Tag</title>
		<link>http://www.willayers.net/2010/09/remove-wordpress-version-from-head-tag/</link>
		<comments>http://www.willayers.net/2010/09/remove-wordpress-version-from-head-tag/#comments</comments>
		<pubDate>Fri, 24 Sep 2010 21:55:23 +0000</pubDate>
		<dc:creator>cointilt</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.willayers.net/?p=72</guid>
		<description><![CDATA[Insert this into the functions.php page located in your theme file: remove_action ( 'wp_head', 'wp_generator' ) It will auto remove the tag that says: &#60;meta name=&#34;generator&#34; content=&#34;WordPress 3.0.1&#34; /&#62;]]></description>
			<content:encoded><![CDATA[<p>Insert this into the functions.php page located in your theme file:</p>
<pre class="brush: php;">remove_action ( 'wp_head', 'wp_generator' )</pre>
<p>It will auto remove the tag that says:</p>
<pre class="brush: xml;">&lt;meta name=&quot;generator&quot; content=&quot;WordPress 3.0.1&quot; /&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.willayers.net/2010/09/remove-wordpress-version-from-head-tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Confused Bits Of jQuery</title>
		<link>http://www.willayers.net/2010/08/confused-bits-of-jquery/</link>
		<comments>http://www.willayers.net/2010/08/confused-bits-of-jquery/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 18:46:06 +0000</pubDate>
		<dc:creator>cointilt</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Links]]></category>

		<guid isPermaLink="false">http://www.willayers.net/?p=65</guid>
		<description><![CDATA[Confused Bits Of jQuery The explosion of JavaScript libraries and frameworks such as jQuery onto the front-end development scene has opened up the power of JavaScript to a far wider audience than ever before. It was born of the need &#8230; <a href="http://www.willayers.net/2010/08/confused-bits-of-jquery/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.smashingmagazine.com/2010/08/04/commonly-confused-bits-of-jquery/">Confused Bits Of jQuery</a></p>
<blockquote><p>The explosion of JavaScript libraries and frameworks such as jQuery onto the front-end development scene has opened up the power of JavaScript to a far wider audience than ever before. It was born of the need — expressed by a crescendo of screaming by front-end developers who were fast running out of hair to pull out — to improve JavaScript’s somewhat primitive API, to make up for the lack of unified implementation across browsers and to make it more compact in its syntax.</p>
<p>All of which means that, unless you have some odd grudge against jQuery, those days are gone — you can actually get stuff done now. A script to find all links of a certain CSS class in a document and bind an event to them now requires one line of code, not 10. To power this, jQuery brings to the party its own API, featuring a host of functions, methods and syntactical peculiarities. Some are confused or appear similar to each other but actually differ in some way. This article clears up some of these confusions.</p>
<p><a href="http://www.smashingmagazine.com/2010/08/04/commonly-confused-bits-of-jquery/">via Smashing Magazine</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.willayers.net/2010/08/confused-bits-of-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Show All Errors</title>
		<link>http://www.willayers.net/2010/07/php-show-all-errors/</link>
		<comments>http://www.willayers.net/2010/07/php-show-all-errors/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 18:13:57 +0000</pubDate>
		<dc:creator>cointilt</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[display errors]]></category>
		<category><![CDATA[error reporting]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.willayers.net/?p=50</guid>
		<description><![CDATA[I tend to use this a lot on my dev sites to show my what my errors are instead of just seeing a blank white page. error_reporting ( E_ALL ); ini_set ( 'display_errors', '1' );]]></description>
			<content:encoded><![CDATA[<p>I tend to use this a lot on my dev sites to show my what my errors are instead of just seeing a blank white page.</p>
<pre class="brush: php;">error_reporting ( E_ALL );
ini_set ( 'display_errors', '1' );</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.willayers.net/2010/07/php-show-all-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

