विवरण
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.
स्थापना
- Upload the
theme-preview
folder and its contents to yourwp-contents/plugins
directory. - Activate in the
Plugins
menu. - Visit your site with a special parameter added to the URL
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
समीक्षाहरू
यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।
योगदानकर्ता र डेभलपरहरू
“Theme Preview” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।
योगदानकर्ताहरू“Theme Preview” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्
विकासमा रुचि छ?
आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।
चेन्जलग
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