dashboard.php
6 years ago
debug-mode.php
5 years ago
from-headers.php
6 years ago
pagination.php
6 years ago
responsiveness.php
5 years ago
pagination.php
64 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Pagination section under the "general" tab. |
| 4 | * |
| 5 | * @package Hustle |
| 6 | * @since 4.0.4 |
| 7 | */ |
| 8 | |
| 9 | ?> |
| 10 | <div class="sui-box-settings-row"> |
| 11 | |
| 12 | <div class="sui-box-settings-col-1"> |
| 13 | <span class="sui-settings-label"><?php esc_html_e( 'Pagination', 'hustle' ); ?></span> |
| 14 | <span class="sui-description"><?php esc_html_e( 'Choose the number of items to show per page on your submissions or module listing pages.', 'hustle' ); ?></span> |
| 15 | </div> |
| 16 | |
| 17 | <div class="sui-box-settings-col-2"> |
| 18 | |
| 19 | <div class="sui-form-field"> |
| 20 | |
| 21 | <label for="hustle-pagination-modules" id="hustle-pagination-modules-label" class="sui-settings-label"><?php esc_html_e( 'Modules', 'hustle' ); ?></label> |
| 22 | |
| 23 | <span id="hustle-pagination-modules-description" class="sui-description" style="margin-bottom: 10px;"><?php esc_html_e( 'Choose the number of modules to show on each listing page.', 'hustle' ); ?></span> |
| 24 | |
| 25 | <input |
| 26 | type="number" |
| 27 | name="module_pagination" |
| 28 | min="1" |
| 29 | value="<?php echo isset( $settings['module_pagination'] ) ? esc_attr( $settings['module_pagination'] ) : ''; ?>" |
| 30 | id="hustle-pagination-modules" |
| 31 | class="sui-form-control sui-input-sm sui-field-has-suffix" |
| 32 | aria-labelledby="hustle-pagination-modules-label" |
| 33 | aria-describedby="hustle-pagination-modules-description" |
| 34 | /> |
| 35 | |
| 36 | <span class="sui-field-suffix" aria-hidden="true"><?php esc_html_e( 'modules per page', 'hustle' ); ?></span> |
| 37 | |
| 38 | </div> |
| 39 | |
| 40 | <div class="sui-form-field"> |
| 41 | |
| 42 | <label for="hustle-pagination-submissions" id="hustle-pagination-submissions-label" class="sui-settings-label"><?php esc_html_e( 'Submissions', 'hustle' ); ?></label> |
| 43 | |
| 44 | <span id="hustle-pagination-submissions-description" class="sui-description" style="margin-bottom: 10px;"><?php esc_html_e( 'Choose the number of submissions to show per page.', 'hustle' ); ?></span> |
| 45 | |
| 46 | <input |
| 47 | type="number" |
| 48 | name="submission_pagination" |
| 49 | min="1" |
| 50 | value="<?php echo isset( $settings['submission_pagination'] ) ? esc_attr( $settings['submission_pagination'] ) : ''; ?>" |
| 51 | id="hustle-pagination-submissions" |
| 52 | class="sui-form-control sui-input-sm sui-field-has-suffix" |
| 53 | aria-labelledby="hustle-pagination-submissions-label" |
| 54 | aria-describedby="hustle-pagination-submissions-description" |
| 55 | /> |
| 56 | |
| 57 | <span class="sui-field-suffix" aria-hidden="true"><?php esc_html_e( 'submissions per page', 'hustle' ); ?></span> |
| 58 | |
| 59 | </div> |
| 60 | |
| 61 | </div> |
| 62 | |
| 63 | </div> |
| 64 |