Title: Top Cat
Author: bennettmcelwee
Published: <strong>2005 年 5 月 12 日</strong>
Last modified: 2005 年 5 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/topcat.svg)

# Top Cat

 作者：[bennettmcelwee](https://profiles.wordpress.org/bennettmcelwee/)

[下载](https://downloads.wordpress.org/plugin/topcat.zip)

 * [详情](https://cn.wordpress.org/plugins/topcat/#description)
 * [评价](https://cn.wordpress.org/plugins/topcat/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/topcat/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/topcat/#developers)

 [支持](https://wordpress.org/support/plugin/topcat/)

## 描述

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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ bennettmcelwee ](https://profiles.wordpress.org/bennettmcelwee/)

[帮助将「Top Cat」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/topcat)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/topcat/)，查看[SVN仓库](https://plugins.svn.wordpress.org/topcat/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/topcat/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/topcat/)。

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**21 年前**
 *  活跃安装数量 **10+**
 *  语言
 * [English (US)](https://wordpress.org/plugins/topcat/)
 * 标签
 * [category](https://cn.wordpress.org/plugins/tags/category/)[main](https://cn.wordpress.org/plugins/tags/main/)
   [primary](https://cn.wordpress.org/plugins/tags/primary/)[single](https://cn.wordpress.org/plugins/tags/single/)
 *  [高级视图](https://cn.wordpress.org/plugins/topcat/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/topcat/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/topcat/reviews/)

## 贡献者

 *   [ bennettmcelwee ](https://profiles.wordpress.org/bennettmcelwee/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/topcat/)