<?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>Nathan Rice</title> <atom:link href="http://www.nathanrice.net/feed/" rel="self" type="application/rss+xml" /><link>http://www.nathanrice.net</link> <description>WordPress Themes, Web Design, and Blogs</description> <lastBuildDate>Mon, 14 May 2012 04:36:31 +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>Absentee Blogger</title><link>http://www.nathanrice.net/blog/absentee-blogger/</link> <comments>http://www.nathanrice.net/blog/absentee-blogger/#comments</comments> <pubDate>Mon, 14 May 2012 04:34:41 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[General]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=667</guid> <description><![CDATA[I won&#8217;t deny it. I&#8217;m embarrassed to see that my last blog post was published in 2009. Let&#8217;s catch up. I joined StudioPress in November, 2009 At StudioPress, I was privileged to build the Genesis Framework We released a truckload of excellent child theme designs for Genesis Then, we build a new truckload of awesome [...]]]></description> <content:encoded><![CDATA[<p>I won&#8217;t deny it. I&#8217;m embarrassed to see that my last blog post was published in 2009. Let&#8217;s catch up.</p><ul><li>I joined <a href="http://www.studiopress.com/">StudioPress</a> in November, 2009</li><li>At StudioPress, I was privileged to build the <a title="Genesis Framework" href="http://www.shareasale.com/r.cfm?b=254674&amp;u=453530&amp;m=28169&amp;urllink=&amp;afftrack=">Genesis Framework</a></li><li>We released a truckload of excellent <a title="Genesis Child Themes" href="http://www.studiopress.com/themes">child theme</a> designs for Genesis</li><li>Then, we build a new truckload of awesome <a title="Genesis Plugins" href="http://www.studiopress.com/plugins">plugins</a></li><li>StudioPress merged with <a href="http://www.copyblogger.com/">Copyblogger</a></li><li>My wife and I bought our first house</li><li>Copyblogger launches <a href="http://authorityrules.com/">Authority Rules</a>, I was fortunate enough to be involved</li><li>I got to build a sweet <a href="http://getpremise.com/">WordPress Membership plugin</a></li><li>Copyblogger hired these <a href="http://ronandandrea.com/">ridiculously awesome people</a></li><li>I (finally) switched my site over to using Genesis</li></ul><p>Not a bad way to spend one&#8217;s time.</p><p>So yeah, I&#8217;m back, and I will be writing again. I&#8217;ve learned an incredible amount of new stuff over the last few years, and it&#8217;s time I start publishing all those goodies. Expect the usual, but with a Genesis twist. I did build the theme, after all.</p><p><em>If you notice that the comment form looks a bit off, you&#8217;re not crazy. It probably is. I just haven&#8217;t gotten around to fixing it.</em></p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/absentee-blogger/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>10 Most Influential WordPress Twitter-ers</title><link>http://www.nathanrice.net/blog/10-most-influential-wordpress-twitter-ers/</link> <comments>http://www.nathanrice.net/blog/10-most-influential-wordpress-twitter-ers/#comments</comments> <pubDate>Mon, 19 Oct 2009 17:23:13 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=634</guid> <description><![CDATA[A couple of days ago, Bryan tweeted (via the @modthemes twitter account) that I was considered the 6th most influential WordPress Twitter-er according to WeFollow.com. Very cool! So I figured I&#8217;d share the spotlight with 9 other people that make up the top 10, and help introduce you to them. Here they are! 1. Joost [...]]]></description> <content:encoded><![CDATA[<p>A couple of days ago, <a href="http://www.bryanhauer.com/">Bryan</a> <a href="http://twitter.com/ModThemes/status/4933313784">tweeted</a> (via the <a href="http://twitter.com/ModThemes">@modthemes</a> twitter account) that I was considered the 6th most influential WordPress Twitter-er according to <a href="http://wefollow.com/twitter/wordpress">WeFollow.com</a>. Very cool!</p><p>So I figured I&#8217;d share the spotlight with 9 other people that make up the top 10, and help introduce you to them. Here they are!<span id="more-634"></span></p><h2>1. Joost de Valk (<a href="http://twitter.com/yoast">@yoast</a>)</h2><p>Joost (pronounced &#8220;Yoast&#8221;) is a prolific WordPress blogger, author of some sweet <a href="http://yoast.com/wordpress/">WordPress plugins</a>, <a href="http://yoast.com/tools/seo/">SEO Expert</a>, and host of the very popular new podcast called <a href="http://yoast.com/press-this/">Press This</a>.</p><p>I highly recommend you follow him. He definitely deserves the top spot.</p><h2>2. WPlimits (<a href="http://twitter.com/wplimits">@wplimits</a>)</h2><p>This account is managed by <a href="http://twitter.com/nathanbarry">Nathan Barry</a>. I&#8217;m not very familiar with this account, it seems to be a good source of WordPress related articles, themes, and plugins from around the net.</p><h2>3. Brian Gardner (<a href="http://twitter.com/bgardner">@bgardner</a>)</h2><p>Of course, my good friend Brian is someone you should definitely be following. Brian is the founder of the Premium Theme movement in the WordPress community via his Revolution Theme (now <a href="https://www.e-junkie.com/ecom/gb.php?cl=10214&amp;c=ib&amp;aff=14690">StudioPress</a>), and he&#8217;s definitely an influential twitter-er among WordPress users.</p><h2>4. Adii (<a href="http://twitter.com/adii">@adii</a>)</h2><p>Adii, who&#8217;s first claim to fame was the popular &#8220;Premium News Theme&#8221;, has gone on to become the co-founder of <a href="http://woothemes.com/">WooThemes</a> where he and the guys produce some of the most visually stunning themes in the market. He is also a sharp entrepreneur who is kind enough to share his insights on <a href="http://adii.co.za/">his blog</a> throughout the week.</p><h2>5. Ian Stewart (<a href="http://twitter.com/iandstewart">@iandstewart</a>)</h2><p>The man who started the craze around theme framworks with his <a href="http://themeshaper.com/thematic/">Thematic theme</a>, Ian is also a savvy WordPress blogger and Twitter-er. He usually shares links and resources via <a href="http://twitter.com/iandstewart">his twitter account</a>, as well as his newest project, <a href="http://WPazo.com/">WPazo.com</a> (<a href="http://twitter.com/wpazo">@WPazo</a>).</p><h2>6. Nathan Rice (<a href="http://twitter.com/nathanrice">@nathanrice</a>)</h2><p>That&#8217;s me!</p><h2>7. Theme Forest (<a href="http://twitter.com/themeforest">@themeforest</a>)</h2><p>As many of you know, <a href="http://themeforest.net/">Theme Forest</a> has made a splash in the WordPress community by taking a new direction in the world of Premium Themes. They allow users to submit themes to their site and sell them, splitting the profits. This unique model has created one of the largest Premium Theme outlets on the net.</p><p>Like other Twitter-ers on this list, they routinely share helpful WordPress resources via their <a href="http://twitter.com/themeforest">twitter account</a>.</p><h2>8. Mark Jaquith (<a href="http://twitter.com/markjaquith">@markjaquith</a>)</h2><p>Mark is lead developer on the WordPress project, so if anyone knows what he is talking about, it&#8217;s him. Follow him for the raw WordPress nerdery, as well as the awesome libertarian eloquence!</p><h2>9. <span>Jean-Baptiste Jung (<a href="http://twitter.com/catswhocode">@catswhocode</a>)<br /> </span></h2><p>The guy behind the very popular <a href="http://WPRecipes.com/">WPRecipes.com</a> and <a href="http://WPRecipes.com/">CatsWhoCode.com</a>. If you&#8217;re looking for some seriously helpful WordPress and Web Development resources around the net, look no further. The stuff he publishes and links to is killer.</p><h2>10. Roger Byrne (<a href="http://twitter.com/imrogb">@imrogb</a>)</h2><p>Another name I&#8217;m not familiar with. Roger is a social media expert who works at <a href="http://envato.com/">Envato</a> (the guys behind ThemeForest), so he&#8217;s probably worth following. 20,000 people already are!</p><h2>Honorable Mentions</h2><p>A couple of notable characters are missing from the list, most likely because they haven&#8217;t added themselves at the <a href="http://wefollow.com/">WeFollow.com</a> directory. It&#8217;s only right that I mention them here:</p><p><strong>1. Jeff Chandler (<a href="http://twitter.com/wptavern">@wptavern</a> &amp; <a href="http://twitter.com/jeffr0">@jeffr0</a>)</strong></p><p>Jeff is the host of the popular <a href="http://www.wptavern.com/wordpress-weekly">WordPress Weekly</a> podcast. He also runs <a href="http://www.wptavern.com/">WPTavern.com</a> (blog and forum) where discussions of all things WordPress happen on a daily basis. If you want to pow-wow with the WordPress big-wigs, go get yourself an account and start posting.</p><p><strong>2. Chris Pearson (<a href="http://twitter.com/pearsonified">@pearsonified</a>)</strong></p><p>Chris is the author of one of the best premium themes in the market, <a href="http://diythemes.com/">Thesis</a>. He&#8217;s also a HUGE personality and is worth following, if for no other reason than his sharp wit and &#8220;linguistic porn&#8221; (as he calls it).</p><p><strong>3. Justin Tadlock (<a href="http://twitter.com/justintadlock">@justintadlock</a>)</strong></p><p>Justin is one of the most knowledgeable WordPress developers in the community. His claim to fame is is deep commitment to his <a href="http://themehybrid.com/">Theme Hybrid</a> community where he does some killer work on the free WordPress theme, <a href="http://themehybrid.com/themes/hybrid">Hybrid</a>. He also writes some killer articles at <a href="http://justintadlock.com/">his blog</a> that will teach you how to make WordPress bend to your will! You will learn something by following Justin.</p><p><strong>4. Matt Mullenweg (<a href="http://twitter.com/photomatt">@photomatt</a>)</strong></p><p>Of course, no list of WordPress Twitter-ers would be complete with out the founder of WordPress, <a href="http://ma.tt/">Matt Mullenweg</a>. It&#8217;s mostly an aggregation account, but it&#8217;s still worth following if you are a fan of WordPress.</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/10-most-influential-wordpress-twitter-ers/feed/</wfw:commentRss> <slash:comments>18</slash:comments> </item> <item><title>Serve IE6 Visitors the Default WordPress Theme</title><link>http://www.nathanrice.net/blog/serve-ie6-visitors-the-default-wordpress-theme/</link> <comments>http://www.nathanrice.net/blog/serve-ie6-visitors-the-default-wordpress-theme/#comments</comments> <pubDate>Tue, 15 Sep 2009 11:00:38 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Planet WordPress]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=617</guid> <description><![CDATA[It&#8217;s been talked about time and time again &#8230; what do we do about the IE6 problem? Of course, there are a couple of options already available to you: you can make IE6 crash when users visit, you can move on to bigger and better things and ignore IE6 altogether, or you can do like [...]]]></description> <content:encoded><![CDATA[<p><img src="http://www.nathanrice.net/wp-content/uploads/2009/09/no-ie.jpg" alt="Internet Explorer" title="no-ie" width="200" height="200" class="alignright size-full wp-image-638" />It&#8217;s been talked about time and <a href="http://www.woothemes.com/2009/09/could-we-should-we-drop-ie6-support/">time again</a> &#8230; what do we do about <a href="http://blog.digg.com/?p=878">the IE6 problem</a>?</p><p>Of course, there are a couple of options already available to you: you can <a href="http://www.wprecipes.com/how-to-kill-ie6-on-your-wordpress-blog">make IE6 crash</a> when users visit, you can <a href="http://digwp.com/2009/07/free-html-5-wordpress-theme/">move on to bigger and better things</a> and ignore IE6 altogether, or you can do like I do and display a little message to IE6 visitors encouraging them to upgrade (<a href="http://www.incerteza.org/blog/projetos/shockingly-big-ie6-warning/">this plugin</a> makes that pretty easy).</p><p>But, if you&#8217;re not in the business of pandering to <a href="http://mouserunner.com/FF_Click_On_The_Blue_E.html">inferior browsers</a>, but you don&#8217;t necessarily want to be <a href="http://www.nathanrice.net/blog/5-useful-wordpress-functions-you-didnt-know-existed/#comment-25950">seen as a jerk</a>, I have a solution that might work out perfectly for you.<span id="more-617"></span></p><h2>Let&#8217;s Do Some Browser Detection</h2><p>True, it&#8217;s <a href="http://www.nathanrice.net/blog/browser-detection-and-the-body_class-function/#comment-25901">not perfect</a>. But as we&#8217;ve <a href="http://www.nathanrice.net/blog/browser-detection-and-the-body_class-function/">pointed out before</a>, browser detection can go a long way towards delivering a smooth experience for users of all browsers.</p><p>What we want to do is detect the visitor&#8217;s &#8220;User Agent&#8221;, then tell WordPress to use the default theme (that is, the Kubrick theme) whenever an IE6 user visits our site. So, we do a little <code>PHP</code> magic to detect the User Agent.</p><pre>if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false) {
	// do something
}</pre><p>This <code>IF</code> statement will evaluate whether or not the user&#8217;s browser is reporting IE6 as the User Agent. It should be noted that some browsers allow users to spoof their User Agent. So it is theoretically possible that someone is spoofing an IE6 User Agent and forgot to switch back. Possible, but very unlikely.</p><h2>Tell WordPress to Use the Default Theme</h2><p>So, now that we know whether or not the visitor is using IE6, we need to tell WordPress do something with that information. Fortunately, WordPress offers some filters for us to use. The code looks something like this (including the browser check from above):</p><pre>add_filter('template', 'serve_default_to_iesix');
add_filter('option_template', 'serve_default_to_iesix');
add_filter('option_stylesheet', 'serve_default_to_iesix');
function serve_default_to_iesix($theme) {
	if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false)
		$theme = 'default';

	return $theme;
}</pre><h2>Making the Plugin</h2><p>Because this bit of functionality is used to determine which theme gets loaded, this is one of the few things that you can&#8217;t do using your theme&#8217;s <code>functions.php</code> file &#8230; you have to actually use a plugin. But no worries &#8230; here&#8217;s exactly what the plugin code should look like:</p><pre>&lt;?php
/*
Plugin Name: Serve Default to IE6
Plugin URI: http://www.nathanrice.net/blog/serve-ie6-visitors-the-default-wordpress-theme
Description: This plugin will serve the default theme to any visitors using IE6.
Author: Nathan Rice
Author URI: http://www.nathanrice.net/
Version: 1.0
*/

