<?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>Narnio&#187; WordPress</title>
	<atom:link href="http://www.narnio.com/category/development/wordpress-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.narnio.com</link>
	<description>A day in the life of a software engineer</description>
	<lastBuildDate>Sat, 04 Feb 2012 18:31:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Working on Ajax integration with WordPress</title>
		<link>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/</link>
		<comments>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/#comments</comments>
		<pubDate>Sat, 04 Feb 2012 18:31:54 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=627</guid>
		<description><![CDATA[As part of the new theme I&#8217;ve been developing I&#8217;m including some richer user features. Like on the spot loading of comments and better mobile device support. One of the things I need to figure out during the development is how to use Ajax in WordPress, preferably native support. I know it should be possible, [...]]]></description>
			<content:encoded><![CDATA[<p>As part of the new theme I&#8217;ve been developing I&#8217;m including some richer user features. Like on the spot loading of comments and better mobile device support. One of the things I need to figure out during the development is how to use Ajax in <a  href="http://www.wordpress.org" target="_blank">WordPress</a>, preferably native support. I know it should be possible, but have yet been unsuccessful to get it working.</p>
<p>So what I&#8217;ve been doing is setting up a new action using <a  title="Reference page" href="http://codex.wordpress.org/Function_Reference/add_action" target="_blank">add_action </a>for the following two action types:</p>
<ul>
<li>wp_ajax_&lt;myaction&gt;</li>
<li>wp_ajax_nopriv_&lt;myaction&gt;</li>
</ul>
<p>According to the documentation that should generate a hook to support both registered users (wp_ajax_&lt;myaction&gt;) and unregistered users (wp_ajax_nopriv_&lt;myaction&gt;). Which sounds great, since my theme should work for both type of users <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p>
<p>On the front-end I&#8217;ve created a Javascript method that should call the ajax command using the <em>&#8216;wp-admin/admin-ajax.php&#8217;</em>. With as <strong>action</strong> parameter the name of my ajax method. So in theory I should be setup correctly to handle ajax, but this is where the theory and actual situation start to differ.</p>
<p>To test my new theme I&#8217;ve been using the preview mode of WordPress, after all I don&#8217;t want to kill any existing feature or activate the theme before it is done. But for some reason my nicely setup Ajax hooks aren&#8217;t working as advertised.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2012/02/04/working-on-ajax-integration-with-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Update on the new UI for this blog</title>
		<link>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/</link>
		<comments>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 17:38:12 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=603</guid>
		<description><![CDATA[About a month ago I wrote something on creating a new UI for this blog. One that would be lightweight and a lot quicker then the current one. It might seem that I&#8217;ve given up on this new UI, but the opposite is true. It&#8217;s been a rather busy couple of weeks since my last [...]]]></description>
			<content:encoded><![CDATA[<p>About a month ago I wrote something on creating a new UI for this blog. One that would be lightweight and a lot quicker then the current one. It might seem that I&#8217;ve given up on this new UI, but the opposite is true.</p>
<p>It&#8217;s been a rather busy couple of weeks since my last update, but work is slowly progressing. So far I designed most of the UI elements, but I ended up in some trouble with the browser compatibility. As any web developer will know it&#8217;s a hell to make a website compatible with older browsers, especially the older Internet Explorer versions. And as this is supposed to be a lightweight theme it means I&#8217;ll have to rely on as much of CSS3 as possible. Which also means making separate sylesheets for the older browsers to display the content the same way.</p>
<p>So far I&#8217;ve built the following features in the new WordPress Theme:</p>
<ul>
<li>Support of the social networks</li>
<li>Browser detection to better enable CSS2 / CSS3 features or mobile version</li>
<li>Various hooks into the WordPress system to change behaviour of WordPress</li>
<li>Design of the various elements of WordPress, being posts / pages and categories</li>
</ul>
<p>Now I still have a long way to go before the new theme is ready for deployment, but I&#8217;m slowly continuing the work on the new theme. Just to give you some insight on how the final version of the theme will look I&#8217;ve included some screen-shots of the latest development release.</p>
<div id="attachment_604" class="wp-caption aligncenter" style="width: 310px"><a  href="http://www.narnio.com/wp-content/uploads/2011/09/Narnio2.0-post.png" class="thickbox no_icon" rel="gallery-603" title="Narnio new post layout"><img class="size-medium wp-image-604" title="Narnio new post layout" src="http://www.narnio.com/wp-content/uploads/2011/09/Narnio2.0-post-300x135.png" alt="" width="300" height="135" /></a><p class="wp-caption-text">Screenshot of new layout</p></div>
<p style="text-align: center;">
<p>Even when all the design stuff is done I&#8217;ll still have to do some integration of analytics software and the capabilities to show ads. As well as hooking back in all the various plug-ins I&#8217;ve been using for WordPress for the past couple of years.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/09/07/update-on-the-new-ui-for-this-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and browser detection</title>
		<link>http://www.narnio.com/2011/07/22/php-and-browser-detection/</link>
		<comments>http://www.narnio.com/2011/07/22/php-and-browser-detection/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 20:28:46 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=580</guid>
		<description><![CDATA[One of the things you might encounter as a web developer is detection of the browser that a visitor is using. In my specific case this was needed since I wanted to use some CSS3 styling, but only if the browser was capable. In all other cases the visitor had to see the CSS2 optimized [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things you might encounter as a web developer is detection of the browser that a visitor is using. In my specific case this was needed since I wanted to use some CSS3 styling, but only if the browser was capable. In all other cases the visitor had to see the CSS2 optimized page.</p>
<p>So I started looking into a way to let my web application determine what browser was visiting and what capabilities it had. Since this was for the new WordPress theme I&#8217;m developing it had to be in PHP and be sorta light-weight.</p>
<p>First thing was to figure out the basic browser that was visiting. This can be done by doing a simple <a  title="strpos documentation" href="http://www.php.net/manual/en/function.strpos.php" target="_blank">strpos</a> call in PHP on the user agent property. Having a list of the various user agents helped, I found just such a list at <a  title="User Agent Strings" href="http://www.useragentstring.com/pages/useragentstring.php" target="_blank">UserAgentString</a>. A brief summary for some common browsers is below.</p>
<pre class="brush: php">  $user_agent = $_SERVER['HTTP_USER_AGENT'];
  $IE        = strpos($this-&gt;_user_agent, 'MSIE') &gt; -1;
  $IPad      = strpos($this-&gt;_user_agent, 'iPad') &gt; -1;
  $Firefox   = strpos($this-&gt;_user_agent, 'Firefox/') &gt; -1;
  $Chrome    = strpos($this-&gt;_user_agent, 'Chrome/') &gt; -1;
  $Opera     = strpos($this-&gt;_user_agent, 'Opera/') &gt; -1;
  $Android = strpos($this-&gt;_user_agent, 'Android') &gt; -1;</pre>
<p>As you can see determining the basic browser type is pretty simple. But to be able to determine if CSS3 is supported you will also need to locate the version of the browser. Keeping in mind that IE9+, Firefox 4+, Opera 10+ and Chrome are the only versions that support CSS3. The check for this is slightly different for each version. But you can do it easily with a regular expresion.</p>
<pre class="brush: php"> // For all non IE browsers
 $locator;
 if ($Firefox) $locator = "Firefox\/";
 if ($Android) $locator = "Android\s";
 if ($Chrome) $locator = "Chrome\/";
 if ($Opera) $locator = "Version\/";
 preg_match('/'.$locator.'([0-9]{1,4}(.[0-9]{1,3})+)/', $user_agent, $version);

 // For IE
 preg_match('/MSIE\s([0-9]{1,2}.[0-9]{1,2})/', $user_agent, $version);
 if (count($version) &gt; 1) $version = $version[1];
 else $version = 0;</pre>
<p>Having the version and the type of browser allows us to do all kinds of fancy browser specific stuff. Mostly introduce hacks for IE7 (yes many are needed), or add CSS3 support.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/07/22/php-and-browser-detection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WordPress skin, Ajax loading vs. Google</title>
		<link>http://www.narnio.com/2011/06/08/new-wordpress-skin-ajax-loading-vs-google/</link>
		<comments>http://www.narnio.com/2011/06/08/new-wordpress-skin-ajax-loading-vs-google/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 18:37:33 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=573</guid>
		<description><![CDATA[As a major remodeling of this blog is on the way I&#8217;m going to try to build it more dynamic and more up to the Web 2.0 standards. So that includes usage of Ajax, JQuery and a more dynamically filled website. But how to build this and keep the Google Analytics working, as well as [...]]]></description>
			<content:encoded><![CDATA[<p>As a major remodeling of this blog is on the way I&#8217;m going to try to build it more dynamic and more up to the Web 2.0 standards. So that includes usage of Ajax, JQuery and a more dynamically filled website. But how to build this and keep the Google Analytics working, as well as the search engine indexing. This will be one of my biggest challenges I&#8217;m afraid.</p>
<p>Developing a website with JQuery / Ajax and advanced JavaScript prototypes isn&#8217;t anything new to me. But having all of these features and still make the site indexable is! So far I&#8217;m stuck at the simple point that crawlers don&#8217;t support JavaScript, so no go for that part. It looks like I will have to create a module for the WordPress plugin to detect what type of user is visiting the website. Serving the search engines a version that will not use any of the advanced features that normal browsers will support.</p>
<p>Besides the issue with the indexing there is still the task of getting all the pages on the website to be tracked with Google Analytics. Currently that is easy, though the website is dynamic each page is a new request to the server. But using advanced features like Ajax stops that in its tracks. Currently I don&#8217;t even know if it is possible to track pages when the actual URL doesn&#8217;t change, just the content of the page. If it is possible to do this I would have to build a module to do so.</p>
<p>So after just ranting and brain storming for a few seconds I already found to nice features that would have to be build. Another person might call them serious issues, but I prefer good challenges. At least for the moment I do. Not even mentioning the fact that I have to build a complete new template for WordPress too.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/06/08/new-wordpress-skin-ajax-loading-vs-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Image effects NextGen gallery failing</title>
		<link>http://www.narnio.com/2011/02/14/image-effects-nextgen-gallery-failing/</link>
		<comments>http://www.narnio.com/2011/02/14/image-effects-nextgen-gallery-failing/#comments</comments>
		<pubDate>Mon, 14 Feb 2011 06:00:10 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[JQuery]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=534</guid>
		<description><![CDATA[It was recently brought to my attention that the WordPress plugin I use for posting images on this website was not working properly anymore, thanks for warning me of this issue. Well not working properly in the sense that images would get opened in the same window, with no options to navigate back to the [...]]]></description>
			<content:encoded><![CDATA[<p>It was recently brought to my attention that the <a  href="http://www.wordpress.org">WordPress </a>plugin I use for posting images on this website was not working properly anymore, thanks for warning me of this issue. Well not working properly in the sense that images would get opened in the same window, with no options to navigate back to the post.</p>
<p>Initially I thought that this was caused by the plugin I use for this called <a  title="Official plugin page for NextGen Gallery" href="http://wordpress.org/extend/plugins/nextgen-gallery/" target="_blank">NextGen Gallery</a>. After all this plugin failed to do its job properly, but unfortunately that was a bit stupid thinking on my part. I should have realised that the plugin stopped working after an upgrade of the WordPress blog powering the website. For some reason the thickbox JQuery extension produced JavaScript exceptions.</p>
<p>I don&#8217;t know exactly why it doesn&#8217;t work like expected and I don&#8217;t really care either. Suffice it to say that changing a small piece of code in the &#8216;wp-includes/js/thickbox/thickbox.js&#8217; fixed the issue. All I had to do is modify the tb_init function into the following:</p>
<pre class="brush:javascript">
function tb_init(domChunk)
{
     jQuery(domChunk).bind("click", tb_click);
}
</pre>
<p>I think it must have been some conflict in the JQuery versions or something, since it used to call the &#8216;.<a  title="API documention on .live" href="http://api.jquery.com/live/" target="_blank">live</a>&#8216; method on JQuery. But this was what was causing the exceptions. If anyone knows a more permanent fix for this issue please let me know.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/02/14/image-effects-nextgen-gallery-failing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating your first WordPress plugin</title>
		<link>http://www.narnio.com/2011/02/02/creating-your-first-wordpress-plugin/</link>
		<comments>http://www.narnio.com/2011/02/02/creating-your-first-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 21:55:50 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=496</guid>
		<description><![CDATA[Since I&#8217;ve been experimenting a little with WordPress plugin development, I thought it might be useful to write a simple introduction into developing a basic WordPress plugin. Basic setup of the PHP file for your plugin (which would be called &#8216;my_plugin/plugin.php&#8217;): // register the plugin activation and de-activation hooks // you could also register a plugin [...]]]></description>
			<content:encoded><![CDATA[<p>Since I&#8217;ve been experimenting a little with WordPress plugin development, I thought it might be useful to write a simple introduction into developing a basic WordPress plugin.</p>
<p>Basic setup of the PHP file for your plugin (which would be called &#8216;my_plugin/plugin.php&#8217;):</p>
<pre class="brush:php">// register the plugin activation and de-activation hooks
// you could also register a plugin class, but that's out of scope.
register_activation_hook('my_plugin/plugin.php', 'my_plugin_activate');
register_deactivation_hook('my_plugin/plugin.php', 'my_plugin_deactivate'); 

function my_plugin_activate()
{
    // you might wanna register some data into the settings of WordPress here
   $_plugin_settings = array('my_var1' =&gt; true, 'my_var2' =&gt; 'dingy');
   for ( $_plugin_settings as $name =&gt; $value )
  {
      if (!get_option($name))
         set_option($name, $value);
  }
}

function my_plugin_deactivate()
{
  // this is the place to clean-up WordPress, do not erase the settings,
  // as you might want to reinitialize the plugin without loosing the users settings.
}</pre>
<p>With this done your plugin is able to register the settings that are needed for it to work and clean up after the user is done playing around with it. Keep in mind that you will need to set all settings you need in the activate method, otherwise you might get unexpected exceptions later on.</p>
<pre class="brush:php">// register the admin menu for the plugin, you don't need to do this if there are no changable settings
add_action('admin_menu', 'wp_myplugin_admin');

function wp_myplugin_admin()
{
   add_options_page('MyPlugin', 'My plugin name',
                                            3, basename(__FILE__), 'wordpress_my_plugin_admin');
}

function wordpress_my_plugin_admin()
{
   // simple check to see if the admin settings where posted
    if ($_POST['myvar']) {
       // deal with the post request (change settings)
    }
    require_once('admin_menu.php');
}</pre>
<p>As you can see the code block above registers an administration section for the plugin. This will enable the plugin to be configured by the end user. The PHP file &#8216;admin_menu.php&#8217; basically contains the HTML code for the administration page.</p>
<p>You now have the basics setup, the plugin will be called every time a page is requested from WordPress. So all that is left to do is develop the code that will do your magic and you&#8217;re done.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2011/02/02/creating-your-first-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Published the WordPress Mobile plugin</title>
		<link>http://www.narnio.com/2010/12/24/published-the-wordpress-mobile-plugin/</link>
		<comments>http://www.narnio.com/2010/12/24/published-the-wordpress-mobile-plugin/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 23:00:25 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=491</guid>
		<description><![CDATA[A long time ago I posted that I was working on a plugin for WordPress that enabled you to display a optimized version of any WordPress blog for phone or mobile visitors. Though I actually developed the plugin about a year ago I never got around to publishing it. Today is the launch day!!!! Since [...]]]></description>
			<content:encoded><![CDATA[<p>A long time ago I posted that I was working on a plugin for WordPress that enabled you to display a optimized version of any WordPress blog for phone or mobile visitors. Though I actually developed the plugin about a year ago I never got around to publishing it. Today is the launch day!!!! <img src='http://www.narnio.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Since I developed the plugin for this site you can see it in action by visiting it with your mobile phone or by visiting the <a  title="The Mobile version of Narnio" href="http://m.narnio.com">mobile version</a>. Please note that the lay-out is not completely bug free yet, but I&#8217;m still working on that.</p>
<p>You can access the <a  title="The WordPress Mobile Plugin page" href="http://www.narnio.com/plugins/wordpress-mobile/">WordPress Mobile</a> plugin page under the Plugin section in the header of the blog.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2010/12/24/published-the-wordpress-mobile-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working On WordPress Mobile plugin</title>
		<link>http://www.narnio.com/2008/08/02/working-on-wordpress-mobile-plugin/</link>
		<comments>http://www.narnio.com/2008/08/02/working-on-wordpress-mobile-plugin/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 13:24:21 +0000</pubDate>
		<dc:creator>Jongerius</dc:creator>
				<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.narnio.com/?p=206</guid>
		<description><![CDATA[A while back I got some questions if it was possible to create a more mobile friendly version of this blog. Appearantly I have several visitors that are browsing using mobile devices. And I must say my design is not user friendly for them. Off course they are right, any user should be able to [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I got some questions if it was possible to create a more mobile friendly version of this blog. Appearantly I have several visitors that are browsing using mobile devices. And I must say my design is not user friendly for them.</p>
<p>Off course they are right, any user should be able to access this blog. Be it from a mobile phone or a computer. So I had to find a way to offer my mobile visitors a better experience. First thing to do that is looking into the <a  title="WordPress plugin directory" href="http://wordpress.org/extend/plugins/">wordpress.org</a> plugin library. There are a lot of plugins available for a lot of different things. There had to be some for switching the display to mobile when a mobile device is detected.</p>
<p>And there are. I first tried <a  title="WordPress Mobile Edition Plugin page" href="http://wordpress.org/extend/plugins/wordpress-mobile-edition/"><strong>WordPress Mobile Edition</strong></a> which is pretty good. Big issues I had with it are that it&#8217;s not as light weight as I want it to be. And the coding is crappy! But beyond that it does what it&#8217;s supposed to.</p>
<p>But me being a developer I decided to write my own little plugin to offer a mobile version of this blog. Fully customizable using templates and settings in the admin menu. I haven&#8217;t yet completed the entire design, nor is the admin part working <img src='http://www.narnio.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> . But it&#8217;s currently running on this blog <img src='http://www.narnio.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . If you want to check it out just add &#8216;?mobile=true&#8217; to any page or visit using your phone.</p>
<p>When I&#8217;m done developing the plugin I&#8217;ll share with you all how you can write a simple WordPress plugin. I will also publish the plugin for anyone to download, <strong>for free</strong>!!!</p>
<p>So stay tuned for an update&#8230;&#8230;.</p>
<hr/>Copyright &copy; 2012 <strong><a  href="http://www.narnio.com">Narnio</a></strong>. This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact legal@jong-soft.com so we can take legal action immediately.]]></content:encoded>
			<wfw:commentRss>http://www.narnio.com/2008/08/02/working-on-wordpress-mobile-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

