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-thumbnail.php
92 lines
| 1 | <?php /* translators: On the Views admin screen. */ ?> |
| 2 | <th> |
| 3 | <input type="checkbox" id="view-images" class="checkbox if toggle" name="view[data][thumbnail]" value="1" <?php checked( $view['thumbnail'] ); ?>> |
| 4 | <label for="view-images"> |
| 5 | <?php _e( 'Featured Image', 'strong-testimonials' ); ?> |
| 6 | </label> |
| 7 | </th> |
| 8 | <td colspan="2"> |
| 9 | |
| 10 | <div class="then then_images" style="display: none;"> |
| 11 | |
| 12 | <div class="row"> |
| 13 | <div class="row-inner"> |
| 14 | <div class="inline"> |
| 15 | <label for="view-thumbnail_size"> |
| 16 | Size |
| 17 | </label> |
| 18 | <select id="view-thumbnail_size" class="if select" name="view[data][thumbnail_size]"> |
| 19 | <?php foreach ( $image_sizes as $key => $size ) : ?> |
| 20 | <option<?php if ( 'custom' == $key ) echo ' class="trip"'; ?> value="<?php echo $key; ?>"<?php selected( $key, $view['thumbnail_size'] ); ?>><?php echo $size['label']; ?></option> |
| 21 | <?php endforeach; ?> |
| 22 | </select> |
| 23 | </div> |
| 24 | <div class="inline then then_thumbnail_size" style="margin-left: 1em;"> |
| 25 | <label for="thumbnail_width"> |
| 26 | <?php _e( 'width', 'strong-testimonials' ); ?> |
| 27 | </label> |
| 28 | <input id="thumbnail_width" class="input-number-px" type="text" name="view[data][thumbnail_width]" value="<?php echo $view['thumbnail_width']; ?>"> px |
| 29 | <span style="display: inline-block; color: #BBB; margin: 0 1em;">|</span> |
| 30 | <label for="thumbnail_height"> |
| 31 | <?php _e( 'height', 'strong-testimonials' ); ?> |
| 32 | </label> |
| 33 | <input id="thumbnail_height" class="input-number-px" type="text" name="view[data][thumbnail_height]" value="<?php echo $view['thumbnail_height']; ?>"> px |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |
| 37 | |
| 38 | <div class="row"> |
| 39 | <div class="row-inner"> |
| 40 | <div class="inline"> |
| 41 | <input type="checkbox" id="view-lightbox" class="if toggle" name="view[data][lightbox]" |
| 42 | value="1" <?php checked( $view['lightbox'] ); ?> class="checkbox"> |
| 43 | <label for="view-lightbox"> |
| 44 | <?php _e( 'Open full-size image in a lightbox', 'strong-testimonials' ); ?> |
| 45 | </label> |
| 46 | </div> |
| 47 | <div class="inline then then_lightbox"> |
| 48 | <p class="description"><?php _e( 'Requires a lightbox provided by your theme or another plugin.', 'strong-testimonials' ); ?></p> |
| 49 | </div> |
| 50 | </div> |
| 51 | </div> |
| 52 | |
| 53 | <div class="row"> |
| 54 | <div class="row-inner"> |
| 55 | <div class="inline then then_lightbox input" style="display: none;"> |
| 56 | <label for="view-lightbox_class"> |
| 57 | <?php _e( 'CSS class', 'strong-testimonials' ); ?> |
| 58 | </label> |
| 59 | <input type="text" id="view-lightbox_class" class="medium inline" name="view[data][lightbox_class]" value="<?php echo $view['lightbox_class']; ?>"> |
| 60 | <p class="inline description tall"> |
| 61 | <?php _e( 'To add a class to the image link.', 'strong-testimonials' ); ?> |
| 62 | </p> |
| 63 | </div> |
| 64 | </div> |
| 65 | </div> |
| 66 | |
| 67 | <div class="row"> |
| 68 | <div class="row-inner"> |
| 69 | <div class="inline"> |
| 70 | <label for="view-gravatar"> |
| 71 | <?php _e( 'If no Featured Image', 'strong-testimonials' ); ?> |
| 72 | </label> |
| 73 | <select id="view-gravatar" class="if select selectper" name="view[data][gravatar]"> |
| 74 | <option value="no" <?php selected( $view['gravatar'], 'no' ); ?>><?php _e( 'show nothing', 'strong-testimonials' ); ?></option> |
| 75 | <option value="yes" <?php selected( $view['gravatar'], 'yes' ); ?>><?php _e( 'show Gravatar', 'strong-testimonials' ); ?></option> |
| 76 | <option value="if" <?php selected( $view['gravatar'], 'if' ); ?>><?php _e( 'show Gravatar only if found', 'strong-testimonials' ); ?></option> |
| 77 | </select> |
| 78 | </div> |
| 79 | <div class="inline"> |
| 80 | <div class="then fast then_not_no then_yes then_if" style="display: none;"> |
| 81 | <p class="description tall"> |
| 82 | <a href="<?php echo admin_url( 'options-discussion.php' ); ?>"><?php _e( 'Gravatar settings', 'strong-testimonials' ); ?></a> |
| 83 | </p> |
| 84 | </div> |
| 85 | </div> |
| 86 | </div> |
| 87 | </div> |
| 88 | |
| 89 | </div><!-- .then_images --> |
| 90 | |
| 91 | </td> |
| 92 |