sui-listing
9 months ago
sui-wizard
9 months ago
wizard
3 years ago
modal-template.php
3 years ago
options.php
3 years ago
pagination.php
3 years ago
view-documentation.php
5 years ago
pagination.php
33 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Title section. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.0 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-pagination-wrap"> |
| 11 | |
| 12 | <span class="sui-pagination-results"><?php /* translators: total amount */ printf( esc_html( _n( '%d result', '%d results', $total, 'hustle' ) ), esc_html( $total ) ); ?></span> |
| 13 | |
| 14 | <?php |
| 15 | $args = array( |
| 16 | 'total' => $total, |
| 17 | 'entries_per_page' => $entries_per_page, |
| 18 | ); |
| 19 | if ( ! empty( $section ) ) { |
| 20 | $args['section'] = $section; |
| 21 | } |
| 22 | $this->render( 'admin/commons/sui-listing/elements/pagination-list', $args ); |
| 23 | |
| 24 | if ( ! empty( $filterclass ) ) { |
| 25 | ?> |
| 26 | <button class="sui-button-icon sui-button-outlined <?php echo esc_attr( $filterclass ); ?>"> |
| 27 | <i class="sui-icon-filter" aria-hidden="true"></i> |
| 28 | <span class="sui-screen-reader-text"><?php echo esc_html__( 'Filter results', 'hustle' ); ?></span> |
| 29 | </button> |
| 30 | <?php } ?> |
| 31 | |
| 32 | </div> |
| 33 |