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

Category Show

描述

It’s an easy way to show and order all posts from category/tag into a page/post. Really handy for showing your tutorials, articles, etcetera.
It shows as a list(<ul><li>) so it will apply your blog style-sheet as you wish.

Note: If the selected term(category or tag) has a description, it will be shown in a <blockquote> tag.

To see it in action click here.

Usage:

  1. Go to Category Show’s options page and generate the tag.

  2. Insert your new tag into your post.

Tags to know:

If you want to apply some CSS, those are the tags you should know: <h3>, <ul>, <li>, <a> and <blockquote>.

Output example:

<h3>Category</h3>
<blockquote>Category description, if exists</blockquote>
<ul>
<li><a title="link title" rel="bookmark" href="link">title</a></li>
</ul>

That’s it!

TODO

  • Each topic content preview.
  • Page support.
  • A RSS edition of Category Show.
  • Add widget support.
  • Select user’s own category in options page. (DONE)
  • Make it possible to get a date in front of each link.
  • Create a definitely Category Show tag for the posts.

If you want to suggest some feature, please contact me here.

Changes

  • 0.4.2: Date ordering bug fix.
  • 0.4.1: Added support to show category description if exists. Now the tag generation uses term_id as the expression, not the tag slug anymore.
  • 0.4: Now the user can generate his tag from the Category Show’s options page. No more writing your tag!
  • 0.3.2: Deleted debug messages that was been printed on 0.3.1.
  • 0.3.1: Fixed bug that the content was been all replaced by the list, not just the tag. Added Brazilian Portuguese translation.
  • 0.3: Added support to change the ordering by title or date. Added options page to generate neat tags for the post. Even more optimized!
  • 0.2.3: Fixing <ul> end tag bug. Updating readme.txt file nicely.
  • 0.2.2: Adding screenshot showing how it works and adding pt_BR .mo translation file.

屏幕截图

安装

  1. Upload ‘wp-category-show’ directory to the ‘/wp-content/plugins/’ directory on your server
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Category Show’s options page and generate your tag
  4. Insert your new tag (something like ‘%%wpcs-category-slug%%’) into your post or page!

常见问题

Can I use it inside others HTML tag, such a table?

Yes. In version 0.3.1 was fixed a limitation that made impossible to do such a thing. So always use the latest version.

Can I use it more than one time per post?

Yes. Anytime you want. But remember that Category Show doesn’t have page support yet, it will be in its next versions.

When is going to have page support?

Page support is coming for 0.5.

评价

此插件暂无评价。

贡献者及开发者

「Category Show」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Category Show」翻译成简体中文。

对开发感兴趣吗?

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