add_filter('template', 'serve_default_to_iesix');
add_filter('option_template', 'serve_default_to_iesix');
add_filter('option_stylesheet', 'serve_default_to_iesix');
function serve_default_to_iesix($theme) {
	if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false)
		$theme = 'default';

	return $theme;
}
?&gt;</pre><p>And if you aren&#8217;t the best &#8220;copy and paste&#8221;-er, here&#8217;s a <a href="http://www.nathanrice.net/download/default-for-ie6.zip">download link</a>. Just upload the plugin and activate, and you&#8217;re good to go.</p><p class="alert">Please note that, because this functionality relies on dynamic template serving, it will be incompatible with plugins like <a href="http://ocaoimh.ie/wp-super-cache/">WP-Super-Cache</a>.</p><p>There you go! Now, whenever someone visits with IE6, they&#8217;ll be seeing your site courtesy of the Default theme. But you don&#8217;t have to stop there &#8230; if there is another theme in your <code>wp-content/themes</code> directory that you&#8217;d like to use instead of the default theme, just find its directory/folder name and replace &#8216;default&#8217; with the directory/folder name of the other theme you&#8217;d like to use (case sensitive). For instance, if you&#8217;d like to use the &#8220;classic&#8221; theme, you&#8217;d modify the code above like so:</p><pre>...
	if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6') !== false)
		$theme = 'classic';
