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 / option-content.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
option-content.php
218 lines
1 <?php /* translators: On the Views admin screen. */ ?>
2 <th>
3 <label for="view-content">
4 <?php _e( 'Content', 'strong-testimonials' ); ?>
5 </label>
6 </th>
7 <td colspan="2">
8
9 <!-- Content type -->
10 <div id="option-content" class="row">
11 <div class="row-inner">
12
13 <!-- select -->
14 <div class="inline">
15 <select id="view-content" class="if selectper min-width-1 label-not-adjacent" name="view[data][content]">
16 <option value="entire" <?php selected( 'entire', $view['content'] ); ?>>
17 <?php _ex( 'entire content', 'display setting', 'strong-testimonials' ); ?>
18 </option>
19 <option value="truncated" <?php selected( 'truncated', $view['content'] ); ?>>
20 <?php _ex( 'automatic excerpt', 'display setting', 'strong-testimonials' ); ?>
21 </option>
22 <option value="excerpt" <?php selected( 'excerpt', $view['content'] ); ?>>
23 <?php _ex( 'manual excerpt', 'display setting', 'strong-testimonials' ); ?>
24 </option>
25 </select>
26 </div>
27
28 <!-- info & screenshot -->
29 <div class="inline then fast then_truncated then_not_entire then_not_excerpt" style="display: none;">
30 <p class="description">
31 <?php _e( 'This will strip tags like &lt;em&gt; and &lt;strong&gt;.', 'strong-testimonials' ); ?>
32 </p>
33 </div>
34 <div class="inline then fast then_not_truncated then_not_entire then_excerpt" style="display: none;">
35 <p class="description">
36 <?php printf( __( 'To create manual excerpts, you may need to enable them in the post editor like in this <a href="%s" class="thickbox">screenshot</a>.', 'strong-testimonials' ), esc_url( '#TB_inline?width=&height=210&inlineId=screenshot-screen-options' ) ); ?>
37 <span class="screenshot" id="screenshot-screen-options" style="display: none;">
38 <img src="<?php echo WPMTST_ADMIN_URL; ?>img/screen-options.png" width="600">
39 </span>
40 </p>
41 </div>
42
43 </div>
44 </div>
45
46 <!-- Excerpt length -->
47 <div id="option-content-length" class="row then then_not_entire then_excerpt then_truncated" style="display: none;">
48
49 <div class="row-inner">
50
51 <!-- info -->
52 <div class="inline tight then then_excerpt then_not_truncated" style="display: none;">
53 <span>
54 <?php _e( 'If no manual excerpt, create an excerpt using', 'strong-testimonials' ); ?>
55 </span>
56 </div>
57
58 <!-- default or custom? -->
59 <div class="inline">
60 <label>
61 <select id="view-use_default_length" class="if selectgroup min-width-1" name="view[data][use_default_length]">
62 <option value="1" <?php selected( $view['use_default_length'] ); ?>>
63 <?php _ex( 'default length', 'display setting', 'strong-testimonials' ); ?>
64 </option>
65 <option value="0" <?php selected( ! $view['use_default_length'] ); ?>>
66 <?php _ex( 'custom length', 'display setting', 'strong-testimonials' ); ?>
67 </option>
68 </select>
69 </label>
70 </div>
71
72 <!-- 1st option: default -->
73 <div class="inline then fast then_use_default_length then_1 then_not_0" style="display: none;">
74 <label for="view-use_default_length" class="inline-middle"><?php // Because partner option has <label>, this prevents micro-bounce ?>
75 <p class="description tall"><?php _e( 'The default length is 55 words but your theme may override that.', 'strong-testimonials' ); ?></p>
76 </label>
77 </div>
78
79 <!-- 2nd option: length -->
80 <div class="inline then fast then_use_default_length then_0 then_not_1" style="display: none;">
81 <label class="inline-middle">
82 <?php printf( _x( 'the first %s words', 'the excerpt length', 'strong-testimonials' ), '<input id="view-excerpt_length" class="input-incremental" type="number" min="1" max="999" name="view[data][excerpt_length]" value="' . $view['excerpt_length'] . '">' ); ?>
83 </label>
84 </div>
85
86 </div>
87
88 </div><!-- #option-content-length -->
89
90 <!-- Read-more link -->
91 <div id="option-content-read-more" class="row then then_not_entire then_excerpt then_truncated" style="display: none;">
92
93 <div class="row-inner subgroup">
94
95 <!-- action: full post or in place -->
96 <div class="row-inner">
97 <div class="inline">
98 <?php _e( 'Add a <strong>Read more</strong> link to', 'strong-testimonials' ); ?>
99 </div>
100 <div class="inline tight">
101 <label>
102 <select id="view-more_post_in_place"
103 class="if selectgroup"
104 name="view[data][more_post_in_place]">
105 <option value="0" <?php selected( ! $view['more_post_in_place'] ); ?>>
106 <?php // TODO Get label from Properties ?>
107 <?php _e( 'the full testimonial', 'strong-testimonials' ); ?>
108 </option>
109 <option value="1" <?php selected( $view['more_post_in_place'] ); ?>>
110 <?php _e( 'expand content in place', 'strong-testimonials' ); ?>
111 </option>
112 </select>
113 </label>
114 </div>
115 </div>
116
117 <!-- ellipsis -->
118 <div class="row-inner">
119 <div class="then then_use_default_more then_0 then_not_1" style="display: none;">
120 <div class="inline">
121 <label>
122 <select id="view-more_post_ellipsis"
123 class="if selectgroup"
124 name="view[data][more_post_ellipsis]">
125 <option value="1" <?php selected( $view['more_post_ellipsis'] ); ?>>
126 <?php _e( 'with an ellipsis', 'strong-testimonials' ); ?>
127 </option>
128 <option value="0" <?php selected( ! $view['more_post_ellipsis'] ); ?>>
129 <?php _e( 'without an ellipsis', 'strong-testimonials' ); ?>
130 </option>
131 </select>
132 </label>
133 </div>
134 <div class="inline then then_excerpt then_not_truncated" style="display: none;">
135 <p class="description">
136 <?php _e( 'Automatic excerpt only.', 'strong-testimonials' ); ?>
137 </p>
138 </div>
139 </div>
140 </div>
141
142 <!-- default or custom -->
143 <div class="row-inner">
144 <div class="inline tight then fast then_more_post_in_place then_1 then_not_0" style="display: none;">
145 <?php _e( 'with link text to read more', 'strong-testimonials' ); ?>
146 </div>
147 <div class="inline then fast then_more_post_in_place then_0 then_not_1" style="display: none;">
148 <label>
149 <select id="view-use_default_more"
150 class="if selectgroup min-width-1"
151 name="view[data][use_default_more]">
152 <option value="1" <?php selected( $view['use_default_more'] ); ?>>
153 <?php _ex( 'with default link text', 'display setting', 'strong-testimonials' ); ?>
154 </option>
155 <option value="0" <?php selected( ! $view['use_default_more'] ); ?>>
156 <?php _ex( 'with custom link text', 'display setting', 'strong-testimonials' ); ?>
157 </option>
158 </select>
159 </label>
160 </div>
161 <div class="inline then fast then_use_default_more then_1 then_not_0" style="display: none;">
162 <p class="description"><?php _e( 'If you only see [&hellip;] without a link then use the custom link text instead.', 'strong-testimonials' ); ?></p>
163 </div>
164 <!-- read more -->
165 <div class="inline then fast then_use_default_more then_0 then_not_1" style="display: none;">
166 <span id="option-link-text" class="inline-span">
167 <label for="view-more_post_text">
168 <input type="text" id="view-more_post_text" name="view[data][more_post_text]"
169 value="<?php echo $view['more_post_text']; ?>" size="22"
170 placeholder="<?php _e( 'enter a phrase', 'strong-testimonials' ); ?>">
171 </label>
172 </span>
173 </div>
174 </div>
175
176 <!-- read less -->
177 <div class="row-inner then fast then_more_post_in_place then_1 then_not_0" style="display: none;">
178 <div class="inline tight">
179 <?php _e( 'and link text to read less', 'strong-testimonials' ); ?>
180 </div>
181 <div class="inline tight">
182 <span id="option-link-text-less" class="inline-span">
183 <label for="view-less_post_text">
184 <input type="text" id="view-less_post_text" name="view[data][less_post_text]"
185 value="<?php echo $view['less_post_text']; ?>" size="22"
186 placeholder="<?php _e( 'enter a phrase', 'strong-testimonials' ); ?>">
187 </label>
188 </span>
189 <p class="inline description"><?php _e( 'Leave blank to leave content expanded without a link.', 'strong-testimonials' ); ?></p>
190 </div>
191 </div>
192
193 <!-- automatic or both -->
194 <div class="row-inner then then_excerpt then_not_truncated" style="display: none;">
195 <div class="inline">
196 <label>
197 <select id="view-more_full_post" class="if selectgroup" name="view[data][more_full_post]">
198 <option value="0" <?php selected( $view['more_full_post'], 0 ); ?>>
199 <?php _ex( 'for automatic excerpt only', 'display setting', 'strong-testimonials' ); ?>
200 </option>
201 <option value="1" <?php selected( $view['more_full_post'], 1 ); ?>>
202 <?php _ex( 'for both automatic and manual excerpts', 'display setting', 'strong-testimonials' ); ?>
203 </option>
204 </select>
205 </label>
206 </div>
207 </div>
208 </div>
209 </div>
210
211 <div class="row links then then_not_entire then_truncated then_excerpt" style="display: none;">
212 <p class="description tall solo">
213 <?php printf( __( '<a href="%s" target="_blank">Learn more about WordPress excerpts</a>', 'strong-testimonials' ), esc_url( 'http://buildwpyourself.com/wordpress-manual-excerpts-more-tag/' ) ); ?>
214 </p>
215 </div>
216
217 </td>
218