Exemple #1
0
/**
 * BuddyPress - Forums Loop
 *
 * Querystring is set via AJAX in _inc/ajax.php - bp_dtheme_object_filter()
 *
 * @package BuddyPress
 * @subpackage bp-default
 */
?>

<?php 
do_action('bp_before_forums_loop');
?>

<?php 
if (bp_has_forum_topics(bp_ajax_querystring('forums'))) {
    ?>

	<div id="pag-top" class="pagination">

		<div class="pag-count" id="topic-count-top">

			<?php 
    bp_forum_pagination_count();
    ?>

		</div>

		<div class="pagination-links" id="topic-pag-top">

			<?php 
 public function __construct()
 {
     bp_has_forum_topics();
 }