Connect with us

How to Edit your Blog Theme Without Messing up

Tips and Tricks

How to Edit your Blog Theme Without Messing up

This is a guest post by Ashwin for Daily Blog Tips’ Blog Writing Project: Tips & Tricks.

Imagine yourself with your blog messed up while editing your theme files and don’t know where you went wrong. The blog looks awkward when the PHP code is gone bad while trying to adding an Ad code, inserting things or editing the code.

Some tips and tricks for your WordPress blog helping you get over PHPophobia – fear of messing up your blog’s theme files!

Refer to the theme files

WordPress Theme Files

The easiest and an effective tip is just refer to your theme files. It’s the way that your blog was previously. In case you screw things up, you can always copy-paste it back. No sweat!

Keep your old theme’s files

When you’re switching theme, it’s good practice to keep the old theme files. You can see the files and do changes in the new theme files as the code is mostly the same. This helps you which saves time and you don’t miss to add/edit some things in your new theme.

More Information: How to Change WordPress Theme Effortlessly

Redesign blog privately before implementing

A handy Plugin by the name of Preview Theme helps you test/design your blog before you apply the changes to your site. You do this in private and none knows.

Detailed instructions: Redesigning Your WordPress Theme? Do It Behind The Scenes With This Plugin

Use Widgets feature

An easy way to edit your sidebar without messing things up is using the Widgets function of WordPress. Simply drag and drop the items in the way you want to see in sidebar and you’re done without chances of error.

You don’t need to be afraid to test/redesign/edit your blog even if you don’t have much knowledge of PHP. πŸ™‚ Let us know if you’ve any other tips & tricks to get over PHPophobia

Check out Ashwin’s The Newspaper Blog where he writes about P2P, Blogging, Movies and miscellaneous ramblings and don’t forget to Subscribe to his feeds.

Continue Reading
You may also like...

Nirmal is a Technology Blogger and a Microsoft MVP in Windows. He can be contacted at You can find Nirmal on , and .



  1. Joel

    September 17, 2007 at 11:11 am

    Good Post!

    Very handy the preview blog plug in, I always have to apply the new theme to see how it will look.

    Another way I do to test before applying it is using the maintenance mode plug in, during the maintenance mode is activated I can apply the new theme and take a look at it before making it official live.


  2. nirmaltv

    September 17, 2007 at 11:24 am

    The only problem with Maintenance mode plugin is that readers are not able to see the blog unless you finish editing, but with Live preview, you always edit and test your theme.

  3. Haris

    September 17, 2007 at 11:33 am

    A very nice tip, thanks. I never knew about the Live Preview plugin. I’ll try it now.


    September 17, 2007 at 12:27 pm

    Nice Tips Nirmal.

  5. ram

    September 17, 2007 at 2:39 pm

    Nice tips, i usually test my theme in local machine before putting it live.

  6. Ashwin

    September 17, 2007 at 2:39 pm

    Joel –
    I thought abt that. Unless you have some issues with your blog – why you want to bring the blog down temporarily?

  7. Shankar Ganesh

    September 17, 2007 at 5:16 pm

    Hey great tips :mrgreen: The first one is interesting!

  8. Haris

    September 17, 2007 at 6:05 pm

    @Ram: I do the same πŸ˜›

  9. Kyle Eslick

    September 17, 2007 at 7:16 pm

    Wow, very useful post!

    I am guilty of making changes on my live site because I don’t have access to a test site. I always test changes on a rarely used page like 404 or the search results page to avoid it affecting anyone (hopefully!). That preview theme plugin will be useful.

    As for backing up files, I always keep a copy of my theme on my harddrive every few days. As I mess things up regularly, they have come in very handy quite often!

  10. abhishek bhatnagar

    September 17, 2007 at 7:55 pm

    quite good tips…i would like to add somethng….that it is also much better if can install wamo on your system…and play with it loaclly before you make any changes to your blog on web.

  11. Keith Dsouza

    September 17, 2007 at 11:21 pm

    Nice post I did indeed mess up my theme when I simply overwrote some files and had no backups but now I use SVN to store all the theme files so I can have proper versions of files.

  12. Shivaranjan

    September 18, 2007 at 12:55 am

    To avoid these issues I use easy php for local editing of themes

  13. Website Design

    September 18, 2007 at 1:13 am

    Good post, while I don’t really use wordpress anymore, I’ve had my fair share of theme updates which always translated to catastrophic failure.

  14. Ashwin

    September 18, 2007 at 9:57 am

    Great tips guys… I guess we should do a sequel! :mrgreen:

  15. rahul

    September 18, 2007 at 1:01 pm

    yea do sequel -“Try without burning theme -a curse of golden plugins ” :mrgreen: 😈

  16. Clara

    September 18, 2007 at 1:36 pm

    Thanks for the tip on the preview plugin! Sometimes, when I do want to make a quick amendment, I would open up 2 screen tabs of the same page that I want to work on, one that shows the original script, the other for amendment. So when the changes don’t look right, I’ll just do a save on that untouched page that’s showing on the other tab. πŸ™‚

  17. Ashwin

    September 18, 2007 at 8:34 pm

    Clara –
    I also would do that. Simple but an efficient one! :mrgreen:

  18. abhishek

    September 18, 2007 at 10:43 pm

    Thats a nice post as it will not only help non programmers better understand the things when they go to programmers for a change and i guess it will also make life for a programmers a little easier

  19. Brown Baron

    September 19, 2007 at 12:37 am

    Good suggestions there. I usually test everything locally using Xampp. That plugin looks interesting though.

  20. nirmaltv

    September 19, 2007 at 10:03 am

    Looks live we have great ideas here and a sequel will be nice! πŸ™‚

    Your tip was very simple and easy, I liked that very much.

  21. Thilak

    September 19, 2007 at 11:43 am

    I wish, I knew about Preview Theme plugin some days ago. I had to put my site on maintenance mode and then do my testing on it. Thanks!

  22. Shashank

    September 19, 2007 at 2:56 pm

    that previews plugin would really come handy ..thanks for the great tips

  23. Pingback: Top Tips From Daily Blog Tips’ Group Writing Project

  24. trademark registration

    April 6, 2008 at 5:26 am

    Great post, while I don’t really use wordpress anymore, I’ve had my fair share of theme updates which always translated to catastrophic failure. Sigh.

  25. Donald Heald

    July 24, 2008 at 1:30 pm

    It’s so easy to mess up a blog particularly when customising files,
    Nice read and information.

  26. adit

    October 26, 2008 at 3:06 pm

    nice tips bro!

  27. learning html

    August 13, 2009 at 11:24 am

    great post…….it’ so easy….nice work


    November 4, 2009 at 2:27 am

    Thanks!) good site..

  29. Pingback: Daily Blog Tips Writing Project

  30. Pingback: Blog Writing Project: Tips & Tricks Final List

  31. directdownload

    April 22, 2010 at 1:30 am

    It is simply excellent idea

  32. rybbydiaspolkin

    April 26, 2010 at 5:38 am

    All it certainly is interesting but how to live further?

  33. Jayna

    May 2, 2010 at 4:20 pm

    What necessary words… super, an excellent idea

  34. business checking accounts

    December 31, 2010 at 5:19 pm

    Thanks for the fantastic Document extremely Interesting!!!

  35. DS MEDIA

    April 2, 2011 at 7:01 am

    Thanks!) good site..

  36. Pingback: Tips and Tricks Writing Project | Colloquium

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More in Tips and Tricks

Recent Articles


Trending Articles

Latest in Windows 10

Subscribe to YouTube Channel

Like Us on Facebook

To Top