该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“Top Cat” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Top Cat”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志