
內容簡介
重要提示:支援服務已移至 ZATZLabs 網站,不再於 WordPress.org 論壇提供。如需開發者迅速回覆,請提交請求單。
此外掛設定提供多種選擇方式,可讓您選擇要在 WordPress 網站的何處顯示主題:
僅適用於首頁
按 URL(第五版新增支援 Query 關鍵字=值作為獨特 URL 的一部分);
透過包含相同字元(“Prefix URL”)的 URL,匹配所有以該字元為開頭的 URL;
透過帶有一個或多個星號(“*”)的萬用字元 Prefix URL;
透過在任何 URL 中找到的 Query 關鍵字,而不管值為何;
透過在任何 URL 中找到的 Query 關鍵字=值;
透過黏性 Query 關鍵字=值設定訪問者的主題,直到將來在另一 URL 中找到覆寫 Query 關鍵字=值為止(進階設定需要訪問者的瀏覽器接受 Cookies,不兼容某些會封鎖 Cookies 的外掛);
全部頁面(可覆寫 WordPress 啟用主題的進階設定);
所有文章(可與大多數但不是全部主題和外掛配合的進階設定)。
WordPress 主題目錄中的所有主題都不會改變 WordPress 管理面板的外觀。因此,此外掛不允許主題選擇項目為WordPress管理面板指定URL。
與付費主題一起使用:由於版本 5 起應支援所有主題,因此此外掛作者將持續進行全面測試。但若使用付費主題時出現任何問題,它將很難診斷。如FAQ選項標籤中所述,WordPress網絡(Multisite)是使用多個主題來創建單個網站的另一種替代方法。
付費外掛的使用:同樣情況也適用於付費外掛。
與快取插件搭配使用:每當您更改 jonradio Multiple Themes 插件的設置時,您可能需要清除快取。某些快取插件僅為未註冊用戶緩存,因此在測試 jonradio Multiple Themes 設置的結果之前,請務必登出。
更改主題選項(小工具、側邊欄、選單、模板、背景、標頭等):安裝和啟用插件後,請參閱插件的設置頁面,並單擊主題選項標籤,以獲取有關更改非啟用主題的選項的重要信息。
它是如何運作的:該插件不會更改在外觀-主題管理面板中定義給 WordPress 的啟用主題。相反,它動態(並具有選擇性)覆蓋該設置。這意味著,簡單地停用(或刪除)此插件將恢復在安裝此插件之前顯示主題的方式。但是,在某些情況下,在使用插件設置頁面主題選項標籤的任一方法時,可能會意外更改啟用主題的主題選項。
插件採用備註
此插件最近被 David Gewirtz 接收,將持續提供支援和更新。請隨時訪問 David’s Lab Notes 以獲取更多詳細信息,並註冊電子郵件新聞更新。
特別鳴謝 Jon ‘jonradio’ Pearkins 創建此插件並實現需求。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Settings provide many different ways to Select which Theme should appear where on your WordPress web site:
Just for Site Home
By URL (Version 5 adds support for Query keyword=value as part of a unique URL);
By Prefix URL, matching all URLs that begin with the same characters (“Prefix URL”);
By Wildcard Prefix URL with one or more Asterisks (“*”) representing arbritrary subdirectories in the URL;
By Query Keyword found in any URL, not matter what the Value;
By Query keyword=value found in any URL;
By Sticky Query keyword=value that sets the Theme for a given Visitor until an Override Query keyword=value is found in a future URL (Advanced Setting requiring the Visitor’s browser to accept Cookies; incompatible with certain plugins that block Cookies);
Everywhere (Advanced Setting that overrides the WordPress Active Theme);
All Pages (Advanced Setting that works with most, but not all, Themes and Plugins);
All Posts (Advanced Setting that works with most, but not all, Themes and Plugins).
None of the Themes in the WordPress Theme Directory alter the appearance of the WordPress Admin panels. As a result, this plugin does not allow Theme Selection entries to specify URLs for WordPress Admin panels.
Use with Paid Themes: On-going full scale testing of Themes by this plugin’s author is only possible if the Theme is found in the WordPress Theme Directory. Although (Version 5 of) this plugin should now work with all Themes, any problems encountered while using Paid Themes will be difficult to diagnose. As described in the FAQ tab, a WordPress Network (Multisite) is an alternative to this plugin, as a way to create a single web site with more than one Theme.
A similar situation exists with Paid Plugins.
Use with Plugins that Cache: You may find that you have to flush the Cache whenever you change Settings in the jonradio Multiple Themes plugin. Some Caching plugins only cache for visitors who are not logged in as users, so be sure to log out before testing the results of your jonradio Multiple Themes settings.
Changing Theme Options (Widgets, Sidebars, Menus, Templates, Background, Header, etc.)?: After installing and activating the plugin, see the plugin’s Settings page and click on the Theme Options tab for important information on changing Options for Themes other than the Active Theme.
How it Works: The plugin does not change the Active Theme defined to WordPress in the Appearances-Themes Admin panel. Instead, it dynamically (and selectively) overrides that setting. Which means that simply deactivating (or deleting) this plugin will restore the way that Themes were displayed prior to installing this plugin. However, in some situations, it is possible to inadvertently alter Theme Options for the Active Theme when using either of the Methods described on the plugin’s Setting page Theme Options tab.
Adoption Notice
Special thanks to Jon ‘jonradio’ Pearkins for creating the plugin and making adoption possible.
