<?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>nooshu &#187; post Archives </title>
	<atom:link href="http://nooshu.com/tag/post/feed" rel="self" type="application/rss+xml" />
	<link>http://nooshu.com</link>
	<description>Kneeling on the shoulders of giants</description>
	<lastBuildDate>Fri, 20 Jan 2012 11:38: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>Converting a WordPress post to a custom post type</title>
		<link>http://nooshu.com/converting-a-wordpress-post-to-a-custom-post-type?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=converting-a-wordpress-post-to-a-custom-post-type</link>
		<comments>http://nooshu.com/converting-a-wordpress-post-to-a-custom-post-type#comments</comments>
		<pubDate>Thu, 03 Jun 2010 11:04:09 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://nooshu.com/?p=1167</guid>
		<description><![CDATA[Converting your current posts isn't as easy as it looks. If you are comfortable editing the DB directly it's fairly simple.]]></description>
			<content:encoded><![CDATA[<p><strong>Update</strong>: There is now a plug-in that does this for you called <a href="http://wordpress.org/extend/plugins/post-type-switcher/">Post Type Switcher</a> so you don&#8217;t have to get your hands dirty with the SQL (thanks Bruno!). Another plug-in called <a href="http://sillybean.net/wordpress/new-plugin-convert-post-types/">Convert Post Types</a> is also available that does the job for you, Thanks to Steve for that one.</p>
<p>With the release of WordPress 3.0, developers now have the ability to create custom post types by adding a few lines of code to a themes functions.php. The feature is a huge step forwards for WordPress as it moves closer to being a viable CMS solution (without all the hacks). There have been a number of projects I&#8217;ve worked on that have required a custom post type; rather than relying on the client selecting the correct category under &#8216;Add new post&#8217;, which tends to always leads to issues.</p>
<p>I&#8217;m in the process of converting nooshu.com to use custom post types and taxonomies, the main area in particular is my <a href="http://nooshu.com/portfolio/">portfolio section</a>. At the moment the portfolio posts are just standard posts which have a category of &#8216;portfolio&#8217; attached to them. It works, but I don&#8217;t get that warm fuzzy feeling, and it feels like a bit of a hack. So time to start using a custom post type of &#8216;portfolio&#8217; (yay!).</p>
<p>Unfortunately at the moment there doesn&#8217;t seem to be a quick way of converting a published standard post into a shiny new custom post type, at least not from the administration area. After a little investigation work using <a href="http://www.phpmyadmin.net/home_page/">phpmyadmin</a> and the nooshu WordPress database, I discovered it&#8217;s actually quite easy. Be warned though, it&#8217;s easy to <strong>break your blog</strong> by editing the database directly, so make sure you back everything up. I take no responsibility for what happens if you break something!</p>
<p>To convert a post into a custom post type; in phpmyadmin look for the wp_posts table. Inside it do a search, where the &#8216;post_type&#8217; value equals &#8216;post&#8217;. This will give you a list of all your posts (otherwise you will also have all the revisions and attachments listed). From the list you should be able to pick out the posts you want converting to your new post type, edit one of these posts and change &#8216;post_type&#8217; from &#8216;post&#8217; to your new custom post. In my case this would be &#8216;portfolio&#8217;:</p>
<div id="attachment_1169" class="wp-caption alignnone" style="width: 528px"><a href="http://nooshu.com/wp-content/uploads/2010/06/phpmyadmin-custom-post-type.gif"><img src="http://nooshu.com/wp-content/uploads/2010/06/phpmyadmin-custom-post-type-518x311.gif" alt="phpmyadmin admin panel for a WordPress post" title="phpmyadmin - custom post type" width="518" height="311" class="size-medium wp-image-1169" /></a><p class="wp-caption-text">Change 'post_type' from 'post' to your custom post type.</p></div>
<p>Click save and go back to the previous page. Done! You should now see the post appear under your new custom post type in the WordPress admin panel. If you have any issues just change &#8216;post_type&#8217; back to &#8216;post&#8217; and it will reappear under the standard posts. No information is lost when changing the post type.</p>
<p>It&#8217;s not an ideal solution, hopefully it will be possible to do it from the administration panel in the future; but it does save having to re-enter all the posts under the custom post type for the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://nooshu.com/converting-a-wordpress-post-to-a-custom-post-type/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>WordPress plug-in: Post Ideas+</title>
		<link>http://nooshu.com/wordpress-plug-in-post-ideas-plus?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-plug-in-post-ideas-plus</link>
		<comments>http://nooshu.com/wordpress-plug-in-post-ideas-plus#comments</comments>
		<pubDate>Fri, 29 Jan 2010 12:17:38 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://nooshu.com/?p=166</guid>
		<description><![CDATA[Got a great idea for a blog post you don't want to forget? Use Post Ideas+ to keep track of them.]]></description>
			<content:encoded><![CDATA[<p>For a while now I&#8217;ve been using a great little plug-in for WordPress called &#8216;Post Ideas&#8217; by Aaron Robbins. It was released in early 2008 but unfortunately hasn&#8217;t been updated since. Aaron&#8217;s website now seems to be a bog standard install of WordPress that hasn&#8217;t been updated so there was no way of getting in contact with him.</p>
<p>So I decided to update the plug-in myself. I&#8217;ve updated the admin area and added 2 dashboard widgets; A widget to view your latest &#8216;X&#8217; number of post ideas and a widget to quickly add a post idea to the database. Both can be disabled from the &#8220;Screen options&#8221; menu above the dashboard.</p>
<p>The plug-in stores a title, description, tags, links and priority associated with the post. Easy to update, write and delete from the admin menu or dashboard widget.</p>
<div id="attachment_168" class="wp-caption alignnone" style="width: 528px"><img src="http://nooshu.com/wp-content/uploads/2010/01/post-ideas-plus-admin.gif" alt="Post Ideas+ admin menu" title="post-ideas-plus-admin" width="518" height="334" class="size-full wp-image-168" /><p class="wp-caption-text">The admin menu under 'Tools'.</p></div>
<div id="attachment_169" class="wp-caption alignnone" style="width: 528px"><img src="http://nooshu.com/wp-content/uploads/2010/01/post-ideas-plus-dashboard.gif" alt="Post Ideas+ dashboard widgets" title="post-ideas-plus-dashboard" width="518" height="286" class="size-full wp-image-169" /><p class="wp-caption-text">Post Idea+ widgets on the dashboard</p></div>
<p>Installation is the same as with any other WordPress plugin:</p>
<ol>
<li>Download the zip file and extract. Upload all files to the &#8216;/wp-content/plugins/&#8217;. Make sure you upload in the correct folder structure e.g. /wp-content/plugins/post-ideas-plus/.</li>
<li>Activate the Post Ideas+ plugin through the &#8216;Plugins&#8217; menu in WordPress.</li>
<li>Under &#8216;Tools&#8217; you should see an new option &#8216;Post Ideas+&#8217;. You can add / edit / delete ideas from this page.</li>
<li>You should also see 2 new dashboard widgets &#8216;Add post idea&#8217; &#038; &#8216;Latest post idea&#8217;. These can be disabled via the screen options.</li>
<li>If the script fails to install the required mysql table please use the included wp_piplus.sql file and import it to your wordpress database using phpMyAdmin (if your table prefix is not wp_ you will need to change it in the sql file)</li>
</ol>
<p>If you have any questions, comments or suggestions please leave a comment or get in contact and I&#8217;ll see what I can do.</p>
<p><a href="http://wordpress.org/extend/plugins/post-ideas-plus/">Download</a> from the WordPress plug-in repository or <a href="http://nooshu.com/wp-content/uploads/downloads/post-ideas-plus.zip">from my server</a> <small>(version 2.1.0.5 &#8211; updated 16th Apr 2010)</small>.</p>
]]></content:encoded>
			<wfw:commentRss>http://nooshu.com/wordpress-plug-in-post-ideas-plus/feed</wfw:commentRss>
		<slash:comments>52</slash:comments>
		</item>
		<item>
		<title>My first blog post&#8230;</title>
		<link>http://nooshu.com/my-first-blog-post?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-first-blog-post</link>
		<comments>http://nooshu.com/my-first-blog-post#comments</comments>
		<pubDate>Mon, 18 Jan 2010 12:09:00 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Ramblings]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[first]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[post]]></category>

		<guid isPermaLink="false">http://nooshu.com/?p=88</guid>
		<description><![CDATA[Huzzah! Finally decided to do something with this domain. You have to start somewhere, my first blog post.]]></description>
			<content:encoded><![CDATA[<p>So today&nbsp;I&nbsp;finally plucked up the courage to write a blog post. I&#8217;ve had this domain/blog sitting here for over a year now with every intention to do something with it. It didn&#8217;t happen, until now!</p>
<p>I started my first blog in 2005 for a college project. I managed to write the grand total of 1 blog post, then it was left to fade away and die. The domain name wasn&#8217;t renewed (looking at it now&nbsp;I&#8217;m&nbsp;quite glad about that). My new goal is for 2 posts on <a title="Nooshu" href="http://nooshu.com">nooshu.com</a>,&nbsp;at least then&nbsp;I&nbsp;won&#8217;t be&nbsp;disappointed.</p>
]]></content:encoded>
			<wfw:commentRss>http://nooshu.com/my-first-blog-post/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

