<?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>Xavisys&#187; WordPress Themes</title>
	<atom:link href="http://xavisys.com/category/wordpress-themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://xavisys.com</link>
	<description>WordPress Plugins and Custom WordPress Development</description>
	<lastBuildDate>Wed, 16 Nov 2011 20:45:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://xavisys.com/?pushpress=hub'/>
		<item>
		<title>GPL Themes Get Some Love, Plugins Suffer?</title>
		<link>http://xavisys.com/gpl-themes-love-plugins-suffer/</link>
		<comments>http://xavisys.com/gpl-themes-love-plugins-suffer/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 23:14:48 +0000</pubDate>
		<dc:creator>Aaron D. Campbell</dc:creator>
				<category><![CDATA[WordPress News]]></category>
		<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[State of the Word]]></category>
		<category><![CDATA[WordPress Plugins]]></category>

		<guid isPermaLink="false">http://wpinformer.com/?p=103</guid>
		<description><![CDATA[Matt Mullenweg asked the Software Freedom Law Center whether WordPress Themes are GPL too. One sentence summary: PHP in WordPress themes must be GPL, artwork and CSS may be but are not required. As a huge proponent of the GPL, this is exciting. However, as Joost pointed out in On the GPL, Themes, Plugins &#038; [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ma.tt">Matt</a> Mullenweg asked the <a href="http://en.wikipedia.org/wiki/Software_Freedom_Law_Center" rel="nofollow">Software Freedom Law Center</a> whether WordPress <a href="http://wordpress.org/development/2009/07/themes-are-gpl-too/">Themes are GPL too</a>.  One sentence summary: PHP in WordPress themes must be GPL, artwork and CSS may be but are not required.</p>
<p>As a huge proponent of the GPL, this is exciting.  However, as Joost pointed out in <a href="http://yoast.com/on-the-gpl-themes-plugins-free/">On the GPL, Themes, Plugins &#038; Free</a>, there&#8217;s some disappointment as well.  The exciting part is that a question that&#8217;s long been asked has been answered by a &#8220;pro&#8221; (albeit a biased &#8220;pro&#8221;), and the answer is just what many of us wanted to see.  Now we can get some people to focus on commercially supported GPL themes rather than just themes with more restrictive licenses.  They have even added a <a href="http://wordpress.org/extend/themes/commercial/">Commercially Supported GPL Themes</a> page to wordpress.org!  That&#8217;s awesome, and a great followup to Matt&#8217;s &#8220;<a href="http://wpinformer.com/state-of-the-word-from-wordcamp-part-1/">State of the Word</a>&#8221; talk at WordCamp San Francisco.</p>
<p>So what&#8217;s the problem?  Well, Matt has said that the plugin developers have been the rock stars in the WordPress community, and it&#8217;s time for the theme designers to shine.  I have no problem with the theme designers getting to shine, but as a plugin developer I wonder &#8220;Where is the <a href="http://wordpress.org/extend/plugins/commercial/">Commercially Supported GPL Plugins</a> page?  I love to give to the community with <a href="http://wordpress.org/extend/plugins/profile/aaroncampbell">GPL WordPress plugins</a>, and will continue to do so, but I&#8217;ll also be offering premium support for many of these in the future.  I&#8217;d like to see the same treatment for theme designers and plugin developers.</p>
<p>Having said all that, I&#8217;m really glad to see the GPL themes page and I think it&#8217;s a good step in the right direction.<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://xavisys.com/xavisys-wordpress-plugin-framework/' title='The Xavisys WordPress Plugin Framework'>The Xavisys WordPress Plugin Framework</a></li>
<li><a href='http://xavisys.com/10-great-wordpress-plugins/' title='10 Great WordPress Plugins'>10 Great WordPress Plugins</a></li>
<li><a href='http://xavisys.com/state-word-wordcamp-part-2/' title='State of the Word from WordCamp &#8211; Part 2'>State of the Word from WordCamp &#8211; Part 2</a></li>
<li><a href='http://xavisys.com/state-of-the-word-from-wordcamp-part-1/' title='State of the Word from WordCamp &#8211; Part 1'>State of the Word from WordCamp &#8211; Part 1</a></li>
<li><a href='http://xavisys.com/problem-related-post-plugins/' title='The Problem with Related Post Plugins'>The Problem with Related Post Plugins</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xavisys.com/gpl-themes-love-plugins-suffer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Improve Performance of Your WordPress Theme in 5 Minutes</title>
		<link>http://xavisys.com/improve-performance-of-your-wordpress-theme-in-5-minutes/</link>
		<comments>http://xavisys.com/improve-performance-of-your-wordpress-theme-in-5-minutes/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 13:00:00 +0000</pubDate>
		<dc:creator>Aaron D. Campbell</dc:creator>
				<category><![CDATA[WordPress Themes]]></category>
		<category><![CDATA[WordPress Performance]]></category>

		<guid isPermaLink="false">http://wpinformer.com/?p=40</guid>
		<description><![CDATA[There&#8217;s a quick and relatively simple way to increase the performance of your WordPress theme while reducing overall server load. The problem is that most themes are written to be as portable as possible. This comes in handy because you can just drop in a theme and it works with no editing at all. Unfortunately, [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a quick and relatively simple way to increase the performance of your WordPress theme while reducing overall server load.  The problem is that most themes are written to be as portable as possible.  This comes in handy because you can just drop in a theme and it works with no editing at all.  Unfortunately, it means that a lot of information that never changes is queried from the database anyway.  If you want to speed your theme up, you can customize it to your site and reduce database queries.  All in about 5 minutes.</p>
<p><span id="more-40"></span></p>
<p>In order to simplify the post, I&#8217;m combining the header.php and footer.php into one file.  You should make sure to check both, and maybe even check other files in your theme.  Your theme&#8217;s header.php and footer.php files probably look something like this:</p>
<pre class="brush: php; title: ; notranslate">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &lt;?php language_attributes(); ?&gt;&gt;

&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
	&lt;title&gt;&lt;?php wp_title(''); ?&gt;&lt;/title&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;&lt;?php bloginfo('html_type'); ?&gt;; charset=&lt;?php bloginfo('charset'); ?&gt;&quot; /&gt;

	&lt;?php wp_head(); ?&gt;

	&lt;link rel=&quot;stylesheet&quot; href=&quot;&lt;?php bloginfo('stylesheet_url'); ?&gt;?20090112&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
	&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;RSS Feed&quot; href=&quot;&lt;?php bloginfo('rss2_url'); ?&gt;&quot; /&gt;
	&lt;link rel=&quot;pingback&quot; href=&quot;&lt;?php bloginfo('pingback_url'); ?&gt;&quot; /&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;div id=&quot;page&quot;&gt;

&lt;div id=&quot;header&quot;&gt;

	&lt;h2&gt;&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/a&gt;&lt;/h2&gt;
	&lt;h3 id=&quot;blog-description&quot;&gt;&lt;?php bloginfo('description'); ?&gt;&lt;/h3&gt;

	&lt;ul&gt;
		&lt;li class=&quot;page_item &lt;?php echo ( is_home() )? 'current_page_item':''; ?&gt;&quot;&gt;
			&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;Home&lt;/a&gt;
		&lt;/li&gt;
		&lt;?php wp_list_pages('title_li=&amp;depth=1'); ?&gt;
	&lt;/ul&gt;
	&lt;div id=&quot;wpinformer-rss&quot;&gt;
		&lt;p&gt;&lt;a href=&quot;&lt;?php bloginfo('rss2_url'); ?&gt;&quot;&gt;Subscribe via RSS&lt;/a&gt;&lt;/p&gt;
	&lt;/div&gt;
	&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

&lt;/div&gt;&lt;!-- end header --&gt;
&lt;/div&gt;&lt;!-- end page --&gt;

&lt;div id=&quot;footer-wrap&quot;&gt;

	&lt;div id=&quot;footer&quot;&gt;
		&lt;p&gt;
			&lt;a href=&quot;&lt;?php bloginfo('rss2_url'); ?&gt;&quot;&gt;Entries (RSS)&lt;/a&gt; and
			&lt;a href=&quot;&lt;?php bloginfo('comments_rss2_url'); ?&gt;&quot;&gt;Comments (RSS)&lt;/a&gt;
		&lt;/p&gt;
		&lt;p&gt;
			&lt;a href=&quot;&lt;?php bloginfo('url'); ?&gt;&quot;&gt;&lt;?php bloginfo('name'); ?&gt;&lt;/a&gt; is powered by &lt;a href=&quot;http://wordpress.org&quot;&gt;WordPress&lt;/a&gt;.
		&lt;/p&gt;

		&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
	&lt;/div&gt;

&lt;/div&gt;&lt;!-- end footer-wrap --&gt;
&lt;?php wp_footer(); ?&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>In the above, you can easily remove language_attributes() on line 2, the bloginfo() calls on lines 6, 10, 11, 12, 21, 22, 26, 31, 42, 43, and 46.  In order to find out what to replace them with, simply visit your site and view the (X)HTML source.  Find the sections in the code where the functions you want to replace are, and copy the content to your theme.  The above files change to this:</p>
<pre class="brush: php; title: ; notranslate">
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; dir=&quot;ltr&quot; lang=&quot;en-US&quot;&gt;

&lt;head profile=&quot;http://gmpg.org/xfn/11&quot;&gt;
	&lt;title&gt;&lt;?php wp_title(''); ?&gt;&lt;/title&gt;
	&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;

	&lt;?php wp_head(); ?&gt;

	&lt;link rel=&quot;stylesheet&quot; href=&quot;/wp-content/themes/wpinformer/style.css?20090112&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
	&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot; title=&quot;RSS Feed&quot; href=&quot;/feed/&quot; /&gt;
	&lt;link rel=&quot;pingback&quot; href=&quot;http://wpinformer.com/xmlrpc.php&quot; /&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;div id=&quot;page&quot;&gt;

&lt;div id=&quot;header&quot;&gt;

	&lt;h2&gt;&lt;a href=&quot;http://wpinformer.com/&quot;&gt;WordPress &lt;span&gt;Informer&lt;/span&gt;&lt;/a&gt;&lt;/h2&gt;
	&lt;h3 id=&quot;blog-description&quot;&gt;WordPress News and Resources&lt;/h3&gt;

	&lt;ul&gt;
		&lt;li class=&quot;page_item &lt;?php echo ( is_home() )? 'current_page_item':''; ?&gt;&quot;&gt;
			&lt;a href=&quot;http://wpinformer.com/&quot;&gt;Home&lt;/a&gt;
		&lt;/li&gt;
		&lt;?php wp_list_pages('title_li=&amp;depth=1'); ?&gt;
	&lt;/ul&gt;
	&lt;div id=&quot;wpinformer-rss&quot;&gt;
		&lt;p&gt;&lt;a href=&quot;/feed/&quot;&gt;Subscribe via RSS&lt;/a&gt;&lt;/p&gt;
	&lt;/div&gt;
	&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;

&lt;/div&gt;&lt;!-- end header --&gt;
&lt;/div&gt;&lt;!-- end page --&gt;

&lt;div id=&quot;footer-wrap&quot;&gt;

	&lt;div id=&quot;footer&quot;&gt;
		&lt;p&gt;
			&lt;a href=&quot;http://wpinformer.com/feed/&quot;&gt;Entries (RSS)&lt;/a&gt; and
			&lt;a href=&quot;http://wpinformer.com/comments/feed/&quot;&gt;Comments (RSS)&lt;/a&gt;
		&lt;/p&gt;
		&lt;p&gt;
			&lt;a href=&quot;http://wpinformer.com&quot;&gt;WordPress Informer&lt;/a&gt; is powered by &lt;a href=&quot;http://wordpress.org&quot;&gt;WordPress&lt;/a&gt;.
		&lt;/p&gt;

		&lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
	&lt;/div&gt;

&lt;/div&gt;&lt;!-- end footer-wrap --&gt;
&lt;?php wp_footer(); ?&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>As you can see, all the functions that return static content have been replaced.  What did this gain?  I went from 29 queries taking 1.391 seconds to 24 queries taking 0.868 seconds.  Taking five minutes to fix my theme has eliminated five queries from every page load of my site, and sped up the home page query time by roughly 35-40%.  It&#8217;s a quick easy fix with a huge return.<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://xavisys.com/gpl-themes-love-plugins-suffer/' title='GPL Themes Get Some Love, Plugins Suffer?'>GPL Themes Get Some Love, Plugins Suffer?</a></li>
<li><a href='http://xavisys.com/news-wordpress-29/' title='News About WordPress 2.9'>News About WordPress 2.9</a></li>
<li><a href='http://xavisys.com/free-template-minimalist/' title='Free Template: Minimalist'>Free Template: Minimalist</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://xavisys.com/improve-performance-of-your-wordpress-theme-in-5-minutes/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

