Allows you test how a theme looks on your site without activating it.
By default, the only way to see how a new theme looks on your site is to
activate it, making it visible to everyone who visits. With this plugin, it
is possible to view how a new theme looks without activating it.
Possible future enhancements:
May not work properly with child themes. This is because it will not be able
to inherit from the parent theme as it normally would.
theme-preview
folder and its contents to your wp-contents/plugins
directory.Plugins
menu.Add query variables preview_theme
and/or preview_css
to your query
string. For example, if you have a theme named “My Theme”, which is
installed in your wp-content/themes/my-theme
directory, add the theme’s
directory name to your URL like this:
http://example.com/index.php?preview_theme=my-theme
Sometimes, you create a new look for your site by just making new CSS, but
you keep the existing PHP files intact. In that case, you con use the
preview_css variable instead of preview_theme
, or use them both
together, like this:
http://example.com/index.php?preview_theme=default&preview_css=my-theme