PluginProbe ʕ •ᴥ•ʔ
Strong Testimonials / 2.33
Strong Testimonials v2.33
3.3.3 3.3.2 3.3.1 trunk 1.0.1 2.30.9 2.31.10 2.32 2.32.1 2.32.2 2.32.3 2.32.4 2.33 2.34 2.35 2.36 2.37 2.38 2.38.1 2.39 2.39.1 2.39.2 2.39.3 2.40.0 2.40.1 2.40.2 2.40.3 2.40.4 2.40.5 2.40.6 2.40.7 2.41.0 2.41.1 2.50.0 2.50.1 2.50.2 2.50.3 2.50.4 2.51.0 2.51.1 2.51.2 2.51.3 2.51.4 2.51.5 2.51.6 2.51.7 2.51.8 2.51.9 3.0.0 3.0.1 3.0.2 3.0.3 3.1.0 3.1.1 3.1.10 3.1.11 3.1.12 3.1.13 3.1.14 3.1.15 3.1.16 3.1.17 3.1.18 3.1.19 3.1.2 3.1.20 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 3.2.0 3.2.1 3.2.10 3.2.11 3.2.12 3.2.13 3.2.14 3.2.15 3.2.16 3.2.17 3.2.18 3.2.19 3.2.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.4 3.2.5 3.2.6 3.2.7 3.2.8 3.2.9 3.3.0
strong-testimonials / admin / partials / views / view-shortcode.php
strong-testimonials / admin / partials / views Last commit date
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
view-shortcode.php
33 lines
1 <?php
2 // avoiding the tab character before the shortcode for better copy-n-paste
3 if ( 'edit' == $action ) {
4 $shortcode = '<div class="saved">';
5 $shortcode .= '<input id="view-shortcode" type="text" value="[testimonial_view id=&quot;' . esc_attr( $view_id ) . '&quot;]" readonly />';
6 $shortcode .= '<input id="copy-shortcode" class="button small" type="button" value="' . esc_attr__( 'copy to clipboard', 'strong-testimonials' ) . '" data-copytarget="#view-shortcode" />';
7 $shortcode .= '<span id="copy-message">copied</span>';
8 $shortcode .= '</div>';
9 } else {
10 $shortcode = '<div class="unsaved">' . _x( 'will be available after you save this', 'The shortcode for a new View.', 'strong-testimonials' ) . '</div>';
11 }
12
13 $then_classes = array(
14 'then',
15 'then_display',
16 'then_form',
17 'then_slideshow',
18 'then_not_single_template',
19 apply_filters( 'wpmtst_view_section', '', 'shortcode' ),
20 );
21 ?>
22
23 <div class="table-row form-view-shortcode <?php echo esc_attr( join( array_filter( $then_classes ), ' ' ) ); ?>">
24 <div class="table-cell">
25 <label for="view-shortcode">
26 <?php _e( 'Shortcode', 'strong-testimonials' ); ?>
27 </label>
28 </div>
29 <div class="table-cell">
30 <?php echo $shortcode; ?>
31 </div>
32 </div>
33