<?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>gooos.nl &#187; wordpress</title>
	<atom:link href="http://golabs.nl/cat/projects/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://golabs.nl</link>
	<description></description>
	<lastBuildDate>Sun, 15 Jan 2012 20:28:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-19704</generator>
		<item>
		<title>K2 now at v1.0</title>
		<link>http://golabs.nl/2009/10433/</link>
		<comments>http://golabs.nl/2009/10433/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 20:31:57 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[themes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://golabs.nl/?p=10433</guid>
		<description><![CDATA[Today at 20:49 CET, Michael Heilemann announced in revision 894 that the K2 theme has now reached the v1.0 mark. Hereby my congratulations to the K2 team and keep up the good work guys!! I have seen many interesting changes in the last couple of days I&#8217;m going to explore ;) Read more on the [...]]]></description>
			<content:encoded><![CDATA[<p>Today at 20:49 CET, Michael Heilemann announced in <a title="K2 now v1.0" href="http://code.google.com/p/kaytwo/source/detail?r=894" target="_blank">revision 894</a> that the <a title="K2" href="http://getk2.com" target="_blank">K2 theme</a> has now reached the v1.0 mark. Hereby my congratulations to the K2 team and keep up the good work guys!! I have seen many interesting changes in the last couple of days I&#8217;m going to explore ;)</p>
<p>Read more on the 1.0 release <a title="K2 1.0" href="http://getk2.com/2009/12/k2-1-0/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2009/10433/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>K2: Full Height</title>
		<link>http://golabs.nl/2009/10350/</link>
		<comments>http://golabs.nl/2009/10350/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 16:23:03 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[themes]]></category>

		<guid isPermaLink="false">http://golabs.nl/?p=10350</guid>
		<description><![CDATA[Imagine. You are using the K2 theme for WordPress and you want your design to be a full height design. Your first thought is probably that you only need to change some bits and pieces in the CSS and your done, right?! Ok &#8211; it&#8217;s almost that easy but in the end it took me [...]]]></description>
			<content:encoded><![CDATA[<p>Imagine. You are using the K2 theme for WordPress and you want your design to be a full height design. Your first thought is probably that you only need to change some bits and pieces in the CSS and your done, right?!</p>
<p>Ok &#8211; it&#8217;s almost that easy but in the end it took me quite a while to find the proper solution for pages with very little content on it&#8230; So to save you the same hassle &#8211; here is a how to. I would suggest you add the CSS code to a custom style stylesheet rather than modifying the style.css to keep things easy when upgrading K2.</p>
<p><strong>Step 1: footer.php</strong><br />
Before we start with the required CSS code we need to make a slight adjustment to the footer.php to ensure that the footer div is included in the page div which acts as the wrapper div.</p>
<p>Move this line:</p>
<pre class="brush: php; first-line: 4; title: ; notranslate">
&lt;/div&gt; &lt;!-- Close Page --&gt;
</pre>
<p>Towards the bottom, right before this line:</p>
<pre class="brush: php; first-line: 42; title: ; notranslate">
&lt;?php wp_footer(); ?&gt;
</pre>
<p><strong>Step 2: make html and body both 100% in height<br />
</strong></p>
<pre class="brush: css; title: ; notranslate">
html, body {
 height: 100%;
 }
</pre>
<p><strong>Step 3: adjustments to #page</strong></p>
<pre class="brush: css; title: ; notranslate">
#page {
 padding-top: 0;
 border-bottom: none;
 height: auto !important;
 height: 100%;
 min-height: 100%;
 }
</pre>
<p><strong>Step 4: adjustments to #header</strong></p>
<pre class="brush: css; title: ; notranslate">
#header {
 border-top:  20px solid #fff;
 }
</pre>
<p><strong>Step 5: adjustments to .content</strong></p>
<pre class="brush: css; title: ; notranslate">
.content {
 padding: 0 20px 62px;
 }
</pre>
<p><strong>Step 6: adjustments to #footer</strong></p>
<pre class="brush: css; title: ; notranslate">
#footer {
 padding: 10px 0 10px;
 position: absolute;
 bottom: 0;
 width: 100%;
 }
</pre>
<p><strong>Final action</strong></p>
<p>Ok, that&#8217;s basically it although you now need to check if some values need to be changed or not. I have changed the padding of the footer (see step 6) to 10px for both the top and the bottom. With these padding values I need a padding value of 62px for the bottom in the content div (see step 5).</p>
<p>Tip: to see how much you need for the bottom padding in step 5 is to add a background color to the footer and then make a screenshot. In, for example, Photoshop you can then easily get the height of the footer. Just a few more pixels to that as a spacing between the content and the footer and you are all set.</p>
<p><em>Tested with K2 r743 with FF3, IE6, and IE7.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2009/10350/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dutch translation for DB Cache plugin</title>
		<link>http://golabs.nl/2009/10335/</link>
		<comments>http://golabs.nl/2009/10335/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 11:24:47 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[plugins]]></category>
		<category><![CDATA[translations]]></category>

		<guid isPermaLink="false">http://golabs.nl/2009/10335/</guid>
		<description><![CDATA[I came across a nice caching plugin for WordPress that works a bit different than the other available caching plugins, it&#8217;s called DB Cache. For whoever needs a Dutch translation file for it &#8211; here it is. Just copy the code below to a newly created file called nl_NL.php in the /wp-content/plugins/db-cache/languages/ directory and you [...]]]></description>
			<content:encoded><![CDATA[<p>I came across a nice caching plugin for WordPress that works a bit different than the other available caching plugins, it&#8217;s called <a href="http://wordpress.org/extend/plugins/db-cache/" target="_blank">DB Cache</a>.</p>
<p>For whoever needs a Dutch translation file for it &#8211; here it is. Just copy the code below to a newly created file called <strong>nl_NL.php</strong> in the /<strong>wp-content/plugins/db-cache/languages/</strong> directory and you are ready to go.</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php

$dbc_labels['configuration'] = &quot;Configuratie&quot;;

$dbc_labels['activate'] = &quot;Activeren&quot;;

$dbc_labels['timeout'] = &quot;Laat een cached query verlopen na&quot;;
$dbc_labels['timeout_desc'] = &quot;minuten. (Verlopen bestanden worden automatisch verwijderd.)&quot;;

$dbc_labels['tablesfilter'] = &quot;Tabellen om te cachen&quot;;

$dbc_labels['saved'] = &quot;Instellingen opgeslagen.&quot;;
$dbc_labels['cantsave'] = &quot;De instellingen konden niet worden opgeslagen. &amp;lt;a href=\&quot;http://codex.wordpress.org/Changing_File_Permissions\&quot; target=\&quot;blank\&quot;&amp;gt;CHMOD 755&amp;lt;/a&amp;gt; bestand: &amp;lt;u&amp;gt;config.ini&amp;lt;/u&amp;gt;&quot;;
$dbc_labels['activated'] = &quot;Caching geactiveerd.&quot;;
$dbc_labels['notactivated'] = &quot;Caching kan niet worden geactiveerd. &amp;lt;a href=\&quot;http://codex.wordpress.org/Changing_File_Permissions\&quot; target=\&quot;blank\&quot;&amp;gt;CHMOD 755&amp;lt;/a&amp;gt; de folder: &amp;lt;u&amp;gt;wp-content&amp;lt;/u&amp;gt;&quot;;
$dbc_labels['deactivated'] = &quot;Caching uitgeschakeld. Cache bestanden verwijderd.&quot;;
$dbc_labels['cleaned'] = &quot;Cache bestanden verwijderd.&quot;;
$dbc_labels['expiredcleaned'] = &quot;Verlopen cache bestanden verwijderd.&quot;;

$dbc_labels['save'] = &quot;Opslaan&quot;;
$dbc_labels['clear'] = &quot;Leeg de cache&quot;;
$dbc_labels['clearold'] = &quot;Leeg de verlopen cache&quot;;

?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2009/10335/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.7 released</title>
		<link>http://golabs.nl/2008/10314/</link>
		<comments>http://golabs.nl/2008/10314/#comments</comments>
		<pubDate>Sun, 14 Dec 2008 10:48:52 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://golabs.nl/?p=10314</guid>
		<description><![CDATA[The guys from Automatic have done an awesome job with their 2.7 release of WordPress! I really like the way the backend is going to and it&#8217;s now easier then before to create highly customized plugins. Just have a look at the video to see the new features of 2.7 for yourself or go to: [...]]]></description>
			<content:encoded><![CDATA[<p>The guys from Automatic have done an awesome job with their 2.7 release of WordPress! I really like the way the backend is going to and it&#8217;s now easier then before to create highly customized plugins.</p>
<p>Just have a look at the video to see the new features of 2.7 for yourself or go to:</p>
<ul>
<li><a href="http://wordpress.org/development/2008/12/coltrane/" target="_blank">wordpress.org/development/2008/12/coltrane/</a></li>
<li><a href="http://codex.wordpress.org/Version_2.7" target="_blank">codex.wordpress.org/Version_2.7</a></li>
</ul>
<p style="text-align: center;"><object width="400" height="224" data="http://v.wordpress.com/hFr8Nyar" type="application/x-shockwave-flash"><param name="src" value="http://v.wordpress.com/hFr8Nyar" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2008/10314/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Fix: what to do when visual text editor jams</title>
		<link>http://golabs.nl/2008/10196/</link>
		<comments>http://golabs.nl/2008/10196/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 15:36:42 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://golabs.nl/?p=10196</guid>
		<description><![CDATA[In order to get the code in the previous post I installed WP-Syntax and learned pretty quickly that the plugin ruins the visual text editor functionality&#8230; arrggg! Simply uninstalling the plugin wasn&#8217;t good enough so after some research on the WordPress Support Forum I came across the following procedure to fix the issue: Disable (and [...]]]></description>
			<content:encoded><![CDATA[<p>In order to get the code in the previous post I installed WP-Syntax and learned pretty quickly that the plugin ruins the visual text editor functionality&#8230; arrggg!</p>
<p>Simply uninstalling the plugin wasn&#8217;t good enough so after some research on the WordPress Support Forum I came across the following procedure to fix the issue:</p>
<ol>
<li>Disable (and if needed remove) the plugin which causes the visual text editor of functioning normally.</li>
<li>Clear the browsers cache (in Firefox, use the Clear Private Data menu) and restart the browser.</li>
<li>Go to /wp-includes/js/tinymce/tiny_mce_config.php and find the following line:
<pre class="brush: php; first-line: 171; title: ; notranslate">'compress' =&gt; true,</pre>
<p>and change the <strong>true</strong> value into <strong>false</strong>.</li>
<li>Log on to your WordPress admin area and now the visual text editor should be functional again.</li>
<li>If everything is working you can now undo the code change of step 3.</li>
</ol>
<p>As you can see, the WP-Syntax plugin is still running and I can still use the visual text editor but that will take some modifications of the WP-Syntax code. I will post those changes later this week.</p>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2008/10196/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Fix: automatic update open_basedir error</title>
		<link>http://golabs.nl/2008/10151/</link>
		<comments>http://golabs.nl/2008/10151/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 21:14:16 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://golabs.nl/?p=10151</guid>
		<description><![CDATA[In WordPress 2.7 there is a nice feature to automatically update plugins or the core via one simple click on a link. For quite a while I couldn&#8217;t get it to work as it was producing errors like: This morning I finally found THE hint that has lead me to the solution to fix it [...]]]></description>
			<content:encoded><![CDATA[<p>In WordPress 2.7 there is a nice feature to automatically update plugins or the core via one simple click on a link. For quite a while I couldn&#8217;t get it to work as it was producing errors like:</p>
<pre class="brush: plain; title: ; notranslate">
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/tmp//1220989448) is not within the allowed path(s): (/home/usr123/:/tmp:/usr/local/lib/php/) in /usr/home/usr123/../wp-includes/functions.php on line 1960

Warning: touch() [function.touch]: open_basedir restriction in effect. File(/var/tmp/1220989448) is not within the allowed path(s): (/home/usr123/:/tmp:/usr/local/lib/php/) in /usr/home/usr123/../wp-admin/includes/file.php on line 122

Warning: fileowner() [function.fileowner]: open_basedir restriction in effect. File(/var/tmp/1220989448) is not within the allowed path(s): (/home/usr123/:/tmp:/usr/local/lib/php/) in /usr/home/usr123/../wp-admin/includes/file.php on line 487

Warning: unlink() [function.unlink]: open_basedir restriction in effect. File(/var/tmp/1220989448) is not within the allowed path(s): (/home/usr123/:/tmp:/usr/local/lib/php/) in /usr/home/usr123/../wp-admin/includes/file.php on line 489
</pre>
<p>This morning I finally found THE hint that has lead me to the solution to fix it and to be honest it was amazingly simple!!</p>
<p>WordPress is trying to use the wrong path, duhh, but the correct path is also provided in the error message. In my case I have to point WordPress to the <strong>/tmp</strong> path instead of the found <strong>/var/tmp</strong> path!!</p>
<p>When you follow the error messages you finally end up in the get_temp_dir function (/wp-admin/includes/file.php:97) which basically provides the answer straight away after you run a full source code search on WP_TEMP_DIR&#8230;</p>
<pre class="brush: php; first-line: 97; title: ; notranslate">
function get_temp_dir() {
 if ( defined('WP_TEMP_DIR') )
 return trailingslashit(WP_TEMP_DIR);
</pre>
<p>So the solution is to define WP_TEMP_DIR in the wp-config.php file:</p>
<pre class="brush: php; title: ; notranslate">
define('WP_TEMP_DIR','/tmp');
</pre>
<p>Happy auto updating!</p>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2008/10151/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP Plugin: Agenda</title>
		<link>http://golabs.nl/2008/10134/</link>
		<comments>http://golabs.nl/2008/10134/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 18:23:28 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://golabs.nl/?p=10134</guid>
		<description><![CDATA[Today I came across a new events plugin called Agenda. Looks very promising even without a prepacked widget. So after playing around with it for a short while I started to write a plugin for it (source here) and hopefully it will be adopted by the plugin author, DGMike. While writing the widget I also [...]]]></description>
			<content:encoded><![CDATA[<p>Today I came across a new events plugin called <a title="WordPress Plugin: Agenda" href="http://wordpress.org/extend/plugins/agenda/" target="_blank">Agenda</a>. Looks very promising even without a prepacked widget. So after playing around with it for a short while I started to write a plugin for it (source <a title="Source from WP Agenda Widget" href="http://data.golabs.nl/gooos/2008/08/agenda_widget.phps" target="_blank">here</a>) and hopefully it will be adopted by the plugin author, DGMike.</p>
<p>While writing the widget I also noticed some bugs and the need for some extra features.</p>
<p><strong>Features:</strong></p>
<ol>
<li>Ship a widget with it &#8211; you can use my <strong>Agenda Widget</strong> for this, see <a title="Source from WP Agenda Widget" href="http://data.golabs.nl/gooos/2008/08/agenda_widget.phps" target="_blank">source</a>.</li>
<li>Show today&#8217;s and all day event&#8217;s until their end time.</li>
<li>Remove time notification when it&#8217;s a all day event.</li>
<li>Change $title_tag into to the $before and $after model for more template flexibility.</li>
<li>Localization by translation domain. Change:
<pre class="brush: plain; title: ; notranslate">__('text')</pre>
<p>into:</p>
<pre class="brush: plain; title: ; notranslate">__('text', 'agenda')</pre>
<p>Have also used that in the plugin I have created.</li>
<li>Ship a .pot with it for translators. I will translate into Dutch when available.</li>
</ol>
<p><strong>Bugs:</strong></p>
<ol>
<li> When repeating on a daily basis the start time changes (looks like the function add (for example) 24 hours to the end time instead of the start time). )</li>
<li>Visual editor isn&#8217;t working.</li>
<li>Time droplists are out of sync with the input boxes (further to the right).</li>
<li>When using agenda_compromissos() the &lt;a href&gt; isn&#8217;t populated.</li>
<li>Add &#8216;no events&#8217; message when there are no events to show, I&#8217;m now getting an error message.</li>
<li>Styling doesn&#8217;t fit in the (smaller) crazyhorse design of 2.7 and perhaps it&#8217;s an idea to keep in line with the default WP colors for the background.</li>
</ol>
<p><strong>Remarks:</strong></p>
<ol>
<li> The &#8216;Event&#8217; page should not be registered as a menu item when you use 2.7 as the structure of the menu&#8217;s has changed. The Add New link on the Events page will follow the style WP is using on the Posts and Pages pages.</li>
</ol>
<p><strong>Questions:</strong></p>
<ol>
<li> How can you get the location and date(s)/time(s) visible in the post?</li>
</ol>
<p>I will put some effort in this plugin as well as I really like it so I will start cracking the extra features and bugs as well and will make suggestions to DGMike.</p>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2008/10134/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.6 released</title>
		<link>http://golabs.nl/2008/10058/</link>
		<comments>http://golabs.nl/2008/10058/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 21:51:51 +0000</pubDate>
		<dc:creator>gooos</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://golabs.nl/?p=10058</guid>
		<description><![CDATA[Great news. Today on the WordPress front as version 2.6 &#8220;Tyner&#8221; has been released as a stable version. The latest WordPress version comes with a long list of improvements. The following list comes from the official WordPress announcement: Word count! Never guess how many words are in your post anymore. Image captions, so you can [...]]]></description>
			<content:encoded><![CDATA[<p>Great news. Today on the <a title="WordPress" href="http://wordpress.org" target="_blank">WordPress</a> front as version 2.6 &#8220;Tyner&#8221; has been released as a stable version. The latest WordPress version comes with a long list of improvements. The following list comes from the official WordPress announcement:</p>
<ul>
<li><strong>Word count!</strong> Never guess how many words are in your post anymore.</li>
<li><strong>Image captions</strong>, so you can add sweet captions <a href="http://politicalticker.blogs.cnn.com/">like Political Ticker does</a> under your images.</li>
<li><strong>Bulk management</strong> of plugins.</li>
<li>A completely <strong>revamped image control</strong> to allow for easier inserting, floating, and resizing. It’s now fully integrated with the WYSIWYG.</li>
<li>Drag-and-drop <strong>reordering of Galleries</strong>.</li>
<li><strong>Plugin update</strong> notification bubble.</li>
<li>Customizable default avatars.</li>
<li>You can now upload media when in full-screen mode.</li>
<li>Remote publishing via XML-RPC and APP is now secure (off) by default, but you can turn it on easily through the options screen.</li>
<li>Full <a href="http://en.wikipedia.org/wiki/Secure_Sockets_Layer">SSL support</a> in the core, and the ability to <strong>force SSL</strong> for security.</li>
<li>You can now have many thousands of pages or categories with no interface issues.</li>
<li>Ability to move your
<pre class="brush: plain; title: ; notranslate">wp-config</pre>
<p> file and
<pre class="brush: plain; title: ; notranslate">wp-content</pre>
<p> directories to a custom location, for “clean” SVN checkouts.</li>
<li>Select a range of checkboxes with “shift-click.”</li>
<li>You can toggle between the Flash uploader and the classic one.</li>
<li>A number of proactive security enhancements, including cookies and database interactions.</li>
<li>Stronger better faster versions of TinyMCE, jQuery, and jQuery UI.</li>
<li>Version 2.6 <a href="http://trac.wordpress.org/query?status=closed&amp;milestone=2.6">fixes approximately 194 bugs</a>.</li>
</ul>
<p>Of all the improvements I really enjoy the new image system and the revision control as that where definitely points which needed improvement in previous versions of WordPress. If you want to see the new features in action, the WordPress guys have made a short video in which they explain the new features:</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="250" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="data" value="http://v.wordpress.com/mARhRBcT/fmt_std" /><param name="flashvars" value="blog_domain=http://wordpress.org/development/2008/07/wordpress-26/&amp;width=400&amp;height=250" /><param name="src" value="http://v.wordpress.com/mARhRBcT/fmt_std" /><embed type="application/x-shockwave-flash" width="400" height="250" src="http://v.wordpress.com/mARhRBcT/fmt_std" flashvars="blog_domain=http://wordpress.org/development/2008/07/wordpress-26/&amp;width=400&amp;height=250" data="http://v.wordpress.com/mARhRBcT/fmt_std"></embed></object></p>
<p style="text-align: left;">See <a title="Video about WordPress v2.6" href="http://wordpress.org/development/2008/07/wordpress-26-tyner/" target="_blank">wordpress.org/development/2008/07/wordpress-26-tyner/</a> for more background details on WordPress version 2.6.</p>
]]></content:encoded>
			<wfw:commentRss>http://golabs.nl/2008/10058/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

