Forum Replies Created

Viewing 1 replies (of 1 total)
  • atti_simon

    (@atti_simon)

    Hi,

    for plugin version 1.2.6,
    in walkers.php,
    function count() (line 28):

    return $GLOBALS['wp_query']->post_count;

    changing post_count to found_posts seems to correct the selected terms count issue, when using pagination on WP.
    At least for me.

    Code:

    ...
        function count() {
            $old_query = qmt_get_query();
    
            if ( $this->data['is-selected'] ) {
                //return $GLOBALS['wp_query']->post_count;
    	    return $GLOBALS['wp_query']->found_posts;
            }
    
            $query = array(
                'tax_query' => array(
    ...

Viewing 1 replies (of 1 total)