這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

azurecurve Theme Switcher

外掛說明

Allows users to easily switch themes (ideal for allowing light/dark mode).

Theme switcher functionality is made available to users via a widget; settings done via widget administration.

Settings available to display available themes as a list or select drop-down; widget admin allows themes with certain prefix to be excluded and/or to include only themes containing a certain word or part of a word.

As an alternative to using the widget, the function azc_ts_theme_switcher() can be called directly; add ‘dropdown’ as a parameter to have the select drop-down, instead of the list, of themes returned.

螢幕擷圖

  • The Theme Switcher widget allows you to set the title of the widget and to choose the “list” or “dropdown” option.
  • The Theme Switcher widget in action on the sidebar.

安裝方式

  1. Download and extract the azurecurve-theme-switcher plugin files.
  2. Upload the azurecurve-theme-switcher directory to the /wp-content/plugins/ directory.
  3. Activate the plugin under the Plugins menu in the WordPress administration panel.
  4. Add the azurecurve Theme Switcher widget to one of your sidebars (select list/drop down and configure other parameters if required), or call azc_ts_theme_switcher() directly.

常見問題集

Is this plugin compatible with both WordPress and ClassicPress?
  • Yes, this plugin will work with both.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈azurecurve Theme Switcher〉的開發相關工作。

參與者

將〈azurecurve Theme Switcher〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

Changes and feature additions for the Theme Switcher plugin:

2.2.0

  • Fix issues with format of ul and select

2.1.1

  • Move menu to includes folder for easier maintenance

2.1.0

  • Update azurecurve menu
  • Correct error with widget update under PHP7

2.0.0

  • Add azurecurve menu

1.0.0

  • Add code from Daniele Scasciafratte (@mte90) to keep user on current page when switching theme
  • Add optional theme prefix to ignore (useful for ignoring parent themes)
  • Add optional filter to only include themes including supplied value
  • Replace deprecated WordPress functions with current ones
  • Fork from Theme Switcher