Theme Switcher
Developed by azurecurve
Plugin Description
Theme Switcher lets site visitors switch between installed themes from the front end of your ClassicPress site.
Theme Switcher lets site visitors switch between installed themes from the front end of your ClassicPress site. A cookie stores each user’s preference, so their choice persists across visits.
Features:
- Classic widget,
[theme_switcher]shortcode, and template function - Dropdown or list display
- Configurable cookie lifetime (or session cookie)
- Restrict switching to logged-in users or admins only
- Optional “reset to site default” entry
- Filter themes by prefix or substring
- Multisite network allow-list support
- Namespaced
azrcrv-ts-*CSS classes on all front-end output — easy to style from your theme - No inline styles or inline JavaScript
- Progressive enhancement: dropdown navigates on change when JS is available, falls back to a submit button without JS
- CSRF protection via nonces on all switch requests
- Upload the
azrcrv-theme-switcherfolder to/wp-content/plugins/. - Activate the plugin via Plugins in the admin.
- Configure via azurecurve → Theme Switcher.
- Add the widget, use the
[theme_switcher]shortcode, or callazc_ts_theme_switcher()from a template.
- Update readme.md and remove readme.txt (not required for ClassicPress).
- Update azurecurve menu.
- Upgrade UpdateClient.
- Update azurecurve plugins list.
- Replace jquery with vanilla js.
- Restructured to namespace-based, multi-file architecture matching azurecurve plugin family standards.
- Added tabbed settings page with all configurable options.
- Added
[theme_switcher]shortcode. - Added configurable cookie lifetime.
- Added access restriction (logged-in / admins only).
- Added “reset to site default” option.
- Added full
azrcrv-ts-*CSS class coverage on all front-end elements. - Added enqueued front-end stylesheet and script (no inline styles/JS).
- Progressive dropdown enhancement with no-JS form fallback.
- Added
uninstall.php. - Text domain updated to
azrcrv-ts.
- Security hardening: nonce verification, theme name validation, URL generation via add_query_arg().
- Update plugin header for compatibility with ClasssicPress v2.
- Update plugin header and readme for compatibility with ClassicPress Directory v2.
- Update Update Manager to version 2.5.0.
- Update readme file for compatibility with ClassicPress Directory.
- Update readme files.
- Update language template.
- Fix bug with azurecurve menu.
- Update azurecurve menu.
- Update readme files.
- Update azurecurve logo.
- Fix bug with version number.
- Fix bug with incorrect spelling in pluginimages foldername.
- Change use of deprecated class declaration.
- Fix bugs causing undeclared variable errors in widget creation.
- Update azurecurve menu.
- Fix plugin action link to use admin_url() function.
- Add plugin icon and banner.
- Update azurecurve plugin menu.
- Fix bug which broke plugin.
- Fix unassigned ts variable bug.
- Fix bug with plugin menu.
- Update plugin menu css.
- Change class name to avoid clash with method name.
- Upgrade azurecurve plugin to store available plugins in options.
- Update Update Manager class to v2.0.0.
- Update action link.
- Update azurecurve menu icon with compressed image.
- Correct problem with version number.
- Remove duplicate load language function.
- Add integration with Update Manager for automatic updates.
- Fix issue with display of azurecurve menu.
- Change settings page heading.
- Add load_plugin_textdomain to handle translations.
- Update azurecurve menu for easier maintenance.
- Move require of azurecurve menu below security check.
- Initial release for ClassicPress forked from azurecurve Theme Switcher which was forked from Theme Switcher.
azurecurve was one of the first plugin developers to start developing for Classicpress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.
azurecurve was one of the first plugin developers to start developing for ClassicPress; all plugins are available from azurecurve Development and are integrated with the Update Manager plugin for fully integrated, no hassle, updates.
The plugins available from azurecurve are:
- Add Open Graph Tags – details / download
- Add Twitter Cards – details / download
- Avatars – details / download
- BBCode – details / download
- Breadcrumbs – details / download
- Broken Links – details / download
- Call-out Boxes – details / download
- Chroma – details / download
- Code – details / download
- Comment Validator – details / download
- Conditional Links – details / download
- Contact Forms – details / download
- Disable FLoC – details / download
- Display After Post Content – details / download
- Estimated Read Time – details / download
- Events – details / download
- Feed to Post – details / download
- Filtered Categories – details / download
- Flags – details / download
- Floating Featured Image – details / download
- Get GitHub File – details / download
- Icons – details / download
- Image Optimiser – details / download
- Images – details / download
- Insult Generator – details / download
- Load Admin CSS – details / download
- Loop Injection – details / download
- Lorem Ipsum Generator – details / download
- Maintenance Mode – details / download
- Markdown – details / download
- Nearby – details / download
- Page Index – details / download
- Post Archive – details / download
- Quiz Engine – details / download
- Read GitHub File – details / download
- Redirect – details / download
- Remove Revisions – details / download
- RSS Feed – details / download
- RSS Suffix – details / download
- Series Index – details / download
- Shortcodes in Comments – details / download
- Shortcodes in Widgets – details / download
- SMTP – details / download
- Snippets – details / download
- String Inspector – details / download
- Strong Password Generator – details / download
- Tag Cloud – details / download
- Taxonomy Index – details / download
- Taxonomy Order – details / download
- Theme Switcher – details / download
- Timelines – details / download
- Toggle Show/Hide – details / download
- Update Admin Menu – details / download
- URL Shortener – details / download
- Username Protection – details / download
- View Counter – details / download
- Widget Announcements – details / download