Deprecated: Assigning the return value of new by reference is deprecated in /home/themeyc/public_html/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /home/themeyc/public_html/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/themeyc/public_html/wp-includes/theme.php on line 540
Themey » Blog Archive » Preview Theme Plugin

Preview Theme Plugin

On this site I wanted to make previews of themes available to users. I wanted to restrict the previews to registered users only as many of the themes are not available publicly.

Ryan Boren coded a plugin some time ago which performed this function, however I was having problems using it with Wordpress 2.1.

The original plugin stated:

By default, if you are logged in as a level 8 or above user, you can specify “preview_theme=Theme Name” in the URI query string to preview an installed theme. Regular blog readers will not be affected by this setting. They will still see the theme selected in Options->Presentation or the Theme Switcher.

I have modified this slightly to return an unregistered user to the login/register page of the site.

Download preview theme for WP 2.1: zip rar

I hope you find it useful.

Future plans for this plugin are to have settings to allow any user whether logged in or not to preview released themes.

2 Responses to “Preview Theme Plugin”

  1. WP Plugins DB » Blog Archive » preview themes Says:

    […] Visit […]

  2. Preview Theme Wordpress Plugin | N. Says:

    […] it is folks, a hacked version of themey’s hacked version of Ryan Boren’s original Preview Theme […]

Leave a Reply

You must be logged in to post a comment.


Close
E-mail It