WPCode Logo

WPCode Blog

Everything you need to know about the WPCode plugin

Revolutionize Your WordPress Edits with WPCode’s New Testing Mode Feature

Revolutionize Your WordPress Edits with WPCode’s New Testing Mode Feature 

With every new feature we build we ask ourselves: How can we help WordPress site owners and professionals do their job better? Today, I’m proud to introduce a new feature that will make your site customization smarter and safer.

Make Changes Privately

Enabling Testing Mode is just 1 click in the header testing mode toggle.

WPCode Testing Mode allows you to make changes to your WPCode snippets, Global Header & Footer scripts, and page scripts privately while keeping the experience for your regular users seamless. You choose when and what to publish.

This completely changes the way you customize your site as you can now preview all the changes you make privately and choose when to publish them to all your users.

Add new scripts with confidence

Testing mode also works with page scripts metabox

Testing mode acts as your sandbox without having to use a staging site. You can now experiment with new scripts or styles or even PHP snippets, see their effects in real-time, without risking of affecting your live site’s user experience.

Streamlined Code Deployment

Publish Changes button is available for individual snippet changes

Once you have the right version of your changes you can choose to either publish all changes made in testing mode or publish individual snippets as they were updated. This gives you greater control over which changes you want to experiment further with without forcing you to publish all changes.

Each time you publish changes to your snippets a new revision is created with all the updated settings so you can also always restore your changes with ease.

Coordinate with your team or clients

When you are collaborating on site development you want to be able to show progress, get approval from stakeholders and do all that while keeping a seamless experience for your users.

Use Testing Mode to review changes with your team or clients in a controlled setting. This allows for collaborative refinement before changes are published site-wide.

A Seamless Transition from Testing to Live

Disabling testing mode shows a preview of all changes made

Activating Testing Mode is as easy as flipping a switch. Once you’re ready to go live, a comprehensive preview of all changes lets you choose if you want to publish or discard changes. This approach ensures a smooth transition from testing to live, giving you full control over the timing and scope of site updates.

Ready to Test the Waters?

The WPCode Testing Mode feature is a game-changer, designed to give you confidence and control in your site’s development. It’s available now, and I can’t wait to see the incredible ways you’ll use it to enhance your WordPress sites.

As always, if you have any questions, don’t hesitate to reach out.

Yours truly,
Mircea Sandu
Lead Developer, WPCode

Comments

    1. Hi Conrad,

      The WPCode testing mode can be enabled using the toggle in the header of all WPCode pages that was added in version 2.1.5.

    1. I’m not 100% sure what you mean but if you mean using testing mode to add hooks code, yes, that will work. We don’t have any filters to enable testing mode programatically at the moment.

    1. Hi Liv,

      Making a snippet active in testing mode will also display it on your site as long as you are still logged-in as an administrator and the site is in testing mode. When you are done with the changes you want to make you can either publish changes for an individual snippet or all the changes you made by disabling testing mode. If you run into any issues with that please contact us on this page.

Add A Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.


Get WPCode

Popular Resources

Get free tips and resources right in your inbox, along with 500+ others

Follow Us

Get Started Today & Add Your Own Snippets

Future-proof your website with WPCode Snippets and improve the way you manage code across all your websites.