Opis
When we are developing themes, we quite often like to switch between the old (active) and the new (to develop) version of a theme. Sometimes without other people noticing.
This plugin does exactly that.
What does it do?
It lets users with certain roles see another (than the currently active) theme, by
* Selecting a theme from the list of installed themes
* Selecting which user roles are permitted to switch themes and
* Optionally, selecting user roles that can use a 'switch theme/back’ button on the front-end
This plugin is under active development. Any feature requests are welcome at plugins@zodan.nl!
Instalacja
Install the Theme Switcher from within WordPress
- Visit the plugins page within your dashboard and select ‘Add New’;
- Search for ‘Zodan Theme Switcher’;
- Activate the plugin from your Plugins page;
- Go to ‘after activation’ below.
Install manually
- Unzip the Theme Switcher zip file
- Upload the unzipped folder to the /wp-content/plugins/ directory;
- Activate the plugin through the ‘Plugins’ menu in WordPress;
- Go to ‘after activation’ below.
After activation
- On the Plugins page in WordPress you will see a 'settings’ link below the plugin name;
- On the Theme Switcher settings page:
** Select the theme you want to be able to switch to
** Select the roles with the permission to switch - Save your settings and you’re done!
Najczęściej zadawane pytania
-
Does it work in a multisite environment?
-
Yep. It does.
-
Hm. It could be that you are using a theme that does not call wp_footer() (which is the hook it is linked to).
In that case, you can use the custom hook/action for this.
Just add the following php code (make sure it is somehow called on every page): -
Do you have plans to improve the plugin?
-
We currently have on our roadmap:
* Adding translations
* Adding a custom capability (to be used next to roles, for those who want to add a custom role)
* Set the preference per userIf you have a feature suggestion, send us an email at plugins@zodan.nl.
Recenzje
Kontrybutorzy i deweloperzy
„Zodan Theme Switcher” jest oprogramowaniem open source. Poniższe osoby miały wkład w rozwój wtyczki.
ZaangażowaniWtyczka „Zodan Theme Switcher” została przetłumaczona na 1 język. Podziękuj tłumaczom za ich wkład.
Przetłumacz wtyczkę “Zodan Theme Switcher” na swój język.
Interesuje cię rozwój wtyczki?
Przeglądaj kod, sprawdź repozytorium SVN lub czytaj dziennik rozwoju przez RSS.
Rejestr zmian
1.3.2
- Name changes
1.3.1
- Removed load_text_domain()
- Fixed text domain mismatch
1.3
- Added setting to also switch in the backend
1.2
- Added JS to copy PHP code
1.1
- Changed front-end JS and CSS loading method
1.0
- Very first version of this plugin
