Title: Count Pagination Fix for MySQL
Author: leendertvb
Published: <strong>13. 2. 2024</strong>
Last modified: 21. 10. 2025

---

Prohledat pluginy

![](https://ps.w.org/count-pagination-fix/assets/banner-772x250.png?rev=3124717)

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://ps.w.org/count-pagination-fix/assets/icon.svg?rev=3124717)

# Count Pagination Fix for MySQL

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

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

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

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

## Popis

[As per MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/information-functions.html#function_found-rows)
the FOUND_ROWS function in conjunction with the SQL_CALC_FOUND_ROWS function are
deprecated as of MySQL version 8.0.17. This causes the pagination in WordPress to
be broken, both in the front-end as well as in the back-end, resulting in just showing
page 1 only.

This plugin solves the issue WordPress is facing when run under newer versions of
MySQL database. By hooking into the query that is used to calculate the number of
found posts, we return the right amount of posts found so the pagination can be 
built up correctly again.

## Instalace

This plugin can be installed like any other plugin.

### INSTALL FROM WITHIN WORDPRESS

 1. Visit the plugins page within your dashboard and select ‘Add New’;
 2. Search for ‘Count Pagination Fix for MySQL’;
 3. Install the plugin;
 4. Activate the plugin from your Plugins page;

### INSTALL MANUALLY

 1. Download the plugin for the WordPress repository and unpack;
 2. Upload the ‘count-pagination-fix’ folder to the /wp-content/plugins/ directory;
 3. Activate the plugin through the ‘Plugins’ menu in WordPress;

### AFTER ACTIVATION

There are no settings or configurations for this plugin. Just activate and enjoy
the pagination again.

## Nejčastější dotazy

### Shouldn’t this functionality be build into the core of WordPress?

The COUNT function is already available since MySQL v4.0, providing more ways to
optimise performance. Preparing for future versions is also important. So we believe
that it is important to start working on this. Please refer to [the corresponding ticket](https://core.trac.wordpress.org/ticket/47280)
to follow up.

### After activating, the pagination is still not fixed, what can I do?

This plugin has been tested with the major query methods that WordPress supports.
Chances are you are using a plugin that is altering the query in some way or a plugin
that uses it’s own querying methods. Please let us know if you run into any problems
and we will help you work out a solution.

## Recenze

Pro tento plugin nejsou žádné recenze.

## Autoři

Count Pagination Fix for MySQL je otevřený software. Následující lidé přispěli k
vývoji tohoto pluginu.

Spolupracovníci

 *   [ leendertvb ](https://profiles.wordpress.org/leendertvb/)
 *   [ arnodeleeuw ](https://profiles.wordpress.org/arnodeleeuw/)
 *   [ jorisvst ](https://profiles.wordpress.org/jorisvst/)

Plugin „Count Pagination Fix for MySQL“ byl přeložen do 1 jazyku. Děkujeme všem 
[překladatelům](https://translate.wordpress.org/projects/wp-plugins/count-pagination-fix/contributors)
za jejich pomoc.

[Přeložte “Count Pagination Fix for MySQL” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/count-pagination-fix)

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

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

## Přehled změn

#### 1.1.5

Release date: 2025-10-21

Confirmed compatibility with WordPress 6.8.3.

#### 1.1.4

Release date: 2025-05-21

Improve SQL_CALC_FOUND_ROWS pattern to fix incorrect MySQL identifier matches.

#### 1.1.3

Release date: 2025-04-17

Update WordPress „tested up to“ version to 6.8.

#### 1.1.2

Release date: 2024-11-07

Update WordPress „tested up to“ version to 6.7.

#### 1.1.1

Release date: 2024-07-24

Apply more WordPress Coding Standards and update „Tested up to“ to latest WordPress
version number.

#### 1.1

Release date: 2023-12-07

Rename plugin to match naming conventions.

#### 1.0

Release date: 2023-09-28

Initial release of the plugin, fixing the pagination for post type archive pages
and taxonomy archive pages, both on front-end and in back-end.

## Meta

 *  Verze **1.1.5**
 *  Poslední aktualizace **před 10 měsíců**
 *  Aktivních instalací **10+**
 *  Verze WordPressu ** 6.0 nebo novější **
 *  Testováno až do WordPressu **6.8.8**
 *  Verze PHP ** 7.0 nebo novější **
 *  Jazyky
 * [English (US)](https://wordpress.org/plugins/count-pagination-fix/) a [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/count-pagination-fix/).
 *  [Přeložte do vašeho jazyka](https://translate.wordpress.org/projects/wp-plugins/count-pagination-fix)
 * Štítky
 * [count](https://cs.wordpress.org/plugins/tags/count/)[mysql](https://cs.wordpress.org/plugins/tags/mysql/)
   [pagination](https://cs.wordpress.org/plugins/tags/pagination/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/count-pagination-fix/advanced/)

## Hodnocení

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

[Vaše hodnocení](https://wordpress.org/support/plugin/count-pagination-fix/reviews/#new-post)

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

## Spolupracovníci

 *   [ leendertvb ](https://profiles.wordpress.org/leendertvb/)
 *   [ arnodeleeuw ](https://profiles.wordpress.org/arnodeleeuw/)
 *   [ jorisvst ](https://profiles.wordpress.org/jorisvst/)

## Podpora

Potřebujete pomoc?

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

## Dary

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

 [ Přispět na tento plugin ](https://www.iside.be)