Version Description
= 2.16.0 =
- Requires PHP 5.3+
= 2.15.0 =
- If upgrading, bxSlider will not be enabled by default. You must enable it in your widget and global settings. CSS customizations must be reviewed to have the
.active
and.display-none
classes removed. The main.testimonials-widget-testimonial
class also need thedisplay: none;
andclear: left;
removed.
= 2.14.0 =
- 60 modifications See Changelog
- CSS wp_register_style and wp_enqueue_style slug changed from 'testimonials-widget' to 'Testimonials_Widget'
- Gravatar image size now based upon Thumbnail size in Media Settings
- Scripts
ksort
removed. Usearray_unshift
in yourtestimonials_widget_testimonials_js
filters instead. - Testimonials > Settings, General tab, option Enable Review Schema? is enabled by default.
= 2.13.6 =
- IE 7 CSS moved to separate file. Include via Testimonials > Settings if needed
= 2.12.0 =
- CSS and JavaScript renaming
-
bottom_text
renamed tobottom-text
-
close_quote
renamed toclose-quote
-
display_none
renamed todisplay-none
-
join_location
renamed tojoin-location
-
join_title
renamed tojoin-title
-
open_quote
renamed toopen-quote
-
testimonialswidget_testimonial
renamed totestimonials-widget-testimonial
-
testimonialswidget_testimonials
renamed totestimonials-widget-testimonials
-
= 2.11.3 =
- Correct filter name
testimonials_widget_next_posts_link
totestimonials_widget_next_posts_link_text
= 2.11.0 =
- CSS class names are simplified. For the most part, other than
testimonialswidget_testimonial
removetestimonialswidget_
from the CSS class name in your CSS customizations.- Ex:
.testimonialswidget_join
becomes.join
- Ex:
.testimonialswidget_author
becomes.author
- Ex:
- Testimonials are now formatted using
blockquote
thanq
for HTML5 compliance. If you needq
tag formatting, enable it at WP Admin > Testimonials > Settings, Compatibility & Reset tab-
cite
is nowdiv.credit
-
= 2.8.0 =
- Deprecated
-
hide_author
nowhide_source
-
- Removed filters
testimonials_widget_options_update
,testimonials_widget_options_form
- Use
testimonials_widget_validate_settings
andtestimonials_widget_settings
instead
- Use
- Renamed variable and related class
widget_text
tobottom_text
= 2.7.3 =
- Quotes are no longer handled via
q
,p:before
, orp:after
CSS. It's handled via.testimonialswidget_testimonial .testimonialswidget_open_quote:before
and.testimonialswidget_testimonial .testimonialswidget_close_quote:after
- This change was made to keep consistency in how quotes were managed and to reduce the number of exception cases. In the end, this is simpler.
= 2.7.0 =
- Quotes with
keep_whitespace=true
aren't applied via CSS.testimonialswidget_testimonial q
tag anymore, but.testimonialswidget_testimonial q p:first-child:before
and.testimonialswidget_testimonial q p:last-child:after
- Widget testimonial
p
tags are no longer CSSdisplay: inline
,display: block
as expected
= 2.4.1 =
- Paging is on by default, except for widgets
= 2.0.0 =
- CSS
- Class
testimonialswidget_company
replacestestimonialswidget_source
- Class
testimonialswidget_source
replacestestimonialswidget_author
- The tighten widget display up, p tags within q are displayed inline.
- Class
- JavaScript
- The JavaScript for rotating testimonials is moved to the footer. As such, your theme requires
wp_footer()
in the footer.
- The JavaScript for rotating testimonials is moved to the footer. As such, your theme requires
- Shortcode options
-
hide_source
replaced byhide_url
-
hide_author
replaced byhide_source
-
- Testimonials
- Migration from the old custom table to new custom post type is automatically done. Import might take a few moments to complete.
- Company, URL and email details are attempted to be identified and placed properly based upon the original author and source fields. The company is "guessed" from the
author
field when there's a ", " or " of " context. If thesource
is an email, it's saved as such. Otherwise, it's assumed to be a URL. - Public testimonials are saved as Published. Non-public testimonials are marked as Private.
- Widget options
- "Show author" and "Show source" options are replaced by "Hide source" and "Hide URL" respectively. There's no backwards compatibility for these changes.
- Default
min-height
is now 250px than 150px.
Download this release
Release Info
Developer | comprock |
Plugin | Testimonials Widget |
Version | 2.17.0 |
Comparing to | |
See all releases |
Code changes from version 2.16.6 to 2.17.0
- CHANGELOG.md +8 -0
- README.md +2 -1
- languages/testimonials-widget.pot +242 -230
- lib/aihrus/CHANGELOG.md +15 -3
- lib/aihrus/README.md +3 -4
- lib/aihrus/class-aihrus-common.php +9 -115
- lib/aihrus/class-aihrus-licensing.php +1 -1
- lib/aihrus/class-aihrus-settings.php +3 -3
- lib/aihrus/class-aihrus-widget.php +1 -1
- lib/aihrus/requirements.php +199 -0
- lib/class-testimonials-widget-settings.php +5 -3
- lib/class-testimonials-widget-widget.php +4 -1
- lib/requirements.php +39 -0
- readme.txt +2 -2
- testimonials-widget.php +36 -40
CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2 |
|
3 |
## master
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
## 2.16.6
|
6 |
* BUGFIX Widget title is same as link
|
7 |
|
2 |
|
3 |
## master
|
4 |
|
5 |
+
## 2.17.0
|
6 |
+
* BUGFIX No notices on deactivation
|
7 |
+
* Convert TODO to https://github.com/michael-cannon/testimonials-widget/issues
|
8 |
+
* Implement PHP version checking
|
9 |
+
* Implement WordPress version checking
|
10 |
+
* Restructure readme
|
11 |
+
* Tested up to 3.9.0
|
12 |
+
|
13 |
## 2.16.6
|
14 |
* BUGFIX Widget title is same as link
|
15 |
|
README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
|
3 |
[![Build Status](https://travis-ci.org/michael-cannon/testimonials-widget.png?branch=master)](https://travis-ci.org/michael-cannon/testimonials-widget)
|
4 |
[![ProjectStatus](http://stillmaintained.com/michael-cannon/testimonials-widget.png)](http://stillmaintained.com/michael-cannon/testimonials-widget)
|
|
|
5 |
|
6 |
## Welcome to the Testimonials Github repository
|
7 |
|
@@ -33,7 +34,7 @@ Anyone is welcome to contribute to Testimonials. Please [read the guidelines](ht
|
|
33 |
There are various ways you can contribute:
|
34 |
|
35 |
* [Raise an issue](https://github.com/michael-cannon/testimonials-widget/issues) on GitHub.
|
36 |
-
*
|
37 |
* [Translate Testimonials by Michael Cannon into different languages](https://aihrus.zendesk.com/entries/23691557-How-do-I-change-Testimonials-Widget-text-labels-).
|
38 |
* Provide feedback and [suggestions on enhancements](https://github.com/michael-cannon/testimonials-widget/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open).
|
39 |
|
2 |
|
3 |
[![Build Status](https://travis-ci.org/michael-cannon/testimonials-widget.png?branch=master)](https://travis-ci.org/michael-cannon/testimonials-widget)
|
4 |
[![ProjectStatus](http://stillmaintained.com/michael-cannon/testimonials-widget.png)](http://stillmaintained.com/michael-cannon/testimonials-widget)
|
5 |
+
[Codeship status](https://www.codeship.io/projects/b5524630-43f6-0131-3b4d-76a8e32a74d4/status)
|
6 |
|
7 |
## Welcome to the Testimonials Github repository
|
8 |
|
34 |
There are various ways you can contribute:
|
35 |
|
36 |
* [Raise an issue](https://github.com/michael-cannon/testimonials-widget/issues) on GitHub.
|
37 |
+
* Fork Testimonials and send us a Pull Request with your bug fixes and/or new features.
|
38 |
* [Translate Testimonials by Michael Cannon into different languages](https://aihrus.zendesk.com/entries/23691557-How-do-I-change-Testimonials-Widget-text-labels-).
|
39 |
* Provide feedback and [suggestions on enhancements](https://github.com/michael-cannon/testimonials-widget/issues?direction=desc&labels=Enhancement&page=1&sort=created&state=open).
|
40 |
|
languages/testimonials-widget.pot
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
-
# Copyright (C) 2013 Testimonials
|
2 |
-
# This file is distributed under the same license as the Testimonials package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Testimonials 2.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
-
"POT-Creation-Date: 2013-12-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,44 +12,8 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: lib/aihrus/class-aihrus-common.php:
|
16 |
-
msgid "
|
17 |
-
msgstr ""
|
18 |
-
|
19 |
-
#: lib/aihrus/class-aihrus-common.php:160
|
20 |
-
msgid "<a href=\"%1$s\">update to</a>"
|
21 |
-
msgstr ""
|
22 |
-
|
23 |
-
#: lib/aihrus/class-aihrus-common.php:165
|
24 |
-
msgid "<a href=\"%1$s\">install</a>"
|
25 |
-
msgstr ""
|
26 |
-
|
27 |
-
#: lib/aihrus/class-aihrus-common.php:168
|
28 |
-
msgid "<a href=\"%1$s\">activate</a>"
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#: lib/aihrus/class-aihrus-common.php:172
|
32 |
-
msgid "Plugin %3$s has been deactivated. Please %1$s %4$s version %2$s or newer before activating %3$s."
|
33 |
-
msgstr ""
|
34 |
-
|
35 |
-
#: lib/aihrus/class-aihrus-common.php:184
|
36 |
-
msgid "<a href=\"%1$s\">%2$s > Settings</a>, <em>Premium</em> tab, <em>License Key</em> entry"
|
37 |
-
msgstr ""
|
38 |
-
|
39 |
-
#: lib/aihrus/class-aihrus-common.php:189
|
40 |
-
msgid "<a href=\"%s\">Where's my license key?</a>"
|
41 |
-
msgstr ""
|
42 |
-
|
43 |
-
#: lib/aihrus/class-aihrus-common.php:194
|
44 |
-
msgid "<a href=\"%1$s\">%2$s</a>"
|
45 |
-
msgstr ""
|
46 |
-
|
47 |
-
#: lib/aihrus/class-aihrus-common.php:198
|
48 |
-
msgid "Plugin %1$s requires license activation before updating will work. Please activate the license key via %2$s. No license key? See %3$s or purchase %4$s."
|
49 |
-
msgstr ""
|
50 |
-
|
51 |
-
#: lib/aihrus/class-aihrus-common.php:244
|
52 |
-
msgid "Please donate $5 towards ongoing free support and development of the %1$s plugin. %2$s"
|
53 |
msgstr ""
|
54 |
|
55 |
#: lib/aihrus/class-aihrus-settings.php:61
|
@@ -120,711 +84,759 @@ msgstr ""
|
|
120 |
msgid "Expand/Collapse"
|
121 |
msgstr ""
|
122 |
|
123 |
-
#: lib/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
msgid "Testimonials Settings"
|
125 |
msgstr ""
|
126 |
|
127 |
-
#: lib/class-testimonials-widget-settings.php:
|
128 |
msgid "Settings"
|
129 |
msgstr ""
|
130 |
|
131 |
-
#: lib/class-testimonials-widget-settings.php:
|
132 |
-
#: lib/class-testimonials-widget-settings.php:
|
133 |
msgid "General"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: lib/class-testimonials-widget-settings.php:
|
137 |
-
#: lib/class-testimonials-widget-settings.php:
|
138 |
msgid "Selection"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: lib/class-testimonials-widget-settings.php:
|
142 |
-
#: lib/class-testimonials-widget-settings.php:
|
143 |
msgid "Ordering"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: lib/class-testimonials-widget-settings.php:
|
147 |
-
#: lib/class-testimonials-widget-settings.php:
|
148 |
msgid "Widget"
|
149 |
msgstr ""
|
150 |
|
151 |
-
#: lib/class-testimonials-widget-settings.php:
|
152 |
-
#: lib/class-testimonials-widget-settings.php:
|
153 |
msgid "Post Type"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: lib/class-testimonials-widget-settings.php:
|
157 |
msgid "Widget Title"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: lib/class-testimonials-widget-settings.php:
|
161 |
-
#: lib/class-testimonials-widget-widget.php:
|
162 |
-
#: testimonials-widget.php:
|
163 |
msgid "Testimonials"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: lib/class-testimonials-widget-settings.php:
|
167 |
msgid "Title Link"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: lib/class-testimonials-widget-settings.php:
|
171 |
msgid "URL, path, or post ID to link widget title to. Ex: http://example.com/stuff, /testimonials, 123 or "
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: lib/class-testimonials-widget-settings.php:
|
175 |
msgid "Character Limit"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: lib/class-testimonials-widget-settings.php:
|
179 |
msgid "Number of characters to limit non-single testimonial views to"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: lib/class-testimonials-widget-settings.php:
|
183 |
msgid "Rotation Speed"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: lib/class-testimonials-widget-settings.php:
|
187 |
msgid "Number of seconds between testimonial rotations or 0 for no rotation at all refresh"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: lib/class-testimonials-widget-settings.php:
|
191 |
msgid "Additional Widget Options"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: lib/class-testimonials-widget-settings.php:
|
195 |
msgid "Transition Mode?"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: lib/class-testimonials-widget-settings.php:
|
199 |
msgid "Type of transition between slides"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: lib/class-testimonials-widget-settings.php:
|
203 |
msgid "Fade"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: lib/class-testimonials-widget-settings.php:
|
207 |
msgid "Horizontal"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: lib/class-testimonials-widget-settings.php:
|
211 |
msgid "Vertical"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: lib/class-testimonials-widget-settings.php:
|
215 |
msgid "Show Play/Pause?"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: lib/class-testimonials-widget-settings.php:
|
219 |
msgid "Display start and stop buttons underneath the testimonial slider."
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: lib/class-testimonials-widget-settings.php:
|
223 |
msgid "Enable Video?"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: lib/class-testimonials-widget-settings.php:
|
227 |
msgid "Only enable when displaying video content."
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: lib/class-testimonials-widget-settings.php:
|
231 |
msgid "Keep Whitespace?"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: lib/class-testimonials-widget-settings.php:
|
235 |
msgid "Keeps testimonials looking as entered than sans auto-formatting"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: lib/class-testimonials-widget-settings.php:
|
239 |
msgid "Testimonial Bottom Text"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: lib/class-testimonials-widget-settings.php:
|
243 |
msgid "Custom text or HTML for bottom of testimonials"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: lib/class-testimonials-widget-settings.php:
|
247 |
msgid "General Options"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: lib/class-testimonials-widget-settings.php:
|
251 |
msgid "Adds HTML tag markup per the <a href=\"%s\">Review schema</a> to testimonials. Search engines including Bing, Google, Yahoo! and Yandex rely on this markup to improve the display of search results."
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: lib/class-testimonials-widget-settings.php:
|
255 |
msgid "Enable Review Schema?"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: lib/class-testimonials-widget-settings.php:
|
259 |
msgid "Reviewed Item?"
|
260 |
msgstr ""
|
261 |
|
262 |
-
#: lib/class-testimonials-widget-settings.php:
|
263 |
msgid "Name of thing being referenced in testimonials"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: lib/class-testimonials-widget-settings.php:
|
267 |
msgid "Reviewed Item URL?"
|
268 |
msgstr ""
|
269 |
|
270 |
-
#: lib/class-testimonials-widget-settings.php:
|
271 |
msgid "URL of thing being referenced in testimonials"
|
272 |
msgstr ""
|
273 |
|
274 |
-
#: lib/class-testimonials-widget-settings.php:
|
275 |
msgid "Hide built-in quotes?"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: lib/class-testimonials-widget-settings.php:
|
279 |
msgid "Remove open and close quote span tags surrounding testimonial content"
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: lib/class-testimonials-widget-settings.php:
|
283 |
msgid "Hide \"Testimonials Not Found\"?"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: lib/class-testimonials-widget-settings.php:
|
287 |
msgid "Hide Gravatar Image?"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: lib/class-testimonials-widget-settings.php:
|
291 |
msgid "Hide Image?"
|
292 |
msgstr ""
|
293 |
|
294 |
-
#: lib/class-testimonials-widget-settings.php:
|
295 |
msgid "Hide Image in Single View?"
|
296 |
msgstr ""
|
297 |
|
298 |
-
#: lib/class-testimonials-widget-settings.php:
|
299 |
msgid "Hide Testimonial Content?"
|
300 |
msgstr ""
|
301 |
|
302 |
-
#: lib/class-testimonials-widget-settings.php:
|
303 |
msgid "Hide Author/Source?"
|
304 |
msgstr ""
|
305 |
|
306 |
-
#: lib/class-testimonials-widget-settings.php:
|
307 |
msgid "Don't display \"Post Title\" in cite"
|
308 |
msgstr ""
|
309 |
|
310 |
-
#: lib/class-testimonials-widget-settings.php:
|
311 |
msgid "Hide Email?"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: lib/class-testimonials-widget-settings.php:
|
315 |
msgid "Hide Job Title?"
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: lib/class-testimonials-widget-settings.php:
|
319 |
msgid "Hide Location?"
|
320 |
msgstr ""
|
321 |
|
322 |
-
#: lib/class-testimonials-widget-settings.php:
|
323 |
msgid "Hide Company?"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: lib/class-testimonials-widget-settings.php:
|
327 |
msgid "Hide URL?"
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: lib/class-testimonials-widget-settings.php:
|
331 |
msgid "URL Target"
|
332 |
msgstr ""
|
333 |
|
334 |
-
#: lib/class-testimonials-widget-settings.php:
|
335 |
msgid "Add target to all URLs; leave blank if none"
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: lib/class-testimonials-widget-settings.php:
|
339 |
msgid "Enable Paging?"
|
340 |
msgstr ""
|
341 |
|
342 |
-
#: lib/class-testimonials-widget-settings.php:
|
343 |
msgid "For `[testimonialswidget_list]`"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#: lib/class-testimonials-widget-settings.php:
|
347 |
msgid "Disable"
|
348 |
msgstr ""
|
349 |
|
350 |
-
#: lib/class-testimonials-widget-settings.php:
|
351 |
msgid "Enable"
|
352 |
msgstr ""
|
353 |
|
354 |
-
#: lib/class-testimonials-widget-settings.php:
|
355 |
msgid "Before testimonials"
|
356 |
msgstr ""
|
357 |
|
358 |
-
#: lib/class-testimonials-widget-settings.php:
|
359 |
msgid "After testimonials"
|
360 |
msgstr ""
|
361 |
|
362 |
-
#: lib/class-testimonials-widget-settings.php:
|
363 |
msgid "Do [shortcodes]?"
|
364 |
msgstr ""
|
365 |
|
366 |
-
#: lib/class-testimonials-widget-settings.php:
|
367 |
msgid "If unchecked, shortcodes are stripped."
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: lib/class-testimonials-widget-settings.php:
|
371 |
msgid "Selection Options"
|
372 |
msgstr ""
|
373 |
|
374 |
-
#: lib/class-testimonials-widget-settings.php:
|
375 |
msgid "Category Filter"
|
376 |
msgstr ""
|
377 |
|
378 |
-
#: lib/class-testimonials-widget-settings.php:
|
379 |
msgid "Comma separated category names. Ex: Category A, Another category"
|
380 |
msgstr ""
|
381 |
|
382 |
-
#: lib/class-testimonials-widget-settings.php:
|
383 |
msgid "Tags Filter"
|
384 |
msgstr ""
|
385 |
|
386 |
-
#: lib/class-testimonials-widget-settings.php:
|
387 |
msgid "Comma separated tag names. Ex: Tag A, Another tag"
|
388 |
msgstr ""
|
389 |
|
390 |
-
#: lib/class-testimonials-widget-settings.php:
|
391 |
msgid "Require All Tags?"
|
392 |
msgstr ""
|
393 |
|
394 |
-
#: lib/class-testimonials-widget-settings.php:
|
395 |
msgid "Select only testimonials with all of the given tags"
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: lib/class-testimonials-widget-settings.php:
|
399 |
msgid "Include IDs Filter"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: lib/class-testimonials-widget-settings.php:
|
403 |
-
#: lib/class-testimonials-widget-settings.php:
|
404 |
msgid "Comma separated testimonial IDs. Ex: 3,1,2"
|
405 |
msgstr ""
|
406 |
|
407 |
-
#: lib/class-testimonials-widget-settings.php:
|
408 |
msgid "Exclude IDs Filter"
|
409 |
msgstr ""
|
410 |
|
411 |
-
#: lib/class-testimonials-widget-settings.php:
|
412 |
msgid "Limit"
|
413 |
msgstr ""
|
414 |
|
415 |
-
#: lib/class-testimonials-widget-settings.php:
|
416 |
msgid "Number of testimonials to select per instance"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#: lib/class-testimonials-widget-settings.php:
|
420 |
msgid "Ordering Options"
|
421 |
msgstr ""
|
422 |
|
423 |
-
#: lib/class-testimonials-widget-settings.php:
|
424 |
msgid "Random Order?"
|
425 |
msgstr ""
|
426 |
|
427 |
-
#: lib/class-testimonials-widget-settings.php:
|
428 |
msgid "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets are random by default automatically"
|
429 |
msgstr ""
|
430 |
|
431 |
-
#: lib/class-testimonials-widget-settings.php:
|
432 |
msgid "ORDER BY"
|
433 |
msgstr ""
|
434 |
|
435 |
-
#: lib/class-testimonials-widget-settings.php:
|
436 |
msgid "Used when \"Random Order\" is disabled"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: lib/class-testimonials-widget-settings.php:
|
440 |
msgid "Testimonial ID"
|
441 |
msgstr ""
|
442 |
|
443 |
-
#: lib/class-testimonials-widget-settings.php:
|
444 |
msgid "Author"
|
445 |
msgstr ""
|
446 |
|
447 |
-
#: lib/class-testimonials-widget-settings.php:
|
448 |
msgid "Date"
|
449 |
msgstr ""
|
450 |
|
451 |
-
#: lib/class-testimonials-widget-settings.php:
|
452 |
msgid "Menu Order"
|
453 |
msgstr ""
|
454 |
|
455 |
-
#: lib/class-testimonials-widget-settings.php:
|
456 |
msgid "Source"
|
457 |
msgstr ""
|
458 |
|
459 |
-
#: lib/class-testimonials-widget-settings.php:
|
460 |
msgid "No order"
|
461 |
msgstr ""
|
462 |
|
463 |
-
#: lib/class-testimonials-widget-settings.php:
|
464 |
msgid "ORDER BY meta_key"
|
465 |
msgstr ""
|
466 |
|
467 |
-
#: lib/class-testimonials-widget-settings.php:
|
468 |
msgid "Used when \"Random Order\" is disabled and sorting by a testimonials meta key is needed. Overrides ORDER BY"
|
469 |
msgstr ""
|
470 |
|
471 |
-
#: lib/class-testimonials-widget-settings.php:
|
472 |
msgid "None"
|
473 |
msgstr ""
|
474 |
|
475 |
-
#: lib/class-testimonials-widget-settings.php:
|
476 |
-
#: testimonials-widget.php:
|
477 |
msgid "Job Title"
|
478 |
msgstr ""
|
479 |
|
480 |
-
#: lib/class-testimonials-widget-settings.php:
|
481 |
-
#: testimonials-widget.php:
|
482 |
msgid "Email"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: lib/class-testimonials-widget-settings.php:
|
486 |
-
#: testimonials-widget.php:
|
487 |
msgid "Location"
|
488 |
msgstr ""
|
489 |
|
490 |
-
#: lib/class-testimonials-widget-settings.php:
|
491 |
-
#: testimonials-widget.php:
|
492 |
msgid "Company"
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: lib/class-testimonials-widget-settings.php:
|
496 |
-
#: testimonials-widget.php:
|
497 |
msgid "URL"
|
498 |
msgstr ""
|
499 |
|
500 |
-
#: lib/class-testimonials-widget-settings.php:
|
501 |
msgid "ORDER BY Order"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: lib/class-testimonials-widget-settings.php:
|
505 |
msgid "Descending"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: lib/class-testimonials-widget-settings.php:
|
509 |
msgid "Ascending"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: lib/class-testimonials-widget-settings.php:
|
513 |
msgid "Allow Comments?"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: lib/class-testimonials-widget-settings.php:
|
517 |
msgid "Only affects the Testimonials post edit page. Your theme controls the front-end view."
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: lib/class-testimonials-widget-settings.php:
|
521 |
msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: lib/class-testimonials-widget-settings.php:
|
525 |
msgid "Archive Page URL"
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: lib/class-testimonials-widget-settings.php:
|
529 |
msgid "URL slug-name for testimonial view pages. Shouldn't be the same as the Archive Page URL nor should it match a page URL slug."
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: lib/class-testimonials-widget-settings.php:
|
533 |
msgid "Testimonial Page URL"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#: lib/class-testimonials-widget-settings.php:
|
537 |
msgid "Reset & Compatiblity Options"
|
538 |
msgstr ""
|
539 |
|
540 |
-
#: lib/class-testimonials-widget-settings.php:
|
541 |
msgid "Don't Use Default Taxonomies?"
|
542 |
msgstr ""
|
543 |
|
544 |
-
#: lib/class-testimonials-widget-settings.php:
|
545 |
msgid "If checked, use Testimonials' own category and tag taxonomies instead"
|
546 |
msgstr ""
|
547 |
|
548 |
-
#: lib/class-testimonials-widget-settings.php:
|
549 |
msgid "Version Based Options"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#: lib/class-testimonials-widget-settings.php:
|
553 |
msgid "Use bxSlider?"
|
554 |
msgstr ""
|
555 |
|
556 |
-
#: lib/class-testimonials-widget-settings.php:
|
557 |
msgid "Pre 2.15.0, Testimonials' used custom JavaScript for transitions."
|
558 |
msgstr ""
|
559 |
|
560 |
-
#: lib/class-testimonials-widget-settings.php:
|
561 |
msgid "Disable Animation?"
|
562 |
msgstr ""
|
563 |
|
564 |
-
#: lib/class-testimonials-widget-settings.php:
|
565 |
msgid "Pre 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#: lib/class-testimonials-widget-settings.php:
|
569 |
msgid "Fade Out Speed"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#: lib/class-testimonials-widget-settings.php:
|
573 |
-
#: lib/class-testimonials-widget-settings.php:
|
574 |
msgid "Pre 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones."
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: lib/class-testimonials-widget-settings.php:
|
578 |
msgid "Fade In Speed"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: lib/class-testimonials-widget-settings.php:
|
582 |
msgid "Height"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: lib/class-testimonials-widget-settings.php:
|
586 |
msgid "Pre 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#: lib/class-testimonials-widget-settings.php:
|
590 |
msgid "Minimum Height"
|
591 |
msgstr ""
|
592 |
|
593 |
-
#: lib/class-testimonials-widget-settings.php:
|
594 |
msgid "Pre 2.15.0, Set for minimum display height, in pixels"
|
595 |
msgstr ""
|
596 |
|
597 |
-
#: lib/class-testimonials-widget-settings.php:
|
598 |
msgid "Maximum Height"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: lib/class-testimonials-widget-settings.php:
|
602 |
msgid "Pre 2.15.0, Set for maximum display height, in pixels"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#: lib/class-testimonials-widget-settings.php:
|
606 |
msgid "Always Load CSS?"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#: lib/class-testimonials-widget-settings.php:
|
610 |
msgid "Pre 2.14.0, Testimonials' CSS was always loaded, whether needed or not"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#: lib/class-testimonials-widget-settings.php:
|
614 |
msgid "Include IE7 CSS?"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: lib/class-testimonials-widget-settings.php:
|
618 |
msgid "IE7 specific CSS moved to separate CSS file in version 2.13.6."
|
619 |
msgstr ""
|
620 |
|
621 |
-
#: lib/class-testimonials-widget-settings.php:
|
622 |
msgid "Use `<q>` tag?"
|
623 |
msgstr ""
|
624 |
|
625 |
-
#: lib/class-testimonials-widget-settings.php:
|
626 |
msgid "Pre 2.11.0, not HTML5 compliant"
|
627 |
msgstr ""
|
628 |
|
629 |
-
#: lib/class-testimonials-widget-settings.php:
|
630 |
msgid "Remove `.hentry` CSS?"
|
631 |
msgstr ""
|
632 |
|
633 |
-
#: lib/class-testimonials-widget-settings.php:
|
634 |
msgid "Pre 2.6.4, some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
|
635 |
msgstr ""
|
636 |
|
637 |
-
#: lib/class-testimonials-widget-settings.php:
|
638 |
msgid "These Testimonials Settings establish the default option values for shortcodes, theme functions, and widget instances. Widgets, once created no longer inherit these global settings. Therefore, you'll need to update each widget with the new settings. It might be easier to delete the widget and then recreate it."
|
639 |
msgstr ""
|
640 |
|
641 |
-
#: lib/class-testimonials-widget-settings.php:
|
642 |
msgid "Shortcode option names are listed below each entry."
|
643 |
msgstr ""
|
644 |
|
645 |
-
#: lib/class-testimonials-widget-settings.php:
|
646 |
msgid "View the <a href=\"%s\">Testimonials documentation</a>."
|
647 |
msgstr ""
|
648 |
|
649 |
-
#: lib/class-testimonials-widget-settings.php:
|
650 |
msgid "Show or hide optional fields."
|
651 |
msgstr ""
|
652 |
|
653 |
-
#: lib/class-testimonials-widget-settings.php:
|
654 |
msgid "Options used to select testimonials."
|
655 |
msgstr ""
|
656 |
|
657 |
-
#: lib/class-testimonials-widget-settings.php:
|
658 |
msgid "Options used to determine displayed testimonials ordering."
|
659 |
msgstr ""
|
660 |
|
661 |
-
#: lib/class-testimonials-widget-settings.php:
|
662 |
msgid "Options related to showing testimonials in widgets."
|
663 |
msgstr ""
|
664 |
|
665 |
-
#: lib/class-testimonials-widget-settings.php:
|
666 |
msgid "Archive and singular page URL related testimonials options."
|
667 |
msgstr ""
|
668 |
|
669 |
-
#: lib/class-testimonials-widget-settings.php:
|
670 |
msgid "Compatibility & Reset"
|
671 |
msgstr ""
|
672 |
|
673 |
-
#: lib/class-testimonials-widget-settings.php:
|
674 |
msgid "Backwards compatibility, import/export options, and reset options."
|
675 |
msgstr ""
|
676 |
|
677 |
-
#: lib/class-testimonials-widget-widget.php:
|
678 |
msgid "Display testimonials with multiple selection and display options"
|
679 |
msgstr ""
|
680 |
|
681 |
-
#: lib/class-testimonials-widget-widget.php:
|
682 |
msgid "CSS Class"
|
683 |
msgstr ""
|
684 |
|
685 |
-
#: lib/class-testimonials-widget-widget.php:
|
686 |
msgid "This widget's unique CSS class for styling"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#: testimonials-widget.php:
|
690 |
msgid "Testimonials Shortcode Examples"
|
691 |
msgstr ""
|
692 |
|
693 |
-
#: testimonials-widget.php:
|
694 |
msgid "E.g. Shortcodes"
|
695 |
msgstr ""
|
696 |
|
697 |
-
#: testimonials-widget.php:
|
698 |
msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible CSS fixes."
|
699 |
msgstr ""
|
700 |
|
701 |
-
#: testimonials-widget.php:
|
702 |
msgid "ID"
|
703 |
msgstr ""
|
704 |
|
705 |
-
#: testimonials-widget.php:
|
706 |
msgid "Image"
|
707 |
msgstr ""
|
708 |
|
709 |
-
#: testimonials-widget.php:
|
710 |
msgid "Shortcodes"
|
711 |
msgstr ""
|
712 |
|
713 |
-
#: testimonials-widget.php:
|
714 |
msgid "Published by"
|
715 |
msgstr ""
|
716 |
|
717 |
-
#: testimonials-widget.php:
|
718 |
msgid "Category"
|
719 |
msgstr ""
|
720 |
|
721 |
-
#: testimonials-widget.php:
|
722 |
msgid "Tags"
|
723 |
msgstr ""
|
724 |
|
725 |
-
#: testimonials-widget.php:
|
726 |
msgid "Add New"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#: testimonials-widget.php:
|
730 |
msgid "Add New Testimonial"
|
731 |
msgstr ""
|
732 |
|
733 |
-
#: testimonials-widget.php:
|
734 |
msgid "Edit Testimonial"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#: testimonials-widget.php:
|
738 |
msgid "No testimonials found"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#: testimonials-widget.php:
|
742 |
msgid "No testimonials found in Trash"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#: testimonials-widget.php:
|
746 |
msgid "Search Testimonials"
|
747 |
msgstr ""
|
748 |
|
749 |
-
#: testimonials-widget.php:
|
750 |
msgid "Testimonial"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#: testimonials-widget.php:
|
754 |
msgid "View Testimonial"
|
755 |
msgstr ""
|
756 |
|
757 |
-
#: testimonials-widget.php:
|
758 |
msgid "…"
|
759 |
msgstr ""
|
760 |
|
761 |
-
#: testimonials-widget.php:
|
762 |
msgid "«"
|
763 |
msgstr ""
|
764 |
|
765 |
-
#: testimonials-widget.php:
|
766 |
msgid "»"
|
767 |
msgstr ""
|
768 |
|
769 |
-
#: testimonials-widget.php:
|
770 |
msgid "Testimonial Data"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: testimonials-widget.php:
|
774 |
msgid "Enter title here"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: testimonials-widget.php:
|
778 |
msgid "Enter testimonial source here"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: testimonials-widget.php:
|
782 |
msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
|
783 |
msgstr ""
|
784 |
|
785 |
-
#: testimonials-widget.php:
|
786 |
msgid "Custom field updated."
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: testimonials-widget.php:
|
790 |
msgid "Custom field deleted."
|
791 |
msgstr ""
|
792 |
|
793 |
-
#: testimonials-widget.php:
|
794 |
msgid "Testimonial updated."
|
795 |
msgstr ""
|
796 |
|
797 |
#. translators: %s: date and time of the revision
|
798 |
|
799 |
-
#: testimonials-widget.php:
|
800 |
msgid "Testimonial restored to revision from %s"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: testimonials-widget.php:
|
804 |
msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: testimonials-widget.php:
|
808 |
msgid "Testimonial saved."
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: testimonials-widget.php:
|
812 |
msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
813 |
msgstr ""
|
814 |
|
815 |
-
#: testimonials-widget.php:
|
816 |
msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#: testimonials-widget.php:
|
820 |
msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: testimonials-widget.php:
|
824 |
msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
|
825 |
msgstr ""
|
826 |
#. Plugin Name of the plugin/theme
|
827 |
-
msgid "Testimonials"
|
828 |
msgstr ""
|
829 |
|
830 |
#. Plugin URI of the plugin/theme
|
@@ -832,7 +844,7 @@ msgid "http://wordpress.org/plugins/testimonials-widget/"
|
|
832 |
msgstr ""
|
833 |
|
834 |
#. Description of the plugin/theme
|
835 |
-
msgid "Testimonials lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site."
|
836 |
msgstr ""
|
837 |
|
838 |
#. Author of the plugin/theme
|
1 |
+
# Copyright (C) 2013 Testimonials by Aihrus
|
2 |
+
# This file is distributed under the same license as the Testimonials by Aihrus package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Testimonials by Aihrus 2.17.0\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
|
7 |
+
"POT-Creation-Date: 2013-12-13 22:07:16+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: lib/aihrus/class-aihrus-common.php:156
|
16 |
+
msgid "Please donate $5 towards ongoing free support and development of the \"%1$s\" plugin. %2$s"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
msgstr ""
|
18 |
|
19 |
#: lib/aihrus/class-aihrus-settings.php:61
|
84 |
msgid "Expand/Collapse"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: lib/aihrus/requirements.php:24
|
88 |
+
msgid "`aihr_check_php` requires $file argument"
|
89 |
+
msgstr ""
|
90 |
+
|
91 |
+
#: lib/aihrus/requirements.php:66
|
92 |
+
msgid "Plugin \"%1$s\" has been deactivated as it requires PHP %2$s or newer. You're running PHP %4$s. Once corrected, \"%1$s\" can be activated. <a href=\"%3$s\">More information</a>."
|
93 |
+
msgstr ""
|
94 |
+
|
95 |
+
#: lib/aihrus/requirements.php:76
|
96 |
+
msgid "`aihr_check_wp` requires $file argument"
|
97 |
+
msgstr ""
|
98 |
+
|
99 |
+
#: lib/aihrus/requirements.php:122
|
100 |
+
msgid "Plugin \"%1$s\" has been deactivated as it requires WordPress %2$s or newer. You're running WordPress %4$s. Once corrected, \"%1$s\" can be activated. <a href=\"%3$s\">Update WordPress</a>."
|
101 |
+
msgstr ""
|
102 |
+
|
103 |
+
#: lib/aihrus/requirements.php:154
|
104 |
+
msgid "<a href=\"%1$s\">update to</a>"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: lib/aihrus/requirements.php:159
|
108 |
+
msgid "<a href=\"%1$s\">install</a>"
|
109 |
+
msgstr ""
|
110 |
+
|
111 |
+
#: lib/aihrus/requirements.php:162
|
112 |
+
msgid "<a href=\"%1$s\">activate</a>"
|
113 |
+
msgstr ""
|
114 |
+
|
115 |
+
#: lib/aihrus/requirements.php:166
|
116 |
+
msgid "Plugin \"%3$s\" has been deactivated. Please %1$s \"%4$s\" version %2$s or newer before activating \"%3$s\"."
|
117 |
+
msgstr ""
|
118 |
+
|
119 |
+
#: lib/aihrus/requirements.php:179
|
120 |
+
msgid "<a href=\"%1$s\">%2$s > Settings</a>, <em>Premium</em> tab, <em>License Key</em> entry"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: lib/aihrus/requirements.php:184
|
124 |
+
msgid "<a href=\"%s\">Where's my license key?</a>"
|
125 |
+
msgstr ""
|
126 |
+
|
127 |
+
#: lib/aihrus/requirements.php:189
|
128 |
+
msgid "<a href=\"%1$s\">%2$s</a>"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: lib/aihrus/requirements.php:193
|
132 |
+
msgid "Plugin \"%1$s\" requires license activation before updating will work. Please activate the license key through %2$s. No license key? See \"%3$s\" or purchase \"%4$s\"."
|
133 |
+
msgstr ""
|
134 |
+
|
135 |
+
#: lib/class-testimonials-widget-settings.php:91
|
136 |
msgid "Testimonials Settings"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: lib/class-testimonials-widget-settings.php:91 testimonials-widget.php:129
|
140 |
msgid "Settings"
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: lib/class-testimonials-widget-settings.php:107
|
144 |
+
#: lib/class-testimonials-widget-settings.php:876
|
145 |
msgid "General"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: lib/class-testimonials-widget-settings.php:108
|
149 |
+
#: lib/class-testimonials-widget-settings.php:884
|
150 |
msgid "Selection"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: lib/class-testimonials-widget-settings.php:109
|
154 |
+
#: lib/class-testimonials-widget-settings.php:892
|
155 |
msgid "Ordering"
|
156 |
msgstr ""
|
157 |
|
158 |
+
#: lib/class-testimonials-widget-settings.php:110
|
159 |
+
#: lib/class-testimonials-widget-settings.php:900
|
160 |
msgid "Widget"
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: lib/class-testimonials-widget-settings.php:111
|
164 |
+
#: lib/class-testimonials-widget-settings.php:908
|
165 |
msgid "Post Type"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: lib/class-testimonials-widget-settings.php:128
|
169 |
msgid "Widget Title"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: lib/class-testimonials-widget-settings.php:129
|
173 |
+
#: lib/class-testimonials-widget-widget.php:32 testimonials-widget.php:588
|
174 |
+
#: testimonials-widget.php:633
|
175 |
msgid "Testimonials"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: lib/class-testimonials-widget-settings.php:135
|
179 |
msgid "Title Link"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: lib/class-testimonials-widget-settings.php:136
|
183 |
msgid "URL, path, or post ID to link widget title to. Ex: http://example.com/stuff, /testimonials, 123 or "
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: lib/class-testimonials-widget-settings.php:142
|
187 |
msgid "Character Limit"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: lib/class-testimonials-widget-settings.php:143
|
191 |
msgid "Number of characters to limit non-single testimonial views to"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: lib/class-testimonials-widget-settings.php:149
|
195 |
msgid "Rotation Speed"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: lib/class-testimonials-widget-settings.php:150
|
199 |
msgid "Number of seconds between testimonial rotations or 0 for no rotation at all refresh"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: lib/class-testimonials-widget-settings.php:162
|
203 |
msgid "Additional Widget Options"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: lib/class-testimonials-widget-settings.php:168
|
207 |
msgid "Transition Mode?"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: lib/class-testimonials-widget-settings.php:169
|
211 |
msgid "Type of transition between slides"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: lib/class-testimonials-widget-settings.php:172
|
215 |
msgid "Fade"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: lib/class-testimonials-widget-settings.php:173
|
219 |
msgid "Horizontal"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: lib/class-testimonials-widget-settings.php:174
|
223 |
msgid "Vertical"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: lib/class-testimonials-widget-settings.php:181
|
227 |
msgid "Show Play/Pause?"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: lib/class-testimonials-widget-settings.php:182
|
231 |
msgid "Display start and stop buttons underneath the testimonial slider."
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: lib/class-testimonials-widget-settings.php:190
|
235 |
msgid "Enable Video?"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: lib/class-testimonials-widget-settings.php:191
|
239 |
msgid "Only enable when displaying video content."
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: lib/class-testimonials-widget-settings.php:198
|
243 |
msgid "Keep Whitespace?"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: lib/class-testimonials-widget-settings.php:199
|
247 |
msgid "Keeps testimonials looking as entered than sans auto-formatting"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: lib/class-testimonials-widget-settings.php:206
|
251 |
msgid "Testimonial Bottom Text"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: lib/class-testimonials-widget-settings.php:207
|
255 |
msgid "Custom text or HTML for bottom of testimonials"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: lib/class-testimonials-widget-settings.php:219
|
259 |
msgid "General Options"
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: lib/class-testimonials-widget-settings.php:223
|
263 |
msgid "Adds HTML tag markup per the <a href=\"%s\">Review schema</a> to testimonials. Search engines including Bing, Google, Yahoo! and Yandex rely on this markup to improve the display of search results."
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: lib/class-testimonials-widget-settings.php:226
|
267 |
msgid "Enable Review Schema?"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: lib/class-testimonials-widget-settings.php:234
|
271 |
msgid "Reviewed Item?"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: lib/class-testimonials-widget-settings.php:235
|
275 |
msgid "Name of thing being referenced in testimonials"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: lib/class-testimonials-widget-settings.php:241
|
279 |
msgid "Reviewed Item URL?"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: lib/class-testimonials-widget-settings.php:242
|
283 |
msgid "URL of thing being referenced in testimonials"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: lib/class-testimonials-widget-settings.php:249
|
287 |
msgid "Hide built-in quotes?"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: lib/class-testimonials-widget-settings.php:250
|
291 |
msgid "Remove open and close quote span tags surrounding testimonial content"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: lib/class-testimonials-widget-settings.php:256
|
295 |
msgid "Hide \"Testimonials Not Found\"?"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: lib/class-testimonials-widget-settings.php:262
|
299 |
msgid "Hide Gravatar Image?"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: lib/class-testimonials-widget-settings.php:268
|
303 |
msgid "Hide Image?"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: lib/class-testimonials-widget-settings.php:274
|
307 |
msgid "Hide Image in Single View?"
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: lib/class-testimonials-widget-settings.php:281
|
311 |
msgid "Hide Testimonial Content?"
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: lib/class-testimonials-widget-settings.php:287
|
315 |
msgid "Hide Author/Source?"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: lib/class-testimonials-widget-settings.php:290
|
319 |
msgid "Don't display \"Post Title\" in cite"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: lib/class-testimonials-widget-settings.php:294
|
323 |
msgid "Hide Email?"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: lib/class-testimonials-widget-settings.php:301
|
327 |
msgid "Hide Job Title?"
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: lib/class-testimonials-widget-settings.php:307
|
331 |
msgid "Hide Location?"
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: lib/class-testimonials-widget-settings.php:313
|
335 |
msgid "Hide Company?"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: lib/class-testimonials-widget-settings.php:319
|
339 |
msgid "Hide URL?"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: lib/class-testimonials-widget-settings.php:325
|
343 |
msgid "URL Target"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: lib/class-testimonials-widget-settings.php:326
|
347 |
msgid "Add target to all URLs; leave blank if none"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: lib/class-testimonials-widget-settings.php:331
|
351 |
msgid "Enable Paging?"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: lib/class-testimonials-widget-settings.php:332
|
355 |
msgid "For `[testimonialswidget_list]`"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: lib/class-testimonials-widget-settings.php:335
|
359 |
msgid "Disable"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: lib/class-testimonials-widget-settings.php:336
|
363 |
msgid "Enable"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: lib/class-testimonials-widget-settings.php:337
|
367 |
msgid "Before testimonials"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: lib/class-testimonials-widget-settings.php:338
|
371 |
msgid "After testimonials"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: lib/class-testimonials-widget-settings.php:345
|
375 |
msgid "Do [shortcodes]?"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: lib/class-testimonials-widget-settings.php:346
|
379 |
msgid "If unchecked, shortcodes are stripped."
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: lib/class-testimonials-widget-settings.php:359
|
383 |
msgid "Selection Options"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: lib/class-testimonials-widget-settings.php:365
|
387 |
msgid "Category Filter"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: lib/class-testimonials-widget-settings.php:366
|
391 |
msgid "Comma separated category names. Ex: Category A, Another category"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: lib/class-testimonials-widget-settings.php:373
|
395 |
msgid "Tags Filter"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: lib/class-testimonials-widget-settings.php:374
|
399 |
msgid "Comma separated tag names. Ex: Tag A, Another tag"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: lib/class-testimonials-widget-settings.php:381
|
403 |
msgid "Require All Tags?"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: lib/class-testimonials-widget-settings.php:382
|
407 |
msgid "Select only testimonials with all of the given tags"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: lib/class-testimonials-widget-settings.php:389
|
411 |
msgid "Include IDs Filter"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: lib/class-testimonials-widget-settings.php:390
|
415 |
+
#: lib/class-testimonials-widget-settings.php:397
|
416 |
msgid "Comma separated testimonial IDs. Ex: 3,1,2"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: lib/class-testimonials-widget-settings.php:396
|
420 |
msgid "Exclude IDs Filter"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: lib/class-testimonials-widget-settings.php:403
|
424 |
msgid "Limit"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: lib/class-testimonials-widget-settings.php:404
|
428 |
msgid "Number of testimonials to select per instance"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: lib/class-testimonials-widget-settings.php:417
|
432 |
msgid "Ordering Options"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: lib/class-testimonials-widget-settings.php:423
|
436 |
msgid "Random Order?"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: lib/class-testimonials-widget-settings.php:424
|
440 |
msgid "If checked, ignores ORDER BY, ORDER BY meta_key, and ORDER BY Order. Widgets are random by default automatically"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: lib/class-testimonials-widget-settings.php:431
|
444 |
msgid "ORDER BY"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: lib/class-testimonials-widget-settings.php:432
|
448 |
msgid "Used when \"Random Order\" is disabled"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: lib/class-testimonials-widget-settings.php:435
|
452 |
msgid "Testimonial ID"
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: lib/class-testimonials-widget-settings.php:436
|
456 |
msgid "Author"
|
457 |
msgstr ""
|
458 |
|
459 |
+
#: lib/class-testimonials-widget-settings.php:437 testimonials-widget.php:565
|
460 |
msgid "Date"
|
461 |
msgstr ""
|
462 |
|
463 |
+
#: lib/class-testimonials-widget-settings.php:438
|
464 |
msgid "Menu Order"
|
465 |
msgstr ""
|
466 |
|
467 |
+
#: lib/class-testimonials-widget-settings.php:439 testimonials-widget.php:557
|
468 |
msgid "Source"
|
469 |
msgstr ""
|
470 |
|
471 |
+
#: lib/class-testimonials-widget-settings.php:440
|
472 |
msgid "No order"
|
473 |
msgstr ""
|
474 |
|
475 |
+
#: lib/class-testimonials-widget-settings.php:448
|
476 |
msgid "ORDER BY meta_key"
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: lib/class-testimonials-widget-settings.php:449
|
480 |
msgid "Used when \"Random Order\" is disabled and sorting by a testimonials meta key is needed. Overrides ORDER BY"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: lib/class-testimonials-widget-settings.php:452
|
484 |
msgid "None"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: lib/class-testimonials-widget-settings.php:453 testimonials-widget.php:559
|
488 |
+
#: testimonials-widget.php:1620
|
489 |
msgid "Job Title"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: lib/class-testimonials-widget-settings.php:454 testimonials-widget.php:561
|
493 |
+
#: testimonials-widget.php:1632
|
494 |
msgid "Email"
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: lib/class-testimonials-widget-settings.php:455 testimonials-widget.php:560
|
498 |
+
#: testimonials-widget.php:1626
|
499 |
msgid "Location"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: lib/class-testimonials-widget-settings.php:456 testimonials-widget.php:562
|
503 |
+
#: testimonials-widget.php:1638
|
504 |
msgid "Company"
|
505 |
msgstr ""
|
506 |
|
507 |
+
#: lib/class-testimonials-widget-settings.php:457 testimonials-widget.php:563
|
508 |
+
#: testimonials-widget.php:1644
|
509 |
msgid "URL"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: lib/class-testimonials-widget-settings.php:464
|
513 |
msgid "ORDER BY Order"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: lib/class-testimonials-widget-settings.php:467
|
517 |
msgid "Descending"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: lib/class-testimonials-widget-settings.php:468
|
521 |
msgid "Ascending"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: lib/class-testimonials-widget-settings.php:482
|
525 |
msgid "Allow Comments?"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: lib/class-testimonials-widget-settings.php:483
|
529 |
msgid "Only affects the Testimonials post edit page. Your theme controls the front-end view."
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: lib/class-testimonials-widget-settings.php:489
|
533 |
msgid "URL slug-name for <a href=\"%1s\">testimonials archive</a> page."
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: lib/class-testimonials-widget-settings.php:495
|
537 |
msgid "Archive Page URL"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: lib/class-testimonials-widget-settings.php:502
|
541 |
msgid "URL slug-name for testimonial view pages. Shouldn't be the same as the Archive Page URL nor should it match a page URL slug."
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: lib/class-testimonials-widget-settings.php:506
|
545 |
msgid "Testimonial Page URL"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: lib/class-testimonials-widget-settings.php:516
|
549 |
msgid "Reset & Compatiblity Options"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: lib/class-testimonials-widget-settings.php:522
|
553 |
msgid "Don't Use Default Taxonomies?"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: lib/class-testimonials-widget-settings.php:525
|
557 |
msgid "If checked, use Testimonials' own category and tag taxonomies instead"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: lib/class-testimonials-widget-settings.php:533
|
561 |
msgid "Version Based Options"
|
562 |
msgstr ""
|
563 |
|
564 |
+
#: lib/class-testimonials-widget-settings.php:539
|
565 |
msgid "Use bxSlider?"
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: lib/class-testimonials-widget-settings.php:540
|
569 |
msgid "Pre 2.15.0, Testimonials' used custom JavaScript for transitions."
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: lib/class-testimonials-widget-settings.php:552
|
573 |
msgid "Disable Animation?"
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: lib/class-testimonials-widget-settings.php:553
|
577 |
msgid "Pre 2.15.0, Disable animation between testimonial transitions. Useful when stacking widgets."
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: lib/class-testimonials-widget-settings.php:561
|
581 |
msgid "Fade Out Speed"
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: lib/class-testimonials-widget-settings.php:562
|
585 |
+
#: lib/class-testimonials-widget-settings.php:570
|
586 |
msgid "Pre 2.15.0, Transition duration in milliseconds; higher values indicate slower animations, not faster ones."
|
587 |
msgstr ""
|
588 |
|
589 |
+
#: lib/class-testimonials-widget-settings.php:569
|
590 |
msgid "Fade In Speed"
|
591 |
msgstr ""
|
592 |
|
593 |
+
#: lib/class-testimonials-widget-settings.php:577
|
594 |
msgid "Height"
|
595 |
msgstr ""
|
596 |
|
597 |
+
#: lib/class-testimonials-widget-settings.php:578
|
598 |
msgid "Pre 2.15.0, Testimonials height, in pixels. Overrides minimum and maximum height"
|
599 |
msgstr ""
|
600 |
|
601 |
+
#: lib/class-testimonials-widget-settings.php:584
|
602 |
msgid "Minimum Height"
|
603 |
msgstr ""
|
604 |
|
605 |
+
#: lib/class-testimonials-widget-settings.php:585
|
606 |
msgid "Pre 2.15.0, Set for minimum display height, in pixels"
|
607 |
msgstr ""
|
608 |
|
609 |
+
#: lib/class-testimonials-widget-settings.php:591
|
610 |
msgid "Maximum Height"
|
611 |
msgstr ""
|
612 |
|
613 |
+
#: lib/class-testimonials-widget-settings.php:592
|
614 |
msgid "Pre 2.15.0, Set for maximum display height, in pixels"
|
615 |
msgstr ""
|
616 |
|
617 |
+
#: lib/class-testimonials-widget-settings.php:598
|
618 |
msgid "Always Load CSS?"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: lib/class-testimonials-widget-settings.php:599
|
622 |
msgid "Pre 2.14.0, Testimonials' CSS was always loaded, whether needed or not"
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: lib/class-testimonials-widget-settings.php:610
|
626 |
msgid "Include IE7 CSS?"
|
627 |
msgstr ""
|
628 |
|
629 |
+
#: lib/class-testimonials-widget-settings.php:611
|
630 |
msgid "IE7 specific CSS moved to separate CSS file in version 2.13.6."
|
631 |
msgstr ""
|
632 |
|
633 |
+
#: lib/class-testimonials-widget-settings.php:623
|
634 |
msgid "Use `<q>` tag?"
|
635 |
msgstr ""
|
636 |
|
637 |
+
#: lib/class-testimonials-widget-settings.php:624
|
638 |
msgid "Pre 2.11.0, not HTML5 compliant"
|
639 |
msgstr ""
|
640 |
|
641 |
+
#: lib/class-testimonials-widget-settings.php:635
|
642 |
msgid "Remove `.hentry` CSS?"
|
643 |
msgstr ""
|
644 |
|
645 |
+
#: lib/class-testimonials-widget-settings.php:636
|
646 |
msgid "Pre 2.6.4, some themes use class `.hentry` in a manner that breaks Testimonials' CSS"
|
647 |
msgstr ""
|
648 |
|
649 |
+
#: lib/class-testimonials-widget-settings.php:862
|
650 |
msgid "These Testimonials Settings establish the default option values for shortcodes, theme functions, and widget instances. Widgets, once created no longer inherit these global settings. Therefore, you'll need to update each widget with the new settings. It might be easier to delete the widget and then recreate it."
|
651 |
msgstr ""
|
652 |
|
653 |
+
#: lib/class-testimonials-widget-settings.php:864
|
654 |
msgid "Shortcode option names are listed below each entry."
|
655 |
msgstr ""
|
656 |
|
657 |
+
#: lib/class-testimonials-widget-settings.php:867
|
658 |
msgid "View the <a href=\"%s\">Testimonials documentation</a>."
|
659 |
msgstr ""
|
660 |
|
661 |
+
#: lib/class-testimonials-widget-settings.php:877
|
662 |
msgid "Show or hide optional fields."
|
663 |
msgstr ""
|
664 |
|
665 |
+
#: lib/class-testimonials-widget-settings.php:885
|
666 |
msgid "Options used to select testimonials."
|
667 |
msgstr ""
|
668 |
|
669 |
+
#: lib/class-testimonials-widget-settings.php:893
|
670 |
msgid "Options used to determine displayed testimonials ordering."
|
671 |
msgstr ""
|
672 |
|
673 |
+
#: lib/class-testimonials-widget-settings.php:901
|
674 |
msgid "Options related to showing testimonials in widgets."
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: lib/class-testimonials-widget-settings.php:909
|
678 |
msgid "Archive and singular page URL related testimonials options."
|
679 |
msgstr ""
|
680 |
|
681 |
+
#: lib/class-testimonials-widget-settings.php:916
|
682 |
msgid "Compatibility & Reset"
|
683 |
msgstr ""
|
684 |
|
685 |
+
#: lib/class-testimonials-widget-settings.php:917
|
686 |
msgid "Backwards compatibility, import/export options, and reset options."
|
687 |
msgstr ""
|
688 |
|
689 |
+
#: lib/class-testimonials-widget-widget.php:30
|
690 |
msgid "Display testimonials with multiple selection and display options"
|
691 |
msgstr ""
|
692 |
|
693 |
+
#: lib/class-testimonials-widget-widget.php:102
|
694 |
msgid "CSS Class"
|
695 |
msgstr ""
|
696 |
|
697 |
+
#: lib/class-testimonials-widget-widget.php:103
|
698 |
msgid "This widget's unique CSS class for styling"
|
699 |
msgstr ""
|
700 |
|
701 |
+
#: testimonials-widget.php:146 testimonials-widget.php:1972
|
702 |
msgid "Testimonials Shortcode Examples"
|
703 |
msgstr ""
|
704 |
|
705 |
+
#: testimonials-widget.php:146
|
706 |
msgid "E.g. Shortcodes"
|
707 |
msgstr ""
|
708 |
|
709 |
+
#: testimonials-widget.php:344
|
710 |
msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible CSS fixes."
|
711 |
msgstr ""
|
712 |
|
713 |
+
#: testimonials-widget.php:555
|
714 |
msgid "ID"
|
715 |
msgstr ""
|
716 |
|
717 |
+
#: testimonials-widget.php:556
|
718 |
msgid "Image"
|
719 |
msgstr ""
|
720 |
|
721 |
+
#: testimonials-widget.php:558
|
722 |
msgid "Shortcodes"
|
723 |
msgstr ""
|
724 |
|
725 |
+
#: testimonials-widget.php:564
|
726 |
msgid "Published by"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: testimonials-widget.php:570 testimonials-widget.php:573
|
730 |
msgid "Category"
|
731 |
msgstr ""
|
732 |
|
733 |
+
#: testimonials-widget.php:571 testimonials-widget.php:574
|
734 |
msgid "Tags"
|
735 |
msgstr ""
|
736 |
|
737 |
+
#: testimonials-widget.php:585
|
738 |
msgid "Add New"
|
739 |
msgstr ""
|
740 |
|
741 |
+
#: testimonials-widget.php:586 testimonials-widget.php:589
|
742 |
msgid "Add New Testimonial"
|
743 |
msgstr ""
|
744 |
|
745 |
+
#: testimonials-widget.php:587
|
746 |
msgid "Edit Testimonial"
|
747 |
msgstr ""
|
748 |
|
749 |
+
#: testimonials-widget.php:590 testimonials-widget.php:997
|
750 |
msgid "No testimonials found"
|
751 |
msgstr ""
|
752 |
|
753 |
+
#: testimonials-widget.php:591
|
754 |
msgid "No testimonials found in Trash"
|
755 |
msgstr ""
|
756 |
|
757 |
+
#: testimonials-widget.php:593
|
758 |
msgid "Search Testimonials"
|
759 |
msgstr ""
|
760 |
|
761 |
+
#: testimonials-widget.php:594 testimonials-widget.php:1732
|
762 |
msgid "Testimonial"
|
763 |
msgstr ""
|
764 |
|
765 |
+
#: testimonials-widget.php:595
|
766 |
msgid "View Testimonial"
|
767 |
msgstr ""
|
768 |
|
769 |
+
#: testimonials-widget.php:1146
|
770 |
msgid "…"
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: testimonials-widget.php:1355
|
774 |
msgid "«"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: testimonials-widget.php:1364
|
778 |
msgid "»"
|
779 |
msgstr ""
|
780 |
|
781 |
+
#: testimonials-widget.php:1656
|
782 |
msgid "Testimonial Data"
|
783 |
msgstr ""
|
784 |
|
785 |
+
#: testimonials-widget.php:1681
|
786 |
msgid "Enter title here"
|
787 |
msgstr ""
|
788 |
|
789 |
+
#: testimonials-widget.php:1682
|
790 |
msgid "Enter testimonial source here"
|
791 |
msgstr ""
|
792 |
|
793 |
+
#: testimonials-widget.php:1707
|
794 |
msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
|
795 |
msgstr ""
|
796 |
|
797 |
+
#: testimonials-widget.php:1708
|
798 |
msgid "Custom field updated."
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: testimonials-widget.php:1709
|
802 |
msgid "Custom field deleted."
|
803 |
msgstr ""
|
804 |
|
805 |
+
#: testimonials-widget.php:1710
|
806 |
msgid "Testimonial updated."
|
807 |
msgstr ""
|
808 |
|
809 |
#. translators: %s: date and time of the revision
|
810 |
|
811 |
+
#: testimonials-widget.php:1712
|
812 |
msgid "Testimonial restored to revision from %s"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: testimonials-widget.php:1713
|
816 |
msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: testimonials-widget.php:1714
|
820 |
msgid "Testimonial saved."
|
821 |
msgstr ""
|
822 |
|
823 |
+
#: testimonials-widget.php:1715
|
824 |
msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: testimonials-widget.php:1716
|
828 |
msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
|
829 |
msgstr ""
|
830 |
|
831 |
+
#: testimonials-widget.php:1717
|
832 |
msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
|
833 |
msgstr ""
|
834 |
|
835 |
+
#: testimonials-widget.php:1963
|
836 |
msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
|
837 |
msgstr ""
|
838 |
#. Plugin Name of the plugin/theme
|
839 |
+
msgid "Testimonials by Aihrus"
|
840 |
msgstr ""
|
841 |
|
842 |
#. Plugin URI of the plugin/theme
|
844 |
msgstr ""
|
845 |
|
846 |
#. Description of the plugin/theme
|
847 |
+
msgid "Testimonials by Aihrus lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site."
|
848 |
msgstr ""
|
849 |
|
850 |
#. Author of the plugin/theme
|
lib/aihrus/CHANGELOG.md
CHANGED
@@ -1,9 +1,8 @@
|
|
1 |
# CHANGELOG Aihrus Framework
|
2 |
|
3 |
## master
|
4 |
-
*
|
5 |
-
*
|
6 |
-
* Check for PHP 5.3
|
7 |
* Add TODO
|
8 |
* Add `add_media` post attachment helper
|
9 |
* Add `clean_string` trim, strip_shortcodes, and strip_tags a string
|
@@ -16,12 +15,25 @@
|
|
16 |
* Add `verify_nonce( $nonce, $action )`
|
17 |
* Add abstract class Aihrus_Settings
|
18 |
* Add abstract class Aihrus_Widget
|
|
|
|
|
|
|
19 |
* Add shortcode id helpers
|
20 |
* Allow reset_defaults in widget
|
21 |
* BUGFIX Method version not static
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
* Rename no_code to show_code
|
|
|
23 |
* Settings link with null post_type
|
|
|
|
|
24 |
* Widget title uses create_link
|
|
|
25 |
|
26 |
## 0.0.0
|
27 |
* Initial code release
|
1 |
# CHANGELOG Aihrus Framework
|
2 |
|
3 |
## master
|
4 |
+
* FEATURE #3 Add WordPress version check
|
5 |
+
* Abstract notice helper methods as functions
|
|
|
6 |
* Add TODO
|
7 |
* Add `add_media` post attachment helper
|
8 |
* Add `clean_string` trim, strip_shortcodes, and strip_tags a string
|
15 |
* Add `verify_nonce( $nonce, $action )`
|
16 |
* Add abstract class Aihrus_Settings
|
17 |
* Add abstract class Aihrus_Widget
|
18 |
+
* Add aihr_notice_license
|
19 |
+
* Add name filed to aihr_check_php
|
20 |
+
* Add requirements helper
|
21 |
* Add shortcode id helpers
|
22 |
* Allow reset_defaults in widget
|
23 |
* BUGFIX Method version not static
|
24 |
+
* BUGFIX Widget title is same as link
|
25 |
+
* Check for PHP 5.3
|
26 |
+
* Convert TODO to https://github.com/michael-cannon/aihrus-framework/issues
|
27 |
+
* Encase pronouns in double-quotes
|
28 |
+
* FEATURE #1 PHP Version checking
|
29 |
+
* Remove unused methods
|
30 |
* Rename no_code to show_code
|
31 |
+
* Revise create_link parameters
|
32 |
* Settings link with null post_type
|
33 |
+
* Switch from require_once to require file inclusion
|
34 |
+
* Use `aihr_` as function prefix
|
35 |
* Widget title uses create_link
|
36 |
+
* static::ITEM_NAME to static::NAME
|
37 |
|
38 |
## 0.0.0
|
39 |
* Initial code release
|
lib/aihrus/README.md
CHANGED
@@ -20,7 +20,6 @@ A helper library for WordPress plugins by Aihrus.
|
|
20 |
|
21 |
```
|
22 |
git remote add aihrus https://github.com/michael-cannon/aihrus-framework.git
|
23 |
-
git fetch aihrus
|
24 |
git subtree add -P lib/aihrus aihrus master
|
25 |
git commit -a -m "Readd aihrus framework"
|
26 |
git push origin master
|
@@ -29,7 +28,7 @@ git push origin master
|
|
29 |
* Link plugin to libary
|
30 |
|
31 |
```
|
32 |
-
|
33 |
```
|
34 |
|
35 |
* Extend plugin class to library
|
@@ -45,7 +44,7 @@ public static $class;
|
|
45 |
public static $notice_key;
|
46 |
```
|
47 |
|
48 |
-
* Set notices…
|
49 |
|
50 |
```
|
51 |
…
|
@@ -57,7 +56,7 @@ public static function notice_version( $free_base = null, $free_name = null, $fr
|
|
57 |
$free_name = 'Testimonials';
|
58 |
$free_slug = 'testimonials-widget';
|
59 |
$free_version = self::FREE_VERSION;
|
60 |
-
$item_name = self::
|
61 |
|
62 |
parent::notice_version( $free_base, $free_name, $free_slug, $free_version, $item_name );
|
63 |
}
|
20 |
|
21 |
```
|
22 |
git remote add aihrus https://github.com/michael-cannon/aihrus-framework.git
|
|
|
23 |
git subtree add -P lib/aihrus aihrus master
|
24 |
git commit -a -m "Readd aihrus framework"
|
25 |
git push origin master
|
28 |
* Link plugin to libary
|
29 |
|
30 |
```
|
31 |
+
require WPSP_DIR_LIB . '/aihrus/class-aihrus-common.php';
|
32 |
```
|
33 |
|
34 |
* Extend plugin class to library
|
44 |
public static $notice_key;
|
45 |
```
|
46 |
|
47 |
+
* Set notices… (fixme)
|
48 |
|
49 |
```
|
50 |
…
|
56 |
$free_name = 'Testimonials';
|
57 |
$free_slug = 'testimonials-widget';
|
58 |
$free_version = self::FREE_VERSION;
|
59 |
+
$item_name = self::NAME;
|
60 |
|
61 |
parent::notice_version( $free_base, $free_name, $free_slug, $free_version, $item_name );
|
62 |
}
|
lib/aihrus/class-aihrus-common.php
CHANGED
@@ -16,54 +16,10 @@
|
|
16 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
*/
|
18 |
|
19 |
-
if ( ! function_exists( 'af_php_version_check' ) ) {
|
20 |
-
function af_php_version_check( $file = __FILE__, $php_min = '5.3.0' ) {
|
21 |
-
$check_okay = version_compare( PHP_VERSION, $php_min, '>' );
|
22 |
-
|
23 |
-
if ( ! $check_okay && __FILE__ != $file ) {
|
24 |
-
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
25 |
-
|
26 |
-
deactivate_plugins( $file );
|
27 |
-
|
28 |
-
if ( ! defined( 'AF_PHP_VERSION_FILE' ) )
|
29 |
-
define( 'AF_PHP_VERSION_FILE', $file );
|
30 |
-
|
31 |
-
if ( ! defined( 'AF_PHP_VERSION_MIN' ) )
|
32 |
-
define( 'AF_PHP_VERSION_MIN', $php_min );
|
33 |
-
|
34 |
-
add_action( 'admin_notices', 'af_notice_php_version' );
|
35 |
-
}
|
36 |
-
|
37 |
-
return $check_okay;
|
38 |
-
}
|
39 |
-
|
40 |
-
|
41 |
-
function af_notice_php_version() {
|
42 |
-
$base = basename( dirname( AF_PHP_VERSION_FILE ) );
|
43 |
-
$base = str_replace( '-', ' ', $base );
|
44 |
-
$base = ucwords( $base );
|
45 |
-
|
46 |
-
$help_url = esc_url( 'https://aihrus.zendesk.com/entries/30678006-Most-Aihrus-Plugins-Require-PHP-5-3-' );
|
47 |
-
|
48 |
-
$php_min = basename( AF_PHP_VERSION_MIN );
|
49 |
-
|
50 |
-
$text = sprintf( __( 'Plugin "%1$s" requires at least PHP %2$s, you\'re running PHP %4$s. See <a href="%3$s">possible solutions</a>. Once fixed, "%1$s" can be activated again.', 'testimonials-widget' ), $base, $php_min, $help_url, PHP_VERSION );
|
51 |
-
|
52 |
-
$content = '<div class="error"><p>';
|
53 |
-
$content .= $text;
|
54 |
-
$content .= '</p></div>';
|
55 |
-
|
56 |
-
echo $content;
|
57 |
-
}
|
58 |
-
}
|
59 |
-
|
60 |
-
if ( ! af_php_version_check( __FILE__ ) )
|
61 |
-
return;
|
62 |
-
|
63 |
if ( class_exists( 'Aihrus_Common' ) )
|
64 |
return;
|
65 |
|
66 |
-
|
67 |
|
68 |
|
69 |
abstract class Aihrus_Common implements Aihrus_Common_Interface {
|
@@ -131,10 +87,13 @@ EOD;
|
|
131 |
|
132 |
$notices = array_unique( $notices );
|
133 |
foreach ( $notices as $notice ) {
|
134 |
-
if (
|
135 |
-
add_action( 'admin_notices', array( static::$class, $notice ) );
|
136 |
-
else
|
137 |
add_action( 'admin_notices', $notice );
|
|
|
|
|
|
|
|
|
|
|
138 |
}
|
139 |
|
140 |
self::delete_notices();
|
@@ -154,53 +113,6 @@ EOD;
|
|
154 |
}
|
155 |
|
156 |
|
157 |
-
public static function notice_version( $free_base, $free_name, $free_slug, $free_version, $item_name ) {
|
158 |
-
$is_active = is_plugin_active( $free_base );
|
159 |
-
if ( $is_active )
|
160 |
-
$link = sprintf( __( '<a href="%1$s">update to</a>', 'testimonials-widget' ), self_admin_url( 'update-core.php' ) );
|
161 |
-
else {
|
162 |
-
$plugins = get_plugins();
|
163 |
-
if ( empty( $plugins[ $free_base ] ) ) {
|
164 |
-
$install = esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $free_slug ), 'install-plugin_' . $free_slug ) );
|
165 |
-
$link = sprintf( __( '<a href="%1$s">install</a>', 'testimonials-widget' ), $install );
|
166 |
-
} else {
|
167 |
-
$activate = esc_url( wp_nonce_url( admin_url( 'plugins.php?action=activate&plugin=' . $free_base ), 'activate-plugin_' . $free_base ) );
|
168 |
-
$link = sprintf( __( '<a href="%1$s">activate</a>', 'testimonials-widget' ), $activate );
|
169 |
-
}
|
170 |
-
}
|
171 |
-
|
172 |
-
$text = sprintf( __( 'Plugin %3$s has been deactivated. Please %1$s %4$s version %2$s or newer before activating %3$s.', 'testimonials-widget' ), $link, $free_version, $item_name, $free_name );
|
173 |
-
|
174 |
-
self::notice_error( $text );
|
175 |
-
}
|
176 |
-
|
177 |
-
|
178 |
-
public static function notice_license( $post_type, $settings_id, $free_name, $purchase_url, $item_name ) {
|
179 |
-
if ( empty( $post_type ) )
|
180 |
-
$link = get_admin_url() . 'options-general.php?page=' . $settings_id;
|
181 |
-
else
|
182 |
-
$link = get_admin_url() . 'edit.php?post_type=' . $post_type . '&page=' . $settings_id;
|
183 |
-
|
184 |
-
$text = __( '<a href="%1$s">%2$s > Settings</a>, <em>Premium</em> tab, <em>License Key</em> entry', 'testimonials-widget' );
|
185 |
-
|
186 |
-
$settings_link = sprintf( $text, $link, $free_name );
|
187 |
-
|
188 |
-
$link = esc_url( 'https://aihrus.zendesk.com/entries/28745227-Where-s-my-license-key-' );
|
189 |
-
$text = __( '<a href="%s">Where\'s my license key?</a>', 'testimonials-widget' );
|
190 |
-
|
191 |
-
$faq_link = sprintf( $text, $link );
|
192 |
-
|
193 |
-
$link = esc_url( $purchase_url );
|
194 |
-
$text = __( '<a href="%1$s">%2$s</a>', 'testimonials-widget' );
|
195 |
-
|
196 |
-
$buy_link = sprintf( $text, $link, $item_name );
|
197 |
-
|
198 |
-
$text = sprintf( __( 'Plugin %1$s requires license activation before updating will work. Please activate the license key via %2$s. No license key? See %3$s or purchase %4$s.', 'testimonials-widget' ), $item_name, $settings_link, $faq_link, $buy_link );
|
199 |
-
|
200 |
-
self::notice_error( $text );
|
201 |
-
}
|
202 |
-
|
203 |
-
|
204 |
public static function version( $version ) {
|
205 |
$version .= '-' . static::ID . '-' . static::VERSION;
|
206 |
|
@@ -241,27 +153,9 @@ EOD;
|
|
241 |
if ( $disable_donate )
|
242 |
return;
|
243 |
|
244 |
-
$text = sprintf( esc_html__( 'Please donate $5 towards ongoing free support and development of the %1$s plugin. %2$s', 'testimonials-widget' ), $item_name, self::$donate_button );
|
245 |
-
|
246 |
-
self::notice_updated( $text );
|
247 |
-
}
|
248 |
-
|
249 |
-
|
250 |
-
public static function notice_error( $text ) {
|
251 |
-
self::notice_updated( $text, 'error' );
|
252 |
-
}
|
253 |
-
|
254 |
-
|
255 |
-
public static function notice_updated( $text, $class = 'updated' ) {
|
256 |
-
if ( 'updated' == $class )
|
257 |
-
$class .= ' fade';
|
258 |
-
|
259 |
-
$content = '';
|
260 |
-
$content .= '<div class="' . $class . '"><p>';
|
261 |
-
$content .= $text;
|
262 |
-
$content .= '</p></div>';
|
263 |
|
264 |
-
|
265 |
}
|
266 |
|
267 |
|
16 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
*/
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
if ( class_exists( 'Aihrus_Common' ) )
|
20 |
return;
|
21 |
|
22 |
+
require 'interface-aihrus-common.php';
|
23 |
|
24 |
|
25 |
abstract class Aihrus_Common implements Aihrus_Common_Interface {
|
87 |
|
88 |
$notices = array_unique( $notices );
|
89 |
foreach ( $notices as $notice ) {
|
90 |
+
if ( function_exists( $notice ) ) {
|
|
|
|
|
91 |
add_action( 'admin_notices', $notice );
|
92 |
+
} elseif ( is_array( $notice ) ) {
|
93 |
+
add_action( 'admin_notices', $notice );
|
94 |
+
} else {
|
95 |
+
add_action( 'admin_notices', array( static::$class, $notice ) );
|
96 |
+
}
|
97 |
}
|
98 |
|
99 |
self::delete_notices();
|
113 |
}
|
114 |
|
115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
public static function version( $version ) {
|
117 |
$version .= '-' . static::ID . '-' . static::VERSION;
|
118 |
|
153 |
if ( $disable_donate )
|
154 |
return;
|
155 |
|
156 |
+
$text = sprintf( esc_html__( 'Please donate $5 towards ongoing free support and development of the "%1$s" plugin. %2$s', 'testimonials-widget' ), $item_name, self::$donate_button );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
+
aihr_notice_updated( $text );
|
159 |
}
|
160 |
|
161 |
|
lib/aihrus/class-aihrus-licensing.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
if ( class_exists( 'Aihrus_Licensing' ) )
|
20 |
return;
|
21 |
|
22 |
-
|
23 |
|
24 |
|
25 |
abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
|
19 |
if ( class_exists( 'Aihrus_Licensing' ) )
|
20 |
return;
|
21 |
|
22 |
+
require 'interface-aihrus-licensing.php';
|
23 |
|
24 |
|
25 |
abstract class Aihrus_Licensing implements Aihrus_Licensing_Interface {
|
lib/aihrus/class-aihrus-settings.php
CHANGED
@@ -100,7 +100,7 @@ abstract class Aihrus_Settings {
|
|
100 |
'title' => esc_html__( 'Remove Plugin Data on Deletion?', 'testimonials-widget' ),
|
101 |
'type' => 'checkbox',
|
102 |
'class' => 'warning',
|
103 |
-
'desc' => sprintf( $desc, static::
|
104 |
'widget' => 0,
|
105 |
);
|
106 |
|
@@ -232,7 +232,7 @@ abstract class Aihrus_Settings {
|
|
232 |
|
233 |
|
234 |
public static function display_about() {
|
235 |
-
$name = str_replace( ' Settings', '', static::
|
236 |
$text = __( '<img class="alignright size-medium" src="%1$s/media/michael-cannon-red-square-300x2251.jpg" alt="Michael in Red Square, Moscow, Russia" width="300" height="225" /><a href="%2$s">%3$s</a> is by <a href="%4$s">Michael Cannon</a>. He\'s <a href="%5$s">Peichi’s</a> smiling man, an adventurous <a href="%6$s" target="_blank">water-rat</a>, <a href="%7$s">chief people officer</a>, <a href="%8$s">cyclist</a>, <a href="%9$s">full stack developer</a>, <a href="%10$s">poet</a>, <a href="%11$s">WWOOF’er</a> and <a href="%12$s">world traveler</a>.', 'testimonials-widget' );
|
237 |
|
238 |
echo '<div id="about" style="width: 70%; min-height: 225px;"><p>';
|
@@ -258,7 +258,7 @@ abstract class Aihrus_Settings {
|
|
258 |
public static function display_page( $disable_donate = false ) {
|
259 |
echo '<div class="wrap">
|
260 |
<div class="icon32" id="icon-options-general"></div>
|
261 |
-
<h2>' . static::
|
262 |
|
263 |
echo '<form action="options.php" method="post">';
|
264 |
|
100 |
'title' => esc_html__( 'Remove Plugin Data on Deletion?', 'testimonials-widget' ),
|
101 |
'type' => 'checkbox',
|
102 |
'class' => 'warning',
|
103 |
+
'desc' => sprintf( $desc, static::NAME ),
|
104 |
'widget' => 0,
|
105 |
);
|
106 |
|
232 |
|
233 |
|
234 |
public static function display_about() {
|
235 |
+
$name = str_replace( ' Settings', '', static::NAME );
|
236 |
$text = __( '<img class="alignright size-medium" src="%1$s/media/michael-cannon-red-square-300x2251.jpg" alt="Michael in Red Square, Moscow, Russia" width="300" height="225" /><a href="%2$s">%3$s</a> is by <a href="%4$s">Michael Cannon</a>. He\'s <a href="%5$s">Peichi’s</a> smiling man, an adventurous <a href="%6$s" target="_blank">water-rat</a>, <a href="%7$s">chief people officer</a>, <a href="%8$s">cyclist</a>, <a href="%9$s">full stack developer</a>, <a href="%10$s">poet</a>, <a href="%11$s">WWOOF’er</a> and <a href="%12$s">world traveler</a>.', 'testimonials-widget' );
|
237 |
|
238 |
echo '<div id="about" style="width: 70%; min-height: 225px;"><p>';
|
258 |
public static function display_page( $disable_donate = false ) {
|
259 |
echo '<div class="wrap">
|
260 |
<div class="icon32" id="icon-options-general"></div>
|
261 |
+
<h2>' . static::NAME . '</h2>';
|
262 |
|
263 |
echo '<form action="options.php" method="post">';
|
264 |
|
lib/aihrus/class-aihrus-widget.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
if ( class_exists( 'Aihrus_Widget' ) )
|
20 |
return;
|
21 |
|
22 |
-
|
23 |
|
24 |
|
25 |
abstract class Aihrus_Widget extends WP_Widget implements Aihrus_Widget_Interface {
|
19 |
if ( class_exists( 'Aihrus_Widget' ) )
|
20 |
return;
|
21 |
|
22 |
+
require 'interface-aihrus-widget.php';
|
23 |
|
24 |
|
25 |
abstract class Aihrus_Widget extends WP_Widget implements Aihrus_Widget_Interface {
|
lib/aihrus/requirements.php
ADDED
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Copyright 2013 Michael Cannon (email: mc@aihr.us)
|
4 |
+
|
5 |
+
This program is free software; you can redistribute it and/or modify
|
6 |
+
it under the terms of the GNU General Public License, version 2, as
|
7 |
+
published by the Free Software Foundation.
|
8 |
+
|
9 |
+
This program is distributed in the hope that it will be useful,
|
10 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
+
GNU General Public License for more details.
|
13 |
+
|
14 |
+
You should have received a copy of the GNU General Public License
|
15 |
+
along with this program; if not, write to the Free Software
|
16 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
+
*/
|
18 |
+
|
19 |
+
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
20 |
+
|
21 |
+
if ( ! function_exists( 'aihr_check_php' ) ) {
|
22 |
+
function aihr_check_php( $file = null, $name = null, $php_min = '5.3.0' ) {
|
23 |
+
if ( is_null( $file ) ) {
|
24 |
+
aihr_notice_error( __( '`aihr_check_php` requires $file argument', 'testimonials-widget' ) );
|
25 |
+
|
26 |
+
return false;
|
27 |
+
}
|
28 |
+
|
29 |
+
$check_okay = version_compare( PHP_VERSION, $php_min, '>=' );
|
30 |
+
$file = plugin_basename( $file );
|
31 |
+
if ( ! $check_okay && __FILE__ != $file ) {
|
32 |
+
deactivate_plugins( $file );
|
33 |
+
|
34 |
+
if ( ! defined( 'AIHR_PHP_VERSION_FILE' ) ) {
|
35 |
+
define( 'AIHR_PHP_VERSION_FILE', $file );
|
36 |
+
}
|
37 |
+
|
38 |
+
if ( ! is_null( $name ) && ! defined( 'AIHR_PHP_VERSION_NAME' ) ) {
|
39 |
+
define( 'AIHR_PHP_VERSION_NAME', $name );
|
40 |
+
}
|
41 |
+
|
42 |
+
if ( ! defined( 'AIHR_PHP_VERSION_MIN' ) ) {
|
43 |
+
define( 'AIHR_PHP_VERSION_MIN', $php_min );
|
44 |
+
}
|
45 |
+
|
46 |
+
add_action( 'admin_notices', 'aihr_notice_php' );
|
47 |
+
}
|
48 |
+
|
49 |
+
return $check_okay;
|
50 |
+
}
|
51 |
+
}
|
52 |
+
|
53 |
+
|
54 |
+
if ( ! function_exists( 'aihr_notice_php' ) ) {
|
55 |
+
function aihr_notice_php() {
|
56 |
+
if ( defined( 'AIHR_PHP_VERSION_NAME' ) ) {
|
57 |
+
$name = AIHR_PHP_VERSION_NAME;
|
58 |
+
} else {
|
59 |
+
$name = basename( dirname( AIHR_PHP_VERSION_FILE ) );
|
60 |
+
$name = str_replace( '-', ' ', $name );
|
61 |
+
$name = ucwords( $name );
|
62 |
+
}
|
63 |
+
|
64 |
+
$help_url = esc_url( 'https://aihrus.zendesk.com/entries/30678006' );
|
65 |
+
|
66 |
+
$text = sprintf( __( 'Plugin "%1$s" has been deactivated as it requires PHP %2$s or newer. You\'re running PHP %4$s. Once corrected, "%1$s" can be activated. <a href="%3$s">More information</a>.', 'testimonials-widget' ), $name, AIHR_PHP_VERSION_MIN, $help_url, PHP_VERSION );
|
67 |
+
|
68 |
+
aihr_notice_error( $text );
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
|
73 |
+
if ( ! function_exists( 'aihr_check_wp' ) ) {
|
74 |
+
function aihr_check_wp( $file = null, $name = null, $wp_min = '3.6.0' ) {
|
75 |
+
if ( is_null( $file ) ) {
|
76 |
+
aihr_notice_error( __( '`aihr_check_wp` requires $file argument', 'testimonials-widget' ) );
|
77 |
+
|
78 |
+
return false;
|
79 |
+
}
|
80 |
+
|
81 |
+
global $wp_version;
|
82 |
+
|
83 |
+
$check_okay = version_compare( $wp_version, $wp_min, '>=' );
|
84 |
+
$file = plugin_basename( $file );
|
85 |
+
if ( ! $check_okay && __FILE__ != $file ) {
|
86 |
+
deactivate_plugins( $file );
|
87 |
+
|
88 |
+
if ( ! defined( 'AIHR_WP_VERSION_FILE' ) ) {
|
89 |
+
define( 'AIHR_WP_VERSION_FILE', $file );
|
90 |
+
}
|
91 |
+
|
92 |
+
if ( ! is_null( $name ) && ! defined( 'AIHR_WP_VERSION_NAME' ) ) {
|
93 |
+
define( 'AIHR_WP_VERSION_NAME', $name );
|
94 |
+
}
|
95 |
+
|
96 |
+
if ( ! defined( 'AIHR_WP_VERSION_MIN' ) ) {
|
97 |
+
define( 'AIHR_WP_VERSION_MIN', $wp_min );
|
98 |
+
}
|
99 |
+
|
100 |
+
add_action( 'admin_notices', 'aihr_notice_wp' );
|
101 |
+
}
|
102 |
+
|
103 |
+
return $check_okay;
|
104 |
+
}
|
105 |
+
}
|
106 |
+
|
107 |
+
|
108 |
+
if ( ! function_exists( 'aihr_notice_wp' ) ) {
|
109 |
+
function aihr_notice_wp() {
|
110 |
+
global $wp_version;
|
111 |
+
|
112 |
+
if ( defined( 'AIHR_WP_VERSION_NAME' ) ) {
|
113 |
+
$name = AIHR_WP_VERSION_NAME;
|
114 |
+
} else {
|
115 |
+
$name = basename( dirname( AIHR_WP_VERSION_FILE ) );
|
116 |
+
$name = str_replace( '-', ' ', $name );
|
117 |
+
$name = ucwords( $name );
|
118 |
+
}
|
119 |
+
|
120 |
+
$help_url = network_admin_url( 'update-core.php' );
|
121 |
+
|
122 |
+
$text = sprintf( __( 'Plugin "%1$s" has been deactivated as it requires WordPress %2$s or newer. You\'re running WordPress %4$s. Once corrected, "%1$s" can be activated. <a href="%3$s">Update WordPress</a>.', 'testimonials-widget' ), $name, AIHR_WP_VERSION_MIN, $help_url, $wp_version );
|
123 |
+
|
124 |
+
aihr_notice_error( $text );
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
|
129 |
+
if ( ! function_exists( 'aihr_notice_error' ) ) {
|
130 |
+
function aihr_notice_error( $text ) {
|
131 |
+
aihr_notice_updated( $text, 'error' );
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
|
136 |
+
if ( ! function_exists( 'aihr_notice_updated' ) ) {
|
137 |
+
function aihr_notice_updated( $text, $class = 'updated' ) {
|
138 |
+
if ( 'updated' == $class )
|
139 |
+
$class .= ' fade';
|
140 |
+
|
141 |
+
$content = '';
|
142 |
+
$content .= '<div class="' . $class . '"><p>';
|
143 |
+
$content .= $text;
|
144 |
+
$content .= '</p></div>';
|
145 |
+
|
146 |
+
echo $content;
|
147 |
+
}
|
148 |
+
}
|
149 |
+
|
150 |
+
if ( ! function_exists( 'aihr_notice_version' ) ) {
|
151 |
+
function aihr_notice_version( $required_base, $required_name, $required_slug, $required_version, $item_name ) {
|
152 |
+
$is_active = is_plugin_active( $required_base );
|
153 |
+
if ( $is_active )
|
154 |
+
$link = sprintf( __( '<a href="%1$s">update to</a>', 'testimonials-widget' ), self_admin_url( 'update-core.php' ) );
|
155 |
+
else {
|
156 |
+
$plugins = get_plugins();
|
157 |
+
if ( empty( $plugins[ $required_base ] ) ) {
|
158 |
+
$install = esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=' . $required_slug ), 'install-plugin_' . $required_slug ) );
|
159 |
+
$link = sprintf( __( '<a href="%1$s">install</a>', 'testimonials-widget' ), $install );
|
160 |
+
} else {
|
161 |
+
$activate = esc_url( wp_nonce_url( admin_url( 'plugins.php?action=activate&plugin=' . $required_base ), 'activate-plugin_' . $required_base ) );
|
162 |
+
$link = sprintf( __( '<a href="%1$s">activate</a>', 'testimonials-widget' ), $activate );
|
163 |
+
}
|
164 |
+
}
|
165 |
+
|
166 |
+
$text = sprintf( __( 'Plugin "%3$s" has been deactivated. Please %1$s "%4$s" version %2$s or newer before activating "%3$s".', 'testimonials-widget' ), $link, $required_version, $item_name, $required_name );
|
167 |
+
|
168 |
+
aihr_notice_error( $text );
|
169 |
+
}
|
170 |
+
}
|
171 |
+
|
172 |
+
if ( ! function_exists( 'aihr_notice_license' ) ) {
|
173 |
+
function aihr_notice_license( $post_type, $settings_id, $free_name, $purchase_url, $item_name ) {
|
174 |
+
if ( empty( $post_type ) )
|
175 |
+
$link = get_admin_url() . 'options-general.php?page=' . $settings_id;
|
176 |
+
else
|
177 |
+
$link = get_admin_url() . 'edit.php?post_type=' . $post_type . '&page=' . $settings_id;
|
178 |
+
|
179 |
+
$text = __( '<a href="%1$s">%2$s > Settings</a>, <em>Premium</em> tab, <em>License Key</em> entry', 'testimonials-widget' );
|
180 |
+
|
181 |
+
$settings_link = sprintf( $text, $link, $free_name );
|
182 |
+
|
183 |
+
$link = esc_url( 'https://aihrus.zendesk.com/entries/28745227' );
|
184 |
+
$text = __( '<a href="%s">Where\'s my license key?</a>', 'testimonials-widget' );
|
185 |
+
|
186 |
+
$faq_link = sprintf( $text, $link );
|
187 |
+
|
188 |
+
$link = esc_url( $purchase_url );
|
189 |
+
$text = __( '<a href="%1$s">%2$s</a>', 'testimonials-widget' );
|
190 |
+
|
191 |
+
$buy_link = sprintf( $text, $link, $item_name );
|
192 |
+
|
193 |
+
$text = sprintf( __( 'Plugin "%1$s" requires license activation before updating will work. Please activate the license key through %2$s. No license key? See "%3$s" or purchase "%4$s".', 'testimonials-widget' ), $item_name, $settings_link, $faq_link, $buy_link );
|
194 |
+
|
195 |
+
aihr_notice_error( $text );
|
196 |
+
}
|
197 |
+
}
|
198 |
+
|
199 |
+
?>
|
lib/class-testimonials-widget-settings.php
CHANGED
@@ -22,13 +22,15 @@
|
|
22 |
* Based upon http://alisothegeek.com/2011/01/wordpress-settings-api-tutorial-1/
|
23 |
*/
|
24 |
|
|
|
|
|
25 |
|
26 |
-
require_once
|
27 |
|
28 |
|
29 |
class Testimonials_Widget_Settings extends Aihrus_Settings {
|
30 |
-
const ID
|
31 |
-
const
|
32 |
|
33 |
public static $admin_page = '';
|
34 |
public static $class = __CLASS__;
|
22 |
* Based upon http://alisothegeek.com/2011/01/wordpress-settings-api-tutorial-1/
|
23 |
*/
|
24 |
|
25 |
+
if ( class_exists( 'Testimonials_Widget_Settings' ) )
|
26 |
+
return;
|
27 |
|
28 |
+
require_once TW_DIR_LIB . '/aihrus/class-aihrus-settings.php';
|
29 |
|
30 |
|
31 |
class Testimonials_Widget_Settings extends Aihrus_Settings {
|
32 |
+
const ID = 'testimonialswidget_settings';
|
33 |
+
const NAME = 'Testimonials Settings';
|
34 |
|
35 |
public static $admin_page = '';
|
36 |
public static $class = __CLASS__;
|
lib/class-testimonials-widget-widget.php
CHANGED
@@ -16,7 +16,10 @@
|
|
16 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
*/
|
18 |
|
19 |
-
|
|
|
|
|
|
|
20 |
|
21 |
|
22 |
class Testimonials_Widget_Widget extends Aihrus_Widget {
|
16 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
*/
|
18 |
|
19 |
+
if ( class_exists( 'Testimonials_Widget_Widget' ) )
|
20 |
+
return;
|
21 |
+
|
22 |
+
require_once TW_DIR_LIB . '/aihrus/class-aihrus-widget.php';
|
23 |
|
24 |
|
25 |
class Testimonials_Widget_Widget extends Aihrus_Widget {
|
lib/requirements.php
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
Copyright 2013 Michael Cannon (email: mc@aihr.us)
|
4 |
+
|
5 |
+
This program is free software; you can redistribute it and/or modify
|
6 |
+
it under the terms of the GNU General Public License, version 2, as
|
7 |
+
published by the Free Software Foundation.
|
8 |
+
|
9 |
+
This program is distributed in the hope that it will be useful,
|
10 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12 |
+
GNU General Public License for more details.
|
13 |
+
|
14 |
+
You should have received a copy of the GNU General Public License
|
15 |
+
along with this program; if not, write to the Free Software
|
16 |
+
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
17 |
+
*/
|
18 |
+
|
19 |
+
require_once TW_DIR_LIB . '/aihrus/requirements.php';
|
20 |
+
|
21 |
+
|
22 |
+
function tw_requirements_check() {
|
23 |
+
$valid_requirements = true;
|
24 |
+
if ( ! aihr_check_php( TW_BASE, TW_NAME ) ) {
|
25 |
+
$valid_requirements = false;
|
26 |
+
}
|
27 |
+
|
28 |
+
if ( ! aihr_check_wp( TW_BASE, TW_NAME ) ) {
|
29 |
+
$valid_requirements = false;
|
30 |
+
}
|
31 |
+
|
32 |
+
if ( ! $valid_requirements ) {
|
33 |
+
deactivate_plugins( TW_BASE );
|
34 |
+
}
|
35 |
+
|
36 |
+
return $valid_requirements;
|
37 |
+
}
|
38 |
+
|
39 |
+
?>
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Contributors: comprock
|
|
4 |
Donate link: http://aihr.us/about-aihrus/donate/
|
5 |
Tags: client, customer, portfolio, quotations, quote, quotes, random, recommendation, reference, review, reviews, testimonial, testimonials, testimony, wpml
|
6 |
Requires at least: 3.6
|
7 |
-
Tested up to: 3.
|
8 |
-
Stable tag: 2.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
4 |
Donate link: http://aihr.us/about-aihrus/donate/
|
5 |
Tags: client, customer, portfolio, quotations, quote, quotes, random, recommendation, reference, review, reviews, testimonial, testimonials, testimony, wpml
|
6 |
Requires at least: 3.6
|
7 |
+
Tested up to: 3.9.0
|
8 |
+
Stable tag: 2.17.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
testimonials-widget.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Plugin Name: Testimonials
|
4 |
* Plugin URI: http://wordpress.org/plugins/testimonials-widget/
|
5 |
-
* Description: Testimonials lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
|
6 |
-
* Version: 2.
|
7 |
* Author: Michael Cannon
|
8 |
* Author URI: http://aihr.us/resume/
|
9 |
* License: GPLv2 or later
|
@@ -24,28 +24,32 @@
|
|
24 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25 |
*/
|
26 |
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
29 |
|
30 |
-
|
31 |
-
define( 'TW_PLUGIN_DIR_LIB', TW_PLUGIN_DIR . '/lib' );
|
32 |
|
33 |
-
|
|
|
|
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
|
41 |
class Testimonials_Widget extends Aihrus_Common {
|
42 |
-
const
|
43 |
-
const
|
44 |
-
const
|
45 |
-
const
|
46 |
-
|
47 |
-
const
|
48 |
-
const
|
49 |
|
50 |
private static $found_posts = 0;
|
51 |
private static $max_num_pages = 0;
|
@@ -160,7 +164,7 @@ class Testimonials_Widget extends Aihrus_Common {
|
|
160 |
|
161 |
|
162 |
public static function plugin_action_links( $links, $file ) {
|
163 |
-
if ( self::
|
164 |
array_unshift( $links, self::$settings_link );
|
165 |
|
166 |
return $links;
|
@@ -251,7 +255,6 @@ class Testimonials_Widget extends Aihrus_Common {
|
|
251 |
if ( ! current_user_can( 'activate_plugins' ) )
|
252 |
return;
|
253 |
|
254 |
-
require_once TW_PLUGIN_DIR_LIB . '/class-testimonials-widget-settings.php';
|
255 |
self::init();
|
256 |
flush_rewrite_rules();
|
257 |
}
|
@@ -262,7 +265,6 @@ class Testimonials_Widget extends Aihrus_Common {
|
|
262 |
return;
|
263 |
|
264 |
flush_rewrite_rules();
|
265 |
-
Testimonials_Widget::delete_notices();
|
266 |
}
|
267 |
|
268 |
|
@@ -271,8 +273,9 @@ class Testimonials_Widget extends Aihrus_Common {
|
|
271 |
return;
|
272 |
|
273 |
global $wpdb;
|
|
|
|
|
274 |
|
275 |
-
require_once TW_PLUGIN_DIR_LIB . '/class-testimonials-widget-settings.php';
|
276 |
$delete_data = tw_get_option( 'delete_data', false );
|
277 |
if ( $delete_data ) {
|
278 |
delete_option( self::OLD_NAME );
|
@@ -319,7 +322,7 @@ class Testimonials_Widget extends Aihrus_Common {
|
|
319 |
|
320 |
|
321 |
public static function plugin_row_meta( $input, $file ) {
|
322 |
-
if ( self::
|
323 |
return $input;
|
324 |
|
325 |
$disable_donate = tw_get_option( 'disable_donate' );
|
@@ -347,7 +350,7 @@ class Testimonials_Widget extends Aihrus_Common {
|
|
347 |
public static function notice_donate( $disable_donate = null, $item_name = null ) {
|
348 |
$disable_donate = tw_get_option( 'disable_donate' );
|
349 |
|
350 |
-
parent::notice_donate( $disable_donate,
|
351 |
}
|
352 |
|
353 |
|
@@ -1602,8 +1605,6 @@ EOF;
|
|
1602 |
|
1603 |
|
1604 |
public static function widgets_init() {
|
1605 |
-
require_once TW_PLUGIN_DIR_LIB . '/class-testimonials-widget-widget.php';
|
1606 |
-
|
1607 |
register_widget( 'Testimonials_Widget_Widget' );
|
1608 |
}
|
1609 |
|
@@ -1614,8 +1615,6 @@ EOF;
|
|
1614 |
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
|
1615 |
*/
|
1616 |
public static function add_meta_box_testimonials_widget() {
|
1617 |
-
require_once TW_PLUGIN_DIR_LIB . '/class-redrokk-metabox-class.php';
|
1618 |
-
|
1619 |
$fields = array(
|
1620 |
array(
|
1621 |
'name' => esc_html__( 'Job Title', 'testimonials-widget' ),
|
@@ -2015,11 +2014,7 @@ EOD;
|
|
2015 |
|
2016 |
|
2017 |
public static function version_check() {
|
2018 |
-
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
2019 |
-
|
2020 |
$good_version = true;
|
2021 |
-
if ( ! is_plugin_active( self::PLUGIN_BASE ) )
|
2022 |
-
$good_version = false;
|
2023 |
|
2024 |
return $good_version;
|
2025 |
}
|
@@ -2049,6 +2044,14 @@ EOD;
|
|
2049 |
}
|
2050 |
|
2051 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2052 |
/**
|
2053 |
*
|
2054 |
*
|
@@ -2057,8 +2060,6 @@ EOD;
|
|
2057 |
*/
|
2058 |
function testimonialswidget_init() {
|
2059 |
if ( Testimonials_Widget::version_check() ) {
|
2060 |
-
require_once TW_PLUGIN_DIR_LIB . '/class-testimonials-widget-settings.php';
|
2061 |
-
|
2062 |
global $Testimonials_Widget_Settings;
|
2063 |
if ( is_null( $Testimonials_Widget_Settings ) )
|
2064 |
$Testimonials_Widget_Settings = new Testimonials_Widget_Settings();
|
@@ -2070,11 +2071,6 @@ function testimonialswidget_init() {
|
|
2070 |
}
|
2071 |
|
2072 |
|
2073 |
-
register_activation_hook( __FILE__, array( 'Testimonials_Widget', 'activation' ) );
|
2074 |
-
register_deactivation_hook( __FILE__, array( 'Testimonials_Widget', 'deactivation' ) );
|
2075 |
-
register_uninstall_hook( __FILE__, array( 'Testimonials_Widget', 'uninstall' ) );
|
2076 |
-
|
2077 |
-
|
2078 |
function testimonialswidget_list( $atts = array() ) {
|
2079 |
global $Testimonials_Widget;
|
2080 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Plugin Name: Testimonials by Aihrus
|
4 |
* Plugin URI: http://wordpress.org/plugins/testimonials-widget/
|
5 |
+
* Description: Testimonials by Aihrus lets you randomly slide or list selected portfolios, quotes, reviews, or text with images or videos on your WordPress site.
|
6 |
+
* Version: 2.17.0
|
7 |
* Author: Michael Cannon
|
8 |
* Author URI: http://aihr.us/resume/
|
9 |
* License: GPLv2 or later
|
24 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
25 |
*/
|
26 |
|
27 |
+
define( 'TW_BASE', plugin_basename( __FILE__ ) );
|
28 |
+
define( 'TW_DIR', plugin_dir_path( __FILE__ ) );
|
29 |
+
define( 'TW_DIR_LIB', TW_DIR . '/lib' );
|
30 |
+
define( 'TW_NAME', 'Testimonials by Aihrus' );
|
31 |
+
define( 'TW_VERSION', '2.17.0' );
|
32 |
|
33 |
+
require_once TW_DIR_LIB . '/requirements.php';
|
|
|
34 |
|
35 |
+
if ( ! tw_requirements_check() ) {
|
36 |
+
return false;
|
37 |
+
}
|
38 |
|
39 |
+
require_once TW_DIR_LIB . '/aihrus/class-aihrus-common.php';
|
40 |
+
require_once TW_DIR_LIB . '/class-redrokk-metabox-class.php';
|
41 |
+
require_once TW_DIR_LIB . '/class-testimonials-widget-settings.php';
|
42 |
+
require_once TW_DIR_LIB . '/class-testimonials-widget-widget.php';
|
43 |
|
44 |
|
45 |
class Testimonials_Widget extends Aihrus_Common {
|
46 |
+
const BASE = TW_BASE;
|
47 |
+
const ID = 'testimonials-widget-testimonials';
|
48 |
+
const SLUG = 'tw_';
|
49 |
+
const VERSION = TW_VERSION;
|
50 |
+
|
51 |
+
const OLD_NAME = 'testimonialswidget';
|
52 |
+
const PT = 'testimonials-widget';
|
53 |
|
54 |
private static $found_posts = 0;
|
55 |
private static $max_num_pages = 0;
|
164 |
|
165 |
|
166 |
public static function plugin_action_links( $links, $file ) {
|
167 |
+
if ( self::BASE == $file )
|
168 |
array_unshift( $links, self::$settings_link );
|
169 |
|
170 |
return $links;
|
255 |
if ( ! current_user_can( 'activate_plugins' ) )
|
256 |
return;
|
257 |
|
|
|
258 |
self::init();
|
259 |
flush_rewrite_rules();
|
260 |
}
|
265 |
return;
|
266 |
|
267 |
flush_rewrite_rules();
|
|
|
268 |
}
|
269 |
|
270 |
|
273 |
return;
|
274 |
|
275 |
global $wpdb;
|
276 |
+
|
277 |
+
require_once TW_DIR_LIB . '/class-testimonials-widget-settings.php';
|
278 |
|
|
|
279 |
$delete_data = tw_get_option( 'delete_data', false );
|
280 |
if ( $delete_data ) {
|
281 |
delete_option( self::OLD_NAME );
|
322 |
|
323 |
|
324 |
public static function plugin_row_meta( $input, $file ) {
|
325 |
+
if ( self::BASE != $file )
|
326 |
return $input;
|
327 |
|
328 |
$disable_donate = tw_get_option( 'disable_donate' );
|
350 |
public static function notice_donate( $disable_donate = null, $item_name = null ) {
|
351 |
$disable_donate = tw_get_option( 'disable_donate' );
|
352 |
|
353 |
+
parent::notice_donate( $disable_donate, TW_NAME );
|
354 |
}
|
355 |
|
356 |
|
1605 |
|
1606 |
|
1607 |
public static function widgets_init() {
|
|
|
|
|
1608 |
register_widget( 'Testimonials_Widget_Widget' );
|
1609 |
}
|
1610 |
|
1615 |
* @SuppressWarnings(PHPMD.UnusedLocalVariable)
|
1616 |
*/
|
1617 |
public static function add_meta_box_testimonials_widget() {
|
|
|
|
|
1618 |
$fields = array(
|
1619 |
array(
|
1620 |
'name' => esc_html__( 'Job Title', 'testimonials-widget' ),
|
2014 |
|
2015 |
|
2016 |
public static function version_check() {
|
|
|
|
|
2017 |
$good_version = true;
|
|
|
|
|
2018 |
|
2019 |
return $good_version;
|
2020 |
}
|
2044 |
}
|
2045 |
|
2046 |
|
2047 |
+
register_activation_hook( __FILE__, array( 'Testimonials_Widget', 'activation' ) );
|
2048 |
+
register_deactivation_hook( __FILE__, array( 'Testimonials_Widget', 'deactivation' ) );
|
2049 |
+
register_uninstall_hook( __FILE__, array( 'Testimonials_Widget', 'uninstall' ) );
|
2050 |
+
|
2051 |
+
|
2052 |
+
add_action( 'plugins_loaded', 'testimonialswidget_init', 99 );
|
2053 |
+
|
2054 |
+
|
2055 |
/**
|
2056 |
*
|
2057 |
*
|
2060 |
*/
|
2061 |
function testimonialswidget_init() {
|
2062 |
if ( Testimonials_Widget::version_check() ) {
|
|
|
|
|
2063 |
global $Testimonials_Widget_Settings;
|
2064 |
if ( is_null( $Testimonials_Widget_Settings ) )
|
2065 |
$Testimonials_Widget_Settings = new Testimonials_Widget_Settings();
|
2071 |
}
|
2072 |
|
2073 |
|
|
|
|
|
|
|
|
|
|
|
2074 |
function testimonialswidget_list( $atts = array() ) {
|
2075 |
global $Testimonials_Widget;
|
2076 |
|