• Resolved hexley

    (@hexley)


    I am bad, and I generally make code edits to my theme live, which at times, when I am mucking around in the php, can cause runtime errors.

    In most cases, I am working on the index.php file in themes, or search.php, you get the idea.

    I have tried to make a copy such as index2.php in themes, and load that, no love. Is there a doc or tech note, on when dealing with a live blog, and changed not warranting setting up a totally new dev system, how do you manage a singe copy of a page to make code changes and not affect regular traffic?

Viewing 1 replies (of 1 total)
  • moshu

    (@moshu)

    You may try to have a copy of yout theme installed (with a different name) and using a plugin like:
    http://wordpress.org/extend/plugins/theme-preview/

    Another option is to have a test install in a subfolder on your server, or on your machine (I have XAMPP on my PC and use that for building themes, testing etc.)

Viewing 1 replies (of 1 total)

The topic ‘Best practice for testing new code’ is closed to new replies.