Testimonials Widget - Version 2.18.4

Version Description

= 2.18.3 =

  • CSS class .hide renamed .display-none
  • This is the last version supporting pre-bxSlider options

= 2.18.2 =

  • CSS class .display-none renamed .hide

= 2.18.1 =

  • CSS is back to being always loaded in the header
  • Removed "Use bxSlider?" and "Include IE7 CSS" from widget options

= 2.18.0 =

  • remove_hentry is now true by default

= 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 the display: none; and clear: 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. Use array_unshift in your testimonials_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 to bottom-text
    • close_quote renamed to close-quote
    • display_none renamed to display-none
    • join_location renamed to join-location
    • join_title renamed to join-title
    • open_quote renamed to open-quote
    • testimonialswidget_testimonial renamed to testimonials-widget-testimonial
    • testimonialswidget_testimonials renamed to testimonials-widget-testimonials

= 2.11.3 =

  • Correct filter name testimonials_widget_next_posts_link to testimonials_widget_next_posts_link_text

= 2.11.0 =

  • CSS class names are simplified. For the most part, other than testimonialswidget_testimonial remove testimonialswidget_ from the CSS class name in your CSS customizations.
    • Ex: .testimonialswidget_join becomes .join
    • Ex: .testimonialswidget_author becomes .author
  • Testimonials are now formatted using blockquote than q for HTML5 compliance. If you need q tag formatting, enable it at WP Admin > Testimonials > Settings, Compatibility & Reset tab
    • cite is now div.credit

= 2.8.0 =

  • Deprecated
    • hide_author now hide_source
  • Removed filters testimonials_widget_options_update, testimonials_widget_options_form
    • Use testimonials_widget_validate_settings and testimonials_widget_settings instead
  • Renamed variable and related class widget_text to bottom_text

= 2.7.3 =

  • Quotes are no longer handled via q, p:before, or p: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 CSS display: inline, display: block as expected

= 2.4.1 =

  • Paging is on by default, except for widgets

= 2.0.0 =

  • CSS
    • Class testimonialswidget_company replaces testimonialswidget_source
    • Class testimonialswidget_source replaces testimonialswidget_author
    • The tighten widget display up, p tags within q are displayed inline.
  • JavaScript
    • The JavaScript for rotating testimonials is moved to the footer. As such, your theme requires wp_footer() in the footer.
  • Shortcode options
    • hide_source replaced by hide_url
    • hide_author replaced by hide_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 the source 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 Icon wp plugin Testimonials Widget
Version 2.18.4
Comparing to
See all releases

Code changes from version 2.18.3 to 2.18.4

CHANGELOG.md CHANGED
@@ -2,6 +2,9 @@
2
 
3
  ## master
4
 
 
 
 
5
  ## 2.18.3
6
  * Add option "Exclude bxSlider CSS?"
7
  * Exit if accessed directly
2
 
3
  ## master
4
 
5
+ ## 2.18.4
6
+ * RESOLVE #69 Disallow .display-none when only 1 testimonials or no refresh_interval
7
+
8
  ## 2.18.3
9
  * Add option "Exclude bxSlider CSS?"
10
  * Exit if accessed directly
