<?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/"
	>

<channel>
	<title>Fun with WordPress</title>
	<atom:link href="http://www.wp-fun.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wp-fun.co.uk</link>
	<description>Using, playing, fixing, breaking, WordPress.</description>
	<pubDate>Thu, 18 Jun 2009 17:24:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>WLTC Plugin Competition: WP Update Message</title>
		<link>http://www.wp-fun.co.uk/2009/06/18/wltc-plugin-competition-wp-update-message/</link>
		<comments>http://www.wp-fun.co.uk/2009/06/18/wltc-plugin-competition-wp-update-message/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 17:24:01 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Developing for WordPress]]></category>

		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1307</guid>
		<description><![CDATA[<p>The latest plugin to be entered into the competition blog is <a href="http://weblogtoolscollection.com/pluginblog/2009/06/18/wp-update-message/">WP Update Message</a>. I quite like this plugin because it isn&#8217;t something that I had thought of myself. What it does is to give you the ability to add a styled message to a page or post to explain that you have updated it and what has changed.</p>
<p>I won&#8217;t go into the options as they are made pretty clear through the screenshots on the WLTC plugin page, but I think they are comprehensive. If you really wanted something different I think the options would cover anything you might want to change.</p>
<p>I really like the idea of making update messages very visible. The following screenshot shows just how visible they are:</p>
<p><img src="http://www.wp-fun.co.uk/wp-content/uploads/2009/06/wp-update-shot.jpg" alt="wp-update-shot" title="wp-update-shot" width="600" height="386" class="alignnone size-full wp-image-1308" /></p>
<p>What this plugin does is really very simple so there isn&#8217;t a lot to analyse. I did have one problem though. Although it is made clear that it should work on both posts and pages they box to enter a message never appeared on my post page (Version 2.8).</p>
<p>I think you also need to wonder about the necessity of a plugin for creating a box with text in. If you know your CSS this is easily accomplished without much trouble, and, you have to ask if you will need to change your posts so often that you even need a defined way of doing this.</p>
<p>If you think you will, and either don&#8217;t know enough CSS, or don&#8217;t want to mess about then this is a pretty good plugin for accomplishing a box with some text in though, so give it a try.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p>The latest plugin to be entered into the competition blog is <a href="http://weblogtoolscollection.com/pluginblog/2009/06/18/wp-update-message/">WP Update Message</a>. I quite like this plugin because it isn&#8217;t something that I had thought of myself. What it does is to give you the ability to add a styled message to a page or post to explain that you have updated it and what has changed.</p>
<p>I won&#8217;t go into the options as they are made pretty clear through the screenshots on the WLTC plugin page, but I think they are comprehensive. If you really wanted something different I think the options would cover anything you might want to change.</p>
<p>I really like the idea of making update messages very visible. The following screenshot shows just how visible they are:</p>
<p><img src="http://www.wp-fun.co.uk/wp-content/uploads/2009/06/wp-update-shot.jpg" alt="wp-update-shot" title="wp-update-shot" width="600" height="386" class="alignnone size-full wp-image-1308" /></p>
<p>What this plugin does is really very simple so there isn&#8217;t a lot to analyse. I did have one problem though. Although it is made clear that it should work on both posts and pages they box to enter a message never appeared on my post page (Version 2.8).</p>
<p>I think you also need to wonder about the necessity of a plugin for creating a box with text in. If you know your CSS this is easily accomplished without much trouble, and, you have to ask if you will need to change your posts so often that you even need a defined way of doing this.</p>
<p>If you think you will, and either don&#8217;t know enough CSS, or don&#8217;t want to mess about then this is a pretty good plugin for accomplishing a box with some text in though, so give it a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/06/18/wltc-plugin-competition-wp-update-message/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HTML 5 Gallery</title>
		<link>http://www.wp-fun.co.uk/2009/06/08/html-5-gallery/</link>
		<comments>http://www.wp-fun.co.uk/2009/06/08/html-5-gallery/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 12:22:59 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<category><![CDATA[html5]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1305</guid>
		<description><![CDATA[<p class="introduction">I&#8217;ve been interested in HTML 5 for a while, especially for theming. Now there is a gallery of HTML 5 sites so you can see, not only that it is viable to use right now, but also see how the specs are being interpretated in the wild.</p>
<p><a href="http://html5gallery.com/">Visit the HTML 5 gallery</a>. There are some great sites on there already.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p class="introduction">I&#8217;ve been interested in HTML 5 for a while, especially for theming. Now there is a gallery of HTML 5 sites so you can see, not only that it is viable to use right now, but also see how the specs are being interpretated in the wild.</p>
<p><a href="http://html5gallery.com/">Visit the HTML 5 gallery</a>. There are some great sites on there already.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/06/08/html-5-gallery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Where next for premium themes?</title>
		<link>http://www.wp-fun.co.uk/2009/06/01/where-next-for-premium-themes/</link>
		<comments>http://www.wp-fun.co.uk/2009/06/01/where-next-for-premium-themes/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 06:44:33 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1301</guid>
		<description><![CDATA[<p>The GPL debate seems to be abating now with the conclusion that buying a theme means paying for support, or, for those that are simply not going to release under GPL that they will live with the consequences of being left out of official channels. Is this the final solution though?</p>
<p>The big question is where can premium theme authors go now? The problems are clear. Selling a theme means giving the purchasers all the power. You hand over the files and trust that, because they paid for it, they won&#8217;t want to give to others for free or worse make a few tweaks and claim it as their own. This is the problem that paid-for themers need to solve, but is the solution a legal or a technical one?</p>
<p>Resolving the whole GPL question through a test case would be a great first step. Everyone has a different opinion of it including the opinion that it is entirely unenforceable. Sure, themes will still need to be GPL licensed to get into the new GPL licensed paid-for theme repository, but that hasn&#8217;t stopped themes selling so far and I doubt it will in futre.</p>
<p>The second option is to find a clever way of building themes so that they key components do not need to licensed under GPL. This is a simple enough matter really and it surprises me a little that so few people have done it. All it takes is a set of generic processing classes that operate on the data that is passed to them so they could work on any platform. The theme can then be used to create a bridge between WordPress and the classes. They wouldn&#8217;t be able to directly connect to WordPress by creating admin pages but they could do a lot that would make it pointless releasing the theme without them.</p>
<p>Finally you can go one better: a hosted theme solution.</p>
<p>There is one very good reason why a hosted solution isn&#8217;t a great idea and that is security. WordPress doesn&#8217;t have a template engine as such, it just processes raw PHP. Hosting PHP files means using eval to run the code or including files from an outside source, something that many hosts turn-off for security reasons, so as it stands this isn&#8217;t a goer. However, if a templating language was available, and I have no doubt that one could be created as a plugin relatively easily, this would all change.</p>
<p>Imagine a solution where you sign-up to a hosted theme solution. All you need is a monthly subscription and the plugin. From there you get access to a massive number of premium themes. But more than that, you also get the means to modify those themes online (think Squarespace), upload new images, change the font&#8217;s and layouts in fact anything you could ever want, and see those changes reflected on your site.</p>
<p>Theme developers get to sell themes without the problem of redistribution as a code would be needed to even download the files, all the key functionality would be on the hosted server and not downloaded by the user ever, users get advanced tools for altering themes, probably more advanced than could be built for WordPress alone and the issue of GPL just goes away.</p>
<p>Perhaps there is a fourth option, if you have any other ideas I would love to hear them, perhaps things will just go along as they always have without a definite answer or solution. It is even possible that the new GPL paid-for themes area on WordPress.org will kill off any themes that are not part of it. The only thing I am sure of is that it isn&#8217;t over.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p>The GPL debate seems to be abating now with the conclusion that buying a theme means paying for support, or, for those that are simply not going to release under GPL that they will live with the consequences of being left out of official channels. Is this the final solution though?</p>
<p>The big question is where can premium theme authors go now? The problems are clear. Selling a theme means giving the purchasers all the power. You hand over the files and trust that, because they paid for it, they won&#8217;t want to give to others for free or worse make a few tweaks and claim it as their own. This is the problem that paid-for themers need to solve, but is the solution a legal or a technical one?</p>
<p>Resolving the whole GPL question through a test case would be a great first step. Everyone has a different opinion of it including the opinion that it is entirely unenforceable. Sure, themes will still need to be GPL licensed to get into the new GPL licensed paid-for theme repository, but that hasn&#8217;t stopped themes selling so far and I doubt it will in futre.</p>
<p>The second option is to find a clever way of building themes so that they key components do not need to licensed under GPL. This is a simple enough matter really and it surprises me a little that so few people have done it. All it takes is a set of generic processing classes that operate on the data that is passed to them so they could work on any platform. The theme can then be used to create a bridge between WordPress and the classes. They wouldn&#8217;t be able to directly connect to WordPress by creating admin pages but they could do a lot that would make it pointless releasing the theme without them.</p>
<p>Finally you can go one better: a hosted theme solution.</p>
<p>There is one very good reason why a hosted solution isn&#8217;t a great idea and that is security. WordPress doesn&#8217;t have a template engine as such, it just processes raw PHP. Hosting PHP files means using eval to run the code or including files from an outside source, something that many hosts turn-off for security reasons, so as it stands this isn&#8217;t a goer. However, if a templating language was available, and I have no doubt that one could be created as a plugin relatively easily, this would all change.</p>
<p>Imagine a solution where you sign-up to a hosted theme solution. All you need is a monthly subscription and the plugin. From there you get access to a massive number of premium themes. But more than that, you also get the means to modify those themes online (think Squarespace), upload new images, change the font&#8217;s and layouts in fact anything you could ever want, and see those changes reflected on your site.</p>
<p>Theme developers get to sell themes without the problem of redistribution as a code would be needed to even download the files, all the key functionality would be on the hosted server and not downloaded by the user ever, users get advanced tools for altering themes, probably more advanced than could be built for WordPress alone and the issue of GPL just goes away.</p>
<p>Perhaps there is a fourth option, if you have any other ideas I would love to hear them, perhaps things will just go along as they always have without a definite answer or solution. It is even possible that the new GPL paid-for themes area on WordPress.org will kill off any themes that are not part of it. The only thing I am sure of is that it isn&#8217;t over.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/06/01/where-next-for-premium-themes/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MU for all</title>
		<link>http://www.wp-fun.co.uk/2009/05/30/mu-for-all/</link>
		<comments>http://www.wp-fun.co.uk/2009/05/30/mu-for-all/#comments</comments>
		<pubDate>Sat, 30 May 2009 20:52:02 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1299</guid>
		<description><![CDATA[<p><a href="http://wpmututorials.com/news/breaking-news-from-wordcamp-sf/">The news</a> coming out of WordCamp SF is that WordPress.org and WordPress MU will be merged, albeit at an undefined point in the future.</p>
<p>I know at least one person who will want to point out that Habari already has single and multiple blog support in the one package.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p><a href="http://wpmututorials.com/news/breaking-news-from-wordcamp-sf/">The news</a> coming out of WordCamp SF is that WordPress.org and WordPress MU will be merged, albeit at an undefined point in the future.</p>
<p>I know at least one person who will want to point out that Habari already has single and multiple blog support in the one package.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/05/30/mu-for-all/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adding classes to comments</title>
		<link>http://www.wp-fun.co.uk/2009/05/29/adding-classes-to-comments/</link>
		<comments>http://www.wp-fun.co.uk/2009/05/29/adding-classes-to-comments/#comments</comments>
		<pubDate>Fri, 29 May 2009 19:43:34 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Developing for WordPress]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1294</guid>
		<description><![CDATA[<p class="introduction">A couple of days ago I was trying to add classes to comments using WordPress 2.7+ filter <em>comment_class</em>. I ran into a little confusion which I thought could tie someone up and though I should share it.</p>
<p>To start with here is how it works:</p>
<pre class="php">add_filter<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">&quot;comment_class&quot;</span> , <span style="color: #ff0000;">&quot;add_class&quot;</span> , <span style="color: #cc66cc;">10</span> , <span style="color: #cc66cc;">4</span> <span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> add_class<span style="color: #66cc66;">&#40;</span>  <span style="color: #0000ff;">$classes</span>, <span style="color: #0000ff;">$class</span>, <span style="color: #0000ff;">$comment_id</span>, <span style="color: #0000ff;">$page_id</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//get the comment object</span>
<span style="color: #0000ff;">$_comment</span> = get_comment<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$comment_id</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//do stuff with comment</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//add our new class</span>
<span style="color: #0000ff;">$classes</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">&quot;newclass&quot;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//send the array back</span>
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$classes</span>;
&nbsp;
<span style="color: #66cc66;">&#125;</span></pre>
<p>This is all simple enough, and works without issue. But it isn&#8217;t doing quite what it appears to be doing, and this is where the confusion comes in.</p>
<p>When the filter is actually run it does indeed pass those four variables ($classes, $class, $comment_id, $page_id). However, in the function that calls the filter, and the function that calls that function, the comment_id and page_id are optional. They set themselves to Null if a value isn&#8217;t given. When this whole chain begins the comment_id and page_id are not actually passed to any of those functions, so although the filter is sending them, their value is Null.</p>
<p>In the example above that isn&#8217;t a problem because get_comment checks to see if the comment_id passed was empty and if so goes off and grabs the comment from a global variable. So it does return the right comment. But if you wanted to use the comment_id or the page_id to grab a value that you have saved somewhere else (in one of your own options, or perhaps you are getting a custom field) this could confuse matters. It won&#8217;t work.</p>
<p>So, to sum it all up. If you want the comment_id or the page_id you need to get the comment, as shown above, and then get those values from the comment. You cannot rely on the filter passing those values.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p class="introduction">A couple of days ago I was trying to add classes to comments using WordPress 2.7+ filter <em>comment_class</em>. I ran into a little confusion which I thought could tie someone up and though I should share it.</p>
<p>To start with here is how it works:</p>
<pre class="php">add_filter<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">&quot;comment_class&quot;</span> , <span style="color: #ff0000;">&quot;add_class&quot;</span> , <span style="color: #cc66cc;">10</span> , <span style="color: #cc66cc;">4</span> <span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> add_class<span style="color: #66cc66;">&#40;</span>  <span style="color: #0000ff;">$classes</span>, <span style="color: #0000ff;">$class</span>, <span style="color: #0000ff;">$comment_id</span>, <span style="color: #0000ff;">$page_id</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//get the comment object</span>
<span style="color: #0000ff;">$_comment</span> = get_comment<span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$comment_id</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//do stuff with comment</span>
&nbsp;
<span style="color: #808080; font-style: italic;">//add our new class</span>
<span style="color: #0000ff;">$classes</span><span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">&quot;newclass&quot;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">//send the array back</span>
<span style="color: #b1b100;">return</span> <span style="color: #0000ff;">$classes</span>;
&nbsp;
<span style="color: #66cc66;">&#125;</span></pre>
<p>This is all simple enough, and works without issue. But it isn&#8217;t doing quite what it appears to be doing, and this is where the confusion comes in.</p>
<p>When the filter is actually run it does indeed pass those four variables ($classes, $class, $comment_id, $page_id). However, in the function that calls the filter, and the function that calls that function, the comment_id and page_id are optional. They set themselves to Null if a value isn&#8217;t given. When this whole chain begins the comment_id and page_id are not actually passed to any of those functions, so although the filter is sending them, their value is Null.</p>
<p>In the example above that isn&#8217;t a problem because get_comment checks to see if the comment_id passed was empty and if so goes off and grabs the comment from a global variable. So it does return the right comment. But if you wanted to use the comment_id or the page_id to grab a value that you have saved somewhere else (in one of your own options, or perhaps you are getting a custom field) this could confuse matters. It won&#8217;t work.</p>
<p>So, to sum it all up. If you want the comment_id or the page_id you need to get the comment, as shown above, and then get those values from the comment. You cannot rely on the filter passing those values.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/05/29/adding-classes-to-comments/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WLTC Plugin Competition: WP-Devel</title>
		<link>http://www.wp-fun.co.uk/2009/05/26/wltc-plugin-competition-wp-devel/</link>
		<comments>http://www.wp-fun.co.uk/2009/05/26/wltc-plugin-competition-wp-devel/#comments</comments>
		<pubDate>Tue, 26 May 2009 17:08:28 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Plugin]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1286</guid>
		<description><![CDATA[<p class="introduction">So the next plugin entered into the competition is <a href="http://weblogtoolscollection.com/pluginblog/2009/05/26/wp-devel/">WP-Devel</a>.</p>
<p>What this plugin does, quite openly (i.e. this isn&#8217;t a criticism) is take the functionality provided by three plugins and package it up a little better using the fourth:</p>
<ul>
<li>http://wordpress.org/extend/plugins/wp-debug/</li>
<li>http://wordpress.org/extend/plugins/debug-queries/</li>
<li>http://wordpress.org/extend/plugins/show-template/</li>
<li>http://wordpress.org/extend/plugins/wordpress-admin-bar/</li>
</ul>
<p>It provides a massive amount of debugging information  (when you are viewing public pages and logged in as an admin) including:</p>
<ul>
<li>Show template file viewing</li>
<li>Display page/query load times</li>
<li>Display all queries executed w/ load times</li>
<li>Show all phpinfo</li>
<li>WP_Query and WP array values</li>
<li>Included files</li>
<li>Included functions</li>
<li>Declared classes</li>
<li>HTTP Headers</li>
<li>Defined constants</li>
<li>Current cookies</li>
<li>Values in $_SERVER</li>
<li>Values in $_ENV</li>
<li>Values in $_SESSION</li>
<li>Values in $_POST</li>
<li>Values in $_GET</li>
<li>Values in $_REQUEST</li>
</ul>
<p>To be honest though it provides far too much information. Getting the information is all well and good but I couldn&#8217;t even find some of my classes in the list. It is hard for me to see how I could use this more effectively than a simple var_dump of the one thing I actually needed to see.</p>
<p>It isn&#8217;t really fair to criticise this plugin for that though as these things all came from somewhere else. That is the real reason why I wouldn&#8217;t rate this plugin in a competition.</p>
<p>A key reason that I decided to rate all the plugins myself is that I wasn&#8217;t happy with last year&#8217;s winner. Not because the plugin was bad, it wasn&#8217;t. By all accounts it was a good a plugin. But much of the code and ideas had already been done. Sure they were done in a longhand manner, sometimes by altering the theme, but I saw nothing new in it, and that is what I want: new, original, interesting, and complete.</p>
<p>This plugin isn&#8217;t as useful as last year&#8217;s winner (WP Comment Remix). Partly because it is aimed at the very people who know how to get at the information themselves anyway and partly because there are far fewer folks who would use this functionality, no matter how good it is, than would be interested in fancy commenting stuff.</p>
<p>I don&#8217;t think I&#8217;ll use it for developing my theme, and I don&#8217;t think it is going to score well in my rating of the competition, but I would be interested to hear from anyone who has used this, or the plugins that were collected together to make this, and found it to be useful.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p class="introduction">So the next plugin entered into the competition is <a href="http://weblogtoolscollection.com/pluginblog/2009/05/26/wp-devel/">WP-Devel</a>.</p>
<p>What this plugin does, quite openly (i.e. this isn&#8217;t a criticism) is take the functionality provided by three plugins and package it up a little better using the fourth:</p>
<ul>
<li>http://wordpress.org/extend/plugins/wp-debug/</li>
<li>http://wordpress.org/extend/plugins/debug-queries/</li>
<li>http://wordpress.org/extend/plugins/show-template/</li>
<li>http://wordpress.org/extend/plugins/wordpress-admin-bar/</li>
</ul>
<p>It provides a massive amount of debugging information  (when you are viewing public pages and logged in as an admin) including:</p>
<ul>
<li>Show template file viewing</li>
<li>Display page/query load times</li>
<li>Display all queries executed w/ load times</li>
<li>Show all phpinfo</li>
<li>WP_Query and WP array values</li>
<li>Included files</li>
<li>Included functions</li>
<li>Declared classes</li>
<li>HTTP Headers</li>
<li>Defined constants</li>
<li>Current cookies</li>
<li>Values in $_SERVER</li>
<li>Values in $_ENV</li>
<li>Values in $_SESSION</li>
<li>Values in $_POST</li>
<li>Values in $_GET</li>
<li>Values in $_REQUEST</li>
</ul>
<p>To be honest though it provides far too much information. Getting the information is all well and good but I couldn&#8217;t even find some of my classes in the list. It is hard for me to see how I could use this more effectively than a simple var_dump of the one thing I actually needed to see.</p>
<p>It isn&#8217;t really fair to criticise this plugin for that though as these things all came from somewhere else. That is the real reason why I wouldn&#8217;t rate this plugin in a competition.</p>
<p>A key reason that I decided to rate all the plugins myself is that I wasn&#8217;t happy with last year&#8217;s winner. Not because the plugin was bad, it wasn&#8217;t. By all accounts it was a good a plugin. But much of the code and ideas had already been done. Sure they were done in a longhand manner, sometimes by altering the theme, but I saw nothing new in it, and that is what I want: new, original, interesting, and complete.</p>
<p>This plugin isn&#8217;t as useful as last year&#8217;s winner (WP Comment Remix). Partly because it is aimed at the very people who know how to get at the information themselves anyway and partly because there are far fewer folks who would use this functionality, no matter how good it is, than would be interested in fancy commenting stuff.</p>
<p>I don&#8217;t think I&#8217;ll use it for developing my theme, and I don&#8217;t think it is going to score well in my rating of the competition, but I would be interested to hear from anyone who has used this, or the plugins that were collected together to make this, and found it to be useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/05/26/wltc-plugin-competition-wp-devel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Theme Typography</title>
		<link>http://www.wp-fun.co.uk/2009/05/25/theme-typography/</link>
		<comments>http://www.wp-fun.co.uk/2009/05/25/theme-typography/#comments</comments>
		<pubDate>Mon, 25 May 2009 06:44:31 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Themes]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1284</guid>
		<description><![CDATA[<p class="introduction">Over the past few months I&#8217;ve looked at a look of themes. This has inspired me to try and produce a &#8216;premium&#8217; theme of my own and I&#8217;ve started on what I consider to be the most important part: typography.</p>
<p>The basics of typography are clear: font-family, font-size, color, margins, baseline rhythm, etc. But there is more to it than that. To that end I have a few questions about your experiences with themes.</p>
<p>Firstly I want to know what areas of typography have you found lacking in the themes you have used? One area I have always wanted to see, and so will build in to mine is the option to style introductory paragraphs separately (paragraphs with the class &#8216;introduction&#8217; that kick of a post).</p>
<p>Second, do you prefer control (i.e. sheer number of changeable variables) or automation (you enter a few values and the rest is calculated for you)?</p>
<p>Finally, are there any standard blocks of HTML that need styling? I don&#8217;t mean simply paragraphs, I mean html with specific classes. For example:</p>
<pre class="html4strict"><span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;introduction&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
&nbsp;
<span style="color: #009900;"><a href="http://december.com/html/4/element/blockquote.html"><span style="color: #000000; font-weight: bold;">&lt;blockquote&gt;</span></a></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;quote&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;author&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/blockquote&gt;</span></span>
&nbsp;
&nbsp;
<span style="color: #009900;"><a href="http://december.com/html/4/element/blockquote.html"><span style="color: #000000; font-weight: bold;">&lt;blockquote</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;pullquote&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/blockquote&gt;</span></span>
&nbsp;
<span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;aside&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></pre>
<p>What I really want to do with this theme is to move the art of theme options one step on from where it is now. This is not an easy task, but I think it is possible with your help.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p class="introduction">Over the past few months I&#8217;ve looked at a look of themes. This has inspired me to try and produce a &#8216;premium&#8217; theme of my own and I&#8217;ve started on what I consider to be the most important part: typography.</p>
<p>The basics of typography are clear: font-family, font-size, color, margins, baseline rhythm, etc. But there is more to it than that. To that end I have a few questions about your experiences with themes.</p>
<p>Firstly I want to know what areas of typography have you found lacking in the themes you have used? One area I have always wanted to see, and so will build in to mine is the option to style introductory paragraphs separately (paragraphs with the class &#8216;introduction&#8217; that kick of a post).</p>
<p>Second, do you prefer control (i.e. sheer number of changeable variables) or automation (you enter a few values and the rest is calculated for you)?</p>
<p>Finally, are there any standard blocks of HTML that need styling? I don&#8217;t mean simply paragraphs, I mean html with specific classes. For example:</p>
<pre class="html4strict"><span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;introduction&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
&nbsp;
<span style="color: #009900;"><a href="http://december.com/html/4/element/blockquote.html"><span style="color: #000000; font-weight: bold;">&lt;blockquote&gt;</span></a></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;quote&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;author&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/blockquote&gt;</span></span>
&nbsp;
&nbsp;
<span style="color: #009900;"><a href="http://december.com/html/4/element/blockquote.html"><span style="color: #000000; font-weight: bold;">&lt;blockquote</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;pullquote&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/blockquote&gt;</span></span>
&nbsp;
<span style="color: #009900;"><a href="http://december.com/html/4/element/div.html"><span style="color: #000000; font-weight: bold;">&lt;div</span></a> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;aside&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
<span style="color: #009900;"><a href="http://december.com/html/4/element/p.html"><span style="color: #000000; font-weight: bold;">&lt;p&gt;</span></a></span><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/p&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/div&gt;</span></span></pre>
<p>What I really want to do with this theme is to move the art of theme options one step on from where it is now. This is not an easy task, but I think it is possible with your help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/05/25/theme-typography/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pause&#8230; for thought for the day</title>
		<link>http://www.wp-fun.co.uk/2009/05/24/pause-for-thought-for-the-day/</link>
		<comments>http://www.wp-fun.co.uk/2009/05/24/pause-for-thought-for-the-day/#comments</comments>
		<pubDate>Sun, 24 May 2009 17:51:34 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Asides]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1282</guid>
		<description><![CDATA[<p class="introduction">Ryan has kicked off a<a href="http://www.wptavern.com/copyright-and-the-gpl"> doozy of a GPL fight</a> over at WP Tavern which has started to become a little heated. So my thought for the day is this:</p>
<p>Until the way that GPL applies to WordPress themes has been tested in court, to the extent necessary to introduce clarity, there is no way of judging the validity of any opinions. I shall therefore henceforth refrain from consumption of or input into any discussion thereof.</p>
<p>I suggest you do the same, if only for a more pleasant world.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p class="introduction">Ryan has kicked off a<a href="http://www.wptavern.com/copyright-and-the-gpl"> doozy of a GPL fight</a> over at WP Tavern which has started to become a little heated. So my thought for the day is this:</p>
<p>Until the way that GPL applies to WordPress themes has been tested in court, to the extent necessary to introduce clarity, there is no way of judging the validity of any opinions. I shall therefore henceforth refrain from consumption of or input into any discussion thereof.</p>
<p>I suggest you do the same, if only for a more pleasant world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/05/24/pause-for-thought-for-the-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WLTC Plugin Competition: Max Image Size Control</title>
		<link>http://www.wp-fun.co.uk/2009/05/21/wltc-plugin-competition-max-image-size-control/</link>
		<comments>http://www.wp-fun.co.uk/2009/05/21/wltc-plugin-competition-max-image-size-control/#comments</comments>
		<pubDate>Thu, 21 May 2009 20:38:04 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Developing for WordPress]]></category>

		<category><![CDATA[Plugin]]></category>

		<category><![CDATA[Media]]></category>

		<category><![CDATA[WLTC]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1271</guid>
		<description><![CDATA[<p class="introduction">The next plugin in the WLTC Plugin Competition is the <a href="http://weblogtoolscollection.com/pluginblog/2009/05/21/max-image-size-control/">Max Image Size Control plugin</a>. The concept behind this plugin is that it lets you choose the image sizes that WordPress generates when you upload the image based the post or category the image belongs to.</p>
<p>Although the author doesn&#8217;t explain their intention in the WLTC post I suspect this is a direct reaction to all those magazine style themes where one size image is used in one place and another size in another place. It is a good idea and it works pretty well.</p>
<p>At first glance the interface can mislead you into thinking it is more limited than it is. The following screenshot shows the plugin&#8217;s option page which is accessed through the settings menu:</p>
<p><img src="http://www.wp-fun.co.uk/wp-content/uploads/2009/05/screenshot-1.png" alt="screenshot-1" title="screenshot-1" style="border:1px solid #ccc;" width="500" height="390" class="alignnone size-full wp-image-1273" /></p>
<p>The first time you use this it appears as though you can only set one value for a list of posts and a list of categories; however, when you create the first override and save it, another duplicate of this appears beneath it to override other posts or categories with a different size.</p>
<p>The plugin is still at version 0.1.1 which suggests to me the author still has some work in mind for the interface, and this is a good thing as it is a tad clunky.</p>
<p>For one thing you do need to look up ID numbers which aren&#8217;t used much any more. Once you start considering the alternatives for the interface you quickly come to the point that overriding image sizes for individual posts is probably easiest done from within the post screen itself. It is a pain to open another window, find the ID, create the override and go back to editing.</p>
<p>Having said all that though the instances where you want to override the size for a specific post are probably few. Most likely you would use categories anyway so this is a minor issue at best.</p>
<p>Aside form these small niggles though the plugin works exactly as advertised. The following image was uploaded with only one value overriden; the width of the medium size image was set to 638px. It has been resized to that dimension.</p>
<p><img src="http://www.wp-fun.co.uk/wp-content/uploads/2009/05/darktrees_resize_sample-638x425.jpg" alt="darktrees_resize_sample" style="border:1px solid #ccc; padding:5px;" title="darktrees_resize_sample" width="638" height="425" class="alignnone size-medium wp-image-1272" /></p>
<p>A fairly simple plugin, based on a solid evolution of an existing function, that works as advertised. What more can you ask for?</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p class="introduction">The next plugin in the WLTC Plugin Competition is the <a href="http://weblogtoolscollection.com/pluginblog/2009/05/21/max-image-size-control/">Max Image Size Control plugin</a>. The concept behind this plugin is that it lets you choose the image sizes that WordPress generates when you upload the image based the post or category the image belongs to.</p>
<p>Although the author doesn&#8217;t explain their intention in the WLTC post I suspect this is a direct reaction to all those magazine style themes where one size image is used in one place and another size in another place. It is a good idea and it works pretty well.</p>
<p>At first glance the interface can mislead you into thinking it is more limited than it is. The following screenshot shows the plugin&#8217;s option page which is accessed through the settings menu:</p>
<p><img src="http://www.wp-fun.co.uk/wp-content/uploads/2009/05/screenshot-1.png" alt="screenshot-1" title="screenshot-1" style="border:1px solid #ccc;" width="500" height="390" class="alignnone size-full wp-image-1273" /></p>
<p>The first time you use this it appears as though you can only set one value for a list of posts and a list of categories; however, when you create the first override and save it, another duplicate of this appears beneath it to override other posts or categories with a different size.</p>
<p>The plugin is still at version 0.1.1 which suggests to me the author still has some work in mind for the interface, and this is a good thing as it is a tad clunky.</p>
<p>For one thing you do need to look up ID numbers which aren&#8217;t used much any more. Once you start considering the alternatives for the interface you quickly come to the point that overriding image sizes for individual posts is probably easiest done from within the post screen itself. It is a pain to open another window, find the ID, create the override and go back to editing.</p>
<p>Having said all that though the instances where you want to override the size for a specific post are probably few. Most likely you would use categories anyway so this is a minor issue at best.</p>
<p>Aside form these small niggles though the plugin works exactly as advertised. The following image was uploaded with only one value overriden; the width of the medium size image was set to 638px. It has been resized to that dimension.</p>
<p><img src="http://www.wp-fun.co.uk/wp-content/uploads/2009/05/darktrees_resize_sample-638x425.jpg" alt="darktrees_resize_sample" style="border:1px solid #ccc; padding:5px;" title="darktrees_resize_sample" width="638" height="425" class="alignnone size-medium wp-image-1272" /></p>
<p>A fairly simple plugin, based on a solid evolution of an existing function, that works as advertised. What more can you ask for?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/05/21/wltc-plugin-competition-max-image-size-control/feed/</wfw:commentRss>
		</item>
		<item>
		<title>WLTC Plugin Competition: ImageShack Offloader</title>
		<link>http://www.wp-fun.co.uk/2009/05/19/wltc-plugin-competition-imageshack-offloader/</link>
		<comments>http://www.wp-fun.co.uk/2009/05/19/wltc-plugin-competition-imageshack-offloader/#comments</comments>
		<pubDate>Tue, 19 May 2009 19:10:15 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
		
		<category><![CDATA[Developing for WordPress]]></category>

		<category><![CDATA[Plugin]]></category>

		<category><![CDATA[imageshack]]></category>

		<category><![CDATA[WLTC]]></category>

		<guid isPermaLink="false">http://www.wp-fun.co.uk/?p=1268</guid>
		<description><![CDATA[<p class="introduction">The next plugin added to the Weblog Tools Collection plugin competition blog is <a href="http://weblogtoolscollection.com/pluginblog/2009/05/19/imageshack-offloader/">ImageShack Offloader</a>. This plugin uses image hosting service ImageShack to host your images (as well as them being uploaded to your own site) and automatically replaces the the image URL with the imageshack URL so you can simply turn it off when you no longer want to use ImageShack.</p>
<p>I have never been a big fan of hosting images in other places, but the way this plugin works, by replacing URLs on the fly seems a good compromise.</p>
<p> Unfortunately I just couldn&#8217;t get this to work. I tried it on a few blogs and nothing ever reached ImageShack. There isn&#8217;t an obvious reason why, I got no errors, so for now it will have to remain unreviewed.</p>
<p>If you&#8217;ve tested it yourself and it worked then please let me know what your thoughts are of it.</p>
<hr />]]></description>
			<content:encoded><![CDATA[<p class="introduction">The next plugin added to the Weblog Tools Collection plugin competition blog is <a href="http://weblogtoolscollection.com/pluginblog/2009/05/19/imageshack-offloader/">ImageShack Offloader</a>. This plugin uses image hosting service ImageShack to host your images (as well as them being uploaded to your own site) and automatically replaces the the image URL with the imageshack URL so you can simply turn it off when you no longer want to use ImageShack.</p>
<p>I have never been a big fan of hosting images in other places, but the way this plugin works, by replacing URLs on the fly seems a good compromise.</p>
<p> Unfortunately I just couldn&#8217;t get this to work. I tried it on a few blogs and nothing ever reached ImageShack. There isn&#8217;t an obvious reason why, I got no errors, so for now it will have to remain unreviewed.</p>
<p>If you&#8217;ve tested it yourself and it worked then please let me know what your thoughts are of it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.wp-fun.co.uk/2009/05/19/wltc-plugin-competition-imageshack-offloader/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