...</pre><p>Pretty cool, eh?</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/serve-ie6-visitors-the-default-wordpress-theme/feed/</wfw:commentRss> <slash:comments>62</slash:comments> </item> <item><title>ModThemes.com Launches Today!</title><link>http://www.nathanrice.net/blog/modthemes-com-launches-today/</link> <comments>http://www.nathanrice.net/blog/modthemes-com-launches-today/#comments</comments> <pubDate>Mon, 24 Aug 2009 17:49:47 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=609</guid> <description><![CDATA[After 15 months as a lead developer at iThemes.com, today marks the launch of my very own Premium WordPress Theme business, ModThemes.com.]]></description> <content:encoded><![CDATA[<p>After 15 months as a lead developer at <a href="http://ithemes.nathanrice.net/">iThemes.com</a>, today marks the launch of my very own <a title="Premium WordPress Themes" href="http://www.modthemes.com/">Premium WordPress Theme</a> business, ModThemes.com. That&#8217;s right, myself and three other <a href="http://www.modthemes.com/about/">talented individuals</a>, are launching a new business together, and it&#8217;s time to open up shop.</p><p><a href="http://www.modthemes.com/"><img class="alignnone size-full wp-image-641" title="modthemes" src="http://www.nathanrice.net/wp-content/uploads/2009/08/modthemes.jpg" alt="" width="560" height="289" /></a></p><p><span id="more-609"></span></p><h2>What&#8217;s That? A New Premium Theme Shop?</h2><p>As you know, I live and breathe WordPress code (pretty much). I&#8217;ve written countless <a href="http://www.nathanrice.net/">tutorials</a>, built <a href="http://www.nathanrice.net/themes">themes</a>, written <a href="http://www.nathanrice.net/plugins">plugins</a>, even submitted a <a href="http://core.trac.wordpress.org/ticket/10266">patch</a> or <a href="http://core.trac.wordpress.org/ticket/9514">two</a> to the WordPress core. Let&#8217;s just say that when it comes to WordPress, I know my stuff, some of which has recently been added as new functionality to the themes at <a title="StudioPress.com" href="https://www.e-junkie.com/ecom/gb.php?cl=10214&amp;c=ib&amp;aff=14690">StudioPress</a>.</p><p>So it should go without saying that if I&#8217;m going to be helping run my own WordPress business, it&#8217;s going to be top-notch quality with some solid code. You can count on it.</p><p><em>I was, however, late to the party, so I haven&#8217;t had a real chance to get my hands dirty with any of the code there at ModThemes.com, but I&#8217;m currently busy on several projects that will have my signature solid code foundation that I&#8217;ve worked so hard to develop.</em></p><h2>What is ModThemes All About?</h2><p>The three things that I think make a <a href="http://www.modthemes.com/">Premium WordPress theme</a> are the following:</p><ol><li>Killer Design</li><li>Solid Code / Awesome Features</li><li>Superior Support</li></ol><p>Seriously, I think that about covers it. And that&#8217;s our commitment to our users. We want to provide beautiful, functional themes, and if you need help after the sale, we want to be there for you.</p><p>So if you&#8217;re ever in the market for a new theme for you site, or for one of you clients, do yourself a favor and check <a href="http://www.modthemes.com/">ModThemes.com</a> out first.</p><h2>We&#8217;ll Sweeten the Deal</h2><p>If you&#8217;re interested in purchasing our <a href="http://www.modthemes.com/themes/breaking-news/">Breaking News Theme</a> this week, we&#8217;re offing a 15% off &#8220;launch special&#8221;. All you need to do is enter discount/coupon code &#8220;LAUNCH&#8221; at checkout and you&#8217;ll get an instant 15% discount. Not bad, eh?</p><p>But act fast. That discount code is only good for the first 50 people that use it. For other deals and discounts, as well as news about new themes, prerelease teasers, and other cool stuff, be sure to follow <a href="http://twitter.com/modthemes">@modthemes</a> on Twitter, or of course, follow me <a href="http://twitter.com/nathanrice">@nathanrice</a> on Twitter.</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/modthemes-com-launches-today/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> <item><title>BizTech: Free WordPress Theme</title><link>http://www.nathanrice.net/blog/biztech-free-wordpress-theme/</link> <comments>http://www.nathanrice.net/blog/biztech-free-wordpress-theme/#comments</comments> <pubDate>Mon, 27 Jul 2009 20:52:39 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Asides]]></category> <category><![CDATA[Blog]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=606</guid> <description><![CDATA[If you&#8217;re looking for a simple, super-easy to modify, free WordPress theme, check out BizTech from the folks at Web Design. Developed by Yours Truly.]]></description> <content:encoded><![CDATA[<p>If you&#8217;re looking for a simple, super-easy to modify, free WordPress theme, check out <a title="BizTech Free WordPress Theme" href="http://webdesign.com/free-wordpress-blog-theme-biztech/">BizTech</a> from the folks at <a title="Web Design" href="http://webdesign.com/">Web Design</a>. Developed by <a title="Nathan Rice" href="http://www.nathanrice.net/about/">Yours Truly</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/biztech-free-wordpress-theme/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Join the Public Developer Beta for the Prodigy Theme</title><link>http://www.nathanrice.net/blog/join-the-public-developer-beta-for-the-prodigy-theme/</link> <comments>http://www.nathanrice.net/blog/join-the-public-developer-beta-for-the-prodigy-theme/#comments</comments> <pubDate>Wed, 15 Jul 2009 05:55:06 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Planet WordPress]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=600</guid> <description><![CDATA[Introducing a revolutionary new WordPress Theme Framework. If you're interested in joining the developer's public beta for this new framework, read on!]]></description> <content:encoded><![CDATA[<p>For the last several months, I&#8217;ve been quietly developing a theme framework for <a href="http://ithemes.nathanrice.net/">iThemes</a> &#8212; a framework we could use to offer solid code, killer designs, and futureproofing (one of our most common requests at <a href="http://ithemes.nathanrice.net/">iThemes</a>).</p><p>A couple of weeks ago, I invited a few people to join a private beta of the theme (called <strong>Prodigy</strong>, in case you hadn&#8217;t gathered), and it has been silky smooth. Hardly any complaints or bugs, and TONS of compliments. So, I think the theme is ready for a public beta, and you&#8217;re all invited!!!<span id="more-600"></span></p><p>Just to be clear, this theme is definitely for developers (right now). After a little more work getting the framework settled, we&#8217;ll start pumping out some killer designs based on the <a href="http://prodigytheme.com/">Prodigy</a> framework and everybody will be able to enjoy the benefits of <a href="http://prodigytheme.com/">Prodigy</a>. Until then, I&#8217;d recommend waiting unless you are somewhat comfortable with <abbr title="PHP: Hypertext Preprocessor (server-side scripting language)">PHP</abbr> and <abbr title="Cascading Stylesheets">CSS</abbr>.</p><h2>The Default Child Theme</h2><p><a href="http://prodigytheme.com/">Prodigy</a>, by itself, is pretty ugly. It&#8217;s completely unstyled. But I&#8217;ve created a default theme for <a href="http://prodigytheme.com/">Prodigy</a> called &#8220;Legacy&#8221; that will serve as a sample theme for you to use as your guide to creating child themes with <a href="http://prodigytheme.com/">Prodigy</a>. To see it in action, head over to <a href="http://prodigytheme.com/">Prodigy Central</a> and take a look around. Yes, it&#8217;s simple, minimalistic, and bare-bones. But it does offer a solid typographic foundation to build on, and with a splash of color via <abbr title="Cascading Stylesheets">CSS</abbr>, it could look pretty darn sweet.</p><p>Oh yeah, both <a href="http://prodigytheme.com/">Prodigy</a> and <em>Legacy</em> are both <strong>COMPLETELY FREE</strong>, and always will be. We&#8217;ll probably develop some commercial child themes in the future, but the framework itself will always be 100% free and <abbr title="The GNU General Public License">GPL</abbr>.</p><h2>What Makes Prodigy So Special?</h2><p>Well, that&#8217;s a hard thing to explain. What I tried to accomplish with <a href="http://prodigytheme.com/">Prodigy</a> is offer an <abbr title="Hypertext Markup Language">HTML</abbr> framework that could be utilized out of the box, but could be easily extended or replaced with your own creation by taking extensive advantage of Hooks. These hooks are scattered throughout various locations in the <abbr title="Hypertext Markup Language">HTML</abbr> output, offering you endless options for inserting custom code exactly where you want it without editing core files.</p><p>If that sounds like gibberish to you, fear not. There will be a variety of awesome tutorials to come shortly that will explain all these concepts in greater depth, with some real-world examples.</p><p>Along with offering a solid <abbr title="Hypertext Markup Language">HTML</abbr> framework, I&#8217;ve added some killer <abbr title="Search Engine Optimization">SEO</abbr> options that make fine-tuning your <abbr title="Search Engine Optimization">SEO</abbr> a breeze. The theme takes care of most of the work, but there are a few options that you can tweak from within the post/page edit screen. Take a look:</p><p><a href="http://www.nathanrice.net/wp-content/uploads/2009/07/seo-options.jpg"><img class="alignnone size-medium wp-image-601" title="seo-options" src="http://www.nathanrice.net/wp-content/uploads/2009/07/seo-options-262x300.jpg" alt="seo-options" width="262" height="300" /></a></p><p>As you can see, <a href="http://prodigytheme.com/">Prodigy</a> makes it super-easy to control the <abbr title="Search Engine Optimization">SEO</abbr> of each individual post/page.</p><p>I could go on forever. There are functions to easily create new widget areas, <a href="http://www.feedburner.com/">feedburner</a> redirection (say bye-bye to the <a href="http://www.google.com/support/feedburner/bin/answer.py?hl=en&amp;answer=78483">Feedsmith plugin</a>), hooks all over the place, included reset.css and <a href="http://codex.wordpress.org/CSS#WordPress_Generated_Classes">WordPress recommended styles</a>, and other stuff that just can&#8217;t be explained.</p><h2>So How Do I Become a Beta Tester?</h2><p>Easy &#8230; just follow <a href="http://prodigytheme.com/join-the-prodigy-developers-beta/">the instructions</a> at <a href="http://prodigytheme.com/">Prodigy Central</a>. You can either download the ZIP or you can pull the code directly using <abbr title="Subversion">SVN</abbr> (which I highly recommend).</p><p>All I ask is that you help provide constructive feedback for me so I can make the theme better. I want this entire project to be one of the best themes available, and I can&#8217;t do that without you.</p><h2>Providing Feedback</h2><p>I&#8217;ve <a href="http://prodigytheme.com/dev-beta/">set up a P2 site</a> that lets us talk about Prodigy features, bugs, requests, etc. If you would like access to post to that blog (the equivalent of starting a forum thread) just <a href="http://www.nathanrice.net/contact/">email me</a> and I&#8217;ll set you up an account. Be brutal, but be courteous. I want to make the theme everything you want it to be, so I&#8217;m very interested in hearing your thoughts.</p><p>Also, I&#8217;m a VERY active Twitter user (follow me <a href="http://twitter.com/nathanrice">@nathanrice</a>) and I&#8217;ve chosen <a href="http://search.twitter.com/search?q=prodigywp">#prodigywp</a> as the official hashtag for <a href="http://prodigytheme.com/">Prodigy</a> discussion on Twitter. Just hashtag your tweet with <em>#prodigywp</em> and I will absolutely see it, along with the rest of the <a href="http://prodigytheme.com/">Prodigy community</a>. And if you want to track the conversation around Prodigy on Twitter, just follow the <em>#prodigywp</em> hashtag in your favorite Twitter client, or on <a href="http://search.twitter.com/search?q=prodigywp">search.twitter.com</a>.</p><h2>Oh, and By the Way</h2><p>The site you&#8217;re looking at right now (<a href="http://www.nathanrice.net/">NathanRice.net</a>) was build completely on the <a href="http://prodigytheme.com/">Prodigy</a> Framework as a child theme. It just goes to show you how flexible frameworks are, and how much the <a href="http://prodigytheme.com/">Prodigy</a> offers you in the way of extensibility and flexibility. Yes, you CAN create a site like this one, and much more complex sites too, all on top of the <a href="http://prodigytheme.com/">Prodigy</a> Framework, without ever editing core code.</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/join-the-public-developer-beta-for-the-prodigy-theme/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Final Word on WordPress Themes and the GPL?</title><link>http://www.nathanrice.net/blog/final-word-on-wordpress-themes-and-the-gpl/</link> <comments>http://www.nathanrice.net/blog/final-word-on-wordpress-themes-and-the-gpl/#comments</comments> <pubDate>Thu, 02 Jul 2009 07:09:10 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Planet WordPress]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=596</guid> <description><![CDATA[Matt Mullenweg, the founder and lead developer of the WordPress blogging platform, emailed the Software Freedom Center recently asking about the legality of WordPress themes being licensed under copyright not compatible with the GPL, and they&#8217;ve now responded, which Matt has published on the WordPress Development Blog. The conclusion? The PHP files in WordPress themes [...]]]></description> <content:encoded><![CDATA[<p><a href="http://ma.tt/">Matt Mullenweg</a>, the founder and lead developer of the WordPress blogging platform, emailed the <a href="http://en.wikipedia.org/wiki/Software_Freedom_Law_Center">Software Freedom Center</a> recently asking about the legality of WordPress themes being licensed under copyright not compatible with the <abbr title="GNU General Public License">GPL</abbr>, and they&#8217;ve now responded, which Matt <a href="http://wordpress.org/development/2009/07/themes-are-gpl-too/">has published</a> on the <a href="http://wordpress.org/development/">WordPress Development Blog</a>.</p><p>The conclusion? <strong>The PHP files in WordPress themes must inherit the </strong><abbr title="GNU General Public License"><strong>GPL</strong></abbr><strong>, but <abbr title="Cascading Stylesheets">CSS</abbr> and Images do not.</strong> From the email:<br /> <span id="more-597"></span></p><blockquote><p>The PHP elements, taken together, are clearly derivative of WordPress code.</p></blockquote><p>Obviously, since many premium theme developers, including <a href="http://ithemes.nathanrice.net/">iThemes</a>, have <a href="http://www.nathanrice.net/blog/ithemes-wordpress-and-the-gpl/">adopted the <abbr title="GNU General Public License">GPL</abbr></a> completely for their themes, including <abbr title="Cascading Stylesheets">CSS</abbr> and Images, this news doesn&#8217;t make a big difference for us.</p><p>But because neither side can claim they were <em>100%</em> correct, the declaration is bittersweet to those on both sides of the issue.</p><p>Those claiming that themes must be completely covered by the <abbr title="GNU General Public License">GPL</abbr> can no longer claim that:</p><blockquote><p>&#8230; the images and <abbr title="Cascading Stylesheets">CSS</abbr> are not [subject to the requirements of the <abbr title="GNU General Public License">GPL</abbr>]. Third-party developers of such themes may apply restrictive copyrights to these elements if they wish.</p></blockquote><p>But those claiming that they can license their themes &#8212; <em>in their entirety</em> &#8212; under a restrictive license seem to have been in the wrong as well. <strong>Or were they?</strong></p><p>In the last paragraph of the email, it seems there is, at the very least, a potential loophole.</p><blockquote><p>Finally, we note that it might be possible to design a valid WordPress theme that avoids the factors that subject it to WordPress’s copyright, but such a theme would have to forgo almost all the WordPress functionality that makes the software useful.</p></blockquote><p>If it&#8217;s possible, though not ideal, for a WordPress theme to run independent of WordPress itself, then one must assume (at least from the wording of that paragraph) that the PHP code isn&#8217;t necessarily required to be subject to the requirements of the <abbr title="GNU General Public License">GPL</abbr>.</p><p>Obviously, this is the first time anyone has been able to speak about the issue with authority, so this is helpful. But I&#8217;m afraid this story isn&#8217;t over yet.</p><p>I, obviously, support licensing themes (free or paid) under the <abbr title="GNU General Public License">GPL</abbr>. But despite this latest news, I&#8217;m still very reluctant to say that the legality of the issue has been completely cleared up. There are still too many questions, and not nearly enough answers. One thing is for sure, theme authors have been adopting the <abbr title="GNU General Public License">GPL</abbr> all over the place lately. And WordPress just launched their <a href="http://wordpress.org/extend/themes/commercial/">commercial <abbr title="GNU General Public License">GPL</abbr> theme directory</a> today. Perhaps the legality of all this <abbr title="GNU General Public License">GPL</abbr> talk doesn&#8217;t even matter any more.</p><p><em>What do you think? </em></p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/final-word-on-wordpress-themes-and-the-gpl/feed/</wfw:commentRss> <slash:comments>39</slash:comments> </item> <item><title>What Do You Want to Know About WordPress?</title><link>http://www.nathanrice.net/blog/what-do-you-want-to-know-about-wordpress/</link> <comments>http://www.nathanrice.net/blog/what-do-you-want-to-know-about-wordpress/#comments</comments> <pubDate>Tue, 30 Jun 2009 13:00:49 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Asides]]></category> <category><![CDATA[Blog]]></category> <category><![CDATA[Planet WordPress]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=591</guid> <description><![CDATA[If you have a question about WordPress that you want me to answer here on the blog, leave it in the comments and I might do a post on it.]]></description> <content:encoded><![CDATA[<p>Over the next few weeks, I want to take reader-submitted questions about <a href="http://wordpress.org/">WordPress</a> and answer them here on the blog. Have a question about themes? Plugins? Simple or complicated &#8212; it doesn&#8217;t matter!</p><p>If I pick your question, I&#8217;ll answer it (in as much detail as necessary) here on the blog, and link to you as the source of the question.</p><p>Hopefully this will be a BIG help to everyone out there, and make for some really good conversation! Leave your questions <a href="http://www.nathanrice.net/blog/what-do-you-want-to-know-about-wordpress/">in the comments</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/what-do-you-want-to-know-about-wordpress/feed/</wfw:commentRss> <slash:comments>24</slash:comments> </item> <item><title>iThemes, WordPress, and the GPL</title><link>http://www.nathanrice.net/blog/ithemes-wordpress-and-the-gpl/</link> <comments>http://www.nathanrice.net/blog/ithemes-wordpress-and-the-gpl/#comments</comments> <pubDate>Thu, 11 Jun 2009 13:48:01 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Planet WordPress]]></category> <category><![CDATA[gpl]]></category> <category><![CDATA[ithemes]]></category> <category><![CDATA[premium wordpress themes]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=572</guid> <description><![CDATA[Since starting iThemes back in early 2008, one thing Cory, and I when I joined the team, were justifiably concerned with was protecting our products, and of course our hard work, from being stolen or used without permission. This was our livelihood, so we couldn&#8217;t fool around. Even though we both believed that we would [...]]]></description> <content:encoded><![CDATA[<p>Since starting <a href="http://ithemes.nathanrice.net/">iThemes</a> back in early 2008, one thing <a href="http://corymiller.com/">Cory</a>, and I when I joined the team, were justifiably concerned with was protecting our products, and of course our hard work, from being stolen or used without permission. This was our livelihood, so we couldn&#8217;t fool around.</p><p>Even though we both believed that we would have been within our rights to copyright the entire work, we decided that we would license all WordPress code in our themes (function calls, loops, etc.) as <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>, and protect our images, stylesheets, etc., under a copyright. We felt it was a good compromise.<span id="more-572"></span></p><p>Ever since then, we&#8217;ve been internally debating the subject, going back and forth over the benefits vs. risks involved with licensing our themes completely under the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>, and <strong>have finally decided, in the interest of our users, and the WordPress community at large, that we should cover all our themes, in their entirety, with the <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a> license.</strong></p><h2>What This Means for Us</h2><p>Not much is going to change here. We&#8217;ll still continue to bring <a href="http://ithemes.nathanrice.net/">premium WordPress themes</a> to our customers on a regular basis. For us, this was about respecting the license of the platform upon which we build our themes, <a href="http://wordpress.org/">WordPress</a>.</p><h2>What This Means for Future Customers</h2><p>Again, not much is going to change there either. <a href="http://ithemes.nathanrice.net/">The themes</a> will still be the product, and they will continue to be &#8220;for sale&#8221;. However, because we are adopting a less restrictive license, there are a couple of changes that will have to happen:</p><ul><li>All our themes will be &#8220;multiple use&#8221;</li><li>Prices will likely drop</li><li>Our support model will likely change</li></ul><p>But for previous customers, don&#8217;t worry, nothing much is going to change for you. The only difference is that if you purchase a &#8220;single use&#8221; package sometime in the past, you are now free to use the theme on as many sites as you would like.</p><h2>Yes, iThemes Is Now 100% GPL Compliant</h2><p>So there you go. Though it wasn&#8217;t a huge change from our previous license, we do want to celebrate. <strong>Ultimately, this is good for everyone.</strong> We understand that there will likely be some questions and concerns, so please don&#8217;t hesitate to let us know in the <a href="http://www.nathanrice.net/ithemes-wordpress-and-the-gpl/#respond">comments</a> below, or <a href="http://ithemes.com/contact/">sending an email</a> to us. We&#8217;ll do our best to answer everyone who emails us.</p><p>You can also go and read the <a href="http://ithemes.com/ithemes-is-going-gpl/">official announcement from iThemes</a>.</p><p><strong>What do you think?</strong> Do you consider this a good move? A bad move? Let me know in the comments below. I&#8217;m <strong>very interested</strong> in what everyone thinks.</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/ithemes-wordpress-and-the-gpl/feed/</wfw:commentRss> <slash:comments>15</slash:comments> </item> <item><title>An Introduction to WordPress Action Hooks</title><link>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/</link> <comments>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/#comments</comments> <pubDate>Wed, 10 Jun 2009 10:00:47 +0000</pubDate> <dc:creator>Nathan Rice</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Planet WordPress]]></category> <category><![CDATA[action hooks]]></category> <category><![CDATA[actions]]></category> <category><![CDATA[hooks]]></category> <category><![CDATA[wordpress]]></category><guid isPermaLink="false">http://www.nathanrice.net/?p=486</guid> <description><![CDATA[If you&#8217;re going to be doing any level of WordPress development, themes or plugins, you will invariably run into the need to take advantage of the WordPress Action Hook system. But the more I am able to talk to people in the community, the more I realize that people simply don&#8217;t understand the concept very [...]]]></description> <content:encoded><![CDATA[<p>If you&#8217;re going to be doing <i>any</i> level of WordPress development, <em>themes or plugins</em>, you will invariably run into the need to take advantage of the <strong>WordPress Action Hook</strong> system. <strong>But the more I am able to talk to people in the community, the more I realize that people simply don&#8217;t understand the concept very well, or at all.</strong></p><p>In fact, one of the biggest barriers to using what is referred to as a <a href="http://codex.wordpress.org/Theme_Frameworks">Theme Framework</a> or creating their own plugins is the fact that they rely heavily on Action Hooks to function properly.</p><p>Understanding this concept accelerated my level of development skills immediately after I figured out what hooks were, and how they worked. And today, I want to help you find that path too.<span id="more-486"></span></p><h2>So, What Are WordPress Action Hooks?</h2><p>This can be a very easy, and a somewhat difficult thing to explain. <strong>Action hooks are essentially placeholders. Wherever an action hook is placed, it will execute any code that has been &#8220;hooked&#8221; to it.</strong></p><p>So, let&#8217;s try to visualize this with some default WordPress action hooks that are in most themes. You can find <code>wp_head</code> and <code>wp_footer</code> in just about every single theme available, and most people don&#8217;t realize <strong>these are action hooks</strong>. They&#8217;re simply placeholders that plugins can use to insert code into the <code>&lt;head&gt;</code> and footer of the theme. Often times, they use these action hooks to insert things like <code>CSS</code> or Analytics code. They create a function that generates the code, and then &#8220;hook&#8221; that function to either <code>wp_head</code> or <code>wp_footer</code>.</p><p>If I could wrap up the concept in one sentence, it would be this: <strong>WordPress action hooks are a means of providing a way for other developers to insert their own code in specific locations within your code, in order to change or expand the functionality of your code.</strong></p><h2>Why Action Hooks Are Necessary</h2><p>Like any other major piece of software, WordPress evolves. Every few months a new version is released.</p><p>Let&#8217;s assume that action hooks didn&#8217;t exist, but you wanted to change or extend some function of WordPress. In order to do this, you have to modify core WordPress files. And when it comes time to upgrade, you&#8217;re left with a choice: do the upgrade and lose all my modifications, or stay with the old version.</p><p>But <strong>if you use action hooks to modify how WordPress works, you can upgrade knowing that your mods are in a separate file which makes the changes the correct way, and you won&#8217;t be in danger of having those mods overwritten during the upgrade.</strong></p><h2>How Do Action Hooks Work?</h2><p>Going back to the example of the <code>wp_head</code> and <code>wp_footer</code> actions, let&#8217;s assume that you wanted to insert some <code>CSS</code> in your <code>&lt;head&gt;</code> section of your theme so that you can override the link colors.</p><p>(don&#8217;t worry about the &#8220;what&#8221; so much. the &#8220;how&#8221; is much more important here).</p><p><strong>The first thing you need to do is create a function that inserts the code.</strong> Because action hooks only allow functions to be &#8220;hooked&#8221; to them, we&#8217;ll need to create a function that generates the code:</p><pre>
function insert_some_css() {
	echo &lt;&lt;&lt;CSS
&lt;style type="text/css"&gt;
	a {
		color: #08FF00; /* green */
		text-decoration: none;
	}
	a:hover {
		color: #FF0000; /* red */
		text-decoration: underline;
	}
&lt;/style&gt;
	CSS;
}
</pre><p>So, once you have your function constructed, it&#8217;s time to &#8220;hook&#8221; the function to the <code>wp_head</code> action hook. It&#8217;s pretty easy:</p><pre>
add_action('wp_head', 'insert_some_css');
</pre><p>In layman&#8217;s terms, that line of code is saying, &#8220;Whenever the <code>wp_head</code> action shows up in the theme code, execute the <code>insert_some_css</code> function.&#8221;</p><p>My final code usually looks something like this:</p><pre>
add_action('wp_head', 'insert_some_css');
function insert_some_css() {
	echo &lt;&lt;&lt;CSS
&lt;style type="text/css"&gt;
	a {
		color: #08FF00; /* green */
		text-decoration: none;
	}
	a:hover {
		color: #FF0000; /* red */
		text-decoration: underline;
	}
&lt;/style&gt;
	CSS;
}
</pre><p>It&#8217;s really not a difficult concept, if you think about it. <strong>All you need to do is find an action hook that you want to use to output some code, create a function, and hook the function to that action using the <code>add_action</code> code I gave you above.</strong></p><p class="note">As always, be sure any PHP code is placed between opening and closing PHP tags, or it will not execute.</p><h2>Creating Your Own Action Hooks</h2><p>While WordPress <a href="http://codex.wordpress.org/Plugin_API/Action_Reference">does provide</a> you with a LOT of action hooks that you can take advantage of, you can <a href="http://codex.wordpress.org/Function_Reference/do_action">create your own</a> too, <strong>giving your theme or plugin the same benefit of letting other people make changes to your code, without having to edit your code.</strong></p><p>So, if you want to provide an action hook that will execute any functions that are &#8220;hooked&#8221; to it, just use this code:</p><pre>
&lt;?php do_action('my_action_hook_name'); ?&gt;
</pre><p>Of course, change the <code>my_action_hook_name</code> to something unique that describes the location and/or purpose of the action hook.</p><p>And now, anyone can come along and hook their own function to your newly created action hook.</p><h2>Other Sources on Action Hooks</h2><ul><li>Ian Stewart explains <a href="http://themeshaper.com/action-hooks-wordpress-child-themes/">action hooks for Child Themes</a></li><li>Raymond Selda <a href="http://www.raymondselda.com/understanding-action-hooks-in-wordpress/">explains the concept</a>, with examples</li><li>The Codex page for <a href="http://codex.wordpress.org/Plugin_API">Plugin API</a> has some good info</li><li>The Codex lists <a href="http://codex.wordpress.org/Plugin_API/Action_Reference">all the default actions hooks</a> you can use</li></ul><p>So, now you know what the fuss is all about. Take it for a spin, and let me know what you think of it in the comments. And if you have any questions, I&#8217;d be happy to try to answer them.</p> ]]></content:encoded> <wfw:commentRss>http://www.nathanrice.net/blog/an-introduction-to-wordpress-action-hooks/feed/</wfw:commentRss> <slash:comments>31</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 6/40 queries in 0.017 seconds using disk: basic
Object Caching 522/599 objects using disk: basic

Served from: www.nathanrice.net @ 2012-05-17 00:31:59 -->