includes/class-testimonials-widget.php CHANGED
@@ -1048,7 +1048,8 @@ EOF;
1048
  } else {
1049
  // widget display
1050
  if ( $use_bxslider ) {
1051
- if ( ! in_array( $transition_mode, array( 'horizontal', 'vertical' ) ) ) {
 
1052
  $class .= ' display-none';
1053
  }
1054
  } else {
1048
  } else {
1049
  // widget display
1050
  if ( $use_bxslider ) {
1051
+ $refresh_interval = $atts['refresh_interval'];
1052
+ if ( ! $is_first && ! empty( $refresh_interval ) && ! in_array( $transition_mode, array( 'horizontal', 'vertical' ) ) ) {
1053
  $class .= ' display-none';
1054
  }
1055
  } else {
languages/testimonials-widget.pot CHANGED
@@ -2,9 +2,9 @@
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.18.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
- "POT-Creation-Date: 2014-03-07 07:02:06+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -378,31 +378,31 @@ msgstr ""
378
 
379
  #: includes/class-testimonials-widget-settings.php:461
380
  #: includes/class-testimonials-widget.php:547
381
- #: includes/class-testimonials-widget.php:1632
382
  msgid "Job Title"
383
  msgstr ""
384
 
385
  #: includes/class-testimonials-widget-settings.php:462
386
  #: includes/class-testimonials-widget.php:549
387
- #: includes/class-testimonials-widget.php:1644
388
  msgid "Email"
389
  msgstr ""
390
 
391
  #: includes/class-testimonials-widget-settings.php:463
392
  #: includes/class-testimonials-widget.php:548
393
- #: includes/class-testimonials-widget.php:1638
394
  msgid "Location"
395
  msgstr ""
396
 
397
  #: includes/class-testimonials-widget-settings.php:464
398
  #: includes/class-testimonials-widget.php:550
399
- #: includes/class-testimonials-widget.php:1650
400
  msgid "Company"
401
  msgstr ""
402
 
403
  #: includes/class-testimonials-widget-settings.php:465
404
  #: includes/class-testimonials-widget.php:551
405
- #: includes/class-testimonials-widget.php:1656
406
  msgid "URL"
407
  msgstr ""
408
 
@@ -588,7 +588,7 @@ msgid "This widget's unique CSS class for styling"
588
  msgstr ""
589
 
590
  #: includes/class-testimonials-widget.php:141
591
- #: includes/class-testimonials-widget.php:1999
592
  msgid "Testimonials Shortcode Examples"
593
  msgstr ""
594
 
@@ -653,7 +653,7 @@ msgid "Search Testimonials"
653
  msgstr ""
654
 
655
  #: includes/class-testimonials-widget.php:582
656
- #: includes/class-testimonials-widget.php:1744
657
  msgid "Testimonial"
658
  msgstr ""
659
 
@@ -661,77 +661,77 @@ msgstr ""
661
  msgid "View Testimonial"
662
  msgstr ""
663
 
664
- #: includes/class-testimonials-widget.php:1155
665
  msgid "…"
666
  msgstr ""
667
 
668
- #: includes/class-testimonials-widget.php:1362
669
  msgid "«"
670
  msgstr ""
671
 
672
- #: includes/class-testimonials-widget.php:1370
673
  msgid "»"
674
  msgstr ""
675
 
676
- #: includes/class-testimonials-widget.php:1668
677
  msgid "Testimonial Data"
678
  msgstr ""
679
 
680
- #: includes/class-testimonials-widget.php:1693
681
  msgid "Enter title here"
682
  msgstr ""
683
 
684
- #: includes/class-testimonials-widget.php:1694
685
  msgid "Enter testimonial source here"
686
  msgstr ""
687
 
688
- #: includes/class-testimonials-widget.php:1719
689
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
690
  msgstr ""
691
 
692
- #: includes/class-testimonials-widget.php:1720
693
  msgid "Custom field updated."
694
  msgstr ""
695
 
696
- #: includes/class-testimonials-widget.php:1721
697
  msgid "Custom field deleted."
698
  msgstr ""
699
 
700
- #: includes/class-testimonials-widget.php:1722
701
  msgid "Testimonial updated."
702
  msgstr ""
703
 
704
  #. translators: %s: date and time of the revision
705
 
706
- #: includes/class-testimonials-widget.php:1724
707
  msgid "Testimonial restored to revision from %s"
708
  msgstr ""
709
 
710
- #: includes/class-testimonials-widget.php:1725
711
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
712
  msgstr ""
713
 
714
- #: includes/class-testimonials-widget.php:1726
715
  msgid "Testimonial saved."
716
  msgstr ""
717
 
718
- #: includes/class-testimonials-widget.php:1727
719
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
720
  msgstr ""
721
 
722
- #: includes/class-testimonials-widget.php:1728
723
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
724
  msgstr ""
725
 
726
- #: includes/class-testimonials-widget.php:1729
727
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
728
  msgstr ""
729
 
730
- #: includes/class-testimonials-widget.php:1990
731
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
732
  msgstr ""
733
 
734
- #: includes/class-testimonials-widget.php:2071
735
  msgid "Shortcode"
736
  msgstr ""
737
 
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.18.4\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/testimonials-widget\n"
7
+ "POT-Creation-Date: 2014-03-17 15:47:24+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
378
 
379
  #: includes/class-testimonials-widget-settings.php:461
380
  #: includes/class-testimonials-widget.php:547
381
+ #: includes/class-testimonials-widget.php:1633
382
  msgid "Job Title"
383
  msgstr ""
384
 
385
  #: includes/class-testimonials-widget-settings.php:462
386
  #: includes/class-testimonials-widget.php:549
387
+ #: includes/class-testimonials-widget.php:1645
388
  msgid "Email"
389
  msgstr ""
390
 
391
  #: includes/class-testimonials-widget-settings.php:463
392
  #: includes/class-testimonials-widget.php:548
393
+ #: includes/class-testimonials-widget.php:1639
394
  msgid "Location"
395
  msgstr ""
396
 
397
  #: includes/class-testimonials-widget-settings.php:464
398
  #: includes/class-testimonials-widget.php:550
399
+ #: includes/class-testimonials-widget.php:1651
400
  msgid "Company"
401
  msgstr ""
402
 
403
  #: includes/class-testimonials-widget-settings.php:465
404
  #: includes/class-testimonials-widget.php:551
405
+ #: includes/class-testimonials-widget.php:1657
406
  msgid "URL"
407
  msgstr ""
408
 
588
  msgstr ""
589
 
590
  #: includes/class-testimonials-widget.php:141
591
+ #: includes/class-testimonials-widget.php:2000
592
  msgid "Testimonials Shortcode Examples"
593
  msgstr ""
594
 
653
  msgstr ""
654
 
655
  #: includes/class-testimonials-widget.php:582
656
+ #: includes/class-testimonials-widget.php:1745
657
  msgid "Testimonial"
658
  msgstr ""
659
 
661
  msgid "View Testimonial"
662
  msgstr ""
663
 
664
+ #: includes/class-testimonials-widget.php:1156
665
  msgid "…"
666
  msgstr ""
667
 
668
+ #: includes/class-testimonials-widget.php:1363
669
  msgid "&laquo;"
670
  msgstr ""
671
 
672
+ #: includes/class-testimonials-widget.php:1371
673
  msgid "&raquo;"
674
  msgstr ""
675
 
676
+ #: includes/class-testimonials-widget.php:1669
677
  msgid "Testimonial Data"
678
  msgstr ""
679
 
680
+ #: includes/class-testimonials-widget.php:1694
681
  msgid "Enter title here"
682
  msgstr ""
683
 
684
+ #: includes/class-testimonials-widget.php:1695
685
  msgid "Enter testimonial source here"
686
  msgstr ""
687
 
688
+ #: includes/class-testimonials-widget.php:1720
689
  msgid "Testimonial updated. <a href=\"%s\">View testimonial</a>"
690
  msgstr ""
691
 
692
+ #: includes/class-testimonials-widget.php:1721
693
  msgid "Custom field updated."
694
  msgstr ""
695
 
696
+ #: includes/class-testimonials-widget.php:1722
697
  msgid "Custom field deleted."
698
  msgstr ""
699
 
700
+ #: includes/class-testimonials-widget.php:1723
701
  msgid "Testimonial updated."
702
  msgstr ""
703
 
704
  #. translators: %s: date and time of the revision
705
 
706
+ #: includes/class-testimonials-widget.php:1725
707
  msgid "Testimonial restored to revision from %s"
708
  msgstr ""
709
 
710
+ #: includes/class-testimonials-widget.php:1726
711
  msgid "Testimonial published. <a href=\"%s\">View testimonial</a>"
712
  msgstr ""
713
 
714
+ #: includes/class-testimonials-widget.php:1727
715
  msgid "Testimonial saved."
716
  msgstr ""
717
 
718
+ #: includes/class-testimonials-widget.php:1728
719
  msgid "Testimonial submitted. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
720
  msgstr ""
721
 
722
+ #: includes/class-testimonials-widget.php:1729
723
  msgid "Testimonial scheduled for: <strong>%1$s</strong>. <a target=\"_blank\" href=\"%2$s\">Preview testimonial</a>"
724
  msgstr ""
725
 
726
+ #: includes/class-testimonials-widget.php:1730
727
  msgid "Testimonial draft updated. <a target=\"_blank\" href=\"%s\">Preview testimonial</a>"
728
  msgstr ""
729
 
730
+ #: includes/class-testimonials-widget.php:1991
731
  msgid "If your Testimonials display has gone to funky town, please <a href=\"%s\">read the FAQ</a> about possible fixes."
732
  msgstr ""
733
 
734
+ #: includes/class-testimonials-widget.php:2072
735
  msgid "Shortcode"
736
  msgstr ""
737
 
readme.txt CHANGED
@@ -5,7 +5,7 @@ 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.18.3
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -361,6 +361,7 @@ Further, global settings are the baseline for shortcodes. If you want to alter t
361
  = Most Common Issues =
362
 
363
  * Got `Parse error: syntax error, unexpected T_STATIC, expecting ')'`? Read [Most Aihrus Plugins Require PHP 5.3+](https://aihrus.zendesk.com/entries/30678006) for the fixes.
 
364
  * [Change or debug CSS](https://aihrus.zendesk.com/entries/24910733) AKA "What's up with these quotes?"
365
  * [Customize bxSlider](http://bxslider.com/examples)
366
  * [Debug common theme and plugin conflicts](https://aihrus.zendesk.com/entries/25119302)
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.18.4
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
361
  = Most Common Issues =
362
 
363
  * Got `Parse error: syntax error, unexpected T_STATIC, expecting ')'`? Read [Most Aihrus Plugins Require PHP 5.3+](https://aihrus.zendesk.com/entries/30678006) for the fixes.
364
+ * [404 - Page not found](https://aihrus.zendesk.com/entries/23679301)
365
  * [Change or debug CSS](https://aihrus.zendesk.com/entries/24910733) AKA "What's up with these quotes?"
366
  * [Customize bxSlider](http://bxslider.com/examples)
367
  * [Debug common theme and plugin conflicts](https://aihrus.zendesk.com/entries/25119302)
testimonials-widget.php CHANGED
@@ -3,7 +3,7 @@
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.18.3
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
@@ -52,7 +52,7 @@ if ( ! defined( 'TW_PREMIUM_LINK' ) )
52
  define( 'TW_PREMIUM_LINK', '<a href="http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/">Buy Premium</a>' );
53
 
54
  if ( ! defined( 'TW_VERSION' ) )
55
- define( 'TW_VERSION', '2.18.3' );
56
 
57
  require_once TW_DIR_INC . 'requirements.php';
58
 
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.18.4
7
  * Author: Michael Cannon
8
  * Author URI: http://aihr.us/resume/
9
  * License: GPLv2 or later
52
  define( 'TW_PREMIUM_LINK', '<a href="http://aihr.us/downloads/testimonials-widget-premium-wordpress-plugin/">Buy Premium</a>' );
53
 
54
  if ( ! defined( 'TW_VERSION' ) )
55
+ define( 'TW_VERSION', '2.18.4' );
56
 
57
  require_once TW_DIR_INC . 'requirements.php';
58