开发者 | wesg |
---|---|
更新时间 | 2013年2月14日 12:23 |
捐献地址: | 去捐款 |
PHP版本: | 2.8 及以上 |
WordPress版本: | 3.5.1 |
While I thought a widget like this was very common, I had trouble finding one for my blog. That led me to create this basic widget that simply displays a link to the top commented posts. You can customize the title, number of posts, and whether you want to display the comment count.
Sure. Have a look at the options in the widget configuration panel.
Yes. As of version 1.3, more control is available for categories. You can select a single category for the links, or exclude a single category. All options are available from the widget configuration panel.
Show comment count
Display the number of comments associated with the post beside the link.
Include zero comment posts
Show links to posts that do not yet have any comments.
Show comments from all categories
Check if you want links to be displayed for posts in any category.
Only show posts in this category
Show links to posts that are only in this category. The previous checkbox must be unchecked for this setting to take effect.
Exclude posts from no categories
Check if you don't want to exclude links from a specific category.
Exclude posts in this category
Skip posts that fall in this category. The previous checkbox must be unchecked for this setting to take effect.
Nest widget inside list
When this is checked, the widget will use an additional <li>
element around it. Toggle this option to see how the widget best fits in with your theme.
Classes
This box includes options to style the list components of the plugin. To match the list with your theme, add a class here, then insert a class declaration in your style sheet.
Show posts in the last x days/weeks/months
By request, version 1.4.3 includes an option to only show links to posts from certain a certain time period. This is determined by the date the post was published, not the comments themselves.
Get least commented posts
Toggle the order in which posts are displayed.