<?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>Shayne Sanderson &#187; News</title>
	<atom:link href="http://shaynesanderson.com/category/news/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaynesanderson.com</link>
	<description>WordPress: Developer. Speaker. Enthusiast. User.</description>
	<lastBuildDate>Fri, 18 May 2012 02:26:37 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Enough is Enough</title>
		<link>http://shaynesanderson.com/2012/04/26/enough-is-enough/</link>
		<comments>http://shaynesanderson.com/2012/04/26/enough-is-enough/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 15:34:17 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=471</guid>
		<description><![CDATA[So there used to be a post here, but I have unpublished it. I said my peace and made my point, but I feel that leaving the post published will just contribute to un-needed drama, so for now it&#8217;s gone.]]></description>
			<content:encoded><![CDATA[<p>So there used to be a post here, but I have unpublished it. I said my peace and made my point, but I feel that leaving the post published will just contribute to un-needed drama, so for now it&#8217;s gone.</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2012/04/26/enough-is-enough/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Genesis AgentPress Featured Image &amp; Thumbnails</title>
		<link>http://shaynesanderson.com/2012/01/26/genesis-agentpress-featured-image-thumbnails/</link>
		<comments>http://shaynesanderson.com/2012/01/26/genesis-agentpress-featured-image-thumbnails/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 19:19:47 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[agentpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[genesis]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[real estate]]></category>
		<category><![CDATA[studiopress]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=438</guid>
		<description><![CDATA[So I&#8217;m working on a real estate site and obviously wanted to use AgentPress from StudioPress but I found a couple of things that I&#8217;d like to work a little better/more automated &#8211; a featured image and thumbnails on the &#8230; <a href="http://shaynesanderson.com/2012/01/26/genesis-agentpress-featured-image-thumbnails/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m working on a real estate site and obviously wanted to use AgentPress from <a href="http://studiopress.com" title="StudioPress" target="_blank">StudioPress</a> but I found a couple of things that I&#8217;d like to work a little better/more automated &#8211; a featured image and thumbnails on the listing page.</p>
<p>On the listing page you have to insert a main image and then can insert a gallery if you choose to do so, but my client needs things to be as easy as possible so I made some changes for them and I&#8217;ll show you what I did and maybe you can use it as well.</p>
<p>In the AgentPress theme we&#8217;re going to be dealing with &#8220;functions.php&#8221; and &#8220;single-listing.php&#8221;.</p>
<p>First, in functions.php starting around line 13 you&#8217;ll notice code for creating image sizes. We&#8217;ll want to add a new size, so just add this line after the ones that are there:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_image_size<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'featured-single'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">600</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">400</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">TRUE</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>What that is going to do is crop a photo to 600&#215;400 whenever you upload a featured image to a listing (or post/page for that matter). We&#8217;ll use this later on, so just save the file and upload back to your server.</p>
<p>Next, we want to pull that image into our Listings page automatically, so in your AgentPress theme, open up &#8220;single-listing.php&#8221;. What you&#8217;ll see is this:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_before_post_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'genesis_post_info'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_after_post_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'genesis_post_meta'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_after_post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'genesis_do_author_box_single'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
genesis<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>We&#8217;re going to add in a function to place the featured image before the content on that page but right below the page title. Here is the code we&#8217;ll add right after the last &#8220;remove_action&#8221; line seen above:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">add_filter <span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_after_post_title'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'your_custom_header'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> your_custom_header <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div id=&quot;page_featured&quot;&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> the_post_thumbnail<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'featured-single'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/div&gt;'</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>What we&#8217;re saying is after the post title, insert this code. You&#8217;ll see that I&#8217;m calling in the new image we created in the first step and just wrapped it in a div so that we can style it if we want.</p>
<p>So that brings in the featured image automatically &#8211; pretty cool! I also wanted to load in the WordPress gallery automatically also, so we need to add a bit more to that code and here is the gallery piece:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div id=&quot;single_gallery&quot;&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$attachments</span> <span style="color: #339933;">=</span> get_children<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_parent'</span> <span style="color: #339933;">=&gt;</span> get_the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'attachment'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post_mime_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'image'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'order_by'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'menu_order'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span> <span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attachments</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span>
	            <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attachments</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	            <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$attachments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$ats</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	            <span style="color: #000088;">$atmeta</span> <span style="color: #339933;">=</span> wp_get_attachment_metadata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	            <span style="color: #000088;">$atsrc</span> <span style="color: #339933;">=</span> wp_get_attachment_image_src<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span><span style="color: #339933;">.</span> <span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">guid</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; rel=&quot;lightbox&quot; title=&quot;'</span><span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;img src=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$atsrc</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; width=&quot;100&quot; height=&quot;100&quot; title=&quot;'</span><span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/div&gt;'</span><span style="color: #339933;">;</span></pre></div></div>

<p>You&#8217;ll see that it&#8217;s wrapped in a div as well (for styling) and also you see that I have the gallery thumbails set to be 100&#215;100. You can change that size to whatever dimensions you&#8217;d like. Also notice the rel=&#8221;lightbox&#8221; in there &#8211; I&#8217;m using the <a href="http://wordpress.org/extend/plugins/lightbox-plus/" target="_blank">LightBox Plus</a> plugin and that will make the thumbnails pop up using that plugin. If you use a different plugin that requires different code you can change that out. Next, you&#8217;ll want some CSS to make the gallery look nice, so add this to your style.css file:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#single_gallery</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">10px</span> <span style="color: #933;">0px</span> <span style="color: #933;">10px</span> <span style="color: #933;">0px</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #cc00cc;">#single_gallery</span> img<span style="color: #00AA00;">,</span> <span style="color: #cc00cc;">#page_featured</span> img <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
        -moz-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
	-webkit-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
        -khtml-box-shadow<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
	box-shadow<span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">1px</span> <span style="color: #933;">4px</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span>
&nbsp;
&nbsp;
<span style="color: #cc00cc;">#single_gallery</span> img<span style="color: #3333ff;">:hover </span><span style="color: #00AA00;">&#123;</span>
&nbsp;
	<span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#ccc</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
        <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
	<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Putting it all together, this is what my entire &#8220;single-listing.php&#8221; file looks like:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_before_post_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'genesis_post_info'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_after_post_content'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'genesis_post_meta'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
remove_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_after_post'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'genesis_do_author_box_single'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #009933; font-style: italic;">/** Add Featured Image Below Title */</span>
add_filter <span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'genesis_after_post_title'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'your_custom_header'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> your_custom_header <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div id=&quot;page_featured&quot;&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> the_post_thumbnail<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'featured-single'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/div&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div id=&quot;single_gallery&quot;&gt;'</span><span style="color: #339933;">;</span>
	<span style="color: #000088;">$attachments</span> <span style="color: #339933;">=</span> get_children<span style="color: #009900;">&#40;</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'post_parent'</span> <span style="color: #339933;">=&gt;</span> get_the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'attachment'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'post_mime_type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'image'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'order_by'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'menu_order'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	            <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span> <span style="color: #990000;">is_array</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attachments</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">continue</span><span style="color: #339933;">;</span>
	            <span style="color: #000088;">$count</span> <span style="color: #339933;">=</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attachments</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	            <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$attachments</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$ats</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
	            <span style="color: #000088;">$atmeta</span> <span style="color: #339933;">=</span> wp_get_attachment_metadata<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	            <span style="color: #000088;">$atsrc</span> <span style="color: #339933;">=</span> wp_get_attachment_image_src<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">100</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">100</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;a href=&quot;'</span><span style="color: #339933;">.</span> <span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">guid</span> <span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; rel=&quot;lightbox&quot; title=&quot;'</span><span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;img src=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$atsrc</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot; width=&quot;100&quot; height=&quot;100&quot; title=&quot;'</span><span style="color: #339933;">.</span>get_the_title<span style="color: #009900;">&#40;</span><span style="color: #000088;">$ats</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/a&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/div&gt;'</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
genesis<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Now when you go to a listing page in AgentPress you will have your featured image and WordPress gallery automatically inserted &#8211; pretty slick!</p>
<p>Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2012/01/26/genesis-agentpress-featured-image-thumbnails/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>TwentyEleven</title>
		<link>http://shaynesanderson.com/2012/01/01/twentyeleven/</link>
		<comments>http://shaynesanderson.com/2012/01/01/twentyeleven/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 21:24:56 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[2011]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=434</guid>
		<description><![CDATA[The year of 2011 was a strange one for me. It began with me leaving the company I co-founded (9seeds) and striking out on my own once again. It was a hard decision but one that needed to happen and &#8230; <a href="http://shaynesanderson.com/2012/01/01/twentyeleven/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The year of 2011 was a strange one for me. It began with me leaving the company I co-founded (<a href="http://9seeds.com" target="_blank">9seeds</a>) and striking out on my own once again. It was a hard decision but one that needed to happen and was good for me. I miss my 9seeds friends like crazy, but what is cool is that I think I talk to them more now than ever and we&#8217;ve remained good good friends throughout this &#8211; and that I&#8217;m most thankful for.</p>
<p>I attended 2 WordCamps in 2011 opposed to the more than a dozen the previous year and pretty much just kept very low key. I freelanced and spent time focusing on family and work through 2011 and have had great times with my family this year. I tried a couple of different ventures that didn&#8217;t quite work out the way I intended, but at the end of the day they were learning experiences and were very valuable. I don&#8217;t have much more to report on 2011 &#8211; as I said, LOW KEY.</p>
<p>I&#8217;m planning on 2012 being completely opposite of 2011. You can expect to see me at a lot more WordCamps and being much more active online this year. I have a couple of things in the works currently and have some ideas that you should see take form in the next few months and I&#8217;m very excited. The &#8220;low key&#8221; year was good and needed to happen as it gave me a lot of time to think, reflect and realize where I want to focus my energy &#8211; and I&#8217;m ready to hit the ground running this year.</p>
<p>That&#8217;s my update &#8211; not much I know, but you can expect a much longer update on January 1, 2013!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2012/01/01/twentyeleven/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordCamp San Francisco 2011</title>
		<link>http://shaynesanderson.com/2011/08/07/wordcamp-san-francisco-2011/</link>
		<comments>http://shaynesanderson.com/2011/08/07/wordcamp-san-francisco-2011/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 17:44:22 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[donate]]></category>
		<category><![CDATA[san francisco]]></category>
		<category><![CDATA[wordcamp]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=303</guid>
		<description><![CDATA[As luck would have it, I am not able to attend WordCamp San Francisco this year. I have two tickets for Saturday only. The event is sold out, so if you want these tickets they&#8217;re easy to get. Just make &#8230; <a href="http://shaynesanderson.com/2011/08/07/wordcamp-san-francisco-2011/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As luck would have it, I am not able to attend <a href="http://2011.sf.wordcamp.org/" target="_blank">WordCamp San Francisco</a> this year.</p>
<p>I have two tickets for <strong>Saturday only</strong>. The event is sold out, so if you want these tickets they&#8217;re easy to get. Just make a donation to the <a href="http://wordpressfoundation.org/donate/" target="_blank">WordPress Foundation</a> ($20 per ticket) and forward me your receipt for the donation. The first two that I receive will get the tickets.</p>
<p>Forward email(s) to shayne[at]shaynesanderson.com</p>
<p>Easy enough&#8230;.<a href="http://wordpressfoundation.org/donate/" target="_blank">go donate</a>!!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2011/08/07/wordcamp-san-francisco-2011/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Handy Genesis Functions</title>
		<link>http://shaynesanderson.com/2011/05/24/handy-genesis-functions/</link>
		<comments>http://shaynesanderson.com/2011/05/24/handy-genesis-functions/#comments</comments>
		<pubDate>Wed, 25 May 2011 02:00:07 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[genesis]]></category>
		<category><![CDATA[studiopress]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=282</guid>
		<description><![CDATA[For about a year now, I&#8217;ve started using the Genesis Framework from StudioPress almost exclusively and love it. There was a bit of a learning curve since the way that Genesis is built is a little different than the standard &#8230; <a href="http://shaynesanderson.com/2011/05/24/handy-genesis-functions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://studiopress.com" target="_blank"><img src="http://shaynesanderson.com/wp-content/uploads/2011/05/genesis.jpg" alt="" title="StudioPress Genesis Framework" width="155" height="130" class="alignleft size-full wp-image-293" /></a>For about a year now, I&#8217;ve started using the Genesis Framework from <a href="http://studiopress.com" target="_blank">StudioPress</a> almost exclusively and love it. There was a bit of a learning curve since the way that Genesis is built is a little different than the standard WordPress themes that I have been used to for years, but again &#8211; well worth it. The Genesis Framework is quite powerful and I&#8217;m still amazed at things I learn about it daily, so hats off to the StudioPress folks.</p>
<p>Now, the reason for my post &#8211; Genesis functions. As I mentioned earlier, Genesis is built a little different so there are some things to learn. All of what I&#8217;m about to show you is available online but I wanted to put it all here for you to read about and for me to reference later on. A great resource for this stuff can be found here: <a href="http://dev.studiopress.com/" target="_blank">http://dev.studiopress.com/</a>. Another tip &#8211; check other Genesis child theme&#8217;s functions.php files as some of this stuff can be found there, based on what theme you look at it will have some modifications you might find useful.</p>
<p>So back to my post. I had a client site I was working on a few weeks ago that needed some modifications and so I went searching. Below are some things I found that I hope you&#8217;ll find useful as well.</p>
<p>For this particular site all I needed was the content/sidebar layout. I wanted to remove the options for other layouts as that would be confusing for the client to see and not be able to use them, so if you&#8217;ll drop this piece of code into your child theme&#8217;s functions.php it will remove everything except for the &#8220;content/sidebar&#8221; layout (and obviously you can change this if you needed to remove a different layout, etc).</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** Unregister other site layouts */</span>
genesis_unregister_layout<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'content-sidebar-sidebar'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
genesis_unregister_layout<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'sidebar-content'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
genesis_unregister_layout<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'full-width-content'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
genesis_unregister_layout<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'sidebar-sidebar-content'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
genesis_unregister_layout<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'sidebar-content-sidebar'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Now when the client goes to the Genesis Theme Settings page they will see the layout selection like this:</p>
<p><img class="aligncenter size-full wp-image-283" title="Genesis Layout Settings" src="http://shaynesanderson.com/wp-content/uploads/2011/05/content_sidebar.png" alt="" width="396" height="167" />With that change came another issue &#8211; the secondary sidebar. I was not going to use it, but again I didn&#8217;t want the client to see it in the Widgets screen and wonder why it didn&#8217;t work.</p>
<p><img class="aligncenter size-full wp-image-284" title="Genesis Sidebar Widgets" src="http://shaynesanderson.com/wp-content/uploads/2011/05/sidebar_widget.png" alt="" width="304" height="105" />Drop this code into your child theme&#8217;s functions.php file to remove that secondary sidebar widget:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** Unregister secondary sidebar */</span>
unregister_sidebar<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'sidebar-alt'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The next issue was the comments area of the site. This client wanted to use the commenting area for &#8220;Reviews&#8221; which is fine, except for the fact that the titles and such were still showing &#8220;Comments&#8221;</p>
<p><img class="aligncenter size-full wp-image-285" title="Genesis Comments" src="http://shaynesanderson.com/wp-content/uploads/2011/05/comments.png" alt="" width="568" height="200" />This screenshot was taken from a child theme demo on the StudioPress site. See up top where it says &#8220;Comments&#8221;? They wanted that to say &#8220;Reviews&#8221;, so here is the code you can drop into your child theme&#8217;s functions.php file to change that:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Modify comments header text in comments</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'genesis_title_comments'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_genesis_title_comments'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> custom_genesis_title_comments<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$title</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'&lt;h3&gt;Reviews&lt;/h3&gt;'</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$title</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Next was the area when leaving a comment/review, there is some wording there that needed to be changed as well.</p>
<p><img class="aligncenter size-full wp-image-286" title="Genesis Comment Reply" src="http://shaynesanderson.com/wp-content/uploads/2011/05/comments2.png" alt="" width="568" height="334" />The &#8220;Speak Your Mind&#8221; text up top, and the &#8220;Post Comment&#8221; text in the submit button needed to be changed, so again, here is the code to place in the child theme&#8217;s functions.php file:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">//Modify comments submit button and heading title</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'genesis_comment_form_args'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'custom_comment_form_args'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000000; font-weight: bold;">function</span> custom_comment_form_args<span style="color: #009900;">&#40;</span><span style="color: #000088;">$args</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'label_submit'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Submit Review'</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$args</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'title_reply'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Submit a Review'</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #b1b100;">return</span> <span style="color: #000088;">$args</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Like I said, most all of this stuff you can find online but I wanted to put it in one spot (mainly for myself) and hopefully it will help others out.</p>
<p>I have to give credit to <a href="http://twitter.com/wpmuguru" target="_blank">Ron Rennick</a> and <a href="http://twitter.com/jaredatch" target="_blank">Jared Atchison</a> who came through with some help on these matters.</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2011/05/24/handy-genesis-functions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>My Departure from 9seeds</title>
		<link>http://shaynesanderson.com/2011/02/04/my-departure-from-9seeds/</link>
		<comments>http://shaynesanderson.com/2011/02/04/my-departure-from-9seeds/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 18:21:31 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[9seeds]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=257</guid>
		<description><![CDATA[So, as the title states &#8211; I&#8217;m stepping away from 9seeds. These types of things always get people wondering what happened, how did it happen, what went wrong and who hates who. I want to make it clear that none &#8230; <a href="http://shaynesanderson.com/2011/02/04/my-departure-from-9seeds/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, as the title states &#8211; I&#8217;m stepping away from <a href="http://9seeds.com" target="_blank">9seeds</a>.</p>
<p>These types of things always get people wondering what happened, how did it happen, what went wrong and who hates who. I want to make it clear that none of those apply. The guys at 9seeds are the best and I love them all like brothers I never had. 9seeds is successful and doing great things, and in no way do I want my departure to reflect anything negative about the company because that&#8217;s simply not the case.</p>
<p>This decision is bittersweet as I&#8217;ll miss the team at 9seeds terribly but I&#8217;ll also have more time to focus on myself and my family, as the time I am able to be involved with them has diminished over time and I need to get that back. This is not to fault 9seeds in any way, people deal with situations differently and this is how I&#8217;m dealing with mine. At this point in time I feel this is the right decision for me and my family.</p>
<p>I have nothing negative to say about 9seeds, it&#8217;s just that I need to focus my efforts in different areas &#8211; people change and so do circumstances.</p>
<p>I will be freelancing again until I figure out what it is I want to do when I grow up! I won&#8217;t say that I won&#8217;t seek employment at some point or start  something new, but for now I&#8217;ll be on my own.</p>
<p>I&#8217;ve enjoyed and value all of the friendships I&#8217;ve made while being part of 9seeds and hope to keep all of those in tact during and after this transition.</p>
<p>So, with that I&#8217;ll say goodbye to 9seeds and wish them all the success that I&#8217;m sure they&#8217;ll achieve &#8211; they&#8217;re brilliant guys.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2011/02/04/my-departure-from-9seeds/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordCamp Phoenix 2011</title>
		<link>http://shaynesanderson.com/2011/01/25/wordcamp-phoenix-2011/</link>
		<comments>http://shaynesanderson.com/2011/01/25/wordcamp-phoenix-2011/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 03:32:48 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[phoenix]]></category>
		<category><![CDATA[wordcamp]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=223</guid>
		<description><![CDATA[So it&#8217;s pretty obvious I don&#8217;t blog as much as I probably should, but this is my site so whatever, right?! Anyway, to get things sort of caught up, I&#8217;ve been busy. 9seeds has been busy, thus the lack of &#8230; <a href="http://shaynesanderson.com/2011/01/25/wordcamp-phoenix-2011/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://phxwordcamp.com" target="_blank"><img class="alignleft size-full wp-image-224" src="http://shaynesanderson.com/wp-content/uploads/2011/01/badge2.jpg" alt="" width="125" height="125" /></a>So it&#8217;s pretty obvious I don&#8217;t blog as much as I probably should, but this is my site so whatever, right?!</p>
<p>Anyway, to get things sort of caught up, I&#8217;ve been busy. <a href="http://9seeds.com" target="_blank">9seeds</a> has been busy, thus the lack of posting&#8230;just working going on here. But this weekend I&#8217;ll be at <a href="http://phxwordcamp.com" target="_blank">WordCamp Phoenix</a> and thought I&#8217;d write a little about it.</p>
<p>First, on Friday I&#8217;ll be doing a <strong>free</strong> <a href="http://phxwordcamp.com/schedule/free-friday-workshops/" target="_blank">Intro to WordPress for Beginners</a> class as part of the Free WorkShop Friday, which should be really cool. It&#8217;s from 9am-4pm and we&#8217;ll cover everything you&#8217;d probably ever want to know about using WordPress. I really like this idea as a lot of beginners are lost at WordCamps and just need a very basic intro to what WordPress is, etc so I&#8217;m excited to have been asked to do this.</p>
<p>Saturday I&#8217;ll be speaking about WordPress and eCommerce at 1:30pm and will cover <a href="http://getshopped.org" target="_blank">WP eCommerce</a>, <a href="http://shopplugin.net" target="_blank">Shopp</a> and <a href="http://phpurchase.com/" target="_blank">PHPurchase</a> which are shopping cart solutions for WordPress. I have 30 minutes, so don&#8217;t blink as you might miss something ! I&#8217;ll be around all day and helping out at the Genius Bar so there will be plenty of time for questions.</p>
<p>On Sunday my wife <a href="http://thegreenwife.com" target="_blank">Abbie</a> was asked to teach a <a href="http://phxwordcamp.com/schedule/wordpress-for-kids/" target="_blank">WordPress for Kids</a> class. This is really cool! Again &#8211; they&#8217;ve thought of everything. Everything! We homeschool our kiddos so she&#8217;s the perfect fit for this class and what better thing to teach kids than to know WordPress?</p>
<p>Working at home and being far away from my WordPress friends is tough sometimes but it all evens out at WordCamps &#8211; it&#8217;s sort of like reunion time so I&#8217;m excited about seeing all my friends that I haven&#8217;t seen in a while. The whole 9seeds crew will be there as well so that&#8217;s cool, since we don&#8217;t see each other often enough either &#8211; so it&#8217;s going to be a packed weekend but good times will be had.</p>
<p>I&#8217;d also like to recognize <a href="http://twitter.com/amandablum" target="_blank">Amanda Blum</a>, <a href="http://twitter.com/chuckreynolds/" target="_blank">Chuck Reynolds</a> and the rest of the team at WordCamp Phoenix for all the hard work they&#8217;ve put into this event. 5 days of WordPress, over 600 attendees and surprises around every turn &#8211; I really don&#8217;t think they&#8217;ve left a single detail unnoticed. If you&#8217;re attending WordCamp Phoenix, make sure to find them and let them know how much they are appreciated and not just drink all of the free coffee <img src='http://shaynesanderson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>That&#8217;s it for now&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2011/01/25/wordcamp-phoenix-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need a place to whine?</title>
		<link>http://shaynesanderson.com/2010/11/07/need-a-place-to-whine/</link>
		<comments>http://shaynesanderson.com/2010/11/07/need-a-place-to-whine/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 01:00:44 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[whine]]></category>
		<category><![CDATA[whining]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=187</guid>
		<description><![CDATA[So you&#8217;ve had a rough day, the boss in an a-hole, the kids are being difficult and you want to scream. What do you do? You go to that other social networking site and post your rant and then worry &#8230; <a href="http://shaynesanderson.com/2010/11/07/need-a-place-to-whine/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-189" src="http://shaynesanderson.com/wp-content/uploads/2010/11/whiny.png" alt="" width="150" height="198" />So you&#8217;ve had a rough day, the boss in an a-hole, the kids are being difficult and you want to scream. What do you do? You go to that other social networking site and post your rant and then worry about everyone thinking you&#8217;re too whiny. What a dilemma&#8230;what to do? You still need to vent your frustrations but are concerned that everyone will think you&#8217;re &#8220;that person&#8221; that they immediately want to block. Well, help has arrived.</p>
<p>Let me introduce <a href="http://mywhinebook.com" target="_blank">WhineBook</a>*. It&#8217;s just as it sounds &#8211; a place to whine. </p>
<p>It actually started out as a joke, but sounded fun so I built it, and I had a good time getting more familiar with <a target="_blank" href="http://buddypress.org">BuddyPress</a>. I&#8217;d also like to thank my friend <a target="_blank" href="http://teleogistic.net/">Boone</a> who lent his knowledge when I needed help with BuddyPress.</p>
<p>It&#8217;s a community site for you to let it all out. No judging, just whining. Everyone is there for the same reason, so don&#8217;t hold back &#8211; we want to hear you whine! You can friend other users, send private messages, chat (in beta) and all of the cool things you&#8217;re used to doing on that other social networking site, but without any of the shame. </p>
<p>I&#8217;m sure you have -something- to say, so head over and get your account set up and start whining.</p>
<p><a class="large blue custom" href="http://mywhinebook.com" target="_blank">Get Started Whining</a></p>
<div class="small">* that other social networking site isn&#8217;t too keen on other &#8220;book&#8221; sites, so I can&#8217;t guarantee how long this will be online</div>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2010/11/07/need-a-place-to-whine/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Busy Fall</title>
		<link>http://shaynesanderson.com/2010/11/07/busy-fall/</link>
		<comments>http://shaynesanderson.com/2010/11/07/busy-fall/#comments</comments>
		<pubDate>Sun, 07 Nov 2010 18:46:22 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[detroit]]></category>
		<category><![CDATA[las vegas]]></category>
		<category><![CDATA[nyc]]></category>
		<category><![CDATA[phoenix]]></category>
		<category><![CDATA[wordcamp]]></category>

		<guid isPermaLink="false">http://shaynesanderson.com/?p=182</guid>
		<description><![CDATA[So I haven&#8217;t posted in quite a while and need to catch up. It was a super busy fall this year and the month of October I was barely home at all. It started with WordCamp Detroit on October 8th. &#8230; <a href="http://shaynesanderson.com/2010/11/07/busy-fall/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I haven&#8217;t posted in quite a while and need to catch up.</p>
<p>It was a super busy fall this year and the month of October I was barely home at all.</p>
<p>It started with <a href="http://www.wordcampdetroit.com/" target="_blank">WordCamp Detroit</a> on October 8th. This was Detroit&#8217;s first WordCamp and it was great. The organization and varying topics that were presented were done well. It&#8217;s always nice to see a &#8220;first&#8221; WordCamp with lots of eager minds ready to learn.</p>
<p>The following weekend, October 15th, I was at <a href="http://2010.nyc.wordcamp.org/" target="_blank">WordCamp NYC</a> for the second year. This year&#8217;s event was much smaller than the previous year, but it was awesome nonetheless. It was more locally focused, but still brought together some great minds and topics.</p>
<p>From NYC, I flew to Las Vegas (where my <a href="http://9seeds.com" target="_blank">9seeds</a> partners are) and spent the week there helping prepare for <a href="http://lasvegaswordcamp.com/" target="_blank">WordCamp Las Vegas</a> which was on October 23rd. This was the 3rd WordCamp Las Vegas and while we didn&#8217;t have a huge turnout (BlogWorld was the weekend before), it was a really great event. Everything went smoothly, there were no big issues and everyone that attended was excited to have a smaller &#8220;classroom&#8221; feel I think. I saw a lot of friends I haven&#8217;t seen in a while and had a really good time, but at this point I was just tired and really missing home.</p>
<p>I&#8217;m home now and don&#8217;t plan on going anywhere until <a href="http://phxwordcamp.com/" target="_blank">WordCamp Phoenix</a> in January, so back to work I go.</p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2010/11/07/busy-fall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Twitter Archive</title>
		<link>http://shaynesanderson.com/2010/08/30/wordpress-twitter-archive/</link>
		<comments>http://shaynesanderson.com/2010/08/30/wordpress-twitter-archive/#comments</comments>
		<pubDate>Mon, 30 Aug 2010 19:00:21 +0000</pubDate>
		<dc:creator>shayne</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.shaynesanderson.com/?p=139</guid>
		<description><![CDATA[So&#8230;I read a cool article last week about creating a Twitter archive using WordPress at wpmu.org and thought that it sounded like a great idea as I would like to &#8220;own&#8221; all of my tweets and have them in MY &#8230; <a href="http://shaynesanderson.com/2010/08/30/wordpress-twitter-archive/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So&#8230;I read a cool article last week about creating a Twitter archive using WordPress at <a href="http://wpmu.org/wordpress-news-free-searchable-tweet-archive-theme-released/" target="_blank">wpmu.org</a> and thought that it sounded like a great idea as I would like to &#8220;own&#8221; all of my tweets and have them in <strong>MY</strong> database&#8230;.just because I can I suppose.</p>
<p>So, first I&#8217;ll say that this is a great article, but the services listed (backupmytweets.com and tweetbackup.com) are not the greatest. They do in fact work, but neither gave me the exported file type that I wanted and for the life of me, I could not get them to import into WordPress as posts. So I went searching with my best friend. Google. What actually happened was that WordPress itself helped me out and solved my issue. If you go to &#8220;Tools&#8211;&gt;Import&#8221; in the WordPress Dashboard it will show you the importers available, but what I rarely pay attention to (as I don&#8217;t import hardly at all) is that below the importers there is a really cool link that says:</p>
<p><strong>&#8220;If the importer you need is not listed, search  the plugins directory to see if an importer is available.&#8221;</strong></p>
<p>So I click that it shows a search result for &#8220;importers&#8221; in the WordPress Plugin Repository&#8230;.nice. Guess what was there? A Twitter Importer! And yes, it works great.</p>
<p>So, here is what I did to get my Twitter Archive up and running on WordPress:</p>
<p>1. Made a new subdomain on my site and set up WordPress like I normally would.</p>
<p>2. I downloaded and installed the <a href="http://www.themelab.com/2010/08/25/tl-tweets-free-wordpress-theme/" target="_blank">Twitter theme</a> that was mentioned in the article above.</p>
<p>3. I mention this high in the list because if you wait to do this later, your time/date on your old tweets will be wrong. Go to &#8220;Settings&#8211;&gt;General&#8221; in the WordPress Dashboard and make sure your time settings are correct for wherever you live.</p>
<p>4. Install <a href="http://wordpress.org/extend/plugins/twitter-tools/" target="_blank">Twitter Tools</a> plugin and configure it to create a blog post for every tweet you make. (there are some settings in here that require you to get API info from Twitter, etc, but it&#8217;s super simple&#8230;just follow the instructions from the Twitter Tools setup page.</p>
<p>5. Download and install the <a href="http://wordpress.org/extend/plugins/twitter-importer/" target="_blank">Twitter Importer</a>. Once you do that, it will show up on the &#8220;Tools&#8211;&gt;Import&#8221; page in the WordPress Dashboard.</p>
<p>6. Run the Twitter Importer. It will ask for your Twitter handle, what user to associate them with and what category you want to dump them into. If you want them to go to a particular category, you will need to create that first (go to &#8220;Posts&#8211;&gt;Categories&#8221; in WordPress Dashboard to create new category). So now all your tweets should be imported as Posts, (<strong>NOTE:</strong> If you  don&#8217;t see all of your tweets show up, run the importer again as  sometimes it can take 2-3 tries to get ALL of your tweets imported) but  you&#8217;ll notice all of the links are just text.</p>
<p>7. Download and install the <a href="http://wordpress.org/extend/plugins/sem-autolink-uri/" target="_blank">Autolink URI plugin</a> and activate it. This will take all of the text links in your tweets and convert them to functional URLs.</p>
<p>8. Next you&#8217;ll notice that all Twitter handles are not links either. The way I made this work was to use TwitterEverywhere. There is a really good how-to on the <a href="http://www.wpbeginner.com/wp-tutorials/how-to-add-twitter-anywhere-in-wordpress/" target="_blank">WPBeginner</a> site. I used the &#8220;Auto Link all Twitter Usernames with Hovercard&#8221; and the &#8220;Smart Follow Button (in the header of my Twitter Archive site). The API stuff &#8211; you can just use the same one you created from step 4 above. That links all twitter names and adds a cool &#8220;hovercard&#8221; with info on the twitter username that you hover your mouse over. (This code is included in my theme if you decide to use it, just change out your Twitter handle and the API with the dummy content I have in there)</p>
<p>So, that&#8217;s what I did&#8230;and it works great. I also edited the theme somewhat for my liking, and I&#8217;m going to let you have that if you want as well (with a PSD to edit the header graphic). The theme is very simple and nice and optimized to be used for this purpose. It &#8220;did&#8221; contain ONLY CSS, but I added a background image and header image to it, but besides that, it&#8217;s all CSS.</p>
<p>The only thing that I notice is that hashtags are not links on imported tweets&#8230;I&#8217;m still researching that one, but if you know (or find) a way to do this, please feel free to comment and let me know!</p>
<p>Good luck &#8211; and here is <a href="http://shaynesanderson.com/download/Tweet-Theme.zip" target="_blank">my edited theme</a> if you want to use it.</p>
<p>Oh, and the URL to my Twitter Archive site &#8211; <a href="http://shaynesanderson.com/tweet" target="_blank">http://shaynesanderson.com/tweet</a></p>
]]></content:encoded>
			<wfw:commentRss>http://shaynesanderson.com/2010/08/30/wordpress-twitter-archive/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: basic

Served from: shaynesanderson.com @ 2012-05-18 07:21:44 -->
