Customizing the Thesis Theme with Function Hooks

by David Salahi on January 23, 2010

After I made my first post to this new blog everything seemed great. But when I added my second post, I was surprised to discover that the new post was displayed lower on the page than my first one. Many blogs (most?) display posts in reverse chronological order so that the newest material is always at the top of the page. That’s what I expected to see on my blog but was surprised to discover the opposite.

Well, says I, I’ll just have to find the option in the settings to choose reverse display order and off I went digging through my WordPress dashboard. Half an hour later I concluded that my theme (Thesis) has no such option. Bummer.

So, I searched the Thesis Forums and discovered that someone else had inquired about how to do this and that an answered had been posted. Unfortunately, the answer required a bit of PHP coding and I wasn’t thrilled about that. Now, as a software developer I don’t mind getting my hands dirty with code. My only hesitation had to do with the amount time it can take to learn a new software product. I wasn’t ready to embark on a lengthy side excursion just to get my posts displayed in reverse order.

However, I kept reading and I learned that my theme, Thesis, has been very intelligently designed (aren’t I smart for choosing it? :) ) and there is a very simple, clean process for adding code. All I needed to do was to copy and paste seven lines of code from the forum into a box in my WordPress dashboard and voila — my posts were now sorted in the desired reverse chronological order! I think I’m going to like Thesis.

{ 1 comment… read it below or add one }

Dave Kinnear February 27, 2010 at 7:40 pm

Dave,

I too like this theme, it’s clean, neat and useful information is displayed. Good choice. The fact that it also is easy to modify is icing on the cake.

Good job choosing. Now all you have to do is get in the groove posting to this beautiful blog! Good luck with that!

Dave K.

Leave a Comment

Previous post:

Next post: