| @@ -1213,12 +1213,9 @@ | ||
| 1213 | 1213 | } else { |
| 1214 | 1214 | $hide = ( $gridQuery->max_num_pages < 2 ? ' rt-hidden-elm' : null ); |
| 1215 | 1215 | if ( $posts_loading_type == 'pagination' ) { |
| 1216 | 1216 | if ( ( $isGrid || $isWooCom || $isEdd ) && empty( $filters ) ) { |
| 1217 | - $htmlUtility .= Fns::rt_pagination( | |
| 1218 | - $gridQuery, | |
| 1219 | - $args['posts_per_page'] | |
| 1220 | - ); | |
| 1217 | + $htmlUtility .= Fns::rt_pagination( $gridQuery ); | |
| 1221 | 1218 | } |
| 1222 | 1219 | } else if ( $posts_loading_type == 'pagination_ajax' && ! $isIsotope ) { |
| 1223 | 1220 | $htmlUtility .= "<div class='rt-page-numbers'></div>"; |
| 1224 | 1221 | } else if ( $posts_loading_type == 'load_more' && rtTPG()->hasPro() ) { |