# bbp-core/trunk/templates/pagination-replies.php

Forumax – AI Powered Advanced Community Forum Plugin, version trunk. 26 lines.

- Page: https://pluginprobe.com/plugins/bbp-core/trunk/code/templates/pagination-replies.php
- Raw: https://pluginprobe.com/plugins/bbp-core/trunk/raw/templates/pagination-replies.php
- Modified: 2026-01-28T15:54:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/bbp-core/trunk/code/templates/pagination-replies.php#L10-L20`.

```php
<?php
/**
 * Pagination for pages of replies (when viewing a topic)
 *
 * @package    bbPress
 * @subpackage Theme
 */

// Exit if accessed directly
defined( 'ABSPATH' ) || exit;

do_action( 'bbp_template_before_pagination_loop' ); ?>

    <div class="pagination-wrapper <?php echo !bbp_get_topic_pagination_links() ? 'no-pagination' : ''; ?>">
        <div class="view-post-of">
            <p><?php bbp_topic_pagination_count(); ?></p>
        </div>
        <?php if ( bbp_get_topic_pagination_links() ) : ?>
            <div class="bbp-pagination">
                <?php bbp_topic_pagination_links(); ?>
            </div>
        <?php endif; ?>
    </div>

<?php do_action( 'bbp_template_after_pagination_loop' );

```
