<?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>Wordpress Tips and Tricks!</title>
	<atom:link href="http://www.programmersheaven.com/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.programmersheaven.com/wordpress</link>
	<description>Get the most out of your Wordpress installation</description>
	<lastBuildDate>Tue, 02 Feb 2010 14:08:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Need to reset a WordPress password in database?</title>
		<link>http://www.programmersheaven.com/wordpress/2010/02/02/need-to-reset-a-wordpress-password-in-database/</link>
		<comments>http://www.programmersheaven.com/wordpress/2010/02/02/need-to-reset-a-wordpress-password-in-database/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 08:49:01 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Tricks]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.programmersheaven.com/wordpress/?p=60</guid>
		<description><![CDATA[Found this little tool the other day, comes in handy if you need to reset a wordpress password in database. Check out the &#8220;New WordPress password hasher tool&#8221;. It used to be md5() but that has changed. When you move and alter WordPress blogs you sometime need to change direct in the db with for [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F02%2F02%2Fneed-to-reset-a-wordpress-password-in-database%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F02%2F02%2Fneed-to-reset-a-wordpress-password-in-database%2F&amp;source=mattiaswirf&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Found this little tool the other day, comes in handy if you need to reset a wordpress password in database. Check out the <a href="http://www.stottmeister.com/blog/2009/06/30/new-wordpress-password-hasher-tool/" target="_blank">&#8220;New WordPress password hasher tool&#8221;</a>. It used to be md5() but that has changed. When you move and alter WordPress blogs you sometime need to change direct in the db with for example phpMyAdmin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.programmersheaven.com/wordpress/2010/02/02/need-to-reset-a-wordpress-password-in-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a WordPress theme</title>
		<link>http://www.programmersheaven.com/wordpress/2010/02/01/create-a-wordpress-theme/</link>
		<comments>http://www.programmersheaven.com/wordpress/2010/02/01/create-a-wordpress-theme/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 14:42:54 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Themedevelopment]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[kubrick]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.programmersheaven.com/wordpress/?p=34</guid>
		<description><![CDATA[To create a wordpress theme the easiest way is proably to use the default theme and make a copy. Then you can change and build from there. The first step I&#8217;ll assume you have a WordPress installation of your own, on your host or your server. You also need an texteditor to write code in [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F02%2F01%2Fcreate-a-wordpress-theme%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F02%2F01%2Fcreate-a-wordpress-theme%2F&amp;source=mattiaswirf&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>To create a wordpress theme the easiest way is proably to use the default theme and make a copy. Then you can change and build from there.</p>
<p><strong>The first step</strong><br />
I&#8217;ll assume you have a WordPress installation of your own, on your host or your server. You also need an texteditor to write code in (don&#8217;t have an editor? check out <a href="http://www.open-source-editor.com" target="_blank">open-source-editor.com</a> for links to editors). Your themes are located in <code>/wp-content/themes/</code>.</p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/01/skapa-wordpresstema-001.gif" rel="lightbox[34]" title="Find theme"><img src="http://www.programmersheaven.com/wordpress/files/2010/01/skapa-wordpresstema-001-193x300.gif" alt="Find theme" title="Find theme" width="193" height="300" class="aligncenter size-medium wp-image-37" style="border: 1px solid #ccc" /></a></p>
<p>The first thing I want to do is to create a new folder in /wp-content/themes and give it the name I want to use on the theme (no spaces or capital letters).</p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/01/skapa-wordpresstema-002.gif" rel="lightbox[34]" title="Create teme folder"><img src="http://www.programmersheaven.com/wordpress/files/2010/01/skapa-wordpresstema-002-300x196.gif" alt="Create teme folder" title="Create teme folder" width="300" height="196" class="aligncenter size-medium wp-image-38" style="border: 1px solid #ccc" /></a></p>
<p>As you might see from the image above I&#8217;m working on a project called Tysslinge Företagare and I therefore name my theme and its folder &#8220;tysslinge&#8221;.</p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-003.gif" rel="lightbox[34]" title="Create folder"><img src="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-003.gif" alt="Create folder" title="Create folder" width="198" height="288" class="aligncenter size-full wp-image-40" style="border: 1px solid #ccc" /></a></p>
<p>The next step is to copy all the files in the default theme.</p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-005.gif" rel="lightbox[34]" title="Copy files"><img src="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-005-219x300.gif" alt="Copy files" title="Copy files" width="219" height="300" class="aligncenter size-medium wp-image-41" style="border: 1px solid #ccc" /></a></p>
<p>And paste them in the folder &#8220;xxx&#8221;</p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-006.gif" rel="lightbox[34]" title="Paste files"><img src="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-006-246x300.gif" alt="Paste files" title="Paste files" width="246" height="300" class="aligncenter size-medium wp-image-44" style="border: 1px solid #ccc" /></a></p>
<p>WordPress will not understand that this is a new theme yet. You want to open <em>style.css</em> and change these rows:</p>
<ul>
<li><strong>Theme Name:</strong> (<em>use the same name as the folder you created</em>)</li>
<li><strong>Theme URI:</strong> (<em>the site using the theme</em>)</li>
<li><strong>Description:</strong> (<em>description of the theme</em>)</li>
<li><strong>Version:</strong> (<em>version, maybe not very important if it&#8217;s just your own</em>)</li>
<li><strong>Author:</strong> (<em>you</em>)</li>
<li><strong>Author URI:</strong> (<em>your site</em>)</li>
</ul>
<p>Have a look at mine:</p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-007.gif" rel="lightbox[34]" title="CSS file for theme"><img src="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-007-300x157.gif" alt="CSS file for theme" title="CSS file for theme" width="300" height="157" class="aligncenter size-medium wp-image-46" style="border: 1px solid #ccc" /></a></p>
<p><small>If you are going to use the code from the default theme be sure to give credit to Michael Heilemann fro creating the theme, &#8220;Kubrick&#8221;.</small></p>
<p>Time to <strong>activate</strong> and use the new theme so you can work with it. Login to your wordpress themes admin-panel. Click on &#8220;Appearance&#8221; in the left menu. </p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-008.gif" rel="lightbox[34]" title="Theme view"><img src="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-008-195x300.gif" alt="Theme view" title="Theme view" width="195" height="300" class="aligncenter size-medium wp-image-48" style="border: 1px solid #ccc" /></a></p>
<p>You&#8217;ll see that the defalt theme is activated, but under &#8220;Available themes&#8221; you can find your new theme. Click on &#8220;Activate&#8221; below the theme-icon.</p>
<p><a href="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-009.gif" rel="lightbox[34]" title="Available themes"><img src="http://www.programmersheaven.com/wordpress/files/2010/02/skapa-wordpresstema-009-274x300.gif" alt="Available themes" title="Available themes" width="274" height="300" class="aligncenter size-medium wp-image-47" style="border: 1px solid #ccc" /></a></p>
<p>The site should now show your own theme when you pay it a visit :) Ok, it looks just like the default layout-theme, but now you have a guide to play with and work from. If an error should occur you can just go back to the default theme again. <strong>And I will keep writing and show you how to make it look just like you want it to</strong>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.programmersheaven.com/wordpress/2010/02/01/create-a-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPressinspiration 1 &#8211; Dot Kite</title>
		<link>http://www.programmersheaven.com/wordpress/2010/01/20/wordpressinspiration-1-dot-kite/</link>
		<comments>http://www.programmersheaven.com/wordpress/2010/01/20/wordpressinspiration-1-dot-kite/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 07:57:46 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Inspiration]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://www.programmersheaven.com/wordpress/?p=27</guid>
		<description><![CDATA[We need inspiration to push boundries, so here are WordPressinspiration 1 &#8211; Dot Kite. Very nice looking and far from the default WordPress theme, but a bit slow. I will continue to post great sites developed with WordPress. I doesn&#8217;t have to be &#8220;flashy&#8221;, animated stuff. Just innovative or pretty :)]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F20%2Fwordpressinspiration-1-dot-kite%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F20%2Fwordpressinspiration-1-dot-kite%2F&amp;source=mattiaswirf&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We need inspiration to push boundries, so here are WordPressinspiration 1 &#8211; <a href="http://www.dotkite.eu" target="_blank">Dot Kite</a>. Very nice looking and far from the default WordPress theme, but a bit slow.</p>
<p>I will continue to post great sites developed with WordPress. I doesn&#8217;t have to be &#8220;flashy&#8221;, animated stuff. Just innovative or pretty :) </p>
<div align="center"><img src="http://www.programmersheaven.com/wordpress/files/2010/01/wordpressinspiration1-scaled.jpg" alt="wordpressinspiration1-scaled" title="wordpressinspiration1-scaled" width="400" height="201" class="aligncenter size-full wp-image-28" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.programmersheaven.com/wordpress/2010/01/20/wordpressinspiration-1-dot-kite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide your version of WordPress</title>
		<link>http://www.programmersheaven.com/wordpress/2010/01/18/hide-your-version-of-wordpress/</link>
		<comments>http://www.programmersheaven.com/wordpress/2010/01/18/hide-your-version-of-wordpress/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 10:36:37 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Themedevelopment]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[themefile]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.programmersheaven.com/wordpress/?p=12</guid>
		<description><![CDATA[For better security on your website you can hide the version of WordPress. If you rightclick on your WordPress driven website and select View Source, you will probably see a tag like this one: &#60;meta name="generator" content="WordPress 2.8.4" /&#62; You should keep your installation of WordPress up to date, but for someone trying to hack [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F18%2Fhide-your-version-of-wordpress%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F18%2Fhide-your-version-of-wordpress%2F&amp;source=mattiaswirf&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>For better security on your website you can hide the version of WordPress. If you rightclick on your WordPress driven website and select <em>View Source</em>, you will probably see a tag like this one:</p>
<pre lang="php" style="font-size: 12px;">&lt;meta name="generator" content="WordPress 2.8.4" /&gt;</pre>
<p>You should keep your installation of WordPress up to date, but for someone trying to hack your site it might be harder to find the possible issues if they don&#8217;t know which version it is. The meta-tag can be inserted in the theme in a couple of methods by the theme designer. Open your themes file <em>header.php</em> and look for the tag</p>
<pre lang="php" style="font-size: 12px;">&lt;meta name="generator" content="WordPress <?php bloginfo(’version’); ?>" /&gt;</pre>
<p>Remove it or just replace the content with just &#8220;WordPress&#8221;. <strong>Can&#8217;t find it?</strong> New themes often use another method to show this meta-tag. They use the function <code>wp_head();</code> to print version and some other information. Look for <code>wp_head();</code> in your themes header.php</p>
<p>You don&#8217;t want to remove wp_head(); all together, because you don&#8217;t know what uses it (it can do more then print version). Do it this way: open your themes file <em>functions.php</em>. If you can&#8217;t find it among the other theme-files create it. Add this as PHP-code:</p>
<pre lang="php" style="font-size: 12px;">&lt;?php remove_action(’wp_head’, ‘wp_generator’); ?&gt;</pre>
<p>Save it and your good to go. If you want to show your using WordPress you can still add the tag manually as described above. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.programmersheaven.com/wordpress/2010/01/18/hide-your-version-of-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lock your WordPress login</title>
		<link>http://www.programmersheaven.com/wordpress/2010/01/18/lock-your-wordpress-login/</link>
		<comments>http://www.programmersheaven.com/wordpress/2010/01/18/lock-your-wordpress-login/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 07:39:05 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://www.programmersheaven.com/wordpress/?p=9</guid>
		<description><![CDATA[A good tip for security is to lock your WordPress login. With the plugin &#8220;Login Lockdown&#8221; you can log failed logins and block the user after a certain number failures. How many incorrect attempts and the length of the stoppage can be set in the optionspage of the plugin. To install: download and put in [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F18%2Flock-your-wordpress-login%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F18%2Flock-your-wordpress-login%2F&amp;source=mattiaswirf&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>A good tip for security is to lock your WordPress login. With the plugin &#8220;<a class="external" href="http://wordpress.org/extend/plugins/login-lockdown/" target="_blank">Login Lockdown</a>&#8221; you can log failed logins and block the user after a certain number failures. How many incorrect attempts and the length of the stoppage can be set in the optionspage of the plugin. To install: download and put in the folder <code>wp-contens/plugins</code> on your web server. Then, just activate it in Admin-&gt; Plugins and change the settings to your liking.<br />
<a href="http://wordpress.org/extend/plugins/login-lockdown/"><img class="aligncenter size-full wp-image-10" title="login-lockdown-cropped" src="http://www.programmersheaven.com/wordpress/files/2010/01/login-lockdown-cropped.png" alt="login-lockdown-cropped" width="383" height="427" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.programmersheaven.com/wordpress/2010/01/18/lock-your-wordpress-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Only for blogs?</title>
		<link>http://www.programmersheaven.com/wordpress/2010/01/07/only-for-blogs/</link>
		<comments>http://www.programmersheaven.com/wordpress/2010/01/07/only-for-blogs/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 09:34:45 +0000</pubDate>
		<dc:creator>Mattias Wirf</dc:creator>
				<category><![CDATA[About the site]]></category>

		<guid isPermaLink="false">http://www.programmersheaven.com/wordpress/?p=3</guid>
		<description><![CDATA[The content management system WordPress has gained enormous in popularity, but is it a complete CMS or just a blogging tool? In this blog we will try to give you the tools, the freedom, to create what you wan&#8217;t with WordPress. It is a very extendable platform which can be easily tweaked with themes and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F07%2Fonly-for-blogs%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.programmersheaven.com%2Fwordpress%2F2010%2F01%2F07%2Fonly-for-blogs%2F&amp;source=mattiaswirf&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>The content management system WordPress has gained enormous in popularity, but is it a complete CMS or just a blogging tool? In this blog we will try to give you the tools, the freedom, to create what you wan&#8217;t with WordPress. It is a very extendable platform which can be easily tweaked with themes and plugins. The large community of users also insures that it is very well documented. Most things you want to do, you can be quite sure someone else has tried before! I&#8217;ll be back with some useful tips in a short while.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.programmersheaven.com/wordpress/2010/01/07/only-for-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

