Plugin Directory

Changeset 2742323


Ignore:
Timestamp:
06/14/2022 02:15:28 PM (4 years ago)
Author:
shapedplugin
Message:

Release 2.5.6 version

Location:
testimonial-free
Files:
275 added
5 edited

Legend:

Unmodified
Added
Removed
  • testimonial-free/trunk/readme.txt

    r2725053 r2742323  
    55Requires at least: 4.0
    66Tested up to: 6.0
    7 Stable tag: 2.5.5
     7Stable tag: 2.5.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    319319== Changelog ==
    320320
     321= 2.5.6 - Jun 14, 2022 =
     322* Fix: The premium page warnings.
     323* Fix: CSL issue.
     324* Fix: The RTL direction issue.
     325
    321326= 2.5.5 - May 17, 2022 =
    322327* Tested: WordPress 6.0 compatibility.
  • testimonial-free/trunk/src/Frontend/assets/css/style.css

    r2725053 r2742323  
    11.sp-testimonial-free-section * {
    2     box-sizing: border-box;
     2    box-sizing: border-box;
    33}
    44
     
    88
    99div.sp-testimonial-free-section .slick-list {
    10     margin-right: -24px;
     10    margin-right: -24px;
    1111}
    1212
    1313div.sp-testimonial-free-section.slick-initialized {
    14     display: block;
     14    display: block;
    1515}
    1616
    1717.sp-testimonial-free-section .sp-testimonial-item:focus,
    1818.sp-testimonial-free-section .slick-dots li.slick-active button:focus {
    19     outline: none;
     19    outline: none;
    2020}
    2121
    2222.sp-testimonial-free-section .sp-testimonial-item {
    23     text-align: center;
    24     padding-right: 24px;
    25     will-change: transform;
     23    text-align: center;
     24    padding-right: 24px;
     25    will-change: transform;
    2626}
    2727
    2828#poststuff .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title,
    2929.sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title {
    30     margin: 0;
    31     padding: 0;
    32     margin-bottom: 50px;
    33     font-size: 25px;
    34     line-height: 22px;
    35     font-weight: 600;
    36     font-style: normal;
    37     text-align: center;
     30    margin: 0;
     31    padding: 0;
     32    margin-bottom: 50px;
     33    font-size: 25px;
     34    line-height: 22px;
     35    font-weight: 600;
     36    font-style: normal;
     37    text-align: center;
    3838}
    3939
    4040.sp-testimonial-free-section .sp-testimonial-title {
    41     margin: 0px 0px 18px 0px;
     41    margin: 0px 0px 18px 0px;
    4242}
    4343
    4444.sp-testimonial-free-section .sp-testimonial-title h3 {
    45     font-size: 20px;
    46     line-height: 30px;
    47     text-transform: none;
    48     text-align: center;
    49     letter-spacing: normal;
    50     font-weight: 600;
    51     font-style: normal;
    52     padding: 0;
    53     margin: 0;
     45    font-size: 20px;
     46    line-height: 30px;
     47    text-transform: none;
     48    text-align: center;
     49    letter-spacing: normal;
     50    font-weight: 600;
     51    font-style: normal;
     52    padding: 0;
     53    margin: 0;
    5454}
    5555
    5656.sp-testimonial-free-section .sp-testimonial-client-testimonial p,
    5757.sp-testimonial-free-section .sp-testimonial-client-testimonial {
    58     font-size: 16px;
    59     line-height: 26px;
    60     text-transform: none;
    61     text-align: center;
    62     letter-spacing: normal;
    63     font-weight: 400;
    64     font-style: normal;
    65     margin: 0px 0px 20px 0px;
     58    font-size: 16px;
     59    line-height: 26px;
     60    text-transform: none;
     61    text-align: center;
     62    letter-spacing: normal;
     63    font-weight: 400;
     64    font-style: normal;
     65    margin: 0px 0px 20px 0px;
    6666}
    6767
    6868#sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial {
    69     margin: 0px 20px 20px 0px;
     69    margin: 0px 20px 20px 0px;
    7070}
    7171
    7272.sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content {
    73     display: inline;
    74     margin: 0;
    75     padding: 0;
     73    display: inline;
     74    margin: 0;
     75    padding: 0;
    7676}
    7777
    7878.sp-testimonial-free-section .sp-testimonial-client-name {
    79     font-size: 16px;
    80     line-height: 24px;
    81     text-transform: none;
    82     text-align: center;
    83     letter-spacing: normal;
    84     font-weight: 700;
    85     font-style: normal;
    86     margin: 0px 0px 8px 0px;
    87     padding: 0;
     79    font-size: 16px;
     80    line-height: 24px;
     81    text-transform: none;
     82    text-align: center;
     83    letter-spacing: normal;
     84    font-weight: 700;
     85    font-style: normal;
     86    margin: 0px 0px 8px 0px;
     87    padding: 0;
    8888}
    8989
    9090.sp-testimonial-free-section .sp-testimonial-client-rating {
    91     margin: 0px 0px 6px 0px;
    92     text-align: center;
    93     line-height: 1;
     91    margin: 0px 0px 6px 0px;
     92    text-align: center;
     93    line-height: 1;
    9494}
    9595
    9696.sp-testimonial-free-section .sp-testimonial-client-rating i.fa {
    97     font-size: 19px;
    98     margin-right: -1px;
     97    font-size: 19px;
     98    margin-right: -1px;
    9999}
    100100
    101101.sp-testimonial-free-section .sp-testimonial-client-designation {
    102     font-size: 16px;
    103     line-height: 24px;
    104     text-transform: none;
    105     text-align: center;
    106     letter-spacing: normal;
    107     font-weight: 400;
    108     font-style: normal;
     102    font-size: 16px;
     103    line-height: 24px;
     104    text-transform: none;
     105    text-align: center;
     106    letter-spacing: normal;
     107    font-weight: 400;
     108    font-style: normal;
    109109}
    110110
    111111/* Image */
    112112.sp-testimonial-free-section .sp-testimonial-client-image {
    113     margin: 0px 0px 22px 0px;
     113    margin: 0px 0px 22px 0px;
    114114}
    115115
    116116.sp-testimonial-free-section .sp-testimonial-client-image img {
    117     display: inline-block;
    118     -webkit-border-radius: 50%;
    119     -moz-border-radius: 50%;
    120     border-radius: 50%;
    121     max-width: 100%;
    122     height: auto;
     117    display: inline-block;
     118    -webkit-border-radius: 50%;
     119    -moz-border-radius: 50%;
     120    border-radius: 50%;
     121    max-width: 100%;
     122    height: auto;
    123123}
    124124
    125125.theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img {
    126     width: auto !important;
     126    width: auto !important;
    127127}
    128128
    129129/* Dots */
    130130.sp-testimonial-free-section .slick-dots {
    131     margin: 0;
    132     margin-top: 20px;
    133     padding: 0;
    134     list-style: none;
    135     text-align: center;
     131    margin: 0;
     132    margin-top: 20px;
     133    padding: 0;
     134    list-style: none;
     135    text-align: center;
    136136}
    137137
    138138.sp-testimonial-free-section .slick-dots li {
    139     display: inline-block;
    140     border: 0;
    141     padding: 0;
    142     width: 13px;
    143     height: 13px;
    144     margin: 3px;
    145     overflow: hidden;
     139    display: inline-block;
     140    border: 0;
     141    padding: 0;
     142    width: 13px;
     143    height: 13px;
     144    margin: 3px;
     145    overflow: hidden;
    146146}
    147147
    148148.sp-testimonial-free-section .slick-dots li button {
    149     border-radius: 50%;
    150     text-indent: -999px;
    151     width: 13px;
    152     height: 13px;
    153     padding: 0;
    154     border: 0;
    155     display: block;
     149    border-radius: 50%;
     150    text-indent: -999px;
     151    width: 13px;
     152    height: 13px;
     153    padding: 0;
     154    border: 0;
     155    display: block;
    156156}
    157157
    158158.sp-testimonial-free-section .slick-dots li button:focus {
    159     outline-offset: unset;
    160     outline: none;
     159    outline-offset: unset;
     160    outline: none;
    161161}
    162162
     
    164164.sp-testimonial-free-section .slick-prev,
    165165.sp-testimonial-free-section .slick-next {
    166     top: 50%;
    167     font-size: 20px;
    168     line-height: 32px;
    169     display: block;
    170     width: 32px;
    171     padding: 0;
    172     cursor: pointer;
    173     outline: none;
    174     position: absolute;
    175     text-align: center;
    176     z-index: 22;
    177     -webkit-transition: all 0.3s ease;
    178     -moz-transition: all 0.3s ease;
    179     transition: all 0.3s ease;
    180     transform: translateY(-50px);
     166    top: 50%;
     167    font-size: 20px;
     168    line-height: 32px;
     169    display: block;
     170    width: 32px;
     171    padding: 0;
     172    cursor: pointer;
     173    outline: none;
     174    position: absolute;
     175    text-align: center;
     176    z-index: 22;
     177    -webkit-transition: all 0.3s ease;
     178    -moz-transition: all 0.3s ease;
     179    transition: all 0.3s ease;
     180    transform: translateY(-50px);
    181181}
    182182
    183183.sp-testimonial-free-section .slick-prev {
    184     left: 0;
     184    left: 0;
    185185}
    186186
    187187.sp-testimonial-free-section .slick-next {
    188     right: 0;
     188    right: 0;
    189189}
    190190
    191191/* Preloader */
    192192.sp-testimonial-free-wrapper {
    193     position: relative;
    194     overflow: hidden;
     193    position: relative;
     194    overflow: hidden;
    195195}
    196196
    197197.sp-testimonial-preloader {
    198     background-color: #fff;
    199     background-repeat: no-repeat;
    200     background-position: center center;
    201     position: absolute;
    202     z-index: 90;
    203     width: 100%;
    204     height: 100%;
    205     text-align: center;
    206     top: 0;
    207     left: 0;
    208     right: 0;
    209     border: 0;
     198    background-color: #fff;
     199    background-repeat: no-repeat;
     200    background-position: center center;
     201    position: absolute;
     202    z-index: 90;
     203    width: 100%;
     204    height: 100%;
     205    text-align: center;
     206    top: 0;
     207    left: 0;
     208    right: 0;
     209    border: 0;
    210210}
    211211
    212212.sp-testimonial-preloader img {
    213     position: relative;
    214     top: 50%;
    215     display: inline-block;
    216     margin-top: -16px;
    217 }
     213    position: relative;
     214    top: 50%;
     215    display: inline-block;
     216    margin-top: -16px;
     217}
     218
     219.sp-testimonial-free-section:not(.slick-initialized) {
     220    display: flex;
     221    margin: 0 50px;
     222    padding: unset !important;
     223    overflow: hidden;
     224}
     225
     226.sp-testimonial-free-section:not(.slick-initialized)>.sp-testimonial-item {
     227    min-width: 100%;
     228    width: 100%;
     229    padding: 0;
     230}
     231
     232.sp-testimonial-item {
     233    direction: ltr;
     234}
     235
     236html[dir='rtl'] .sp-testimonial-item {
     237    direction: rtl;
     238}
  • testimonial-free/trunk/src/Frontend/assets/css/style.min.css

    r2725053 r2742323  
    1 .sp-testimonial-free-section *{box-sizing:border-box}div.sp-testimonial-free-section .slick-list{margin-right:-24px}div.sp-testimonial-free-section.slick-initialized{display:block}.sp-testimonial-free-section .slick-dots li.slick-active button:focus,.sp-testimonial-free-section .sp-testimonial-item:focus{outline:0}.sp-testimonial-free-section .sp-testimonial-item{text-align:center;padding-right:24px;will-change:transform}#poststuff .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title,.sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title{margin:0;padding:0;margin-bottom:50px;font-size:25px;line-height:22px;font-weight:600;font-style:normal;text-align:center}.sp-testimonial-free-section .sp-testimonial-title{margin:0 0 18px 0}.sp-testimonial-free-section .sp-testimonial-title h3{font-size:20px;line-height:30px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:600;font-style:normal;padding:0;margin:0}.sp-testimonial-free-section .sp-testimonial-client-testimonial,.sp-testimonial-free-section .sp-testimonial-client-testimonial p{font-size:16px;line-height:26px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal;margin:0 0 20px 0}#sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial{margin:0 20px 20px 0}.sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content{display:inline;margin:0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-name{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:700;font-style:normal;margin:0 0 8px 0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-rating{margin:0 0 6px 0;text-align:center;line-height:1}.sp-testimonial-free-section .sp-testimonial-client-rating i.fa{font-size:19px;margin-right:-1px}.sp-testimonial-free-section .sp-testimonial-client-designation{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal}.sp-testimonial-free-section .sp-testimonial-client-image{margin:0 0 22px 0}.sp-testimonial-free-section .sp-testimonial-client-image img{display:inline-block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;max-width:100%;height:auto}.theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img{width:auto!important}.sp-testimonial-free-section .slick-dots{margin:0;margin-top:20px;padding:0;list-style:none;text-align:center}.sp-testimonial-free-section .slick-dots li{display:inline-block;border:0;padding:0;width:13px;height:13px;margin:3px;overflow:hidden}.sp-testimonial-free-section .slick-dots li button{border-radius:50%;text-indent:-999px;width:13px;height:13px;padding:0;border:0;display:block}.sp-testimonial-free-section .slick-dots li button:focus{outline-offset:unset;outline:0}.sp-testimonial-free-section .slick-next,.sp-testimonial-free-section .slick-prev{top:50%;font-size:20px;line-height:32px;display:block;width:32px;padding:0;cursor:pointer;outline:0;position:absolute;text-align:center;z-index:22;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease;transform:translateY(-50px)}.sp-testimonial-free-section .slick-prev{left:0}.sp-testimonial-free-section .slick-next{right:0}.sp-testimonial-free-wrapper{position:relative;overflow:hidden}.sp-testimonial-preloader{background-color:#fff;background-repeat:no-repeat;background-position:center center;position:absolute;z-index:90;width:100%;height:100%;text-align:center;top:0;left:0;right:0;border:0}.sp-testimonial-preloader img{position:relative;top:50%;display:inline-block;margin-top:-16px}
     1.sp-testimonial-free-section *{box-sizing:border-box}div.sp-testimonial-free-section .slick-list{margin-right:-24px}div.sp-testimonial-free-section.slick-initialized{display:block}.sp-testimonial-free-section .slick-dots li.slick-active button:focus,.sp-testimonial-free-section .sp-testimonial-item:focus{outline:0}.sp-testimonial-free-section .sp-testimonial-item{text-align:center;padding-right:24px;will-change:transform}#poststuff .sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title,.sp-testimonial-free-wrapper h2.sp-testimonial-free-section-title{margin:0;padding:0;margin-bottom:50px;font-size:25px;line-height:22px;font-weight:600;font-style:normal;text-align:center}.sp-testimonial-free-section .sp-testimonial-title{margin:0 0 18px 0}.sp-testimonial-free-section .sp-testimonial-title h3{font-size:20px;line-height:30px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:600;font-style:normal;padding:0;margin:0}.sp-testimonial-free-section .sp-testimonial-client-testimonial,.sp-testimonial-free-section .sp-testimonial-client-testimonial p{font-size:16px;line-height:26px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal;margin:0 0 20px 0}#sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial{margin:0 20px 20px 0}.sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content{display:inline;margin:0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-name{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:700;font-style:normal;margin:0 0 8px 0;padding:0}.sp-testimonial-free-section .sp-testimonial-client-rating{margin:0 0 6px 0;text-align:center;line-height:1}.sp-testimonial-free-section .sp-testimonial-client-rating i.fa{font-size:19px;margin-right:-1px}.sp-testimonial-free-section .sp-testimonial-client-designation{font-size:16px;line-height:24px;text-transform:none;text-align:center;letter-spacing:normal;font-weight:400;font-style:normal}.sp-testimonial-free-section .sp-testimonial-client-image{margin:0 0 22px 0}.sp-testimonial-free-section .sp-testimonial-client-image img{display:inline-block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;max-width:100%;height:auto}.theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img{width:auto!important}.sp-testimonial-free-section .slick-dots{margin:0;margin-top:20px;padding:0;list-style:none;text-align:center}.sp-testimonial-free-section .slick-dots li{display:inline-block;border:0;padding:0;width:13px;height:13px;margin:3px;overflow:hidden}.sp-testimonial-free-section .slick-dots li button{border-radius:50%;text-indent:-999px;width:13px;height:13px;padding:0;border:0;display:block}.sp-testimonial-free-section .slick-dots li button:focus{outline-offset:unset;outline:0}.sp-testimonial-free-section .slick-next,.sp-testimonial-free-section .slick-prev{top:50%;font-size:20px;line-height:32px;display:block;width:32px;padding:0;cursor:pointer;outline:0;position:absolute;text-align:center;z-index:22;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;transition:all .3s ease;transform:translateY(-50px)}.sp-testimonial-free-section .slick-prev{left:0}.sp-testimonial-free-section .slick-next{right:0}.sp-testimonial-free-wrapper{position:relative;overflow:hidden}.sp-testimonial-preloader{background-color:#fff;background-repeat:no-repeat;background-position:center center;position:absolute;z-index:90;width:100%;height:100%;text-align:center;top:0;left:0;right:0;border:0}.sp-testimonial-preloader img{position:relative;top:50%;display:inline-block;margin-top:-16px}.sp-testimonial-free-section:not(.slick-initialized){display:flex;margin:0 50px;padding:unset!important;overflow:hidden}.sp-testimonial-free-section:not(.slick-initialized)>.sp-testimonial-item{min-width:100%;width:100%;padding:0}.sp-testimonial-item{direction:ltr}html[dir=rtl] .sp-testimonial-item{direction:rtl}
  • testimonial-free/trunk/src/Includes/TFREE_Functions.php

    r2678463 r2742323  
    122122            );
    123123
    124             $raw = wp_remote_retrieve_body( wp_remote_get( 'http://wptally.com/api/' . $username, $params ) );
     124            $raw = wp_remote_retrieve_body( wp_remote_get( 'https://wptally.com/api/' . $username, $params ) );
    125125            $raw = json_decode( $raw, true );
    126126
    127             if ( array_key_exists( 'error', $raw ) ) {
     127            if ( is_array( $raw ) && array_key_exists( 'error', $raw ) ) {
    128128                $data = array(
    129129                    'error' => $raw['error'],
     
    183183                        <h3 class="sp_testimonial-font-24">
    184184                        <?php
    185                         $plugin_data  = $this->happy_users();
    186                         $plugin_names = array_values( $plugin_data['plugins'] );
    187 
    188                         $active_installations = array_column( $plugin_names, 'installs', 'url' );
    189                         echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] ) . '+';
     185                        $plugin_data = $this->happy_users();
     186                        if ( isset( $plugin_data['plugins'] ) ) {
     187                            $plugin_names = array_values( $plugin_data['plugins'] );
     188
     189                            $active_installations = array_column( $plugin_names, 'installs', 'url' );
     190                            echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] ) . '+';
     191                        } else {
     192                            echo '40000+';
     193                        }
     194
    190195                        ?>
    191196                        </h3>
     
    195200                        <h3 class="sp_testimonial-font-24">
    196201                        <?php
    197                         $active_installations = array_column( $plugin_names, 'downloads', 'url' );
    198                         echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] );
     202                        if ( isset( $plugin_data['plugins'] ) ) {
     203                            $plugin_downloads = array_column( $plugin_names, 'downloads', 'url' );
     204                            echo esc_attr( $plugin_downloads['http://wordpress.org/plugins/testimonial-free'] );
     205                        } else {
     206                            echo '540500';
     207                        }
     208
    199209                        ?>
    200210                        </h3>
     
    204214                        <h3 class="sp_testimonial-font-24">
    205215                        <?php
    206                         $active_installations = array_column( $plugin_names, 'rating', 'url' );
    207                         echo esc_attr( $active_installations['http://wordpress.org/plugins/testimonial-free'] ) . '/5';
     216                        if ( isset( $plugin_data['plugins'] ) ) {
     217                            $plugin_rating = array_column( $plugin_names, 'rating', 'url' );
     218                            echo esc_attr( $plugin_rating['http://wordpress.org/plugins/testimonial-free'] ) . '/5';
     219                        } else {
     220                            echo '4.6/5';
     221                        }
     222
    208223                        ?>
    209224                        </h3>
     
    404419                            <?php
    405420                            $install = 0;
    406                             foreach ( $plugin_names as &$plugin_name ) {
    407                                 $install += $plugin_name['installs'];
     421                            if ( isset( $plugin_data['plugins'] ) ) {
     422                                foreach ( $plugin_names as &$plugin_name ) {
     423                                    $install += $plugin_name['installs'];
     424                                }
     425                                echo esc_attr( $install + '15000' ) . '+';
     426                            } else {
     427                                echo '243000+';
    408428                            }
    409                             echo esc_attr( $install + '15000' ) . '+';
     429
    410430                            ?>
    411431                            Happys Users in 160+ Countries </h2>
  • testimonial-free/trunk/testimonial-free.php

    r2725053 r2742323  
    1313 * Plugin URI:      https://shapedplugin.com/real-testimonials/?ref=1
    1414 * Description:     Most Customizable and Powerful Testimonials Showcase Plugin for WordPress that allows you to manage and display Testimonials or Reviews on any page or widget.
    15  * Version:         2.5.5
     15 * Version:         2.5.6
    1616 * Author:          ShapedPlugin
    1717 * Author URI:      https://shapedplugin.com/
     
    3838
    3939define( 'SP_TFREE_NAME', 'Real Testimonials' );
    40 define( 'SP_TFREE_VERSION', '2.5.5' );
     40define( 'SP_TFREE_VERSION', '2.5.6' );
    4141define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) . 'src/' );
    4242define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) . 'src/' );
Note: See TracChangeset for help on using the changeset viewer.