跳到内容

Results count

v0.5

mat8iou · 2008年6月21日 上架

When you search in Google, it tells you at the start how many results you have & what page you are on in the results. The Results Count plugin giv …

正在使用
30+
评分
暂无
累计下载
5,407
最近更新
2010年8月14日
需要 WordPress 2.0+已测试到 3.0.5

贡献者

截图

Multiple pages of results for multiple search terms.
Multiple pages of results for multiple search terms.
A single result for a single search term.
A single result for a single search term.
Multiple results on a single page for a monthly archive.
Multiple results on a single page for a monthly archive.
Multiple results on a single page for a yearly archive.
Multiple results on a single page for a yearly archive.
Multiple results on multiple pages for a tag.
Multiple results on multiple pages for a tag.

Results-Count is a very simple plugin that does exactly what it says on the tin & will count the number of posts that result from operations in WordPress such as a search, viewing a category, or viewing a monthly archive etc.
The purpose of the plugin is to allow you to insert text at the top of your archive & search results pages saying something like: results: 1-10 of 43. It serves the dual purpose of showing the number of results, as well as showing what page you are currently on within those results.

For an example of the plugin in use, look at the top of any of the archive or category pages at:
http://www.elginism.com/ e.g. http://www.elginism.com/archives/acropolis/

If you have any queries or find bugs, could you please contact me via the contact form on http://www.elginism.com

Revision history

  • Version 0.5
    Fixes possible XSS vulnerability.

  • Version 0.4.2
    Adds support for Author archives.
    Fixes bug where output does not display correctly when there are over 999 results.

  • Version 0.4.1
    Fixes incorrect display for single day archive pages.

  • Version 0.4
    Alters the text when there is only a single result on the page.
    Corrects bug so that the correct text displays when there is only a single page of results.
    Displays correct text when a year archive is shown rather than a month.
    Tidied up text to fix some grammatical errors.
    Various non-critical bugs fixed & old code tidied up.
    Comments added in the html output to help error tracing, identifying the code produced by the plugin.

  • Version 0.3
    Adds compatibility with tags (introduced in WordPress 2.3), so headers will now show up for tag archive results.

  • Version 0.2
    Updates the plugin to work with version 2.3 & higher of WordPress.

  • Version 0.1
    Initial public release of the code in plugin form.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums