<?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>seanklein.org &#187; Development</title>
	<atom:link href="http://seanklein.org/category/development/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanklein.org</link>
	<description></description>
	<lastBuildDate>Sat, 19 May 2012 14:08:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>WordPress Autosave</title>
		<link>http://seanklein.org/2010/11/wordpress-autosave/</link>
		<comments>http://seanklein.org/2010/11/wordpress-autosave/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 17:14:12 +0000</pubDate>
		<dc:creator>Sean Klein</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Things I've Learned]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[autosave]]></category>
		<category><![CDATA[TIL]]></category>
		<category><![CDATA[wordpress plugins]]></category>

		<guid isPermaLink="false">http://seanklein.org/?p=75</guid>
		<description><![CDATA[Recently I was having an issue with the WordPress autosave running on my posts in a custom post type.  I am running a lot of scripts in the &#8220;save_post&#8221; action and couldn&#8217;t find a good way to exclude autosaves from running this code. Note that I looked at the info being passed to the functions&#8230;]]></description>
			<content:encoded><![CDATA[<p>Recently I was having an issue with the WordPress autosave running on my posts in a custom post type.  I am running a lot of scripts in the &#8220;save_post&#8221; action and couldn&#8217;t find a good way to exclude autosaves from running this code.</p>
<p>Note that I looked at the info being passed to the functions and the usual suspects for looking at wether it was an autosave or not weren&#8217;t helping.</p>
<p>My biggest problem came when typing a title in the custom post type, then clicking outside of the title field.  Normally this kicks off the autosave feature automatically so the post permalink can be established and displayed below the post title.  Since I wasn&#8217;t using this custom post type on the front of end of the site, I really didn&#8217;t care about that.</p>
<p>So now for the easiest way to disable autosave for the custom post type:</p>
<pre class="prettyprint">
function seans_admin_init() {
	if (!empty($_GET['post']) || (!empty($_GET['post_type']) &#038;&#038; $_GET['post_type'] == '[custom_post_type]')) {
		$post_type = '';

		if (!empty($_GET['post'])) {
			$post_type = get_post_type(intval($_GET['post']));
		}
		else if (!empty($_GET['post_type'])) {
			$post_type = $_GET['post_type'];
		}

		if (!empty($post_type) &#038;&#038; $post_type == '[custom_post_type]') {
			// Hi, I block Autosave from running on posts
			wp_deregister_script('autosave');
		}
	}

}
add_action('admin_init', 'seans_admin_init');
</pre>
]]></content:encoded>
			<wfw:commentRss>http://seanklein.org/2010/11/wordpress-autosave/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Website Launch</title>
		<link>http://seanklein.org/2009/05/website-launch/</link>
		<comments>http://seanklein.org/2009/05/website-launch/#comments</comments>
		<pubDate>Fri, 15 May 2009 03:08:09 +0000</pubDate>
		<dc:creator>Sean Klein</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://seanklein.org/?p=18</guid>
		<description><![CDATA[I&#8217;m proud to announce the launch of my first personal web development in many years.  Green Job Outsourcing Brokers was launched on Sunday (5/10). I was contacted by Elizabeth Heid the CEO of Green Job Outsourcing Brokers to create a website where she could display jobs from her clients.  Elizabeth runs an outsourcing company where&#8230;]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m proud to announce the launch of my first personal web development in many years.  <a href="http://gjob.us.com">Green Job Outsourcing Brokers</a> was launched on Sunday (5/10).</p>
<p>I was contacted by Elizabeth Heid the CEO of Green Job Outsourcing Brokers to create a website where she could display jobs from her clients.  Elizabeth runs an outsourcing company where businesses contact her to fill positions.  She needed a basic website where she could easily add those jobs, and have her &#8220;Sub Contractors&#8221; create an account on her website and add their resumes and cover letters.</p>
<p>I used WordPress as a CMS for this project.  WordPress along with Carrington as a base for a theme made for a great web build.  For the back end I used a plugin I initially developed for Crowd Favorite, then modified so it would handle uploading more data for each user registered.  Two of the meta items I included were Cover Letter and Resume as PDFs.  Unfortunately I had to modify the WP Core for the user profile page to display the user information like GJOB wanted it displayed, but ultimately I believe it looked pretty good.</p>
<p>On the front end Carrington served as a great base for the theme.  The development of the theme using Carrington made the work for GJOB much easier and better for the client.  It cut down greatly on development time and kept costs down for the client.</p>
<p>Overall I am very happy with how this site came out.  I am not a designer and very rarely get involved with the design of sites, but I designed this entire site and had fun with it.  We went through many design revisions and in the middle I was very unclear as to where the site was going, but after everything the site came out great.  This was a great project and I look forward to doing more like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://seanklein.org/2009/05/website-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

