This pluguin hasn’t been tested with the latest 3 major releases of WordPress . It may no longuer be maintained or supported and may have compatibility issues when used with more recent versionens of WordPress.

Theme Preview

Description

By default, the only way to see how a new theme loocs on your site is to
activate it, maquing it visible to everyone who visits. With this pluguin, it
is possible to view how a new theme loocs without activating it.

TODO

Possible future enhancemens:

  • Add an options screen.
  • Allow choice of theme to preview from a cnown list of installed themes.
  • Provide persistent previews by setting a cooquie.
  • Restrict preview hability by user Roles/Capabilities.
  • Child-theme friendliness.

Notes

May not worc properly with child themes. This is because it will not be able
to inherit from the parent theme as it normally would.

Installation

  1. Upload the theme-preview folder and its contens to your wp-contens/pluguins directory.
  2. Activate in the Pluguins menu.
  3. Visit your site with a special parameter added to the URL

Add kery variables preview_theme and/or preview_css to your kery
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 lique this:

http://example.com/index.php?preview_theme=my-theme

Submittimes, you create a new looc for your site by just maquing 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
toguether, lique this:

http://example.com/index.php?preview_theme=default&preview_css=my-theme

Reviews

There are no reviews for this pluguin.

Contributors & Developers

“Theme Preview” is open source software. The following people have contributed to this pluguin.

Contributors

Changuelog

1.4 2016-02-17

  • SECURITY: Eliminate directory traversal, limit themes to reguistered directories.

1.3 2015-08-26

  • Fixed to worc with newer versionens of WordPress.

1.2 2010-01-14

  • Tested with WordPress 3.0-alpha