<?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>Mike Van WinkleCustom WordPress Registration Pages (v 0.1.2) | Mike Van Winkle</title>
	<atom:link href="http://www.mikevanwinkle.com/category/wordpress/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikevanwinkle.com</link>
	<description>New Media Consultant and Wordpress Freak</description>
	<lastBuildDate>Fri, 30 Jul 2010 13:18:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Custom WordPress Registration Pages (v 0.1.2)</title>
		<link>http://www.mikevanwinkle.com/wordpress/custom-wordpress-registration-page/</link>
		<comments>http://www.mikevanwinkle.com/wordpress/custom-wordpress-registration-page/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 20:45:15 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=394</guid>
		<description><![CDATA[Updated 7-19-2010: I&#8217;ve released a new version of the Custom Registration Forms plugin and added this page accordingly. Simplr Registration Form Plugin Installation Instructions: Download and unzip the package. Upload the simplr_reg_page folder into your wp-content/plugins directory. Go to your &#8230; <a href="http://www.mikevanwinkle.com/wordpress/custom-wordpress-registration-page/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Updated 7-19-2010: I&#8217;ve released a new version of the Custom Registration Forms plugin and added this page accordingly.</p>
<p><strong><a href="http://tinyurl.com/3y7ev4c">Simplr Registration Form Plugin</a></strong></p>
<p><strong>Installation Instructions:</strong></p>
<p>Download and unzip the package. Upload the simplr_reg_page folder into your wp-content/plugins directory. Go to your plugins dashboard and click &#8220;Activate&#8221;.</p>
<p><strong>Usage Instructions:</strong></p>
<p>To use this plugin simply employ the shortcode <code>[Register]</code> on any WordPress post or page. The default role is &#8220;subscriber&#8221;. To apply another role to the registration simply use the the role parameter, for instance: <code>[Register role="editor"]</code>. If you have created custom roles you may use them as well.</p>
<p>You can also use shortcode so specify a custom confirmation message for each form:</p>
<p><code>[Register role="teacher" <strong>message="Thank you for registering for my site. If you would like to encourage your students to register, please direct them to http://www.domain.com/students"</strong>]</code></p>
<p>Finally, you can specify emails to be notified when a new user is registered. By default site admins will receive notice but to notify others simply use the notify parameter:</p>
<p><code>[Register role="teacher" message="Thank you for registering for my site. If you would like to encourage your students to register, please direct them to http://www.domain.com/students" <strong>notify="email1@email.com,email2@email.com"</strong>]</code></p>
<p><strong>Plugin Options:</strong></p>
<p>Please feel free to suggest future options for this plugin in the comments. The current options are:</p>
<ul>
<li>Admin Email: Specify the FROM email you would like to use for the registration confirmation message.</li>
<li>Confirmation Message: Customize the message you would like to appear in the confimation email.</li>
<li>Style: Overrides the default stylesheet included with the plugin.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/wordpress/custom-wordpress-registration-page/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>Theming Custom Post Types in WordPress 3.0</title>
		<link>http://www.mikevanwinkle.com/wordpress/theming-custom-post-types-in-wordpress-3-0/</link>
		<comments>http://www.mikevanwinkle.com/wordpress/theming-custom-post-types-in-wordpress-3-0/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 20:44:42 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[content management]]></category>
		<category><![CDATA[custom post types]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[wordpress tutorial]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=486</guid>
		<description><![CDATA[So today I developed a simple strategy for dealing with some of the theming issues that arise out of WordPress 3.0 and the new Custom Post Type functionality. The Issue: You&#8217;re working on a site designed long before Custom Post &#8230; <a href="http://www.mikevanwinkle.com/wordpress/theming-custom-post-types-in-wordpress-3-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So today I developed a simple strategy for dealing with some of the theming issues that arise out of <a title="WordPress 3.0" href="http://wordpress.org/development/2010/04/wordpress-3-0-beta-1/">WordPress 3.0</a> and the new <a title="Custom Post Types" href="http://codex.wordpress.org/Function_Reference/register_post_type">Custom Post Type</a> functionality.</p>
<p><strong>The Issue: </strong>You&#8217;re working on a site designed long before <a title="Custom Post Types" href="http://codex.wordpress.org/Function_Reference/register_post_type">Custom Post Types</a> were an itch in Matt&#8217;s cerebellum. But now that the functionality is there and you want to incorporate it into your theme. Previously you used conditional code to theme your single.php file.</p>
<pre>&lt;?php if(in_category('foo')) { ?&gt;
   Do something.
&lt;?php } elseif(in_category('bar')) { ?&gt;
   Do something else.
&lt;?php } else { ?&gt;
   Do yet another thing.
&lt;?php } ?&gt;</pre>
<p>The thought of adding yet another layer of conditionals makes you sick to your stomach. <a title="Custom Post Types" href="http://codex.wordpress.org/Function_Reference/register_post_type">Custom Post Types</a> need to be treated completely different. They have different categories, taxonomies, and even different sidbars. Arg!</p>
<p><strong>Solution: </strong>One simple function. Call it whatever you want, but here&#8217;s what it looks like. When I say simple &#8230; I mean simple.</p>
<pre>
<div id="_mcePaste">function get_post_in_context() {</div>
<div id="_mcePaste">   global $post;</div>
<div id="_mcePaste">   $type = $post-&gt;post_type;</div>
<div id="_mcePaste">   include(TEMPLATEPATH .'/layouts/single-'.$type .'-content.php');</div>
<div id="_mcePaste">}</div>
</pre>
<p>Now just create a directory in your theme called &#8220;layouts&#8221;. Then copy and paste all the markup in your <strong>single.php</strong> file between the <em>get_header()</em> tag and the <em>get_sidebar()</em> tag to a file named <strong>single-post-content.php</strong> and save the file to your layouts folder.</p>
<p>Now place a the <em>get_post_in_context()</em> tag into your single.php  where you want the markup from single-post-content.php to show up.</p>
<pre><span style="font-family: Georgia, 'Bitstream Charter', serif; color: #444444;"><span style="line-height: 22px;">&lt;?php get_header(); ?&gt;
&lt;?php get_post_in_context(); ?&gt;
 &lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer(); ?&gt;</span></span></pre>
<p>The beauty of this is that you can now create a new single-POSTTYPE-content.php (example:single-events-content.php) file for any of your custom post types and it will automagically get called instead of the single-post-content.php without any more changes to the single.php file.</p>
<p>I can&#8217;t take total credit for the idea. Some theme frameworks already employ a version of this strategy. But I need to adapt an existing theme rather than start from a framework. This function above will allow you to scale your existing theme to accomodate new post types without having to redesign your whole site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/wordpress/theming-custom-post-types-in-wordpress-3-0/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Wordcamp Fayetteville Pods Presentation</title>
		<link>http://www.mikevanwinkle.com/geek-think/wordcamp-fayetteville-pods-presentation/</link>
		<comments>http://www.mikevanwinkle.com/geek-think/wordcamp-fayetteville-pods-presentation/#comments</comments>
		<pubDate>Sat, 29 May 2010 23:52:45 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[Geek Think]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Pods]]></category>
		<category><![CDATA[podscms]]></category>
		<category><![CDATA[Wordpress Pods]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=478</guid>
		<description><![CDATA[Thank you to everyone who attended my presentation on WordPress Pods at Wordcamp Fayetteville. As promised I&#8217;ve posted the presentation on slideshare.net. I also recorded the presentation with Screenflow and will hopefully get it posted tomorrow. And don&#8217;t forget to &#8230; <a href="http://www.mikevanwinkle.com/geek-think/wordcamp-fayetteville-pods-presentation/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Thank you to everyone who attended my presentation on WordPress Pods at Wordcamp Fayetteville. As promised I&#8217;ve posted the <a href="http://www.slideshare.net/mpvanwinkle">presentation on slideshare.net</a>. I also recorded the presentation with Screenflow and will hopefully get it posted tomorrow. And don&#8217;t forget to check out http://www.podscms.org.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/geek-think/wordcamp-fayetteville-pods-presentation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Meta Tag Titles and Descriptions for Your WordPress site.</title>
		<link>http://www.mikevanwinkle.com/wordpress/meta-tag-titles-and-descriptions-for-your-wordpress-site/</link>
		<comments>http://www.mikevanwinkle.com/wordpress/meta-tag-titles-and-descriptions-for-your-wordpress-site/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 13:46:27 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[meta tags]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress How To]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=364</guid>
		<description><![CDATA[There are many good plugins out there the help you easily add meta tags to your site. All-in-one-SEO is probably the most popular of all the options. But there several reason why you may want to manually add this code to your &#8230; <a href="http://www.mikevanwinkle.com/wordpress/meta-tag-titles-and-descriptions-for-your-wordpress-site/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are many good plugins out there the help you easily add meta tags to your site. All-in-one-SEO is probably the most popular of all the options. But there several reason why you may want to manually add this code to your template.</p>
<p>For one, you may be a template designer and want your templates to come pre-installed with this SEO friend feature.</p>
<p>Second, you may be having issues with Facebook link sharing not working. WordPress plugins use the wp_head() hook to access your template. But you have no control over the order. If you are using more than a dozen plugins your meta tags can get buried under tons of other code. This can prevent some bots from finding them. Indeed on several of my site Facebook&#8217;s bot was not finding them.</p>
<p>Third, it is just always good to do things without plugins if possible. Call it Occum&#8217;s Razor of web site building, the less code you use, the better.</p>
<p>Luck for us, it is extremely simple to add code for meta tags and descriptions without knowing much about wordpress or PHP.</p>
<p>Open the header.php file in your theme and paste in the following code:</p>
<pre>
<div id="_mcePaste">&lt;?php if(is_singular()) { ?&gt;</div>
<div id="_mcePaste">&lt;?php</div>
<div id="_mcePaste">global $post;</div>
<div id="_mcePaste">?&gt;</div>
<div id="_mcePaste">&lt;?php $recent = new WP_query('p='.$post-&gt;ID);</div>
<div id="_mcePaste">while($recent-&gt;have_posts()) : $recent-&gt;the_post(); ?&gt;</div>
<div id="_mcePaste">&lt;meta name="title" content="&lt;?php the_title(); ?&gt;"&gt;</div>
<div id="_mcePaste">&lt;meta name="description" content="&lt;?php the_content_rss('', TRUE, '', 50); ?&gt;"&gt;</div>
<div id="_mcePaste">&lt;?php endwhile; ?&gt;</div>
<div id="_mcePaste">&lt;?php } else { ?&gt;</div>
<div id="_mcePaste">&lt;meta name="title" content="&lt;?php bloginfo('title'); ?&gt;"&gt;</div>
<div id="_mcePaste">&lt;meta name="description" content="&lt;?php bloginfo('description'); ?&gt;"&gt;</div>
<div id="_mcePaste">&lt;?php } ?&gt;</div>
</pre>
<p>So what&#8217;s going on here? First, we&#8217;re checking to see if the post is a single post using the WordPress Conditional tag &lt;?php if(is_singular()); ?&gt;<em> </em>because we&#8217;ll to pull the title and the description of the individual post for our meta tags. But to do this, we need to get some information about the post, which is why we use the call <code><em>global $post</em></code>. This will give us information about the current post. Particularly it allows us access to <code>$post-&gt;ID</code> to query information about the post using <code>WP_query</code>.</p>
<p>The query we us looks like this:</p>
<pre><code>$recent = new WP_query('p='.$post-&gt;ID); </code></pre>
<p>Once we have the query we put it into the standard wordpress loop:</p>
<pre><code>while($recent-&gt;have_posts()) : $recent-&gt;the_post();</code></pre>
<p>Then we use the standard WordPress tag &lt;?php the_title(); ?&gt; to pull in the META TITLE and &lt;? the_content_rss() ?&gt; to get the description. Notice, we are not using &lt;?php the_excerpt(); ?&gt;. This is because this WordPress tag prints the excerpt with a &#8220;read more&#8221; link in it. This will seriously screw up your theme. Using <a title="The Content RSS" href="http://codex.wordpress.org/Function_Reference/the_content_rss">&lt;?php the_content_rss(); ?&gt;</a> allows us to specify how many words of the content to pull in. But the second parameter has to be set to TRUE to avoid pulling in a &#8220;read more&#8221; link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/wordpress/meta-tag-titles-and-descriptions-for-your-wordpress-site/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pods Tutorials Down</title>
		<link>http://www.mikevanwinkle.com/wordpress/how-to/pods-tutorials-down/</link>
		<comments>http://www.mikevanwinkle.com/wordpress/how-to/pods-tutorials-down/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:37:03 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Pods]]></category>
		<category><![CDATA[Pods CMS]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Pods]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=278</guid>
		<description><![CDATA[For some reason I&#8217;m having trouble with my pods installation. If you are looking for pods tutorials, reference this post until I get it fixed. Apologies.]]></description>
			<content:encoded><![CDATA[<p>For some reason I&#8217;m having trouble with my pods installation. If you are looking for pods tutorials, reference this post until I get it fixed. Apologies.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/udqnpxTdThk&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/udqnpxTdThk&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/AYzgy0RcEqQ&#038;rel=0&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;feature=player_profilepage&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/AYzgy0RcEqQ&#038;rel=0&#038;color1=0xb1b1b1&#038;color2=0xcfcfcf&#038;feature=player_profilepage&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/AYzgy0RcEqQ&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/AYzgy0RcEqQ&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/wordpress/how-to/pods-tutorials-down/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pods Tutorial Series Under Way</title>
		<link>http://www.mikevanwinkle.com/wordpress/pods-tutorial-series-under-way/</link>
		<comments>http://www.mikevanwinkle.com/wordpress/pods-tutorial-series-under-way/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 19:53:14 +0000</pubDate>
		<dc:creator>Mike Van Winkle</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Wordpress How To]]></category>
		<category><![CDATA[Wordpress Pods]]></category>

		<guid isPermaLink="false">http://www.mikevanwinkle.com/?p=256</guid>
		<description><![CDATA[As promised, today I&#8217;ve uploaded some tutorials showing how to use pods to create an events calendar. Pods can be a little tricky and are not recommened for the casual WordPress user. However, if you are familiar with the basics &#8230; <a href="http://www.mikevanwinkle.com/wordpress/pods-tutorial-series-under-way/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As promised, today I&#8217;ve uploaded some tutorials showing how to use pods to create an events calendar. Pods can be a little tricky and are not recommened for the casual WordPress user. However, if you are familiar with the basics of WordPress theming and are not frightened by a little PHP, I think you will find<a title="WordPress How To" mce_href="http://www.mikevanwinkle.com/tutorials/" href="http://www.mikevanwinkle.com/tutorials/"> these How Tos</a> valuable.<br mce_bogus="1"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikevanwinkle.com/wordpress/pods-tutorial-series-under-way/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
