I'm Gilbert Pellegrom.

Archive for the ‘Wordpress’ Category

How To: Preview a Theme in Wordpress the Easy Way

Here is a quick easy one for you. Say you have developed a new theme for your Wordpress site and you’ve uploaded it but want to make some final checks before putting it live for everyone to see. Well you can simply use a URL in the following format:

http://www.mysite.com/?preview=1&template=themename&stylesheet=themename

Above replace the themename with the name of the theme you want to test and hola! A fully working preview of your theme, while everyone else see’s the normal theme. Note you have to be logged in for this to work.

How To: Related Posts in Wordpress Feeds

Related Posts in Wordpress FeedsIn this tutorial I’m going to show you how to add a list of related posts by tag to your feeds in Wordpress. And yes we are going to do it the good old fashioned way by coding it ourselves. The function for getting related posts can be used to show them on normal posts as well but for this example we add some extra bit’s to make sure they only show up in our feed and not on our normal posts. It’s also worth mentioning that this code will add the related posts list to all of your feeds (e.g. RSS, RSS2, Atom etc) as Wordpress generates multiple types of feed for your blog automatically.

Continue Reading »

Wordpress Theme Framework Launch

I’ve been busy over the last wee while creating yet another helpful product. This time it’s to help Wordpress theme developers. It’s called the Wordpress Theme Framework (or WTF for short).

Wordpress Theme Framework

The first thing I should say is WTF is not a theme. It is a theme framework. It’s designed to easily add all the extra theme functionality you get in all the latest themes without having to code it all by hand. I’m not going to say much more about it here other than go and check it out. Oh and let me know what you think.

Luna Wordpress Theme

Today my new Wordpress theme called Luna Theme was approved on ThemeForest.net for sale for just $20. This theme is clean and light theme with a focus on typography for professional blogging.

Luna Wordpress Theme

Continue Reading »

How To: Breadcrumbs in Wordpress

In this tutorial I am going to show you how to do proper, full breadcrumbs in Wordpress including nested categories and nested pages. Breadcrumbs are a pretty standard design pattern and can be very useful in a lot of website situations.

Breadcrumbs in Wordpress

I’m aware there are already some good plugins for adding breadcrumbs in Wordpress but I’m going to show you how to do it the good old fashioned way.

Continue Reading »