<?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>WordPress Snippets &#187; Find of the Day</title>
	<atom:link href="http://www.wpsnippets.com/category/find-of-the-day/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wpsnippets.com</link>
	<description>Random musings about life, in addition to tips, code snippets and plugins for the average and newbie WordPress user</description>
	<lastBuildDate>Thu, 08 Sep 2011 14:07:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Custom Post Type Code Generator by Themergency</title>
		<link>http://www.wpsnippets.com/2011/05/custom-post-type-code-generator-by-themergency/</link>
		<comments>http://www.wpsnippets.com/2011/05/custom-post-type-code-generator-by-themergency/#comments</comments>
		<pubDate>Sat, 28 May 2011 13:12:14 +0000</pubDate>
		<dc:creator>flick</dc:creator>
				<category><![CDATA[Find of the Day]]></category>
		<category><![CDATA[Musings]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[brad vincent]]></category>
		<category><![CDATA[custom post type]]></category>
		<category><![CDATA[custom post type code generator]]></category>
		<category><![CDATA[custom post type ui]]></category>
		<category><![CDATA[gravity forms]]></category>
		<category><![CDATA[themergency]]></category>

		<guid isPermaLink="false">http://www.wpsnippets.com/?p=110</guid>
		<description><![CDATA[I found this generator quite by accident whilst looking up articles about Custom Post Types and thought I should let you know about it too: Custom Post Type Code Generator by Themergency This is because I think it is the &#8230; <a href="http://www.wpsnippets.com/2011/05/custom-post-type-code-generator-by-themergency/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I found this generator quite by accident whilst looking up articles about <a title="Custom Post Types - WordPress Codex" href="http://codex.wordpress.org/Post_Types">Custom Post Types</a> and thought I should let you know about it too:</p>
<blockquote><p><strong><a title="Custom Post Type Code Generator by Themergency" href="http://themergency.com/generators/wordpress-custom-post-types/">Custom Post Type Code Generator by Themergency</a></strong></p></blockquote>
<p>This is because I think it is the ideal tool for those who are put off using the <strong>functions.php</strong> method when creating a custom Post Type, as all it requires is some form-filling. So it took all of (the famous WordPress) 5 minutes to go from this empty form:</p>
<p style="text-align: center;"><a href="http://www.wpsnippets.com/wp-content/uploads/2011/05/cpt-generator.jpg"><img class="aligncenter size-full wp-image-111" title="Custom Post Type Generator" src="http://www.wpsnippets.com/wp-content/uploads/2011/05/cpt-generator.jpg" alt="" width="578" height="310" /></a></p>
<p>to this lot of code (full sample code after the cut):</p>
<p style="text-align: center;"><a href="http://www.wpsnippets.com/wp-content/uploads/2011/05/cpt-generator-2.jpg"><img class="aligncenter size-full wp-image-112" title="Custom Post Type Generator by Themergency - Results" src="http://www.wpsnippets.com/wp-content/uploads/2011/05/cpt-generator-2.jpg" alt="" width="577" height="230" /></a></p>
<p>This nifty tool was <a title="Generate your own Custom Post Type - Themergency" href="http://themergency.com/generate-your-wordpress-custom-post-type-code/">only released earlier this month</a> (May 2011) and you can <a title="Generate your own Custom Post Type - Themergency" href="http://themergency.com/generate-your-wordpress-custom-post-type-code/">read about</a> how <strong>Brad Vincent</strong> developed the generator (using <a title="Gravity Forms" href="http://www.gravityforms.com/">Gravity Forms</a>) and from his comment on 16th May, the plan is to release the plugins that generate the code once he has &#8216;refactored&#8217; them.</p>
<p>So if you&#8217;re using a plugin like <strong><a title="Custom Post Type UI - WordPress Extend" href="http://wordpress.org/extend/plugins/custom-post-type-ui/">Custom Post Type UI</a> </strong>(one of my favourites) to create your custom post type and want to try the <strong>functions.php</strong> method instead, why not start off with the <strong><a title="Custom Post Type Code Generator by Themergency" href="http://themergency.com/generators/wordpress-custom-post-types/">Custom Post Type Code Generator</a></strong>?</p>
<p><span id="more-110"></span></p>
<p>The resulting code generated from the form-filling exercise:</p>
<pre class="brush: php; title: ; notranslate">
add_action( 'init', 'register_cpt_wine' );

function register_cpt_wine() {

    $labels = array(
        'name' =&gt; _x( 'Wines', 'wine' ),
        'singular_name' =&gt; _x( 'Wine', 'wine' ),
        'add_new' =&gt; _x( 'Add New', 'wine' ),
        'add_new_item' =&gt; _x( 'Add New Wine', 'wine' ),
        'edit_item' =&gt; _x( 'Edit Wine', 'wine' ),
        'new_item' =&gt; _x( 'New Wine', 'wine' ),
        'view_item' =&gt; _x( 'View Wine', 'wine' ),
        'search_items' =&gt; _x( 'Search Wines', 'wine' ),
        'not_found' =&gt; _x( 'No wines found', 'wine' ),
        'not_found_in_trash' =&gt; _x( 'No wines found in Trash', 'wine' ),
        'parent_item_colon' =&gt; _x( 'Parent Wine:', 'wine' ),
        'menu_name' =&gt; _x( 'Wines', 'wine' ),
    );

    $args = array(
        'labels' =&gt; $labels,
        'hierarchical' =&gt; false,
        'description' =&gt; 'Wine Portfolio',
        'supports' =&gt; array( 'title', 'editor', 'thumbnail' ),
        'taxonomies' =&gt; array( 'country', 'region', 'supplier_company', 'company', 'brand', 'product_type', 'grape_type' ),
        'public' =&gt; true,
        'show_ui' =&gt; true,
        'show_in_menu' =&gt; true,
        'menu_position' =&gt; 5,

        'show_in_nav_menus' =&gt; true,
        'publicly_queryable' =&gt; true,
        'exclude_from_search' =&gt; false,
        'has_archive' =&gt; true,
        'query_var' =&gt; true,
        'can_export' =&gt; true,
        'rewrite' =&gt; true,
        'capability_type' =&gt; 'post'
    );

    register_post_type( 'wine', $args );
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsnippets.com/2011/05/custom-post-type-code-generator-by-themergency/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPShower &#8211; New WordPress Theme Site</title>
		<link>http://www.wpsnippets.com/2010/08/wpshower-new-wordpress-theme-site/</link>
		<comments>http://www.wpsnippets.com/2010/08/wpshower-new-wordpress-theme-site/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 00:53:29 +0000</pubDate>
		<dc:creator>flick</dc:creator>
				<category><![CDATA[Find of the Day]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[imbalance]]></category>
		<category><![CDATA[iphonsta]]></category>
		<category><![CDATA[paragrams]]></category>
		<category><![CDATA[wordpress themes]]></category>
		<category><![CDATA[wpshower]]></category>

		<guid isPermaLink="false">http://www.wpsnippets.com/?p=96</guid>
		<description><![CDATA[This will be a short post, as I simply want to share a brand new WP theme site that I discovered via WLTC recently called WPShower. The site has released 3 lovely and free WordPress themes to date, including Imbalance, &#8230; <a href="http://www.wpsnippets.com/2010/08/wpshower-new-wordpress-theme-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This will be a short post, as I simply want to share a brand new WP theme site that I discovered via <a title="Weblog Tools Collection" href="http://weblogtoolscollection.com/">WLTC</a> recently called <a title="WPSHOWER - Free WordPress Themes" href="http://wpshower.com/"><strong>WPShower</strong></a>.</p>
<p><a title="WPShower.com" href="http://www.wpshower.com/"><img class="size-full wp-image-99 alignnone" title="Click to visit WPShower.com" src="http://www.wpsnippets.com/wp-content/uploads/2010/08/wpshower2.png" alt="WPSHOWER Logo and Blurb" width="600" height="183" /></a></p>
<p>The site has released 3 lovely and free WordPress themes to date, including <a title="WPSHOWER - Imbalance WordPress Theme" href="http://wpshower.com/free-wordpress-themes/imbalance-free-wordpress-theme/">Imbalance</a>, <a title="WPSHOWER - Paragrams WordPress Theme" href="http://wpshower.com/free-wordpress-themes/paragrams-free-wordpress-theme/">Paragrams</a> and <a title="WPSHOWER - iPhonsta WordPress Theme" href="http://wpshower.com/free-wordpress-themes/iphonsta-free-wordpress-theme-for-iphone/">iPhonsta</a>. You can see a screenshot of <a title="WPSHOWER - Paragrams WordPress Theme" href="http://wpshower.com/free-wordpress-themes/paragrams-free-wordpress-theme/">Paragrams</a> below, courtesy of<strong><strong> </strong><a title="WPSHOWER - Free WordPress Themes" href="http://wpshower.com/"><strong>WPShower</strong></a>.</strong></p>
<p><a href="http://www.wpsnippets.com/wp-content/uploads/2010/08/paragrams.jpg"><img class="alignright" title="Paragrams by WPShower" src="http://www.wpsnippets.com/wp-content/uploads/2010/08/paragrams-210x300.jpg" alt="Paragrams by WPShower" width="210" height="300" /></a>Sadly there is no &#8216;About&#8217; page, so we don&#8217;t know much about the person or people behind the site, but going by the comment replies on <a title="WPSHOWER - Imbalance WordPress Theme" href="http://wpshower.com/free-wordpress-themes/imbalance-free-wordpress-theme/">Imbalance</a>, the admin has the nickname &#8216;Leg&#8217;. You can also keep up-to-date with <a title="WPSHOWER - Free WordPress Themes" href="http://wpshower.com/"><strong>WPShower</strong></a> via their <a title="WPSHOWER - Twitter" href="http://twitter.com/wpshower">Twitter</a>.</p>
<p>I am really impressed with the releases so far and feel a bit sad that none of my projects are very graphics-oriented content-wise, so the designs would be rather wasted if applied to those sites. Fingers crossed that the next <a title="WPSHOWER - Free WordPress Themes" href="http://wpshower.com/"><strong>WPShower</strong></a> release will be more text-content friendly!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsnippets.com/2010/08/wpshower-new-wordpress-theme-site/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Find of the Day: The Definitive Guide on WordPress Syntax Highlighter Plugins</title>
		<link>http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/</link>
		<comments>http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 11:12:18 +0000</pubDate>
		<dc:creator>flick</dc:creator>
				<category><![CDATA[Find of the Day]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[cagintranet]]></category>
		<category><![CDATA[chris cagle]]></category>
		<category><![CDATA[code colour]]></category>
		<category><![CDATA[code highlight]]></category>
		<category><![CDATA[google syntax highlighter]]></category>
		<category><![CDATA[highlight source pro]]></category>
		<category><![CDATA[snippet]]></category>
		<category><![CDATA[snippet highlight]]></category>
		<category><![CDATA[wordpress 2.6]]></category>
		<category><![CDATA[wordpress syntax highlighter]]></category>
		<category><![CDATA[wp 2.6]]></category>
		<category><![CDATA[wp-chili]]></category>
		<category><![CDATA[wp-syntax]]></category>

		<guid isPermaLink="false">http://www.wpsnippets.com/?p=19</guid>
		<description><![CDATA[As WP Snippets is going to focus on WordPress codes and tips, it was very important that we had a good code syntax highlighter to separate the content from the code clearly, and ensure the display wasn&#8217;t messed up by &#8230; <a href="http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As <em>WP Snippets</em> is going to focus on WordPress codes and tips, it was very important that we had a good code syntax highlighter to separate the content from the code clearly, and ensure the display wasn&#8217;t messed up by the visual editor!</p>
<p>There are quite a number out there (at least 8!) that do the job, but it was difficult to sieve/test through so many when the new site was going live in a very short time, and it was then that I stumbled upon <a title="Cagintranet Web Design - About" href="http://www.cagintranet.com/about"><strong>Chris Cagle</strong></a>&#8216;s excellent article:</p>
<blockquote class="update"><p><a title="The Definitive Guide on WordPress Syntax Highligher Plugins" href="http://www.cagintranet.com/archive/the-definitive-guide-on-wordpress-syntax-highligher-plugins/"><strong>The Definitive Guide on WordPress Syntax Highlighter Plugins</strong></a></p></blockquote>
<p>The article gives a comprehensive review of 8 different code syntax highlighters that work for WordPress 2.6, including (in alphabetical order)</p>
<ul>
<li><a title="Code Colorer" href="http://wordpress.org/extend/plugins/codecolorer/">Code Colorer</a> by <em>Dmytro Shteflyuk</em></li>
<li><a title="Google Syntax Highligher" href="http://wordpress.org/extend/plugins/google-syntax-highlighter/">Google Syntax Highlighter for WordPress</a> by <em>Peter Ryan</em></li>
<li><strong> </strong><a title="Highlight Source Pro" href="http://wordpress.org/extend/plugins/highlight-source-pro/">Highlight Source Pro</a> by <em>Christian Knoflach</em></li>
<li><a title="Snippet Highlight" href="http://wordpress.org/extend/plugins/snippet-highlight/">Snippet Highlight</a> by <em>Roland Rust</em><a title="Snippet Highlight" href="http://wordpress.org/extend/plugins/snippet-highlight/"><br />
</a></li>
<li><a title="Syntax Highlighter Plus" href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/">Syntax Highlighter Plus</a> by <em>Fred Wu (with matt, Viper007Bond, mdawaffe)</em></li>
<li><a title="WP-Chili" href="http://wordpress.org/extend/plugins/wp-chili/">WP-Chili</a> by  <em>Andrea Ercolino</em></li>
<li><a title="WP-Codebox" href="http://wordpress.org/extend/plugins/wp-codebox/">WP-Codebox</a> by <em>Eric Wang</em></li>
<li><a title="WP-Syntax" href="http://wordpress.org/extend/plugins/wp-syntax/">WP-Syntax</a> by <em>Ryan McGeary</em></li>
</ul>
<p>The plugins have then been ranked in terms of their overall rating in &#8216;colouring/coloring abilities&#8217; (with colour screen-shots for comparison included!) and their &#8216;ease of use&#8217;, where <a title="WP-Chili" href="http://wordpress.org/extend/plugins/wp-chili/">WP-Chili</a> came out top in the colour rankings (which is what <strong>Chris Cagle</strong> is using, and he has helpfully provided what he uses on <a title="Cagintranet" href="http://www.cagintranet.com">Cagintranet Web Design</a>) but <a title="Syntax Highlighter Plus" href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/">Syntax Highlighter Plus</a> was #1 for &#8216;ease of use&#8217;.</p>
<p>I found the whole guide extremely helpful, and have now ended up using<strong> <a title="Syntax Highlighter Plus" href="http://wordpress.org/extend/plugins/syntaxhighlighter-plus/">Syntax Highlighter Plus</a></strong> for <em>WP Snippets</em> &#8211; it did help that it was ranked #1 overall! However, given that <a title="Notes Log" href="http://noteslog.com/">Andrea Ercolino</a> has updated <a title="WP-Chili" href="http://wordpress.org/extend/plugins/wp-chili/">WP-Chili</a> since the review, I really might look into changing over!</p>
<p>If you are looking out for a good WordPress plugin that highlights code in colour/color for WordPress 2.6, then <strong><a title="The Definitive Guide on WordPress Syntax Highligher Plugins" href="http://www.cagintranet.com/archive/the-definitive-guide-on-wordpress-syntax-highligher-plugins/"><strong>The Definitive Guide on WordPress Syntax Highlighter Plugins</strong></a> </strong>is definitely the article that you would not want to miss reading. To be fair, not every plugin has been updated recently (at least two are from 2007, and the most dated plugin in the list is <a title="Code Colorer" href="http://wordpress.org/extend/plugins/codecolorer/">Code Colorer</a> from May 2007) but nevertheless, it is still an excellent guide worth archiving!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wpsnippets.com/2008/07/the-definitive-guide-on-wordpress-syntax-highlighter-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

