[wordpress插件] Domain Theme域主题

wordpress 插件 文章 2020-04-21 02:20 0 57 全屏看文
评分
100
描述

Domain Theme allows you to specify more then one domain name with your WordPress installation and optionally associate a specific theme for each domain.

域主题允许您在WordPress安装中指定多个域名,并可以选择为每个域关联一个特定主题。

This enables you to present your site under multiple domain names.

这使您可以在多个域名下展示您的网站。

(i.e. www.mypersonalblog.com and www.myprofessionalblog.com).

(即www.mypersonalblog.com和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.

您需要修改DNS设置,以将域名指向同一台服务器,以实现此目的。

Known Issues:

已知问题:

    • Upgrade users from WordPress 2.6 to WordPress 2.6.1 who used version 1.2 may have incompatible domain data.

      使用1.2版的用户从WordPress 2.6升级到WordPress 2.6.1可能具有不兼容的域数据。

      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.

      多合一SEO用户应删除其“首页标题”设置,否则将覆盖“域主题”中的博客标题设置。

    • 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.

      请注意,从任何其他域名访问“ wp-admin”页面,然后再在“常规设置”中指定您的主域,将导致管理面板报告“主题”设置。

      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.

      2.5版之前的用户在“域主题”控制面板的“全部删除”复选框列中会有一个较小的UI问题。

      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.

      某些用户的服务器变量SERVER_NAME与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.

      请参阅第一行代码中的注释。

安装步骤

    1. Upload domainTheme.php to the /wp-content/plugins/ directory
    2. domainTheme.php 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. Modify your DNS settings to point your domain name(s) to the same server.
    6. 修改您的DNS设置,将您的域名指向同一台服务器。

    7. Go to the Domain Theme administration panel to add your domain names (i.e. www.example.com)
    8. 转到“域主题”管理面板以添加您的域名(即www.example.com)

下载地址
https://downloads.wordpress.org/plugin/domain-theme.1.3.zip
-EOF-