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

WP Recent Tags

描述

Provide a widget to show the hot tags of your recent posts.

ChangeLog

What’s Tag?

Tag is simply a word you can use to describe something, with WordPress, ‘something’ will be your posts or pages. It’s very easy to use, think this way, if you want to google your post, what keywords should you use, that’s it.

Why ‘Recent Tags’?

Giving an example:

Olympics were very hot about a month ago, and we might write many posts about this topic, then ‘Olympics’ was a very hot tag. But Olympics would not always the hot spot, right? It’s gone, and we might talk Elections now, so how to let the visitors get this, get what you’re talking about now?

Recent Tags! That’s the simplest way.

How to define ‘Recent’ and something you should know?

‘Recent’ is a problem? Yep, actually it is. Recent tags might be tags used in some recent posts, or it might be the tags used in some recent days, strictly speaking, they’re different, but most of the time, the difference can be very small. The point is when you see the tags, you do tell it is the ‘recent’ ones.

For performance considerations, this plugin will log your tags by days, that means it can tell you what and how many times a tag be used for a specific day, and what the hot tags in some recent days.

But for most of us, we don’t write posts very day, right? So there’s a problem here, if you ask hot tags in recent 2 days, you might get a empty box, as you didn’t publish anything. To solve this problem, this plugin will still ask to show the hot tags in some recent posts, but the calculation method will be:

Giving an example, to show the hot tags in recent 20 posts, it will get the date of the 20th post first, and calculate the hot tags since that day.

Worry about performance?

It’s possible to calculate the tag stat directly through wordpress tables, but the server usage will be extremely high, so this plugin creates a table in your database to track your tags by day. You can treat these data as some pre-calculation, if you’re not publishing posts every minute and every post gets lots of tags, I don’t think you should worry about this table.

Also, I think you may use the WP Widget Cache to cache the widget output

屏幕截图

安装

  1. Upload the plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin through Admin -> Design -> Widgets(see the ScreenShots)

常见问题

The tags are not the right ones?

Please read the Description, part How to define ‘Recent’ and something you should know?. If in this situation, it’s not right either, please leave a comment here.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

帮助将「WP Recent Tags」翻译成简体中文。

对开发感兴趣吗?

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