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

Theme Companion

外掛說明

Companion is intended to assist users designing their sites without editing their original style.css files.

Companion’s features include:

  • Editing CSS stylesheets that override the original style.css in the theme.
  • Add custom information into the head area of your site/page for non-wpmu sites. – Does NOT activate for Multisite

Please do *not* copy the entire style.css into the editor, the editor is used for placing specific element changes. If you want to change the background of your entire site you do

body { background: #333333; }

333333 being swapped for the color that you want to use.

Notice that you do not need to replace the entire CSS element but just the portion you want to override / change.

License

Companion is released under the GNU GPL version 3.0 or later.

安裝方式

  1. Upload the theme-companion directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Appearance -> Companion to start using the Companion.
  4. Add CSS code that overrides your current style.css, add only the changed elements.

常見問題集

My change isn’t being seen on the site

Some CSS might need the !important flag on it, depends what order this plugin get’s executed – before or after other CSS that is made on the site.

The edit screen keeps saying that the file does not exist or the directory is not writeable even after I click save.

Check the permissions on the plugin directory theme-companion/custom – For more information on this, contact your Webhost. If you are
running WPMU make sure that the blogs.dir for the current blog’s /files directory has the proper permissions as well (again as your webhost).

I’m having another problem.

If it’s a serious problem, such as WordPress becoming non-functional or blank screens/errors after you perform certain operations, you will be asked to provide error logs for your server. If you don’t know how to get access to these, talk with your Webhost. At that time just remove the plugin from the plugins/ directory. If it still
continue’s it is probably not a Theme Companion problem.

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.2

Fixed plugin path

1.0.1

Update to readme.txt

1.0

Re-Release