[WordPress] 外掛分享: Domain Theme

首頁外掛目錄 › Domain Theme
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
500+
安裝啟用
★★★★★
5/5 分(2 則評價)
6420 天前
最後更新
問題解決
WordPress 2.2+ v1.3 上架:2008-04-29

內容簡介

Domain Theme 外掛能讓你在 WordPress 的安裝中指定多個網域名稱,並為每個網域名稱選擇一個特定的佈景主題 (theme)。這樣,你可以讓你的網站在不同的網域名稱下呈現不同的外觀 (例如,在 www.mypersonalblog.com 和 www.myprofessionalblog.com 上展現相同的內容但外觀不同)。你可以為每個網域名稱指定一個特定的佈景主題,例如,你可以在一個個人的部落格上使用輕鬆隨意的風格,同時在公司的網站上使用過濾某些分類 (例如家庭照片等) 的企業風格。你需要修改 DNS 設定才能讓這些改變生效。

已知問題:

從 WordPress 2.6 升級到 WordPress 2.6.1 的用戶,如果使用了版本 1.2,可能會遇到不兼容的網域數據。請先刪除和重新建立網域列表。

使用 All-In-One SEO 外掛的用戶應刪除他們的“首頁標題”設置,否則它會覆蓋 Domain Theme 中的博客標題設置。

注意,從“常規設置”中指定的主要網域名稱之外的任何其他網域名稱訪問 wp-admin 頁面將導致管理面板報告“主題”設置。如果要進行此類更改,請記住使用主要網域名稱訪問“常規設置”、“外觀”和“Domain Theme”管理頁面。

2.5 版本之前的用戶可能會在 Domain Theme 控制面板的“刪除所有”複選框列上遇到一個小問題。它不會勾選所有列出的項目。

Domain Theme 列表中的第一個項目是您在“常規設置”和“外觀-主題”頁面上為主要網域指定的設置。單擊它進行編輯將直接跳轉到“常規設置”頁面。這是有意這樣設計的。

某些用戶可能會遇到與其服務器變量 SERVER_NAME 與 HTTP_HOST 相關的問題。如果你新增的網域名稱似乎無法工作,只需取消注釋外掛的第一行代碼即可。請參見第一行代碼中的注釋。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Domain Theme」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Domain Theme allows you to specify more then one domain name with your WordPress installation and optionally associate a specific theme for each domain. This enables you to present your site under multiple domain names. (i.e. www.mypersonalblog.com and www.myprofessionalblog.com). A specific theme template can be assigned to a specific domain. For instance, you can use this plugin for a personal blog that has a casual theme under one domain and and present the same data under a corporate theme that omits select categories (i.e. family photos, etc.). You will need to modify your DNS settings to point your domain name(s) to the same server to make this happen.
Known Issues:

Upgrade users from WordPress 2.6 to WordPress 2.6.1 who used version 1.2 may have incompatible domain data. Please delete and recreate your domain list.

All-In-One SEO users should delete their “Home title” setting otherwise it will overwrite the blog title settings in Domain Theme.

Please note that accessing wp-admin pages from any other domain name then your primary domain specified in ‘General Settings’ will cause the administration panel to report the ‘themed’ settings. Just remember to access your ‘General Settings’, ‘Presentation’, and ‘Domain Theme’ admin pages under your primary domain name if you want to make such changes.

Users before version 2.5 will have a minor UI issue on the Domain Theme control panel’s ‘delete all’ checkbox column. It will not check off all listed items.

The first item in the Domain Theme list cannot be deleted as it is the settings you have for your primary domain taken from the ‘General Settings’ and ‘Presentation-Theme’ page. Clicking it to edit will simply transfer you to the ‘General Settings’ page. This is on purpose.

Some users may have issues with their server variables SERVER_NAME versus HTTP_HOST. Simply uncomment the first line of code in the plugin if your additional domain names do not appear to work. See the comment on the first line of code.

延伸相關外掛

文章
Filter
Mastodon