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

JP Theme Switcher Bar

描述

Use this plugin to create a demo site for your themes, or use it to allow users to customize the presentation of your site.

The JP Theme Bar Plugin adds a theme switching bar to the bottom of your site, perfect for theme preview sites. The settings page for the plugin lets the end user choose which themes to add, as well as set the colors for the theme bar. You can see it in action on this site.

New in version 0.0.3 -> Themes will update theme mods when changing themes allowing for individual theme settings to be previewed properly.

This plugin is based on the IJM Theme Switcher Bar v2.0 by Iain J McCallum

IMPORTANT- The plugin Theme Test Drive by Vladimir Prelovac must be installed and activated in order for the theme switching to work.

螢幕截圖

  • The colour options in plugin settings page.
  • Example of the bar in the front end.

安裝

installing from WordPress.

Log into your WordPress site.
Navigate to “Plugins” => “Add New”.
Search “JP Theme Bar”.
Click “Install Now” then “Activate”.
And again, revel in this super-simple theme switcher by going theme switcher crazy!

After installation

This plugin requires the plugin Theme Test Drive (https://wordpress.org/plugins/theme-test-drive/)
Theme Test Drive is by Vladimir Prelovac (http://www.prelovac.com/vladimir/)
If Theme Test Drive is not installed THEME SWITCHING WILL NOT WORK

In Appearance->JP THEME BAR you can specify the following settings:
“Label For Theme Bar” – The text that will preceded the list of themes. For example, “Switch Themes.”
Each installed theme can be optionally enabled as an option to switch to.
“Background Colour” – Background colour for the theme switch bar.
“Text Colour” – Text colour for the theme switch bar.
“Label Background Colour” – Background colour for the label section.
“Label Text Colour” – Text colour for the label.

常見問題

Can I Move The Bar To Another Location?

Yes.
As of version 0.0.2 there is no option to do this, but there are filters. You can use the filter ‘jptb_where_bar’ to specify which action the bar is outputted on and you can use the ‘jptb_bar_position’ to set custom CSS for the positioning, which by default pegs the bar to the bottom of the page.
For more information see: http://joshpress.net/themes/jp-theme-bar-plugin/jp-theme-bar-filters/

評價

There are no reviews for this plugin.

貢獻者及開發者

“JP Theme Switcher Bar” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 JP Theme Switcher Bar 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.0.2

  • All code OOP
  • Added Filters

0.0.3

  • New filters for adding stuff to the end of the bar
  • Theme switching will now be continued when following internal links.
  • Theme mods are updated when switching themes.