By John T Pratt
How to find, fully test, and setup new Wordpress themes on your blog without anybody knowing. Don't put it live until it's ready!
One of the worst things about Wordpress is that when you hack your blog, or your theme, or try a new plugin or theme you're doing it "live". In other words - everybody sees it. So if you want to try a new theme you have to switch them live while visitor are going to your posts and pages. I hate that. I've heard of guys keeping a "test" version of Wordpress installed in another folder just to test new themes and hacks - and that's not only more effort than I'm willing to do, it's just a bit rediculous.
I have a one web site where the Wordpress theme was causing too many problems, it was old, and not worth hacking and fixing anymore. I have too many web sites and way too much to do to create a new theme from scratch. So I went theme shopping, and within 10 minutes I found one that really impressed me. You'd be amazed what you can find just googling "wordpress themes".
Next, I downloaded the free open source Theme Test Drive Wordpress Plugin, and installed and enabled it. This plugin allows you to set a theme for your entire blog that only the administrator will see. In other words, when you are logged into your Wordpress dashboard as the admin account, you can test any post or page in your site under a theme and nobody will be the wiser. You can hack the test theme pages and nobody on your site using your normal theme will see what you are testing. Of course, if you make changes to widgets or plugins, everyone will see them on both the public and test themes. Once you enable the plugin all you have to do is go do "Presentation -> Theme Test Drive" in your WP Dashboard and enable the theme you want to test.
So in another browser window I went to my dashboard, and one by one enabled and tested 6 new Wordpress themes I had uploaded to the server. I found and settled on one that I really liked. Luckily in this web site I use theme widgets, so everything updated beautifully because I didn't need to make any changes to the sidebar. Now, all I'm missing are any customizations I made to my current theme pages manually by adding code. So I looked at the code for my Main Index, Single Post, Archive, Comments, etc., to see what I've added over time to make a list.
It turns out I added quite a few things, but they're easy to put into the new template:
Print this page
Ratings
Threaded Comments
Post Views
Feedburner Flare
Breadcrumbs
adSense
Then I went through the pages in my new theme and added in the code to add these functions one by one. I tested each one as went, because with "theme test drive" installed as admin I could view any page in the site with the new theme and see these changes as I went. After I added the code and uploaded the updated theme files to my site - I tested everything one last time. Looking through the pages the only other thing that I saw was in the sidebar(s) of my new theme the category pages weren't listed, and in my current theme they are. I did a little shuffling of the sidebars, and then I set the theme live! So instantly when I enabled the theme for the first time, people saw a fully functional ready to go blog with nothing broken! I did all the testing and updating behind the scenes on my Wordpress blog without anybody knowing it, and when I put the new theme live - voila, there is was! Now that I have this routine I'll do this every time I update to a new Wordpress theme, and I'm so happy I no longer have to do it "live" where current visitor's see!
John Pratt writes on his blog JTPratt's Blogging Mistakes, and he makes good money online using Wordpress as an eBay affiliate! Catch him texting on his used cell phone!
Article Source: http://EzineArticles.com/?expert=John_T_Pratt
Tuesday, March 4, 2008
How to Upgrade Wordpress Themes Without Anyone Knowing
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment