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

Top Cat

描述

Top Cat allows you to specify a main category for your posts. Even though WordPress posts can have more than one category, you may want to specify which of them is the main category for each post. Top Cat lets you do this and also provides template tags for displaying the main category.

Using style sheets, you can then apply different styling to posts based on their main category, even if they belong to the same set of categories. For an example, see my home page at http://www.thunderguy.com/bennett/

安裝

  1. Copy topcat.php into your WordPress plugins directory (wp-content/plugins).
  2. Log in to WordPress Admin. Go to the Plugins page and click Activate for Top Cat.
  3. Note that the administration functions should work on most modern browsers. I will add universal support soon.

常見問題

What is this good for?

Suppose you have a post about the Cannes Film Festival, and another about a French film. Both might be in the “France” and “Films” categories, but perhaps you’d want to put the film post mainly in the “Films” category and the Cannes post in the “France” category.

Using Top Cat’s template tags, you can then style the posts differently based on their main categories. For example, see my home page at http://www.thunderguy.com/bennett/

I don’t see the radio buttons on the admin screen!

The administration functions of Top Cat currently don’t work on all browsers, especially older ones. I plan add universal support in the near future.

How did you add the radio buttons to the admin screen?

Have a look at the code… It’s slightly tricky because Windows Internet Explorer works differently to the way you might expect.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Top Cat” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Top Cat 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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