PluginProbe ʕ •ᴥ•ʔ
Strong Testimonials / 2.33
Strong Testimonials v2.33
3.3.6 3.3.5 3.3.4 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 / settings / partials / general.php
strong-testimonials / admin / settings / partials Last commit date
email-from.php 8 years ago email-to.php 8 years ago email.php 8 years ago form.php 7 years ago general.php 7 years ago licenses.php 8 years ago recipient.php 8 years ago
general.php
231 lines
1 <?php
2 /**
3 * Settings
4 *
5 * @since 1.13
6 */
7
8 $options = get_option( 'wpmtst_options' );
9 ?>
10 <h2><?php _e( 'Admin', 'strong-testimonials' ); ?></h2>
11
12 <table class="form-table" cellpadding="0" cellspacing="0">
13
14 <tr valign="top">
15 <th scope="row">
16 <?php _e( 'Pending Indicator', 'strong-testimonials' ); ?>
17 </th>
18 <td>
19 <fieldset>
20 <label>
21 <input type="checkbox" name="wpmtst_options[pending_indicator]" <?php checked( $options['pending_indicator'] ); ?>>
22 <?php _e( 'Show indicator bubble when new submissions are awaiting moderation.', 'strong-testimonials' ); ?>
23 <?php _e( 'On by default.', 'strong-testimonials' ); ?>
24 </label>
25 </fieldset>
26 </td>
27 </tr>
28
29 <tr valign="top">
30 <th scope="row">
31 <?php _e( 'Reordering', 'strong-testimonials' ); ?>
32 </th>
33 <td>
34 <fieldset>
35 <label>
36 <input type="checkbox" name="wpmtst_options[reorder]" <?php checked( $options['reorder'] ); ?>>
37 <?php _e( 'Enable drag-and-drop reordering in the testimonial list.', 'strong-testimonials' ); ?>
38 <?php _e( 'Off by default.', 'strong-testimonials' ); ?>
39 </label>
40 <p class="description"><?php _e( 'Then set <b>Order</b> to "menu order" in the View.', 'strong-testimonials' ); ?></p>
41 </fieldset>
42 </td>
43 </tr>
44
45 <tr valign="top">
46 <th scope="row">
47 <?php _e( 'Custom Fields Meta Box', 'strong-testimonials' ); ?>
48 </th>
49 <td>
50 <fieldset>
51 <label>
52 <input type="checkbox" name="wpmtst_options[support_custom_fields]" <?php checked( $options['support_custom_fields'] ); ?>>
53 <?php _e( 'Show the <strong>Custom Fields</strong> meta box in the testimonial post editor. This does not affect the <strong>Client Details</strong> meta box.', 'strong-testimonials' ); ?>
54 <?php _e( 'Off by default.', 'strong-testimonials' ); ?>
55 </label>
56 <p class="description"><?php _e( 'For advanced users.', 'strong-testimonials' ); ?></p>
57 </fieldset>
58 </td>
59 </tr>
60
61 </table>
62
63 <hr/>
64 <h2><?php _e( 'Output', 'strong-testimonials' ); ?></h2>
65
66 <table class="form-table" cellpadding="0" cellspacing="0">
67
68 <tr valign="top">
69 <th scope="row">
70 <?php _e( 'Enable Touch', 'strong-testimonials' ); ?>
71 </th>
72 <td>
73 <fieldset>
74 <label>
75 <input type="checkbox" name="wpmtst_options[touch_enabled]" <?php checked( $options['touch_enabled'] ); ?>>
76 <?php _e( 'Enable touch swipe navigation in slideshows.', 'strong-testimonials' ); ?>
77 <?php _e( 'On by default.', 'strong-testimonials' ); ?>
78 </label>
79 <p class="description"><?php _e( 'If you are having trouble scrolling long testimonials on a small screen, try disabling this.', 'strong-testimonials' ); ?></p>
80 </fieldset>
81 </td>
82 </tr>
83
84 <tr valign="top">
85 <th scope="row">
86 <?php _e( 'Scroll Top', 'strong-testimonials' ); ?>
87 </th>
88 <td>
89 <fieldset>
90 <label>
91 <input type="checkbox" name="wpmtst_options[scrolltop]" <?php checked( $options['scrolltop'] ); ?>>
92 <?php printf( __( 'When a new page is selected in paginated Views, scroll to the top of the container minus %s pixels.', 'strong-testimonials' ), '<input type="text" name="wpmtst_options[scrolltop_offset]" value="' . $options['scrolltop_offset'] . '" size="3">' ); ?>
93 <?php _e( 'On by default.', 'strong-testimonials' ); ?>
94 </label>
95 </fieldset>
96 </td>
97 </tr>
98
99 <tr valign="top">
100 <th scope="row">
101 <?php _e( 'Remove Whitespace', 'strong-testimonials' ); ?>
102 </th>
103 <td>
104 <fieldset>
105 <label>
106 <input type="checkbox" name="wpmtst_options[remove_whitespace]" <?php checked( $options['remove_whitespace'] ); ?>>
107 <?php _e( 'Remove space between HTML tags in View output to prevent double paragraphs <em>(wpautop)</em>.', 'strong-testimonials' ); ?>
108 <?php _e( 'On by default.', 'strong-testimonials' ); ?>
109 </label>
110 </fieldset>
111 </td>
112 </tr>
113
114 <tr valign="top">
115 <th scope="row">
116 <?php _e( 'Comments', 'strong-testimonials' ); ?>
117 </th>
118 <td>
119 <fieldset>
120 <label>
121 <input type="checkbox" name="wpmtst_options[support_comments]" <?php checked( $options['support_comments'] ); ?>>
122 <?php _e( 'Allow comments on testimonials. Requires using your theme\'s single post template.', 'strong-testimonials' ); ?>
123 <?php _e( 'Off by default.', 'strong-testimonials' ); ?>
124 </label>
125 </fieldset>
126 <p class="description"><?php _e( 'To enable comments:', 'strong-testimonials' ); ?></p>
127 <ul class="description">
128 <li><?php _e( 'For individual testimonials, use the <strong>Discussion</strong> meta box in the post editor or <strong>Quick Edit</strong> in the testimonial list.', 'strong-testimonials' ); ?></li>
129 <li><?php _e( 'For multiple testimonials, use <strong>Bulk Edit</strong> in the testimonial list.', 'strong-testimonials' ); ?></li>
130 </ul>
131 <p class="description"><?php printf( '<a href="%s" target="_blank">%s</a>',
132 esc_url( 'https://strongplugins.com/document/strong-testimonials/enable-comments/' ),
133 __( 'Tutorial', 'strong-testimonials' ) ); ?></p>
134 </td>
135 </tr>
136
137 <tr valign="top">
138 <th scope="row">
139 <?php _e( 'Embed Width', 'strong-testimonials' ); ?>
140 </th>
141 <td>
142 <fieldset>
143 <?php printf(
144 /* Translators: %s is an input field. */
145 __( 'For embedded links (YouTube, Twitter, etc.) set the frame width to %s pixels.', 'strong-testimonials' ),
146 '<input type="text" name="wpmtst_options[embed_width]" value="' . $options['embed_width'] . '" size="3">' ); ?>
147 <p class="description"><?php _e( 'Leave empty for default width (usually 100% for videos). Height will be calculated automatically. This setting only applies to Views.', 'strong-testimonials' ); ?></p>
148 <p class="description">
149 <?php printf( '<a href="%s" target="_blank">%s</a>',
150 esc_url( 'https://codex.wordpress.org/Embeds' ),
151 __( 'More on embeds', 'strong-testimonials' ) ); ?> |
152 <?php printf( '<a href="%s" target="_blank">%s</a>',
153 esc_url( 'https://strongplugins.com/document/strong-testimonials/embed-social-media/' ),
154 __( 'Tutorial', 'strong-testimonials' ) ); ?>
155 </p>
156 </fieldset>
157 </td>
158 </tr>
159
160 <tr valign="top">
161 <th scope="row">
162 <?php _e( 'Load Font Awesome', 'strong-testimonials' ); ?>
163 </th>
164 <td>
165 <fieldset>
166 <label>
167 <input type="checkbox" name="wpmtst_options[load_font_awesome]" <?php checked( $options['load_font_awesome'] ); ?>>
168 <?php printf( __( 'Load the icon font necessary for star ratings %s, slideshow controls %s, and some template quotation marks %s. ','strong-testimonials' ),
169 '<i class="fa fa-star example" aria-hidden="true"></i>',
170 '<i class="fa fa-play example" aria-hidden="true"></i>',
171 '<i class="fa fa-quote-left example" aria-hidden="true"></i>' ); ?>
172 <?php _e( 'On by default.', 'strong-testimonials' ); ?>
173 </label>
174 <p class="description">
175 <?php _e( 'Some reasons to disable this:', 'strong-testimonials' ); ?>
176 </p>
177 <ul class="description">
178 <li>
179 <?php _e( 'Your theme or another plugin also loads Font Awesome and you want to make your site more efficient by only loading one copy.', 'strong-testimonials' ); ?>
180 <?php printf( 'Try <a href="%s" target="_blank">%s</a> for even more control.',
181 esc_url( 'https://wordpress.org/plugins/better-font-awesome/' ),
182 __( 'Better Font Awesome', 'strong-testimonials' ) ); ?></li>
183 <li><?php _e( 'You are overriding the icon CSS with images or another icon font.', 'strong-testimonials' ); ?></li>
184 <li><?php _e( 'You have no need for stars, slideshow controls, or quotation mark icons.', 'strong-testimonials' ); ?></li>
185 <li><?php _e( 'You know what you\'re doing.', 'strong-testimonials' ); ?></li>
186 </ul>
187 </fieldset>
188 </td>
189 </tr>
190
191 <tr valign="top">
192 <th scope="row">
193 <?php _e( 'Nofollow Links', 'strong-testimonials' ); ?>
194 </th>
195 <td>
196 <fieldset>
197 <label>
198 <input type="checkbox" name="wpmtst_options[nofollow]" <?php checked( $options['nofollow'] ); ?>>
199 <?php _e( 'Add <code>rel="nofollow"</code> to URL custom fields.', 'strong-testimonials' ); ?>
200 <?php _e( 'Off by default.', 'strong-testimonials' ); ?>
201 </label>
202 <p class="description">
203 <?php printf( 'To edit this value on your existing testimonials in bulk, try <a href="%s" target="_blank">%s</a> and set <code>nofollow</code> to <b>default</b>, <b>yes</b> or <b>no</b>.',
204 esc_url( 'https://wordpress.org/plugins/custom-field-bulk-editor/' ),
205 __( 'Custom Field Bulk Editor', 'strong-testimonials' ) ); ?>
206 </p>
207 </fieldset>
208 </td>
209 </tr>
210
211 <?php if ( wpmtst_is_plugin_active( 'lazy-loading-responsive-images' ) ) : ?>
212 <tr valign="top">
213 <th scope="row">
214 <?php _e( 'No Lazy Loading', 'strong-testimonials' ); ?>
215 </th>
216 <td>
217 <fieldset>
218 <label>
219 <input type="checkbox" name="wpmtst_options[no_lazyload]" <?php checked( $options['no_lazyload'] ); ?>>
220 <?php printf( __( 'Exclude from <a href="%s" target="_blank">Lazy Loading Responsive Images</a> plugin.', 'strong-testimonials' ), esc_url( 'https://wordpress.org/plugins/lazy-loading-responsive-images/' ) ); ?>
221 <?php _e( 'On by default.', 'strong-testimonials' ); ?>
222 </label>
223 </fieldset>
224 </td>
225 </tr>
226 <?php else : ?>
227 <input type="hidden" name="wpmtst_options[no_lazyload]" value="<?php echo $options['no_lazyload']; ?>">
228 <?php endif; ?>
229
230 </table>
231