Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Theme Preview

Description

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.

TODO

Possible future enhancements:

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

Notes

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.

Changelog

1.4 2016-02-17

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

1.3 2015-08-26

  • Fixed to work with newer versions of WordPress.

1.2 2010-01-14

  • Tested with WordPress 3.0-alpha

Demo

View this site with different themes (links open in new windows):

 

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
Bookmark the permalink.

4 Responses to Theme Preview

  1. Pingback: Fire » Theme preview in Wordpress

  2. Pingback: Hilfreiche Plugins für dein WordPress-Theme Redesign | Elmastudio

  3. Pingback: Steckbares für die WortPresse: Nutzbringende und herzerfreuende Plug-Ins, Teil 2

  4. Pingback: Pluginuri pentru previzualiz?ri de teme WordPress | CNET.ro

Leave a Reply