<?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>Sense Egbert Hofstede &#187; wordpress</title>
	<atom:link href="http://www.sehofstede.nl/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sehofstede.nl</link>
	<description>Personal site of a tech enthusiast</description>
	<lastBuildDate>Fri, 10 Feb 2012 10:15:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress site design for amateurs: great results with child themes</title>
		<link>http://www.sehofstede.nl/wordpress-site-design-for-amateurs-great-results-with-child-themes</link>
		<comments>http://www.sehofstede.nl/wordpress-site-design-for-amateurs-great-results-with-child-themes#comments</comments>
		<pubDate>Mon, 12 Dec 2011 16:27:53 +0000</pubDate>
		<dc:creator>Sense Egbert Hofstede</dc:creator>
				<category><![CDATA[English Posts]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.sensehofstede.nl/?p=998</guid>
		<description><![CDATA[A few months ago my site received a much needed overhaul. I updated the structure and looks and went crazy on Googly Web 2.0 mark-up stuff. Considering I am not a webdesigner, I am quite pleased with the result. There &#8230; <a href="http://www.sehofstede.nl/wordpress-site-design-for-amateurs-great-results-with-child-themes">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_1047" class="wp-caption alignright" style="width: 310px"><a href="http://www.sehofstede.nl/wordpress-site-design-for-amateurs-great-results-with-child-themes/site" rel="attachment wp-att-1047"><img class="size-medium wp-image-1047" title="Home page, December 2011" src="http://www.sehofstede.nl/wp-content/uploads/2011/12/site-300x243.png" alt="" width="300" height="243" /></a><p class="wp-caption-text">In case I changed the theme again, this is the &#39;new&#39; look.</p></div>
<p>A few months ago my site received a much needed overhaul. I updated the structure and looks and went crazy on Googly Web 2.0 mark-up stuff. Considering I am not a webdesigner, I am quite pleased with the result.</p>
<p>There are probably many more non-designers like me, also looking to build their own personalised WordPress site, so I thought I&#8217;d share my experiences. This post is aimed at amateurs who want to give their personal site an own look without too much hassle.</p>
<h3>Don&#8217;t start from scratch</h3>
<p>The previous theme was written entirely from scratch, using a few pieces of code copied from the default TwentyTen theme. What I learned from that enterprise is that it is very hard to do everything yourself, if you&#8217;re not a professional. Many rough ends will make your theme look less tidy and your lack of skill results in a theme that is harder to navigate and read.</p>
<p>So, I decided to go with an often forgotten feature of WordPress theme development: child themes. The TwentyTen is a very solid base to build upon, the way it presents texts is very easy on the eyes. By using a good theme as a starting point for your child theme, you have all its advantages. Because you&#8217;re creating a child theme and not forking TwentyTen directly, updates to the original theme will automatically benefit your theme as well.</p>
<h3>The simple start</h3>
<p>The only file you really need is the CSS file. Create a new directory with the slug name of your theme in <em>wp-content/themes/</em> and add an empty file to it named <em>style.css</em>. I added the following header:</p>
<pre lang="css">/*
Theme Name: seh
Theme URI: http: //www.sensehofstede.nl/
Description: Theme for SenseHofstede.nl, child theme of Twenty Ten
Author: Sense Hofstede
Author URI: http: //www.sensehofstede.nl/about/
Template: twentyten
Version: 0.1.0
Tags: blue, white, threaded-comments, translation-ready, microformats,
custom-menu
*/

@import url("../twentyten/style.css");</pre>
<p>With a stylesheet containing just these few lines of code, you&#8217;ve already got a working theme. It does look quite similar to TwentyTen though. But now you can start working on adapting the style. Make sure that you place all your own CSS after the <em>@import</em> rule, so you will override existing entries in the stylesheet of TwentyTen!</p>
<p>If you only want to make a few adjustments, just adding the stylesheet will do the trick. Maybe all you want are a different font and some changes to the default colour palette. If you want more, however, you will have to add PHP files.</p>
<p>WordPress processes child themes like this: it first looks for files in the child theme&#8217;s directory, then in the directory of its parent theme. When you don&#8217;t create a custom <em>header.php</em>, your theme will continue to use the TwentyTen header. This rule, however, <strong>does not apply</strong> to the important <em>functions.php</em> file. Every file with that name present in both the child and parent theme will be loaded, the child theme&#8217;s first. This behaviour gives you a very powerful to adapt important parts of the theme without having to create new template files.</p>
<h3>Playing with functions</h3>
<p>If you look to the top of this blog post you will see that underneath the title the date and time this post was published are shown. The function responsible for this is defined in a specific way that allows overriding.</p>
<pre lang="php">if ( ! function_exists( 'twentyten_posted_on' ) ) :
function twentyten_posted_on() {
    STUFF
}
endif;</pre>
<p>If you write your own <em>twentyten_posted_on()</em> function in your child theme&#8217;s <em>function.php</em>, TwentyTen will not try to define it again, but instead use yours. You can change more parts of the theme without having to create your own template files.</p>
<h3>Template files</h3>
<p>But if you want to do more, you will have to dive deeper in the code. I wanted to change my header a lot from what TwentyTen offers, so I created my own <em>header.php</em> file and used that. As soon as I placed it in the child theme&#8217;s directory, it replaced the default header. This can be done to replace all PHP files you find in the parent theme&#8217;s directory.</p>
<p>Interesting template files you could consider replacing, are <em>loop.php</em> and <em>loop-single.php</em>, which are used everywhere to display a post or lists of posts and <em>searchform.php</em>, which is used to display the search form when available.</p>
<p>Here another advantage of child themes becomes clear: you can create template files for the most common pages and leave the rarely used ones to the parent theme. Also, if WordPress decides to add a new page, your theme will automatically support it as soon as the update arrives.</p>
<h3>Important to notice</h3>
<p>There are some things to keep in mind while working on the child theme. By default you would use <em>bloginfo(&#8216;template_directory&#8217;);</em> to print the base path when embedding images. But when you want to use images in the directory of the child theme, you will have to use <em>bloginfo(&#8216;stylesheet_directory&#8217;);</em> instead.</p>
<p>I wrote this post for the TwentyTen theme, but since then TwentyEleven has been published. Although it probably works just as well for the greatest part, there might be some minor differences. Also check the new template files like <em>content-*.php</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sehofstede.nl/wordpress-site-design-for-amateurs-great-results-with-child-themes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New theme, archive overview, shoutbox and more</title>
		<link>http://www.sehofstede.nl/new-theme-archive-overview-shoutbox-and-more</link>
		<comments>http://www.sehofstede.nl/new-theme-archive-overview-shoutbox-and-more#comments</comments>
		<pubDate>Fri, 14 Nov 2008 19:03:51 +0000</pubDate>
		<dc:creator>Sense Egbert Hofstede</dc:creator>
				<category><![CDATA[English Posts]]></category>
		<category><![CDATA[qense]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.qense.nl/?p=209</guid>
		<description><![CDATA[I&#8217;I wasn&#8217;t very happy with the previous theme. Although it was a very nice looking one, I prefer a calmer theme that allows you to place more widgets in the sidebar. Today I finally made some time free to have &#8230; <a href="http://www.sehofstede.nl/new-theme-archive-overview-shoutbox-and-more">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;I wasn&#8217;t very happy with the previous theme. Although it was a very nice looking one, I prefer a calmer theme that allows you to place more widgets in the sidebar.</p>
<p>Today I finally made some time free to have a look at the blog and decided to switch to the <a title="WordPress &gt; Mini" href="http://wordpress.org/extend/themes/mini"><em>Mini</em></a> theme. I really like the clean look and the three sidebars. The icons that are a part of this theme look much better than the previous ones.</p>
<p>Since I had more space in my sidebars I went looking for some more widgets. Next to some additions to the side panel I also installed some other plugins I stumbled upon. Here a list with a small description:</p>
<ul>
<li><a title="Snazzy Archives - WordPress plugins" href="http://www.prelovac.com/vladimir/wordpress-plugins/snazzy-archives">Snazzy Archives</a>, a plugin that creates a nice overview page of your archive. You can find it in the menu at the top of the page under <a title="Archive Overview | Qense's blog" href="http://www.qense.nl/archive-overview">Archive Overview</a>.</li>
<li><a href="http://pierre.sudarovich.free.fr/index.php/2006/02/28/ajax-shoutbox/">AJAX Shoutbox</a>(aka Pierre&#8217;s WordSprew), the widget you can see at your right is indeed a shoutbox. Leave a message if you feel like!</li>
<li><a title="Live Blogroll - WordPress plugins" href="http://www.prelovac.com/vladimir/wordpress-plugins/live-blogroll">Live Blogroll</a>, a plugin that shows the first parts of the posts on the blogs you link to when you hover over their names.Try it at the blogroll in the right sidebar.</li>
<li><a title="SEO Friendly Images - WordPress plugins" href="http://www.prelovac.com/vladimir/wordpress-plugins/seo-friendly-images">SEO Friendly Images</a>, a plugin that adds and sometimes enhances both the <em>alt</em> and <em>title</em> attributes of images to make them XHTML Strict valid and improve the readability for search engines.</li>
</ul>
<p>I&#8217;m curious to your opinions. What do you think of the new theme? Do you like the new plugins? Please leave a comment or a message in the shoutbox.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sehofstede.nl/new-theme-archive-overview-shoutbox-and-more/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Stats/discussion on Ultimatix</title>
		<link>http://www.sehofstede.nl/wordpress-statsdiscussion-on-ultimatix</link>
		<comments>http://www.sehofstede.nl/wordpress-statsdiscussion-on-ultimatix#comments</comments>
		<pubDate>Sat, 11 Oct 2008 15:34:50 +0000</pubDate>
		<dc:creator>Sense Egbert Hofstede</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[English Posts]]></category>
		<category><![CDATA[Planet Ubuntu]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[qense]]></category>
		<category><![CDATA[stats]]></category>
		<category><![CDATA[ubuntunl]]></category>
		<category><![CDATA[ultimatix]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.qense.nl/?p=186</guid>
		<description><![CDATA[Just before I switched to the current theme, a beautiful piece of work called deMar by webdemar, I installed the WordPress Stats plugin. This plugin sends the traffic data to your WordPress.com account(yes, just like Askimet it requires an API &#8230; <a href="http://www.sehofstede.nl/wordpress-statsdiscussion-on-ultimatix">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just before I switched to the current theme, a beautiful piece of work called <a href="http://webdemar.com/wordpress/wordpress-theme-demar-1-0/">deMar</a> by <a title="WordPress Theme Blog" href="http://webdemar.com">webdemar</a>, I installed the <a title="WordPress &gt; WordPress.com Stats" href="http://wordpress.org/extend/plugins/stats/">WordPress Stats</a> plugin. This plugin sends the traffic data to your WordPress.com account(yes, just like Askimet it requires an API key) where the statistics are calculated.</p>
<p>Although I didn&#8217;t find Google Analytics bad, it&#8217;s just easier to keep an eye on something that is integrated into the blog&#8217;s dashboard. Furthermore I find the way it presents the data better. I have a way better overview what blog posts attract the most attention and where my readers come from by showing the reffer URLs.</p>
<p>It also gave me some interesting information about what people think of my posts. So did I find this forum topic about Ultimatix at the forum of <a href="http://forumubuntusoftware.info/">Ubuntu Ultimate Edition</a>, a project that has strong ties with <a title="Ultimatix" href="http://ultimatix.org/">Ultimatix</a>: http://forumubuntusoftware.info/viewtopic.php?f=32&amp;t=1365&amp;start=70</p>
<p>One of the moderators of the forum found my blog post about the tool that should make the life for linux-newcomers easier: <a href="http://www.qense.nl/posts/ubuntu-nl-warns-for-ultimatix">Ubuntu NL warns for Ultimatix</a>.<br />
He was pissed off, I could kiss his ass and should get the facts &#8216;strait&#8217;. Weird, I thought I just presented some facts.</p>
<p>After that some other users continued with this constructed criticism: criticasters of Ultimatix were <em>cornballz</em>, Ubuntu NL is arrogant and we arre all bashing something we don&#8217;t know a thing about. They continued with telling how great Ultimatix was; it did work, except for small things like the kernel not liking the mouse anymore or a broken Ultimatix. Fortunately that could be solved by reinstalling the system or removing the program from Synaptics and trying again. Easy!</p>
<p>What strikes me most is not the lack of constructive arguments or knowledge of the location of the Enter-key, but that the people who bashed the hardest were the moderators of the forum. This forum is the official support forum for Ultimatix and its staff doesn&#8217;t know how to behave or how to handle with criticism. Maybe they should read the code-of-conduct.</p>
<p>About them telling me to come to the forums to give feedback instead of critcizing. &#8220;What happened to being an open source community sharing and helping moto. Some people get super egos.&#8221;<br />
First of all I&#8217;d like to say that what I posted was not just a rant on Ultimatix. It was a warning containing some detailed information on the problems, researched by members of Ubuntu NL. If I&#8217;m right some of them already have been fixed, but that&#8217;s not my problem now.<br />
Secondly I don&#8217;t like to register on a lot of websites for things like this and I don&#8217;t see why it&#8217;s required here. I&#8217;m open to any discussion and (constructive) criticism and do not delete comments I don&#8217;t like. Reactions like this discourage me from contributing.</p>
<p>I hope I don&#8217;t sound too ranty, but I just would like to defend myself agains this. I have written better posts than this one, and more objective ones too, but I don&#8217;t like it when I&#8217;m attacked.<br />
I appreciate that TheeMan tries to make Linux easier to use for newcomers, I don&#8217;t want to bash anyone. The intention of the post was to warn users for the possible dangers of the software.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sehofstede.nl/wordpress-statsdiscussion-on-ultimatix/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Feeds for tags</title>
		<link>http://www.sehofstede.nl/feeds-for-tags</link>
		<comments>http://www.sehofstede.nl/feeds-for-tags#comments</comments>
		<pubDate>Sun, 16 Mar 2008 19:34:27 +0000</pubDate>
		<dc:creator>Sense Egbert Hofstede</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[English Posts]]></category>
		<category><![CDATA[qense]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.qense.nl/posts/feeds-for-tags/</guid>
		<description><![CDATA[I&#8217;ve been looking for a way to get feeds from all tags, automatically generated. At first I thought that I had to write a own piece of code or use an already written extension. But after searching for a while &#8230; <a href="http://www.sehofstede.nl/feeds-for-tags">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for a way to get feeds from all tags, automatically generated. At first I thought that I had to write a own piece of code or use an already written extension. But after searching for a while I fortunately discovered that the function already exists.<br />
If you want to get the feed of e.g. posts with the tag english you go to <a href="http://www.qense.nl/tags/english/feeds">http://www.qense.nl/tags/english/feeds</a>. This trick can also be used for categories.<br />
You never stop learning. <img src='http://www.sehofstede.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>EDIT: I just discovered that it works for all things. If you just add /feed/ to a WordPress url you&#8217;ll get the feet for the posts displayed at that page. That means you can also get feeds from an archive.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sehofstede.nl/feeds-for-tags/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Back to WordPress</title>
		<link>http://www.sehofstede.nl/back-to-wordpress</link>
		<comments>http://www.sehofstede.nl/back-to-wordpress#comments</comments>
		<pubDate>Sun, 02 Dec 2007 12:14:23 +0000</pubDate>
		<dc:creator>Sense Egbert Hofstede</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[English Posts]]></category>
		<category><![CDATA[pivot]]></category>
		<category><![CDATA[qense]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.qense.nl/?p=26</guid>
		<description><![CDATA[You&#8217;ve probably noticed that I&#8217;m back to WordPress. I just couldn&#8217;t stand pivot anymore. The errors I got, blank pages, hard to configure, etc.. It just didn&#8217;t feel right. I&#8217;m glad I&#8217;m back to WordPress now. I haven&#8217;t got much &#8230; <a href="http://www.sehofstede.nl/back-to-wordpress">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve probably noticed that I&#8217;m back to WordPress. I just couldn&#8217;t stand pivot anymore. The errors I got, blank pages, hard to configure, etc.. It just didn&#8217;t feel right. I&#8217;m glad I&#8217;m back to WordPress now. I haven&#8217;t got much to say, except that I still need to make a new design for the blog <img src='http://www.sehofstede.nl/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sehofstede.nl/back-to-wordpress/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New design</title>
		<link>http://www.sehofstede.nl/new-design</link>
		<comments>http://www.sehofstede.nl/new-design#comments</comments>
		<pubDate>Wed, 26 Sep 2007 13:54:00 +0000</pubDate>
		<dc:creator>Sense Egbert Hofstede</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[English Posts]]></category>
		<category><![CDATA[qense]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.qense.nl/?p=24</guid>
		<description><![CDATA[At the moment I&#8217;m upgrading the blog to WordPress 2.3, the latest version of the blogging tool I&#8217;m using. The only things I remember are it&#8217;s update notification and native support for tag clouds. When that&#8217;s done I&#8217;ll create a &#8230; <a href="http://www.sehofstede.nl/new-design">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>At the moment I&#8217;m upgrading the blog to WordPress 2.3, the latest version of the blogging tool I&#8217;m using. The only things I remember are it&#8217;s update notification and native support for tag clouds. When that&#8217;s done I&#8217;ll create a style on my own to make it more my blog. I&#8217;ve found a nice <a href="http://hlrnet.com/colormatch/index.php">colour matcher,</a> which I&#8217;m going to use. I hope it will make my work a bit easier and better.</p>
<p>Oh, maybe you noticed already, but I started to write in English. I will write in Dutch sometimes, but my postings about tech-stuff will be (mainly) in English.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sehofstede.nl/new-design/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nieuw Uiterlijk</title>
		<link>http://www.sehofstede.nl/nieuw-uiterlijk</link>
		<comments>http://www.sehofstede.nl/nieuw-uiterlijk#comments</comments>
		<pubDate>Thu, 28 Dec 2006 15:43:00 +0000</pubDate>
		<dc:creator>Sense Egbert Hofstede</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[Dutch Posts]]></category>
		<category><![CDATA[qense]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.qense.nl/?p=25</guid>
		<description><![CDATA[Zoals je ziet is het uiterlijk van de website veranderd. Ik heb het thema Wuhan van Meng Gao geinstalleerd en de header aangepast door de orginele tekst (bijna) helemaal weg te gummen, nieuwe tekst toe te voegen en er een &#8230; <a href="http://www.sehofstede.nl/nieuw-uiterlijk">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Zoals je ziet is het uiterlijk van de website veranderd. Ik heb het thema Wuhan van <a title="Bezoek homepage maker" href="http://wuhan.authenticasian.com/">Meng Gao</a> geinstalleerd en de header aangepast door de orginele tekst (bijna) helemaal weg te gummen, nieuwe tekst toe te voegen en er een plaatje onder zetten. Wat vinden jullie ervan? <img src='http://www.sehofstede.nl/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.sehofstede.nl/nieuw-uiterlijk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

