I'm Gilbert Pellegrom.

Archive for December, 2009

What Happened Here This Year

At this time of year (generally at the end) we like to look back and take stock of the events that occurred during the year. So I thought I would let you recollect with me the events that have happened on this blog over 2009.

Continue Reading »

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 »

Speed Up Your Site with Simple Caching in PHP

Simple PHP Caching

View Demo Download Source

After reading David Walsh’s “Retrieve, Cache, and Display Your FeedBurner Subscriber Count” post I was inspired to expand on the example he had created and created my own simple PHP caching class. To be honest I was amazed at the results. So I’ve decided to share with you what I’ve done and how I did it.

Continue Reading »

The Art of the Fad

by Gilbert Pellegrom
Maybe you’ve heard the childlike excitement circulating when all new fads start to show some promise. Maybe you’ve heard about Smashing Magazine’s The Death Of The Blog Post article. Maybe you’ve read it. Maybe you’ve heard names like Jason Santa Maria or Dustin Curtis and wondered what all the fuss is about. Maybe you’ve heard of the whole “You’re killing me, Zappos” saga or the “Dear AmericanAirlines” letter. Maybe you’re fed up with me saying maybe. However there is one thing all of these things have in common. They have started a movement.

Continue Reading »