Posted by Mitch Mitchell on Jun 6, 2009
A couple of weeks ago, I decided the theme for my finance blog, Top Finance Blog, was kind of dark. That, plus the background for it was actually a template and not just a color, and I couldn’t come close to matching the template color when trying to set up my Adsense on it. So, I decided it had to be changed, and went with the one that’s there now.
I liked the theme because it was pretty clean, but things were off for some reason. I finally figured out that all the stuff I’d had on my previous theme, which had two right sidebars, was missing. I went into the Appearance areas, into the widgets, and saw that instead of just right and left, this new theme had an area that just said Sidebar, but it didn’t go anywhere. The theme I chose allows for different kinds of customization.
What I’d forgotten early on was that every time you change a theme, you need to go back to your old theme and copy any customization you made to it, and move it to the new theme. I did that, and everything looked good once more.
Then a few days ago I decided to check the stats on some of my websites, went to that one, and I didn’t have a single visitor. I knew that was wrong because I’d been getting comments. Then I remembered that I hadn’t transferred the Google Analytics code to the new theme either. That’s one of a couple of codes I have in my themes that I can’t just see by looking at my blog, which is why I’d totally missed it. Went back, copied that code, and all is right with the world once more.
It’s an important thing to remember to check all of your coding when you change your theme. You never know what important thing you might be missing until much later.