DISQUS

Instigator Blog: 10 Things You Must Do When Changing WordPress Themes

  • Talented Chimp · 2 years ago
    =============================
    "Test Using Multiple Browsers. Most people forget to test using multiple browsers, but it’s very important. If you’re using a PC it’s easy to test your blog in Firefox and Internet Explorer. On a Mac you can check it out in Firefox and Safari."
    =============================

    Using Linux you can check Firefox, Opera, Epiphany, Konqueror, Netscape and a few more whose names I have forgotten.
  • Paul OFlaherty · 2 years ago
    Guess I was guilty of not employing number 10 recently :(
  • Ben Yoskovitz · 2 years ago
    Thanks for bringing that point up Talented Chimp. Most users aren't on Linux though - but if they know someone who is they could easily ask for help in testing.

    Paul -- great looking design! When you post about the new design (there's still time!) I'll post some thoughts there...
  • Greg Balanko-Dickson · 2 years ago
    Thanks Ben, I too did not announce my design change. Great tips.
  • Jon Symons · 2 years ago
    You can use this service to check you site in 30 different browsers.
  • siong1987 · 2 years ago
    Jon Symons, the website you gave sometimes cant work.
  • absorbation · 2 years ago
    Great article, it also applies to many other user content scripts that are out there. I'll try and remember these tips when it comes to updating things myself :).
  • Tris Hussey · 2 years ago
    Great post! Now I gotta figure out where to post it!
  • Bill Berry · 2 years ago
    Ben,

    Another great article. My wife was wondering why she lost her adsense, and now she knows why. I like the new design. Keep up the great work!
  • Dan Atkinson · 2 years ago
    Hey there! A nice checklist!

    If using meta tags is the option on your site if you can't upload (Blogger for instance), then having a meta plugin always helps.

    Here are a few:
    http://codex.wordpress.org/Plugins/Meta
  • ptinfrance · 2 years ago
    thanks for the good time of your post (i\\\'ve been wanting to change themes).

    one thing i added to your header.php modification is this:

    meta name=\\\"description\\\" content=\\\"<?php optimal_title(); ??> <?php
    bloginfo(\\\'name\\\'); ??>\\\"

    meta name=\\\"keywords\\\" content=\\\"<?php optimal_title(); ??> <?php
    bloginfo(\\\'name\\\'); ??>\\\"

    that way, you have different meta tags for each post, so google doesn\\\'t consider them duplicate content. (better for seo)
  • Nick Mercer · 2 years ago
    Excellent tips, I'm in the process of designing a more "final" theme for my site this week and this definitely reminded me to go back and check some things out.
    -Nick
  • Yak! · 2 years ago
    Nice work! Thanks
  • Giovanni · 2 years ago
    Good article :) thank you
  • Motorcycle Guy · 2 years ago
    Thanks for restating the obvious.
  • Mike · 2 years ago
    Good ideas. Changing a theme takes a lot more time than one would imagine.
  • Tony · 2 years ago
    Great tips ... congratulations on getting dugg ;)

    Cheers
    t
  • Steven Campbell · 2 years ago
    Some of these things I've covered in plugins I made. One adds all external Javascript (i.e. Mint tracking), and another updates the sidebar. The ad colors for Google AdSense are extracted from a colorscheme.txt file in the theme (which holds all the main colors used in the theme).

    I should release that plugin sometime.
  • Venu · 2 years ago
    One of the other things you need to do is setup wordpress blog in your local machine

    Whenever I shift to a new theme, i backup my blog, restore the contents on my local blog and start working on the new theme. Once everything is in place, all you need to do is upload and activate the theme :)

    Regarding point 1, I am not sure why you ask to copy the sidebar contents, it will anyway be there in the sidebar.php of the old theme !

    Agree on all the other points :)
  • Ben Yoskovitz · 2 years ago
    Thank you to everyone who commented, very much appreciated!

    For people confused by ptfrance's comment, he was trying to recommend using the Optimal Plugin, which I also recommended in the post. Here's the link:
    http://elasticdog.com/2004/09/optimal-title/

    Steven -- if you've got plugins that solve some of these issues email me when they're ready so I can take a look.

    Venu -- Setting up a local install is a very good idea, but I think that's for more advanced users. Some of the points I mention above are for less technically experienced WordPress users. It's the same reason I recommend copying your sidebar contents into a text file, some people may not even be sure how to get to the old sidebar.php file, or might be scared off by seeing php, etc.

    When I launched this site I used a blog I have online that I don't really use; made a great deal of tweaks there before going live. But lots of newer people to WordPress just upload a theme and turn it on...

    Great advice though.
  • Bret · 2 years ago
    Great tips. I'll have to make a note of these suggestions for whenever I get around to a redesign of my new site.

    Also, did you bother to check your design for AOL browser compatibility? Was wondering if anyone even bothers with that check. I'm completely out of the loop on how some AOL users browse the web but recently learned that AOL can really butcher a site that looks great in Firefox and IE. Was wondering if there is anyway to check a design for AOL compatibility without signing up for AOL.
  • Ben Yoskovitz · 2 years ago
    Bret - I didn't test in AOL. I can't remember what browser AOL uses anymore, but I doubt many people test using it, although there are still plenty of AOL users out there.
  • Tamar Weinberg · 2 years ago
    Nice article, Ben.

    I'd add that you could check different screenshots of your blogs using browsershots.org. AOL isn't on that list, but a bunch of other browsers are.
  • Tim · 2 years ago
    An easy way for finding out how your new design looks like in different browsers is to use BrowserShots.org.
  • BabyGotMac.com · 2 years ago
    Good article. Tweaking themes can also make upgrades a little iffy. Nothing worse than a minor WP upgrade causing a plugin (and subsequently a page modification) burst into flames.
    :)
  • Ben Yoskovitz · 2 years ago
    BabyGotMac - you're right. I'm about to look at upgrading some WP installs in the very near future, who knows what'll happen...but in the past I haven't had many issues.
  • HART (1-800-HART) · 2 years ago
    Ben .. don't forget the backups of the old template, before you switch. I like to create a directory in my /themes/ for every "version" template that I use, in case I ever wanted to go backwards.

    Also .. I use WS_FTP_LE as my FTP .. but, it's available on many other FTP programs. It's a good idea to set a "start" directory when you log in , so when you log on you go directly to the theme directory online and on your harddrive backup copy. But - when you change themes .. don't forget to change this setup, otherwise you might FTP copy the old theme's sidebar overwriting the new sidebar with all the revisions!

    However, in that case - you would have a backup as mentioned in the 1st paragraph to re:copy over the overwritten files :)
  • Ben Yoskovitz · 2 years ago
    A backup is a great idea, no question about it. Thanks HART!
  • king game · 2 years ago
    thank you!
  • voip calling · 2 years ago
    thanx
  • Peluang Perniagaan · 2 years ago
    A very good tips indeed. Thanks!

    p/s: Although for the moment I would like to avoid the hassle of changing themes, I will definitely make a mental note for your tips.
  • Chris · 2 years ago
    Very good tips.

    What I did was setup a test blog for this purpose, made sure everything worked, got my readers to visit the test blog, made note of their feedback, made necessary changes etc. and only then did I implement the template change on the main blog.

    Went off without a hitch :-)
  • Ben Yoskovitz · 2 years ago
    Chris - that's a great way of tackling these sorts of things. Not everyone can set that up but many people can and definitely should.

    Thanks for stopping by and commenting.
  • South Carolina · 2 years ago
    You have a great website. Keep up the good work.
  • lola · 2 years ago
    Excellent clause, thanks for work.
  • Mark · 2 years ago
    Very comprehensive info, thank you
  • Chris Gray · 2 years ago
    Ben,

    When I first started using WordPress I got burned a few times by #2 (forgetting to re-apply stat tracking code). After changing themes a couple of times (and forgetting to add my stat code back in) I decided I had enough...and wrote a plug-in that does it for you.

    The plug-in takes the code mods that you typically make to the header, sidebar, and footer and stores them in the WordPress database. Now, when you switch themes you no longer have to reenter your stat code (because it is pulled from the db instead of the theme itself). Check it out if you are interested: http://www.nmediainteractive.com/2007/05/18/tra...
  • Dave Nofmeister · 2 years ago
    Much of what you've said can also apply to "regular" blogs.

    Any reason why you targeted Wordpress?
  • Ben Yoskovitz · 2 years ago
    Dave - That's true, a number of my suggestions aren't WordPress specific, but others are. For example, WordPress is very plugin-focused, whereas other blogging platforms don't work the same way.
  • eve · 2 years ago
    great post! I always forget the stats code!