Thesis Custom Header – Footer Not Working

by Jhet Bhlak on February 24, 2012

Problem

How smart is your Theme? How good is your support? Check out ThesisTheme for WordPress.I recently ran into an issue with one of my WordPress websites that runs the Thesis theme. I spent several hours last night and a this morning trying to figure out exactly what was going on. No matter what changes I made, the custom header and custom footer would NOT update. I wrote my own code, that didn’t work. I copied code from the web, that didn’t work. I rewrote my code so it had plain text for the header, that didn’t work. I copied different code from another website, that didn’t work. WTF?!?

Background Story

But let me back up just a bit. This is a website that I had all but abandoned a couple of years ago and I’m just now getting back to it. You see, I had grand plans for this site. I had a strategy all mapped out and a clear direction I was headed in. The niche was all chosen and I knew how I would monetize it. All I needed was a website built to my specs using Thesis. So I started hunting down a designer to do the work.

* Enter Fly-By-Night Designer *

Let me tell you, I found the BEST deal you could ever find for a custom developed theme! For the low low price of $700 I was going to get my theme tailored to all of my specifications! I was getting all the widgets added, the custom ad slots created and a custom login system with a custom control panel for the members! BUT WAIT! There’s MORE! I was getting all of this, not only for the low low price of $700 BUT my product would ALSO be fully functional and delivered to me in ONLY 7 to 10 DAYS!

So I did the rational thing and checked out the reviews (on a 3rd party site) for this designer. And let me tell you, they were outstanding! Fabulous work…Delivered on time…Flashy lights, 12 trumpets a trumpeting, Angels singing in joy….yadda yadda yadda.

So ya, I’m sure you guessed the results. After two and a half months there was a bright orange box added to the sidebar of my site, the header had some funky code that did nothing as far as I could tell and I couldn’t get a hold of the designer despite three weeks of constant emails being sent. So I reversed the charges on the CC and left the site site in a dusty closet for a long time.

Solution

Which brings me back to my custom header/footer problem with the thesis theme. The problem had something to do with the custom code the designer added. The code didn’t actually perform any function but something in there must have been malformed because any code after his function was pretty much rendered null and void. As if it didn’t exist!

So how did I figure out what the problem was? Well I chose the hack and slash method. I started cutting out code until I found what broke. The easiest way for me to do this was to copy all of the custom functions code to a separate file and start adding things into my blank custom functions file one at a time until I found the culprit…the screwy function that I should have just removed in the first place!

On the bright side I did find some cool code to widgetize the header and footer.

Leave a Comment

Previous post:

Next post: