group-compat.php
8 years ago
group-extra.php
8 years ago
group-fields.php
8 years ago
group-form.php
8 years ago
group-query.php
8 years ago
group-slideshow.php
7 years ago
group-style.php
8 years ago
option-background.php
8 years ago
option-boilerplate.php
9 years ago
option-category.php
8 years ago
option-classes.php
8 years ago
option-client-section.php
7 years ago
option-color.php
8 years ago
option-content.php
7 years ago
option-divi.php
8 years ago
option-form-ajax.php
9 years ago
option-form-category.php
8 years ago
option-id.php
8 years ago
option-layout.php
8 years ago
option-limit.php
8 years ago
option-order.php
8 years ago
option-pagination.php
8 years ago
option-read-more-page.php
8 years ago
option-select.php
8 years ago
option-slideshow-behavior.php
8 years ago
option-slideshow-breakpoints.php
7 years ago
option-slideshow-navigation.php
7 years ago
option-slideshow-num.php
7 years ago
option-slideshow-transition.php
7 years ago
option-slideshow-type.php
7 years ago
option-template-list.php
8 years ago
option-thumbnail.php
8 years ago
option-title.php
8 years ago
template-input.php
8 years ago
template-not-found.php
8 years ago
template-options.php
8 years ago
view-mode.php
8 years ago
view-name.php
9 years ago
view-shortcode.php
8 years ago
option-read-more-page.php
88 lines
| 1 | <?php |
| 2 | /* translators: On the Views admin screen. */ |
| 3 | ?> |
| 4 | <!-- Read more > page --> |
| 5 | <th> |
| 6 | <div class="checkbox"> |
| 7 | <input type="checkbox" id="view-more_page" class="if toggle" name="view[data][more_page]" value="1" |
| 8 | <?php checked( isset( $view['more_page'] ) && $view['more_page'] );?> class="checkbox"> |
| 9 | <label for="view-more_page"> |
| 10 | <?php _e( '"Read more" link to a page or post', 'strong-testimonials' ); ?> |
| 11 | </label> |
| 12 | </div> |
| 13 | </th> |
| 14 | <td> |
| 15 | <div class="row then then_more_page" style="display: none;"> |
| 16 | |
| 17 | <!-- Select page --> |
| 18 | <div class="row then then_more_page" style="display: none;"> |
| 19 | <div class="row-inner"> |
| 20 | <label> |
| 21 | <select id="view-page" name="view[data][more_page_id]"> |
| 22 | <option value=""><?php _e( '— select —' ); ?></option> |
| 23 | <?php |
| 24 | do_action( 'wpmtst_readmore_page_list', $view ); |
| 25 | if ( $custom_list ) { |
| 26 | ?> |
| 27 | <optgroup label="<?php _e( 'Custom', 'strong-testimonials' ); ?>"> |
| 28 | <?php |
| 29 | foreach ( $custom_list as $page ) { |
| 30 | echo $page; |
| 31 | } |
| 32 | ?> |
| 33 | </optgroup> |
| 34 | <?php |
| 35 | } |
| 36 | ?> |
| 37 | <optgroup label="<?php _e( 'Pages' ); ?>"> |
| 38 | <?php foreach ( $pages_list as $pages ) : ?> |
| 39 | <option value="<?php echo $pages->ID; ?>" <?php selected( isset( $view['more_page_id'] ) ? $view['more_page_id'] : 0, $pages->ID ); ?>><?php echo $pages->post_title; ?></option> |
| 40 | <?php endforeach; ?> |
| 41 | </optgroup> |
| 42 | <optgroup label="<?php _e( 'Posts' ); ?>"> |
| 43 | <?php foreach ( $posts_list as $posts ) : ?> |
| 44 | <option value="<?php echo $posts->ID; ?>" <?php selected( isset( $view['more_page_id'] ) ? $view['more_page_id'] : 0, $posts->ID ); ?>><?php echo $posts->post_title; ?></option> |
| 45 | <?php endforeach; ?> |
| 46 | </optgroup> |
| 47 | </select> |
| 48 | </label> |
| 49 | <label for="view-page_id2"> |
| 50 | <?php _ex( 'or enter its ID or slug', 'to select a target page', 'strong-testimonials' ); ?> |
| 51 | </label> |
| 52 | <input type="text" id="view-page_id2" name="view[data][more_page_id2]" size="30"> |
| 53 | </div> |
| 54 | </div> |
| 55 | |
| 56 | <!-- Link text --> |
| 57 | <div class="row"> |
| 58 | <div class="row-inner"> |
| 59 | <div class="inline"> |
| 60 | <label for="view-more_page_text"> |
| 61 | <?php _e( 'with link text', 'strong-testimonials' ); ?> |
| 62 | </label> |
| 63 | <input type="text" id="view-more_page_text" name="view[data][more_page_text]" |
| 64 | value="<?php echo $view['more_page_text']; ?>" size="50"> |
| 65 | </div> |
| 66 | </div> |
| 67 | </div> |
| 68 | |
| 69 | <!-- location --> |
| 70 | <div class="row"> |
| 71 | <div class="row-inner"> |
| 72 | <label> |
| 73 | <select id="view-more_page_hook" name="view[data][more_page_hook]"> |
| 74 | <option value="wpmtst_view_footer" <?php selected( 'wpmtst_view_footer', $view['more_page_hook'] ); ?>> |
| 75 | <?php _ex( 'after the last testimonial', 'display setting', 'strong-testimonials' ); ?> |
| 76 | </option> |
| 77 | <option value="wpmtst_after_testimonial" <?php selected( 'wpmtst_after_testimonial', $view['more_page_hook'] ); ?>> |
| 78 | <?php _ex( 'in each testimonial', 'display setting', 'strong-testimonials' ); ?> |
| 79 | </option> |
| 80 | </select> |
| 81 | </label> |
| 82 | </div> |
| 83 | </div> |
| 84 | |
| 85 | </div> |
| 86 | |
| 87 | </td> |
| 88 |