This week has been hectic, to say the least. We rolled out a new layout on 32 of our blogs, and it introduced a WORLD of problems. I’ve posted in the past about how you should reduce the number of PHP calls in your template files in order to reduce the load on your server, and speed up the delivery of your pages to the end user. In the interest of time, I decided to forgoe my own advice – And it made a real mess!

The new theme we’re using has a LOT of customizable features, all accessible from a seperate page in the WP Dashboard. It’s great for the beginner blogger, but it’s not needed if you know your way around themes. Because of this, there are a TON of PHP calls to check on what parameters have been set, and that really puts a strain on the server. Now multiply that by 32, and you’re totally screwed!

So I had to go through the theme files and remove the unnecessary PHP calls. As I worked, I saw the load averages dropping, so I knew I was on the right path. But now these changes had to be made 31 more times. Talk about tedious..

So learn from me – Do things right the first time, and you’ll end up saving time in the long run!