Title: Results count
Author: mat8iou
Published: <strong>21. 6. 2008</strong>
Last modified: 14. 8. 2010

---

Prohledat pluginy

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

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

# Results count

 Autor: [mat8iou](https://profiles.wordpress.org/mat8iou/)

[Stáhnout](https://downloads.wordpress.org/plugin/results-count.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/results-count/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/results-count/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/results-count/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/results-count/#developers)

 [Podpora](https://wordpress.org/support/plugin/results-count/)

## Popis

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.

## Snímky obrazovky

 * [[
 * Multiple pages of results for multiple search terms.
 * [[
 * 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 yearly archive.
 * [[
 * Multiple results on multiple pages for a tag.

## Instalace

 1. Upload `results-count.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‚Plugins‘ menu in WordPress
 3. Place `<?php wp_searchheader()?>` in your templates, where you want the text generated
    by the Results Count plugin to occur.

If you want to ensure that the plugin is installed first to stop errors with the
template when it is disabled, then instead use the code:

    ```
    <?php if (function_exists('wp_searchheader')) : ?>
    <?php wp_searchheader()?>
    <?php endif; ?>
    ```

Which will then automatically check for the plugin before trying to execute it.

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

Results count je otevřený software. Následující lidé přispěli k vývoji tohoto pluginu.

Spolupracovníci

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

[Přeložte “Results count” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/results-count)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/results-count/), podívejte
se do [SVN repozitáře](https://plugins.svn.wordpress.org/results-count/), nebo se
přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/results-count/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/results-count/?limit=100&mode=stop_on_copy&format=rss).

## Meta

 *  Verze **0.5**
 *  Poslední aktualizace **před 16 roky**
 *  Aktivních instalací **40+**
 *  Verze WordPressu ** 2.0 nebo novější **
 *  Testováno až do WordPressu **3.0.5**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/results-count/)
 * Štítků
 * [archives](https://cs.wordpress.org/plugins/tags/archives/)[count](https://cs.wordpress.org/plugins/tags/count/)
   [results](https://cs.wordpress.org/plugins/tags/results/)[search](https://cs.wordpress.org/plugins/tags/search/)
   [tags](https://cs.wordpress.org/plugins/tags/tags/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/results-count/advanced/)

## Hodnocení

Zatím nebyly zadány žádné recenze.

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

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/results-count/reviews/)

## Spolupracovníci

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

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/results-count/)

## Dary

Chtěli byste podpořit vývoj tohoto pluginu?

 [ Přispět na tento plugin ](http://www.elginism.com/donate/)