Version Description
- Feb 14, 2022 =
- New: The template modification feature added.
- New: Preloader image's alter tag added.
- Improved: Schema markup improved.
- Fix: Testimonial icon was not shown in the review notice.
- Fix: Testimonial importing issue.
- Fix: An undefined variable warning ($review) when Review Notice has been dismissed.
- Fix: Extra padding removed for the mobile view when the navigation 'hide in mobile' option is set.
- Fix: Large-sized image loading issue at 'All Testimonials' page.
Download this release
Release Info
Developer | shapedplugin |
Plugin | Real Testimonials |
Version | 2.5.0 |
Comparing to | |
See all releases |
Code changes from version 2.4.4 to 2.5.0
- admin/assets/css/admin.css +0 -655
- admin/assets/css/admin.min.css +0 -1
- admin/assets/images/chosen-sprite@2x.png +0 -0
- admin/views/framework/index.php +0 -1
- admin/views/mce-button.php +0 -190
- admin/views/scripts.php +0 -60
- class/router.php +0 -68
- class/shortcodes.php +0 -115
- includes/custom-css.php +0 -13
- includes/free/loader.php +0 -30
- languages/testimonial-free.pot +875 -885
- public/assets/css/style.min.css +0 -1
- public/assets/js/sp-slick-active.min.js +0 -1
- public/views/deprecated-shortcodes.php +0 -137
- public/views/schema.php +0 -81
- public/views/scripts.php +0 -101
- public/views/shortcoderender.php +0 -398
- public/views/templates/theme-one.php +0 -68
- readme.txt +11 -1
- class/testimonial.php → src/Admin/Admin.php +112 -34
- includes/class-testimonial-updates.php → src/Admin/DBUpdates.php +10 -14
- {admin/views/framework/classes → src/Admin/Views/Framework/Classes}/SPFTESTIMONIAL.php +8 -5
- {admin/views/framework/classes → src/Admin/Views/Framework/Classes}/abstract.class.php +2 -0
- {admin/views/framework/classes → src/Admin/Views/Framework/Classes}/fields.class.php +1 -0
- {admin/views/framework/classes → src/Admin/Views/Framework/Classes}/metabox.class.php +13 -10
- {admin/views/framework/classes → src/Admin/Views/Framework/Classes}/options.class.php +4 -2
- {admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial-rtl.css +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial-rtl.min.css +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial.css +9 -9
- {admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial.min.css +1 -1
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/1.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/10.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/2.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/3.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/4.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/5.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/6.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/7.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/8.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/9.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/checkerboard.png +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/copy.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/export-icon.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/file-export-icon1.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/file-import-icon1.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/image-shape/circle.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/image-shape/rounded.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/image-shape/square.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/import.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/filter-even.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/filter-masonry.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/filter.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/grid.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/list.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/masonry.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/slider.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/wp-logo.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/images/wp-plugin-logo.svg +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial-plugins.js +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial-plugins.min.js +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial.js +11 -11
- {admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial.min.js +1 -1
- admin/views/testimonial-form.php → src/Admin/Views/Framework/configs/form.php +2 -0
- admin/views/testimonial-metaboxs.php → src/Admin/Views/Framework/configs/metaboxs.php +70 -41
- admin/views/testimonial-settings.php → src/Admin/Views/Framework/configs/settings.php +2 -0
- admin/views/testimonial-tools.php → src/Admin/Views/Framework/configs/tools.php +2 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/accordion/accordion.php +3 -1
- {admin/views/framework → src/Admin/Views/Framework}/fields/border/border.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/button_set/button_set.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/checkbox/checkbox.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/code_editor/code_editor.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/color/color.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/color_group/color_group.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/column/column.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/content/content.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/custom_import/custom_import.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/custom_size/custom_size.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/fieldset/fieldset.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/form_upper_section/form_upper_section.php +9 -9
- {admin/views/framework → src/Admin/Views/Framework}/fields/heading/heading.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/icon_select/icon_select.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/image_select/image_select.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/image_sizes/image_sizes.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/index.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/notice/notice.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/preview/preview.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/radio/radio.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/rating/rating.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/repeater/repeater.php +3 -2
- {admin/views/framework → src/Admin/Views/Framework}/fields/select/select.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/select_f/select_f.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/shortcode/shortcode.php +1 -1
- {admin/views/framework → src/Admin/Views/Framework}/fields/sortable/sortable.php +4 -1
- {admin/views/framework → src/Admin/Views/Framework}/fields/sorter/sorter.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/spacing/spacing.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/spinner/spinner.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/subheading/subheading.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/submessage/submessage.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/switcher/switcher.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/text/text.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/fields/typography/typography.php +2 -0
- {admin/views/framework → src/Admin/Views/Framework}/functions/actions.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/functions/helpers.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/functions/sanitize.php +0 -0
- {admin/views/framework → src/Admin/Views/Framework}/functions/validate.php +0 -0
- admin/views/notices/review.php → src/Admin/Views/Notices/Testimonial_Review.php +11 -10
- admin/views/widget.php → src/Admin/Views/TFREE_Widget.php +3 -11
- src/Admin/assets/css/admin.css +757 -0
- src/Admin/assets/css/admin.min.css +1 -0
- {admin → src/Admin}/assets/css/help-page.css +0 -0
- {admin → src/Admin}/assets/css/help-page.min.css +0 -0
- {admin → src/Admin}/assets/css/modal-video.min.css +0 -0
- {admin → src/Admin}/assets/css/premium-page.css +0 -0
- {admin → src/Admin}/assets/css/premium-page.min.css +0 -0
- {admin → src/Admin}/assets/images/Testimonial-icon.svg +0 -0
- {admin → src/Admin}/assets/images/Testimonial-logo-2.svg +0 -0
- {admin → src/Admin}/assets/images/ali_senejani.png +0 -0
- {admin → src/Admin}/assets/images/checkmark.svg +0 -0
- {admin → src/Admin}/assets/images/copy.svg +0 -0
- {admin → src/Admin}/assets/images/feature-icon.png +0 -0
- {admin → src/Admin}/assets/images/header-img.svg +0 -0
- {admin → src/Admin}/assets/images/icon-256.png +0 -0
- {admin → src/Admin}/assets/images/icon-32.png +0 -0
- {admin → src/Admin}/assets/images/icon.svg +0 -0
- {admin → src/Admin}/assets/images/import-export.svg +0 -0
- {admin → src/Admin}/assets/images/premium/ajax-pagination.svg +0 -0
- {admin → src/Admin}/assets/images/premium/automatic-updates.svg +0 -0
- {admin → src/Admin}/assets/images/premium/display-options.svg +0 -0
- {admin → src/Admin}/assets/images/premium/drag-and-drop.svg +0 -0
- {admin → src/Admin}/assets/images/premium/feature-icon.png +0 -0
- {admin → src/Admin}/assets/images/premium/filter.svg +0 -0
- {admin → src/Admin}/assets/images/premium/layouts.svg +0 -0
- {admin → src/Admin}/assets/images/premium/premium-vector-1.svg +0 -0
- {admin → src/Admin}/assets/images/premium/premium-vector-2.svg +0 -0
- {admin → src/Admin}/assets/images/premium/premium-vector-3.svg +0 -0
- {admin → src/Admin}/assets/images/premium/read-more.svg +0 -0
- {admin → src/Admin}/assets/images/premium/rich-snippets.svg +0 -0
- {admin → src/Admin}/assets/images/premium/submission-forms.svg +0 -0
- {admin → src/Admin}/assets/images/premium/support.svg +0 -0
- {admin → src/Admin}/assets/images/premium/testimonial-form.svg +0 -0
- {admin → src/Admin}/assets/images/premium/themes.svg +0 -0
- {admin → src/Admin}/assets/images/premium/thumbnail-slider.svg +0 -0
- {admin → src/Admin}/assets/images/premium/translation-ready.svg +0 -0
- {admin → src/Admin}/assets/images/premium/video-testimonial.svg +0 -0
- {admin → src/Admin}/assets/images/real-testimonials-logo.svg +0 -0
- {admin → src/Admin}/assets/images/sirpa.png +0 -0
- {admin → src/Admin}/assets/images/star.png +0 -0
- {admin → src/Admin}/assets/images/testimonial-icon1.svg +0 -0
- {admin → src/Admin}/assets/images/testimonial-logo.png +0 -0
- {admin → src/Admin}/assets/images/testimonial-logo.svg +0 -0
- {admin → src/Admin}/assets/js/icon-32.png +0 -0
- {admin → src/Admin}/assets/js/jquery-modal-video.min.js +0 -0
- {admin → src/Admin}/assets/js/mce-button.js +0 -0
- {admin → src/Admin}/assets/js/mce-button.min.js +0 -0
- {admin → src/Admin}/assets/js/script.js +0 -0
- {admin → src/Admin}/assets/js/script.min.js +0 -0
- {includes → src/Admin}/updates/update-2.1.5.php +0 -0
- {includes → src/Admin}/updates/update-2.2.10.php +0 -0
- {includes → src/Admin}/updates/update-2.2.5.php +0 -0
- src/Frontend/Frontend.php +152 -0
- src/Frontend/Helper.php +326 -0
- src/Frontend/Views/Deprecated_Shortcodes.php +152 -0
- src/Frontend/Views/partials/dynamic-style.php +97 -0
- src/Frontend/Views/templates/preloader.php +17 -0
- src/Frontend/Views/templates/section-title.php +12 -0
- src/Frontend/Views/templates/slider.php +24 -0
- src/Frontend/Views/templates/testimonial/client-name.php +18 -0
- src/Frontend/Views/templates/testimonial/content.php +20 -0
- src/Frontend/Views/templates/testimonial/designation.php +18 -0
- src/Frontend/Views/templates/testimonial/rating.php +40 -0
- src/Frontend/Views/templates/testimonial/thumbnail.php +20 -0
- src/Frontend/Views/templates/testimonial/title.php +19 -0
- src/Frontend/Views/templates/theme/theme-one.php +35 -0
- {public → src/Frontend}/assets/css/deprecated-style.css +0 -0
- {public → src/Frontend}/assets/css/deprecated-style.min.css +0 -0
- {public → src/Frontend}/assets/css/font-awesome.min.css +0 -0
- {public → src/Frontend}/assets/css/slick.css +0 -0
- src/Frontend/assets/css/slick.min.css +1 -0
- {public → src/Frontend}/assets/css/style.css +20 -17
- src/Frontend/assets/css/style.min.css +1 -0
- {public → src/Frontend}/assets/fonts/FontAwesome.otf +0 -0
- {public → src/Frontend}/assets/fonts/fontawesome-webfont.eot +0 -0
- {public → src/Frontend}/assets/fonts/fontawesome-webfont.svg +0 -0
- {public → src/Frontend}/assets/fonts/fontawesome-webfont.ttf +0 -0
- {public → src/Frontend}/assets/fonts/fontawesome-webfont.woff +0 -0
- {public → src/Frontend}/assets/fonts/fontawesome-webfont.woff2 +0 -0
- {public → src/Frontend}/assets/img/preloader.gif +0 -0
- {public → src/Frontend}/assets/js/slick.js +0 -0
- {public → src/Frontend}/assets/js/slick.min.js +0 -0
- {public → src/Frontend}/assets/js/sp-slick-active.js +1 -1
- src/Frontend/assets/js/sp-slick-active.min.js +1 -0
- includes/class-testimonial-import-export.php → src/Includes/Import_Export.php +22 -16
- includes/functions.php → src/Includes/TFREE_Functions.php +53 -82
- src/Includes/TestimonialFree.php +373 -0
- testimonial-free.php +16 -397
- vendor/autoload.php +7 -0
- vendor/composer/ClassLoader.php +479 -0
- vendor/composer/InstalledVersions.php +283 -0
- vendor/composer/LICENSE +21 -0
- vendor/composer/autoload_classmap.php +10 -0
- vendor/composer/autoload_namespaces.php +9 -0
- vendor/composer/autoload_psr4.php +10 -0
- vendor/composer/autoload_real.php +55 -0
- vendor/composer/autoload_static.php +36 -0
- vendor/composer/installed.json +5 -0
- vendor/composer/installed.php +24 -0
admin/assets/css/admin.css
DELETED
@@ -1,655 +0,0 @@
|
|
1 |
-
.text-center{
|
2 |
-
text-align: center;
|
3 |
-
}
|
4 |
-
|
5 |
-
/**
|
6 |
-
* 01. 01. Header
|
7 |
-
*/
|
8 |
-
.spt-main-class .spftestimonial-header-inner h1 {
|
9 |
-
color: #444444;
|
10 |
-
font-size: 22px;
|
11 |
-
font-weight: 600;
|
12 |
-
}
|
13 |
-
|
14 |
-
/**
|
15 |
-
* 01. 02. Sticky
|
16 |
-
*/
|
17 |
-
.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner {
|
18 |
-
z-index: 20;
|
19 |
-
}
|
20 |
-
|
21 |
-
/**
|
22 |
-
* 01. 04. Navigation
|
23 |
-
*/
|
24 |
-
|
25 |
-
.spt-main-class .spftestimonial-metabox .spftestimonial-nav {
|
26 |
-
position: inherit;
|
27 |
-
float: none;
|
28 |
-
width: 100%;
|
29 |
-
background: #f1f1f1;
|
30 |
-
}
|
31 |
-
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li {
|
32 |
-
display: inline-block;
|
33 |
-
}
|
34 |
-
.spt-main-class .spftestimonial-nav ul li a {
|
35 |
-
text-transform: uppercase;
|
36 |
-
font-weight: 600;
|
37 |
-
}
|
38 |
-
|
39 |
-
/**
|
40 |
-
* 01. 06. Content
|
41 |
-
*/
|
42 |
-
.spt-main-class .spftestimonial-metabox .spftestimonial-content {
|
43 |
-
margin-left: 0;
|
44 |
-
}
|
45 |
-
|
46 |
-
/**
|
47 |
-
* 01. 12. Metabox
|
48 |
-
*/
|
49 |
-
.spt-main-class .spftestimonial-metabox {
|
50 |
-
margin: -6px -12px -12px -12px;
|
51 |
-
}
|
52 |
-
|
53 |
-
/**
|
54 |
-
* 02. Themes
|
55 |
-
*/
|
56 |
-
/**
|
57 |
-
* 02. 01. Theme Dark
|
58 |
-
*/
|
59 |
-
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a {
|
60 |
-
background-color: #1595ce;
|
61 |
-
font-size: 14px;
|
62 |
-
padding: 15px 15px;
|
63 |
-
line-height: 1.4;
|
64 |
-
color: #ffffff;
|
65 |
-
border-right: 1px solid #E2E2E1;
|
66 |
-
font-weight: 600;
|
67 |
-
border-bottom: 0;
|
68 |
-
}
|
69 |
-
#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a {
|
70 |
-
font-size: 13px;
|
71 |
-
text-transform: uppercase;
|
72 |
-
padding: 16px 15px;
|
73 |
-
}
|
74 |
-
.spt-main-class .spftestimonial-nav ul li .spftestimonial-active:after {
|
75 |
-
display: none;
|
76 |
-
}
|
77 |
-
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active {
|
78 |
-
color: #444;
|
79 |
-
background-color: #fff;
|
80 |
-
box-shadow: 0 3px 0 0 #1595ce inset;
|
81 |
-
}
|
82 |
-
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active .fa {
|
83 |
-
color: #1595ce;
|
84 |
-
}
|
85 |
-
.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background {
|
86 |
-
display: none;
|
87 |
-
}
|
88 |
-
|
89 |
-
|
90 |
-
/**
|
91 |
-
* 02. 02. Theme Light
|
92 |
-
*/
|
93 |
-
.spt-main-class.spftestimonial-theme-light .spftestimonial-container {
|
94 |
-
border: 1px solid #ccd0d4;
|
95 |
-
}
|
96 |
-
.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner {
|
97 |
-
border-bottom: 1px solid #ccd0d4;
|
98 |
-
}
|
99 |
-
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a {
|
100 |
-
color: #464646;
|
101 |
-
background-color: #f5f5f5;
|
102 |
-
border-top: 0;
|
103 |
-
border-right: 0;
|
104 |
-
border-bottom: 1px solid #ccd0d4 !important;
|
105 |
-
margin-bottom: 0;
|
106 |
-
padding: 15px 15px;
|
107 |
-
}
|
108 |
-
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active {
|
109 |
-
box-shadow: 3px 0 0 0 #1595ce inset;
|
110 |
-
background-color: #ffffff;
|
111 |
-
color: #1595ce;
|
112 |
-
}
|
113 |
-
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a {
|
114 |
-
background-color: #f8fdff;
|
115 |
-
padding: 13px 15px 13px 24px;
|
116 |
-
}
|
117 |
-
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background {
|
118 |
-
border-right: 1px solid #ccd0d4;
|
119 |
-
}
|
120 |
-
|
121 |
-
/**
|
122 |
-
* 08. Helper
|
123 |
-
*/
|
124 |
-
.spt-main-class .spftestimonial-desc-text,
|
125 |
-
.spt-main-class .spftestimonial-text-subtitle {
|
126 |
-
font-style: italic;
|
127 |
-
}
|
128 |
-
/*ShortCode Area*/
|
129 |
-
.spftestimonial-metabox .sp-tpro-banner {
|
130 |
-
background-color:#0a73a7;
|
131 |
-
padding: 22px 28px;
|
132 |
-
overflow: hidden;
|
133 |
-
background-image: -webkit-gradient(linear,left top,right top,from(#0a73a7),to(#1595ce));
|
134 |
-
background-image: linear-gradient(to right, #0a73a7,#1595ce);
|
135 |
-
}
|
136 |
-
.spftestimonial-metabox .sp-tpro-logo{
|
137 |
-
float: left;
|
138 |
-
}
|
139 |
-
.spftestimonial-metabox .sp-tpro-logo img{
|
140 |
-
display: block;
|
141 |
-
width: 182px;
|
142 |
-
}
|
143 |
-
.spftestimonial-metabox .sp-tpro-short-links{
|
144 |
-
float: right;
|
145 |
-
line-height: 30px;
|
146 |
-
}
|
147 |
-
.spftestimonial-metabox .sp-tpro-short-links a{
|
148 |
-
color: #ffffff;
|
149 |
-
text-decoration: none;
|
150 |
-
margin-left: 16px;
|
151 |
-
font-size: 15px;
|
152 |
-
font-weight: 600;
|
153 |
-
}
|
154 |
-
.spftestimonial-metabox .sp-tpro-short-links a i.fa{
|
155 |
-
margin-right: 7px;
|
156 |
-
}
|
157 |
-
.sp-testimonial-shortcode-divider {
|
158 |
-
height: 20px;
|
159 |
-
background: #f1f1f1;
|
160 |
-
border-top: 1px solid #dddddd;
|
161 |
-
}
|
162 |
-
.spftestimonial-metabox .tpro_shortcode{
|
163 |
-
display: inline-flex;
|
164 |
-
width:100%;
|
165 |
-
background-color: #fffdfd;
|
166 |
-
}
|
167 |
-
.tpro_shortcode .tpro-col-lg-6 {
|
168 |
-
border-right: 1px solid #dddddd;
|
169 |
-
width: 50%;
|
170 |
-
}
|
171 |
-
.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content{
|
172 |
-
padding: 42px 16px;
|
173 |
-
}
|
174 |
-
.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content{
|
175 |
-
padding: 42px 16px 0 16px;
|
176 |
-
}
|
177 |
-
.shortcode.column-shortcode .sp_tfree_input {
|
178 |
-
border: 1px solid #cbcbcb;
|
179 |
-
cursor: pointer;
|
180 |
-
}
|
181 |
-
.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code{
|
182 |
-
background-color: rgba(82,179,217,.11);
|
183 |
-
padding: 10px 15px 10px 30px;
|
184 |
-
display: inline-block;
|
185 |
-
border: 1px solid #d1e4ef;
|
186 |
-
border-radius: 2px;
|
187 |
-
cursor: pointer;
|
188 |
-
background-image: url(../images/copy.svg);
|
189 |
-
background-size: 16px;
|
190 |
-
background-position: 10px center;
|
191 |
-
background-repeat: no-repeat;
|
192 |
-
}
|
193 |
-
.tpro_shortcode .tpro-col-lg-6:last-child {
|
194 |
-
border-right: none;
|
195 |
-
}
|
196 |
-
.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title {
|
197 |
-
font-weight: 500;
|
198 |
-
font-size: 17px !important;
|
199 |
-
padding-top: 0 !important;
|
200 |
-
color: #4c5158;
|
201 |
-
}
|
202 |
-
.tpro_shortcode .tpro-col-lg-6 p {
|
203 |
-
margin-top: 2px;
|
204 |
-
color: #4c5158;
|
205 |
-
}
|
206 |
-
.tpro_shortcode .tpro-col-lg-6 .back-image {
|
207 |
-
max-width: 100%;
|
208 |
-
display: block;
|
209 |
-
margin: 0 auto;
|
210 |
-
}
|
211 |
-
.tpro_shortcode .tpro-col-lg-6 textarea {
|
212 |
-
border-color: transparent;
|
213 |
-
box-shadow: none;
|
214 |
-
background-color: #eee;
|
215 |
-
padding: 4px 6px;
|
216 |
-
resize: none;
|
217 |
-
text-align: center;
|
218 |
-
max-width: 100%;
|
219 |
-
}
|
220 |
-
.post-type-spt_shortcodes td.shortcode.column-shortcode input {
|
221 |
-
border-width: 1px;
|
222 |
-
border-style: solid;
|
223 |
-
border-color: rgb(203, 203, 203);
|
224 |
-
cursor: pointer;
|
225 |
-
}
|
226 |
-
|
227 |
-
/* Responsive */
|
228 |
-
|
229 |
-
@media (max-width: 1200px) {
|
230 |
-
|
231 |
-
.spftestimonial-metabox .tpro_shortcode{
|
232 |
-
display: block;
|
233 |
-
}
|
234 |
-
.tpro_shortcode .tpro-col-lg-6{
|
235 |
-
width: 100%;
|
236 |
-
display: block;
|
237 |
-
border-bottom: 1px solid #ddd;
|
238 |
-
border-right: none;
|
239 |
-
}
|
240 |
-
.tpro_shortcode .tpro-col-lg-6:last-child {
|
241 |
-
padding-bottom: 42px;
|
242 |
-
}
|
243 |
-
}
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
/* Custom */
|
248 |
-
.sp-testimonial-shortcode {
|
249 |
-
background-color: rgba(82, 179, 217, 0.11);
|
250 |
-
padding: 8px 12px;
|
251 |
-
display: inline-block;
|
252 |
-
margin-left: 8px;
|
253 |
-
}
|
254 |
-
.selectable {
|
255 |
-
-webkit-touch-callout: all;
|
256 |
-
-webkit-user-select: all;
|
257 |
-
-khtml-user-select: all;
|
258 |
-
-moz-user-select: all;
|
259 |
-
-ms-user-select: all;
|
260 |
-
user-select: all;
|
261 |
-
}
|
262 |
-
.js #sp_tpro_meta_options.postbox .postbox-header,
|
263 |
-
.js #sp_tpro_shortcode_options.postbox .postbox-header,
|
264 |
-
.js #sp_tpro_shortcode_options.postbox .handlediv,
|
265 |
-
.js #sp_tpro_shortcode_options.postbox .hndle,
|
266 |
-
.js #sp_tpro_meta_options.postbox .handlediv, .js #sp_tpro_meta_options.postbox .hndle {
|
267 |
-
display: none;
|
268 |
-
}
|
269 |
-
.sp-testimonial-font-load .spftestimonial--switcher,
|
270 |
-
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,
|
271 |
-
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,
|
272 |
-
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,
|
273 |
-
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top,
|
274 |
-
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,
|
275 |
-
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,
|
276 |
-
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,
|
277 |
-
.spftestimonial-field-typography .spftestimonial--block .chosen-container,
|
278 |
-
.sp-testimonial-font-color .wp-picker-container
|
279 |
-
{
|
280 |
-
pointer-events: none;
|
281 |
-
opacity: .6;
|
282 |
-
}
|
283 |
-
|
284 |
-
/* Help Page */
|
285 |
-
.sp-tfree-text-center{
|
286 |
-
text-align: center;
|
287 |
-
}
|
288 |
-
div.sp-tfree-help .wp-badge {
|
289 |
-
border: none;
|
290 |
-
background: url(../images/icon-256.png) right no-repeat;
|
291 |
-
background-size: 128px 128px;
|
292 |
-
box-shadow: none;
|
293 |
-
height: auto;
|
294 |
-
padding-top: 128px;
|
295 |
-
}
|
296 |
-
.about-wrap.sp-tfree-help [class$="-col"] {
|
297 |
-
display: flex;
|
298 |
-
justify-content: space-between;
|
299 |
-
flex-wrap: wrap;
|
300 |
-
}
|
301 |
-
.about-wrap [class$="-col"] {
|
302 |
-
display: flex;
|
303 |
-
justify-content: space-between;
|
304 |
-
flex-wrap: wrap;
|
305 |
-
}
|
306 |
-
.sp-tfree-help [class$="-col"] .col {
|
307 |
-
flex: 1;
|
308 |
-
align-self: flex-start;
|
309 |
-
}
|
310 |
-
.sp-tfree-help .col {
|
311 |
-
margin-top: 40px;
|
312 |
-
}
|
313 |
-
.sp-tfree-help.about-wrap [class$="-col"] .col+.col {
|
314 |
-
margin-left: 0;
|
315 |
-
}
|
316 |
-
.sp-tfree-help.about-wrap .help-section[class$="-col"] .col+.col {
|
317 |
-
margin-left: 20px;
|
318 |
-
}
|
319 |
-
div.sp-tfree-help .headline-feature.feature-video {
|
320 |
-
position: relative;
|
321 |
-
margin: 40px 0;
|
322 |
-
padding-bottom: 56.25%;
|
323 |
-
width: 100%;
|
324 |
-
max-width: 100%;
|
325 |
-
height: 0;
|
326 |
-
text-align: center;
|
327 |
-
}
|
328 |
-
div.sp-tfree-help .headline-feature.feature-video iframe{
|
329 |
-
position: absolute;
|
330 |
-
top: 0;
|
331 |
-
left: 0;
|
332 |
-
width: 100%;
|
333 |
-
height: 100%;
|
334 |
-
}
|
335 |
-
div.sp-tfree-help .feature-section .sp-tfree-feature{
|
336 |
-
background-color: #fff;
|
337 |
-
padding: 20px 20px;
|
338 |
-
border: 1px solid #ddd;
|
339 |
-
}
|
340 |
-
div.sp-tfree-help .feature-section .sp-tfree-feature h3{
|
341 |
-
font-size: 16px;
|
342 |
-
margin-top: 18px;
|
343 |
-
}
|
344 |
-
|
345 |
-
div.sp-tfree-help .feature-section i.sp-tfree-font-icon{
|
346 |
-
font-size: 30px;
|
347 |
-
display: block;
|
348 |
-
color: #1595ce;
|
349 |
-
}
|
350 |
-
div.sp-tfree-help .sp-tfree-pro-features .feature-section span.dashicons{
|
351 |
-
font-size: 22px;
|
352 |
-
color: #fff;
|
353 |
-
background-color: #1595ce;
|
354 |
-
width: 28px;
|
355 |
-
height: 28px;
|
356 |
-
line-height: 28px;
|
357 |
-
border-radius: 50%;
|
358 |
-
margin-right: 10px;
|
359 |
-
}
|
360 |
-
div.sp-tfree-help .sp-tfree-pro-features .feature-section{
|
361 |
-
margin-bottom: 40px;
|
362 |
-
margin-left: -2%;
|
363 |
-
}
|
364 |
-
div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{
|
365 |
-
margin-top:0;
|
366 |
-
}
|
367 |
-
div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature p{
|
368 |
-
margin-bottom:0;
|
369 |
-
}
|
370 |
-
div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature{
|
371 |
-
box-shadow: 0 0 10px 0 #dddddd;
|
372 |
-
margin: 4px;
|
373 |
-
border: 0 solid;
|
374 |
-
}
|
375 |
-
div.sp-tfree-help .sp-tfree-pro-features .feature-section.three-col .col{
|
376 |
-
min-width: 31.3%;
|
377 |
-
max-width: 31.3%;
|
378 |
-
margin-top: 20px;
|
379 |
-
padding-left: 2%;
|
380 |
-
}
|
381 |
-
div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{
|
382 |
-
font-size: 1.2em;
|
383 |
-
margin-bottom: 26px;
|
384 |
-
}
|
385 |
-
|
386 |
-
div.sp-tfree-help .sp-tfree-upgrade-sticky-footer{
|
387 |
-
position: fixed;
|
388 |
-
bottom: 0;
|
389 |
-
background: #fff;
|
390 |
-
width: calc(100% - 195px);
|
391 |
-
z-index: 9;
|
392 |
-
margin-left: -25px;
|
393 |
-
text-align: center;
|
394 |
-
border: 1px solid #dfdfdf;
|
395 |
-
padding: 15px 0;
|
396 |
-
border-bottom: none;
|
397 |
-
}
|
398 |
-
div.sp-tfree-help .sp-tfree-pro-features h2{
|
399 |
-
font-size: 2.5em;
|
400 |
-
font-weight: 400;
|
401 |
-
}
|
402 |
-
div.sp-tfree-help .sp-tfree-upgrade-sticky-footer h3{
|
403 |
-
margin-top: 17px;
|
404 |
-
margin-bottom: 20px;
|
405 |
-
}
|
406 |
-
|
407 |
-
div.sp-tfree-help .sp-tfree-upgrade-sticky-footer a.button{
|
408 |
-
margin: 0 8px;
|
409 |
-
}
|
410 |
-
|
411 |
-
/* Upgrade Page */
|
412 |
-
.sp-tfree-upgrade > h1 {
|
413 |
-
font-size: 2.5em;
|
414 |
-
color: #444;
|
415 |
-
font-weight: 300;
|
416 |
-
}
|
417 |
-
.sp-tfree-upgrade > h1 span {
|
418 |
-
font-weight: 400;
|
419 |
-
}
|
420 |
-
.sp-tfree-upgrade .about-text {
|
421 |
-
margin-bottom: 0;
|
422 |
-
}
|
423 |
-
.sp-tfree-upgrade ul {
|
424 |
-
margin-top: 0;
|
425 |
-
}
|
426 |
-
.about-wrap.sp-tfree-upgrade .about-text {
|
427 |
-
min-height: 60px;
|
428 |
-
}
|
429 |
-
.about-wrap.sp-tfree-upgrade hr {
|
430 |
-
order: 0;
|
431 |
-
height: 0;
|
432 |
-
margin: 0;
|
433 |
-
border-top: 1px solid rgba(0,0,0,.1);
|
434 |
-
}
|
435 |
-
|
436 |
-
.sp-tfree-upgrade .sp-tfree-pro-features .feature-section {
|
437 |
-
margin-bottom: 40px;
|
438 |
-
display: flex;
|
439 |
-
flex-wrap: wrap;
|
440 |
-
}
|
441 |
-
.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature h3 {
|
442 |
-
margin-top: 0;
|
443 |
-
}
|
444 |
-
.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature p {
|
445 |
-
margin-bottom: 0;
|
446 |
-
}
|
447 |
-
.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature {
|
448 |
-
box-shadow: 0 0 10px 0 #ddd;
|
449 |
-
margin: 4px;
|
450 |
-
border: 0 solid;
|
451 |
-
}
|
452 |
-
.sp-tfree-upgrade .sp-tfree-pro-features .feature-section.three-col .col {
|
453 |
-
min-width: 32%;
|
454 |
-
max-width: 32%;
|
455 |
-
margin-top: 20px;
|
456 |
-
display: flex;
|
457 |
-
align-self: auto;
|
458 |
-
}
|
459 |
-
.sp-tfree-upgrade .sp-tfree-pro-features .sp-tfree-pro-subtitle {
|
460 |
-
font-size: 1.2em;
|
461 |
-
margin-bottom: 26px;
|
462 |
-
}
|
463 |
-
.sp-tfree-upgrade .sp-tfree-pro-features h2,
|
464 |
-
.sp-tfree-upgrade .sp-tfree-promo-video-title {
|
465 |
-
font-size: 2.2em;
|
466 |
-
font-weight: 400;
|
467 |
-
}
|
468 |
-
.sp-tfree-join-community h2 {
|
469 |
-
font-size: 2em;
|
470 |
-
}
|
471 |
-
.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer h3 {
|
472 |
-
margin-top: 17px;
|
473 |
-
margin-bottom: 20px;
|
474 |
-
}
|
475 |
-
.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer a.button {
|
476 |
-
margin: 0 8px;
|
477 |
-
}
|
478 |
-
.sp-tfree-upgrade .tfree-upgrade-btn {
|
479 |
-
display: inline-block;
|
480 |
-
padding: 0 20px 0 0;
|
481 |
-
}
|
482 |
-
.sp-tfree-upgrade .tfree-upgrade-btn a,
|
483 |
-
.sp-tfree-upgrade a.tfree-upgrade-btn {
|
484 |
-
text-decoration: none;
|
485 |
-
text-align: center;
|
486 |
-
font-size: 16px;
|
487 |
-
}
|
488 |
-
.sp-tfree-upgrade .tfree-upgrade-btn a:focus {
|
489 |
-
outline: 0;
|
490 |
-
}
|
491 |
-
.sp-tfree-upgrade a.tfree-upgrade-btn,
|
492 |
-
.sp-tfree-upgrade ul li.tfree-upgrade-btn:first-child a {
|
493 |
-
background: #1595ce;
|
494 |
-
padding: 0 15px;
|
495 |
-
line-height: 46px;
|
496 |
-
display: block;
|
497 |
-
color: #fff;
|
498 |
-
border-radius: 3px;
|
499 |
-
font-weight: 500;
|
500 |
-
}
|
501 |
-
.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a {
|
502 |
-
text-decoration: underline;
|
503 |
-
}
|
504 |
-
.sp-tfree-upgrade ul li.tfree-upgrade-btn a i {
|
505 |
-
margin-left: 4px;
|
506 |
-
}
|
507 |
-
.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a i {
|
508 |
-
font-size: 14px;
|
509 |
-
}
|
510 |
-
.sp-tfree-upgrade a.tfree-upgrade-btn {
|
511 |
-
display: inline-block;
|
512 |
-
}
|
513 |
-
|
514 |
-
/* Review notice */
|
515 |
-
#sp-tfree-review-notice {
|
516 |
-
padding:15px 15px 15px 0;
|
517 |
-
background-color:#fff;
|
518 |
-
border-radius:3px;
|
519 |
-
margin:20px 20px 0 0;
|
520 |
-
margin-bottom: 20px;
|
521 |
-
}
|
522 |
-
#sp-tfree-review-notice .sp-tfree-plugin-icon {
|
523 |
-
float:left;
|
524 |
-
line-height:90px;
|
525 |
-
text-align:center;
|
526 |
-
width: 100px;
|
527 |
-
height: 100px;
|
528 |
-
margin-right: 15px;
|
529 |
-
}
|
530 |
-
#sp-tfree-review-notice .sp-tfree-plugin-icon img {
|
531 |
-
max-width:83px;
|
532 |
-
vertical-align:middle;
|
533 |
-
}
|
534 |
-
#sp-tfree-review-notice .sp-tfree-notice-text {
|
535 |
-
overflow:hidden;
|
536 |
-
}
|
537 |
-
#sp-tfree-review-notice .sp-tfree-notice-text h3 {
|
538 |
-
font-size:24px;
|
539 |
-
margin:0 0 5px;
|
540 |
-
font-weight:400;
|
541 |
-
line-height:1;
|
542 |
-
}
|
543 |
-
#sp-tfree-review-notice .sp-tfree-notice-text p {
|
544 |
-
margin:10px 0 10px 0;
|
545 |
-
font-size:13px;
|
546 |
-
}
|
547 |
-
#sp-tfree-review-notice .sp-tfree-notice-text p.sp-tfree-review-actions {
|
548 |
-
margin:10px 0 2px 0;
|
549 |
-
}
|
550 |
-
#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a {
|
551 |
-
text-decoration:none;
|
552 |
-
margin-right:8px;
|
553 |
-
color:#63a37b;
|
554 |
-
display:inline-block;
|
555 |
-
position:relative;
|
556 |
-
}
|
557 |
-
#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a span {
|
558 |
-
padding-right:2px;
|
559 |
-
}
|
560 |
-
#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a.button {
|
561 |
-
color:#fff;
|
562 |
-
}
|
563 |
-
|
564 |
-
/* Responsive CSS */
|
565 |
-
@media (max-width: 960px) {
|
566 |
-
div.sp-tfree-help .sp-tfree-upgrade-sticky-footer {
|
567 |
-
width: calc(100%);
|
568 |
-
}
|
569 |
-
}
|
570 |
-
@media screen and (max-width: 782px){
|
571 |
-
div.sp-tfree-help .three-col .col {
|
572 |
-
min-width: 48%!important;
|
573 |
-
max-width: 48%!important;
|
574 |
-
margin-left: 0!important;
|
575 |
-
}
|
576 |
-
}
|
577 |
-
@media (max-width: 500px) {
|
578 |
-
div.sp-tfree-help .wp-badge {
|
579 |
-
background-position-x: center;
|
580 |
-
}
|
581 |
-
div.sp-tfree-help .three-col .col {
|
582 |
-
min-width: 100%!important;
|
583 |
-
max-width: 100%!important;
|
584 |
-
margin-top: 1em;
|
585 |
-
}
|
586 |
-
}
|
587 |
-
/* Shortcode column border css */
|
588 |
-
.post-type-spt_shortcodes td.shortcode.column-shortcode input {
|
589 |
-
border: 1px solid #cbcbcb;
|
590 |
-
}
|
591 |
-
/* Shortcode */
|
592 |
-
.trpo-copy-btn {
|
593 |
-
display: inline-block;
|
594 |
-
height: 15px;
|
595 |
-
line-height: 38px;
|
596 |
-
margin-bottom: -4px;
|
597 |
-
margin-right: -30px;
|
598 |
-
cursor: pointer;
|
599 |
-
position: relative;
|
600 |
-
z-index: 99;
|
601 |
-
}
|
602 |
-
.sptpro-after-copy-text {
|
603 |
-
bottom: 0;
|
604 |
-
opacity: 0;
|
605 |
-
z-index: 9999999;
|
606 |
-
position: fixed;
|
607 |
-
width: 230px;
|
608 |
-
left: 180px;
|
609 |
-
text-align: center;
|
610 |
-
padding: 15px 15px;
|
611 |
-
line-height: 15px;
|
612 |
-
color: #fff;
|
613 |
-
border-radius: 3px;
|
614 |
-
background: #32373C;
|
615 |
-
border: 1px solid #32373C;
|
616 |
-
}
|
617 |
-
.sptpro-after-copy-text .fa-check-circle {
|
618 |
-
font-size: 14px;
|
619 |
-
margin-right: 2px;
|
620 |
-
color: #5db62e
|
621 |
-
}
|
622 |
-
|
623 |
-
/* Live preview */
|
624 |
-
.post-type-spt_shortcodes #sp_tpro-show-preview {
|
625 |
-
position: fixed;
|
626 |
-
right: 144px;
|
627 |
-
bottom: 30px;
|
628 |
-
z-index: 1001;
|
629 |
-
width: 155px;
|
630 |
-
text-align: center;
|
631 |
-
padding: 10px 0px;
|
632 |
-
background: #54b154;
|
633 |
-
color: #fff;
|
634 |
-
border-radius: 3px;
|
635 |
-
text-decoration: none;
|
636 |
-
display: block;
|
637 |
-
font-weight: 500;
|
638 |
-
text-transform: uppercase;
|
639 |
-
letter-spacing: 0.2px;
|
640 |
-
margin: 0;
|
641 |
-
box-sizing: border-box;
|
642 |
-
border-color: #44a944;
|
643 |
-
overflow: hidden;
|
644 |
-
}
|
645 |
-
.post-type-spt_testimonial #sp_tpro-show-preview,
|
646 |
-
.post-type-spt_testimonial_form #sp_tpro-show-preview {
|
647 |
-
display: none;
|
648 |
-
}
|
649 |
-
div#sp_tpro_live_preview {
|
650 |
-
padding: 0;
|
651 |
-
margin: -7px -13px 6px;
|
652 |
-
}
|
653 |
-
#sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header {
|
654 |
-
display: block;
|
655 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/assets/css/admin.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.text-center{text-align:center}.spt-main-class .spftestimonial-header-inner h1{color:#444;font-size:22px;font-weight:600}.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner{z-index:20}.spt-main-class .spftestimonial-metabox .spftestimonial-nav{position:inherit;float:none;width:100%;background:#f1f1f1}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li{display:inline-block}.spt-main-class .spftestimonial-nav ul li a{text-transform:uppercase;font-weight:600}.spt-main-class .spftestimonial-metabox .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-metabox{margin:-6px -12px -12px -12px}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;border-bottom:0}#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a{font-size:13px;text-transform:uppercase;padding:16px 15px}.spt-main-class .spftestimonial-nav ul li .spftestimonial-active:after{display:none}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active .fa{color:#1595ce}.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background{display:none}.spt-main-class.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4!important;margin-bottom:0;padding:15px 15px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background{border-right:1px solid #ccd0d4}.spt-main-class .spftestimonial-desc-text,.spt-main-class .spftestimonial-text-subtitle{font-style:italic}.spftestimonial-metabox .sp-tpro-banner{background-color:#0a73a7;padding:22px 28px;overflow:hidden;background-image:-webkit-gradient(linear,left top,right top,from(#0a73a7),to(#1595ce));background-image:linear-gradient(to right,#0a73a7,#1595ce)}.spftestimonial-metabox .sp-tpro-logo{float:left}.spftestimonial-metabox .sp-tpro-logo img{display:block;width:182px}.spftestimonial-metabox .sp-tpro-short-links{float:right;line-height:30px}.spftestimonial-metabox .sp-tpro-short-links a{color:#fff;text-decoration:none;margin-left:16px;font-size:15px;font-weight:600}.spftestimonial-metabox .sp-tpro-short-links a i.fa{margin-right:7px}.sp-testimonial-shortcode-divider{height:20px;background:#f1f1f1;border-top:1px solid #ddd}.spftestimonial-metabox .tpro_shortcode{display:inline-flex;width:100%;background-color:#fffdfd}.tpro_shortcode .tpro-col-lg-6{border-right:1px solid #ddd;width:50%}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content{padding:42px 16px}.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content{padding:42px 16px 0 16px}.shortcode.column-shortcode .sp_tfree_input{border:1px solid #cbcbcb;cursor:pointer}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;background-image:url(../images/copy.svg);background-size:16px;background-position:10px center;background-repeat:no-repeat}.tpro_shortcode .tpro-col-lg-6:last-child{border-right:none}.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title{font-weight:500;font-size:17px!important;padding-top:0!important;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 p{margin-top:2px;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 .back-image{max-width:100%;display:block;margin:0 auto}.tpro_shortcode .tpro-col-lg-6 textarea{border-color:transparent;box-shadow:none;background-color:#eee;padding:4px 6px;resize:none;text-align:center;max-width:100%}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border-width:1px;border-style:solid;border-color:#cbcbcb;cursor:pointer}@media (max-width:1200px){.spftestimonial-metabox .tpro_shortcode{display:block}.tpro_shortcode .tpro-col-lg-6{width:100%;display:block;border-bottom:1px solid #ddd;border-right:none}.tpro_shortcode .tpro-col-lg-6:last-child{padding-bottom:42px}}.sp-testimonial-shortcode{background-color:rgba(82,179,217,.11);padding:8px 12px;display:inline-block;margin-left:8px}.selectable{-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.js #sp_tpro_meta_options.postbox .handlediv,.js #sp_tpro_meta_options.postbox .hndle,.js #sp_tpro_meta_options.postbox .postbox-header,.js #sp_tpro_shortcode_options.postbox .handlediv,.js #sp_tpro_shortcode_options.postbox .hndle,.js #sp_tpro_shortcode_options.postbox .postbox-header{display:none}.sp-testimonial-font-color .wp-picker-container,.sp-testimonial-font-load .spftestimonial--switcher,.spftestimonial-field-typography .spftestimonial--block .chosen-container,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top{pointer-events:none;opacity:.6}.sp-tfree-text-center{text-align:center}div.sp-tfree-help .wp-badge{border:none;background:url(../images/icon-256.png) right no-repeat;background-size:128px 128px;box-shadow:none;height:auto;padding-top:128px}.about-wrap.sp-tfree-help [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.sp-tfree-help [class$="-col"] .col{flex:1;align-self:flex-start}.sp-tfree-help .col{margin-top:40px}.sp-tfree-help.about-wrap [class$="-col"] .col+.col{margin-left:0}.sp-tfree-help.about-wrap .help-section[class$="-col"] .col+.col{margin-left:20px}div.sp-tfree-help .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}div.sp-tfree-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}div.sp-tfree-help .feature-section .sp-tfree-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-tfree-help .feature-section .sp-tfree-feature h3{font-size:16px;margin-top:18px}div.sp-tfree-help .feature-section i.sp-tfree-font-icon{font-size:30px;display:block;color:#1595ce}div.sp-tfree-help .sp-tfree-pro-features .feature-section span.dashicons{font-size:22px;color:#fff;background-color:#1595ce;width:28px;height:28px;line-height:28px;border-radius:50%;margin-right:10px}div.sp-tfree-help .sp-tfree-pro-features .feature-section{margin-bottom:40px;margin-left:-2%}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{margin-top:0}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature p{margin-bottom:0}div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}div.sp-tfree-help .sp-tfree-pro-features .feature-section.three-col .col{min-width:31.3%;max-width:31.3%;margin-top:20px;padding-left:2%}div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:1.2em;margin-bottom:26px}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer{position:fixed;bottom:0;background:#fff;width:calc(100% - 195px);z-index:9;margin-left:-25px;text-align:center;border:1px solid #dfdfdf;padding:15px 0;border-bottom:none}div.sp-tfree-help .sp-tfree-pro-features h2{font-size:2.5em;font-weight:400}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}div.sp-tfree-help .sp-tfree-upgrade-sticky-footer a.button{margin:0 8px}.sp-tfree-upgrade>h1{font-size:2.5em;color:#444;font-weight:300}.sp-tfree-upgrade>h1 span{font-weight:400}.sp-tfree-upgrade .about-text{margin-bottom:0}.sp-tfree-upgrade ul{margin-top:0}.about-wrap.sp-tfree-upgrade .about-text{min-height:60px}.about-wrap.sp-tfree-upgrade hr{order:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section{margin-bottom:40px;display:flex;flex-wrap:wrap}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{margin-top:0}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature p{margin-bottom:0}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}.sp-tfree-upgrade .sp-tfree-pro-features .feature-section.three-col .col{min-width:32%;max-width:32%;margin-top:20px;display:flex;align-self:auto}.sp-tfree-upgrade .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:1.2em;margin-bottom:26px}.sp-tfree-upgrade .sp-tfree-pro-features h2,.sp-tfree-upgrade .sp-tfree-promo-video-title{font-size:2.2em;font-weight:400}.sp-tfree-join-community h2{font-size:2em}.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}.sp-tfree-upgrade .sp-tfree-upgrade-sticky-footer a.button{margin:0 8px}.sp-tfree-upgrade .tfree-upgrade-btn{display:inline-block;padding:0 20px 0 0}.sp-tfree-upgrade .tfree-upgrade-btn a,.sp-tfree-upgrade a.tfree-upgrade-btn{text-decoration:none;text-align:center;font-size:16px}.sp-tfree-upgrade .tfree-upgrade-btn a:focus{outline:0}.sp-tfree-upgrade a.tfree-upgrade-btn,.sp-tfree-upgrade ul li.tfree-upgrade-btn:first-child a{background:#1595ce;padding:0 15px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:500}.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a{text-decoration:underline}.sp-tfree-upgrade ul li.tfree-upgrade-btn a i{margin-left:4px}.sp-tfree-upgrade ul li.tfree-upgrade-btn:last-child a i{font-size:14px}.sp-tfree-upgrade a.tfree-upgrade-btn{display:inline-block}#sp-tfree-review-notice{padding:15px 15px 15px 0;background-color:#fff;border-radius:3px;margin:20px 20px 0 0;margin-bottom:20px}#sp-tfree-review-notice .sp-tfree-plugin-icon{float:left;line-height:90px;text-align:center;width:100px;height:100px;margin-right:15px}#sp-tfree-review-notice .sp-tfree-plugin-icon img{max-width:83px;vertical-align:middle}#sp-tfree-review-notice .sp-tfree-notice-text{overflow:hidden}#sp-tfree-review-notice .sp-tfree-notice-text h3{font-size:24px;margin:0 0 5px;font-weight:400;line-height:1}#sp-tfree-review-notice .sp-tfree-notice-text p{margin:10px 0 10px 0;font-size:13px}#sp-tfree-review-notice .sp-tfree-notice-text p.sp-tfree-review-actions{margin:10px 0 2px 0}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a{text-decoration:none;margin-right:8px;color:#63a37b;display:inline-block;position:relative}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a span{padding-right:2px}#sp-tfree-review-notice .sp-tfree-notice-text .sp-tfree-review-actions a.button{color:#fff}@media (max-width:960px){div.sp-tfree-help .sp-tfree-upgrade-sticky-footer{width:calc(100%)}}@media screen and (max-width:782px){div.sp-tfree-help .three-col .col{min-width:48%!important;max-width:48%!important;margin-left:0!important}}@media (max-width:500px){div.sp-tfree-help .wp-badge{background-position-x:center}div.sp-tfree-help .three-col .col{min-width:100%!important;max-width:100%!important;margin-top:1em}}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border:1px solid #cbcbcb}.trpo-copy-btn{display:inline-block;height:15px;line-height:38px;margin-bottom:-4px;margin-right:-30px;cursor:pointer;position:relative;z-index:99}.sptpro-after-copy-text{bottom:0;opacity:0;z-index:9999999;position:fixed;width:230px;left:180px;text-align:center;padding:15px 15px;line-height:15px;color:#fff;border-radius:3px;background:#32373c;border:1px solid #32373c}.sptpro-after-copy-text .fa-check-circle{font-size:14px;margin-right:2px;color:#5db62e}.post-type-spt_shortcodes #sp_tpro-show-preview{position:fixed;right:144px;bottom:30px;z-index:1001;width:155px;text-align:center;padding:10px 0;background:#54b154;color:#fff;border-radius:3px;text-decoration:none;display:block;font-weight:500;text-transform:uppercase;letter-spacing:.2px;margin:0;box-sizing:border-box;border-color:#44a944;overflow:hidden}.post-type-spt_testimonial #sp_tpro-show-preview,.post-type-spt_testimonial_form #sp_tpro-show-preview{display:none}div#sp_tpro_live_preview{padding:0;margin:-7px -13px 6px}#sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header{display:block}
|
|
admin/assets/images/chosen-sprite@2x.png
DELETED
Binary file
|
admin/views/framework/index.php
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<?php // Silence is golden.
|
|
admin/views/mce-button.php
DELETED
@@ -1,190 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* The MCE button.
|
4 |
-
*
|
5 |
-
* @link https://shapedplugin.com
|
6 |
-
* @since 2.0.0
|
7 |
-
*
|
8 |
-
* @package Testimonial_free
|
9 |
-
* @subpackage Testimonial_free/admin/views
|
10 |
-
*/
|
11 |
-
|
12 |
-
// Make sure we don't expose any info if called directly.
|
13 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
-
exit;
|
15 |
-
}
|
16 |
-
|
17 |
-
if ( ! class_exists( 'SP_TFREE_MCE_Shortcode_list' ) ) {
|
18 |
-
/**
|
19 |
-
* The Tiny MCE button class.
|
20 |
-
*/
|
21 |
-
class SP_TFREE_MCE_Shortcode_list {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Instance of the class.
|
25 |
-
*
|
26 |
-
* @var $instance
|
27 |
-
*/
|
28 |
-
private static $instance;
|
29 |
-
|
30 |
-
/**
|
31 |
-
* Initiator
|
32 |
-
*
|
33 |
-
* @since 2.0
|
34 |
-
*/
|
35 |
-
public static function init() {
|
36 |
-
return self::$instance;
|
37 |
-
}
|
38 |
-
|
39 |
-
/**
|
40 |
-
* Constructor
|
41 |
-
*
|
42 |
-
* @since 2.0
|
43 |
-
*/
|
44 |
-
public function __construct() {
|
45 |
-
add_action( 'wp_ajax_tfree_cpt_list', array( $this, 'tfree_list_ajax' ) );
|
46 |
-
add_action( 'admin_footer', array( $this, 'tfree_cpt_list' ) );
|
47 |
-
add_action( 'admin_head', array( $this, 'tfree_mce_button' ) );
|
48 |
-
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Hooks your functions into the correct filters
|
52 |
-
*
|
53 |
-
* @since 2.0.0
|
54 |
-
* @return void
|
55 |
-
*/
|
56 |
-
public function tfree_mce_button() {
|
57 |
-
// check user permissions.
|
58 |
-
if ( ! current_user_can( 'edit_posts' ) && ! current_user_can( 'edit_pages' ) ) {
|
59 |
-
return;
|
60 |
-
}
|
61 |
-
// check if WYSIWYG is enabled.
|
62 |
-
if ( 'true' === get_user_option( 'rich_editing' ) ) {
|
63 |
-
add_filter( 'mce_external_plugins', array( $this, 'add_mce_plugin' ) );
|
64 |
-
add_filter( 'mce_buttons', array( $this, 'register_mce_button' ) );
|
65 |
-
}
|
66 |
-
}
|
67 |
-
|
68 |
-
/**
|
69 |
-
* Script for our mce button.
|
70 |
-
*
|
71 |
-
* @since 2.0.0
|
72 |
-
* @param string $plugin_array The button.
|
73 |
-
* @return string
|
74 |
-
*/
|
75 |
-
public function add_mce_plugin( $plugin_array ) {
|
76 |
-
$plugin_array['sp_tfree_mce_button'] = SP_TFREE_URL . 'admin/assets/js/mce-button.js';
|
77 |
-
return $plugin_array;
|
78 |
-
}
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Register our button in the editor.
|
82 |
-
*
|
83 |
-
* @since 2.0.0
|
84 |
-
* @param array $buttons The Tiny mce button.
|
85 |
-
* @return array
|
86 |
-
*/
|
87 |
-
public function register_mce_button( $buttons ) {
|
88 |
-
array_push( $buttons, 'sp_tfree_mce_button' );
|
89 |
-
return $buttons;
|
90 |
-
}
|
91 |
-
|
92 |
-
/**
|
93 |
-
* Function to fetch cpt posts list
|
94 |
-
*
|
95 |
-
* @since 2.0.0
|
96 |
-
* @param string $post_type List of the post type.
|
97 |
-
* @return void
|
98 |
-
*/
|
99 |
-
public function posts( $post_type ) {
|
100 |
-
|
101 |
-
global $wpdb;
|
102 |
-
$cpt_type = $post_type;
|
103 |
-
$cpt_post_status = 'publish';
|
104 |
-
$cpt = $wpdb->get_results(
|
105 |
-
$wpdb->prepare(
|
106 |
-
"SELECT ID, post_title
|
107 |
-
FROM $wpdb->posts
|
108 |
-
WHERE $wpdb->posts.post_type = %s
|
109 |
-
AND $wpdb->posts.post_status = %s
|
110 |
-
ORDER BY ID DESC",
|
111 |
-
$cpt_type,
|
112 |
-
$cpt_post_status
|
113 |
-
)
|
114 |
-
);
|
115 |
-
|
116 |
-
$list = array();
|
117 |
-
|
118 |
-
foreach ( $cpt as $post ) {
|
119 |
-
$selected = '';
|
120 |
-
$post_id = $post->ID;
|
121 |
-
$post_name = $post->post_title;
|
122 |
-
$list[] = array(
|
123 |
-
'text' => $post_name,
|
124 |
-
'value' => $post_id,
|
125 |
-
);
|
126 |
-
}
|
127 |
-
|
128 |
-
wp_send_json( $list );
|
129 |
-
}
|
130 |
-
|
131 |
-
/**
|
132 |
-
* Function to fetch buttons
|
133 |
-
*
|
134 |
-
* @since 2.0
|
135 |
-
* @return string
|
136 |
-
*/
|
137 |
-
public function tfree_list_ajax() {
|
138 |
-
// check for nonce.
|
139 |
-
check_ajax_referer( 'sp-mce-nonce', 'security' );
|
140 |
-
$posts = $this->posts( 'spt_shortcodes' ); // change 'post' if you need posts list.
|
141 |
-
return $posts;
|
142 |
-
}
|
143 |
-
|
144 |
-
/**
|
145 |
-
* Function to output button list ajax script
|
146 |
-
*
|
147 |
-
* @since 2.0.0
|
148 |
-
* @return void
|
149 |
-
*/
|
150 |
-
public function tfree_cpt_list() {
|
151 |
-
// create nonce.
|
152 |
-
global $current_screen;
|
153 |
-
$current_screen->post_type;
|
154 |
-
if ( 'post' || 'page' === $current_screen ) {
|
155 |
-
$nonce = wp_create_nonce( 'sp-mce-nonce' );
|
156 |
-
?>
|
157 |
-
<script type="text/javascript">
|
158 |
-
jQuery( document ).ready( function( $ ) {
|
159 |
-
var data = {
|
160 |
-
'action' : 'tfree_cpt_list', // wp ajax action
|
161 |
-
'security' : '<?php echo esc_attr( $nonce ); ?>' // nonce value created earlier.
|
162 |
-
};
|
163 |
-
// fire ajax
|
164 |
-
jQuery.post( ajaxurl, data, function( response ) {
|
165 |
-
// if nonce fails then not authorized else settings saved
|
166 |
-
if( response === '-1' ){
|
167 |
-
// do nothing
|
168 |
-
console.log('error');
|
169 |
-
} else {
|
170 |
-
if (typeof(tinyMCE) != 'undefined') {
|
171 |
-
if (tinyMCE.activeEditor != null) {
|
172 |
-
tinyMCE.activeEditor.settings.spTFREEShortcodeList = response;
|
173 |
-
}
|
174 |
-
}
|
175 |
-
}
|
176 |
-
});
|
177 |
-
});
|
178 |
-
</script>
|
179 |
-
<?php
|
180 |
-
}
|
181 |
-
}
|
182 |
-
|
183 |
-
} // Mce Class
|
184 |
-
}
|
185 |
-
|
186 |
-
/**
|
187 |
-
* Kicking this off
|
188 |
-
*/
|
189 |
-
$sp_mce_btn = new SP_TFREE_MCE_Shortcode_list();
|
190 |
-
$sp_mce_btn->init();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/views/scripts.php
DELETED
@@ -1,60 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Admin page Scripts and styles enqueue.
|
4 |
-
*
|
5 |
-
* @link https://shapedplugin.com
|
6 |
-
* @since 2.0.0
|
7 |
-
*
|
8 |
-
* @package Testimonial_free
|
9 |
-
* @subpackage Testimonial_free/admin/views
|
10 |
-
*/
|
11 |
-
|
12 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
exit;
|
14 |
-
} // if direct access
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Admin Scripts and styles
|
18 |
-
*/
|
19 |
-
class SP_TFREE_Admin_Scripts {
|
20 |
-
|
21 |
-
/**
|
22 |
-
* Instance of the class.
|
23 |
-
*
|
24 |
-
* @var null
|
25 |
-
* @since 2.0
|
26 |
-
*/
|
27 |
-
protected static $_instance = null;
|
28 |
-
|
29 |
-
/**
|
30 |
-
* Initiator
|
31 |
-
*
|
32 |
-
* @return SP_TFREE_Admin_Scripts
|
33 |
-
* @since 2.0
|
34 |
-
*/
|
35 |
-
public static function instance() {
|
36 |
-
if ( is_null( self::$_instance ) ) {
|
37 |
-
self::$_instance = new self();
|
38 |
-
}
|
39 |
-
|
40 |
-
return self::$_instance;
|
41 |
-
}
|
42 |
-
|
43 |
-
/**
|
44 |
-
* Initialize the class
|
45 |
-
*/
|
46 |
-
public function __construct() {
|
47 |
-
|
48 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
|
49 |
-
}
|
50 |
-
|
51 |
-
/**
|
52 |
-
* Enqueue admin scripts
|
53 |
-
*/
|
54 |
-
public function admin_scripts() {
|
55 |
-
wp_enqueue_style( 'testimonial-free-admin', SP_TFREE_URL . 'admin/assets/css/admin.min.css', array(), SP_TFREE_VERSION );
|
56 |
-
}
|
57 |
-
|
58 |
-
}
|
59 |
-
|
60 |
-
new SP_TFREE_Admin_Scripts();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class/router.php
DELETED
@@ -1,68 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Router class.
|
4 |
-
*
|
5 |
-
* @link http://shapedplugin.com
|
6 |
-
* @since 2.0.0
|
7 |
-
*
|
8 |
-
* @package Testimonial_free.
|
9 |
-
* @subpackage Testimonial_free/includes.
|
10 |
-
*/
|
11 |
-
|
12 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
exit; // Exit if accessed directly.
|
14 |
-
}
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Real Testimonials - route class
|
18 |
-
*
|
19 |
-
* @since 2.0
|
20 |
-
*/
|
21 |
-
class SP_TFREE_Router {
|
22 |
-
|
23 |
-
/**
|
24 |
-
* Single instance of the class.
|
25 |
-
*
|
26 |
-
* @var SP_TFREE_Router single instance of the class
|
27 |
-
*
|
28 |
-
* @since 2.0
|
29 |
-
*/
|
30 |
-
protected static $_instance = null;
|
31 |
-
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Main SP_TFREE_Router Instance
|
35 |
-
*
|
36 |
-
* @since 2.0
|
37 |
-
* @static
|
38 |
-
* @return self Main instance
|
39 |
-
*/
|
40 |
-
public static function instance() {
|
41 |
-
if ( is_null( self::$_instance ) ) {
|
42 |
-
self::$_instance = new self();
|
43 |
-
}
|
44 |
-
|
45 |
-
return self::$_instance;
|
46 |
-
}
|
47 |
-
|
48 |
-
/**
|
49 |
-
* Include the required files
|
50 |
-
*
|
51 |
-
* @since 1.0
|
52 |
-
* @return void
|
53 |
-
*/
|
54 |
-
public function includes() {
|
55 |
-
include_once SP_TFREE_PATH . 'includes/free/loader.php';
|
56 |
-
}
|
57 |
-
|
58 |
-
/**
|
59 |
-
* Sp tfree function.
|
60 |
-
*
|
61 |
-
* @since 1.0
|
62 |
-
* @return void
|
63 |
-
*/
|
64 |
-
public function sp_tfree_function() {
|
65 |
-
include_once SP_TFREE_PATH . 'includes/functions.php';
|
66 |
-
}
|
67 |
-
|
68 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class/shortcodes.php
DELETED
@@ -1,115 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* This is to register the shortcode post type.
|
4 |
-
*
|
5 |
-
* @package testimonial-free
|
6 |
-
*/
|
7 |
-
|
8 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
-
exit; // Exit if accessed directly.
|
10 |
-
}
|
11 |
-
/**
|
12 |
-
* SP_TFREE_Shortcodes class.
|
13 |
-
*
|
14 |
-
* @var self
|
15 |
-
* @since 2.0
|
16 |
-
*/
|
17 |
-
class SP_TFREE_Shortcodes {
|
18 |
-
|
19 |
-
/**
|
20 |
-
* The single instance of the class.
|
21 |
-
*
|
22 |
-
* @var self
|
23 |
-
* @since 2.0
|
24 |
-
*/
|
25 |
-
private static $_instance = null;
|
26 |
-
|
27 |
-
/**
|
28 |
-
* Register the class with the WordPress API
|
29 |
-
*
|
30 |
-
* @since 2.0
|
31 |
-
*/
|
32 |
-
public function __construct() {
|
33 |
-
add_filter( 'init', array( $this, 'register_post_type' ) );
|
34 |
-
}
|
35 |
-
|
36 |
-
/**
|
37 |
-
* Allows for accessing single instance of class. Class should only be constructed once per call.
|
38 |
-
*
|
39 |
-
* @return SP_TFREE_Shortcodes
|
40 |
-
*/
|
41 |
-
public static function getInstance() {
|
42 |
-
if ( ! self::$_instance ) {
|
43 |
-
self::$_instance = new self();
|
44 |
-
}
|
45 |
-
|
46 |
-
return self::$_instance;
|
47 |
-
}
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Shortcode Post Type
|
51 |
-
*/
|
52 |
-
public function register_post_type() {
|
53 |
-
|
54 |
-
register_post_type(
|
55 |
-
'spt_shortcodes',
|
56 |
-
array(
|
57 |
-
'label' => __( 'Manage Views', 'testimonial-free' ),
|
58 |
-
'description' => __( 'Manage Views', 'testimonial-free' ),
|
59 |
-
'public' => false,
|
60 |
-
'has_archive' => false,
|
61 |
-
'publicly_queryable' => false,
|
62 |
-
'show_ui' => true,
|
63 |
-
'show_in_menu' => 'edit.php?post_type=spt_testimonial',
|
64 |
-
'hierarchical' => false,
|
65 |
-
'query_var' => false,
|
66 |
-
'supports' => array( 'title' ),
|
67 |
-
'capability_type' => 'post',
|
68 |
-
'labels' => array(
|
69 |
-
'name' => __( 'Manage Views', 'testimonial-free' ),
|
70 |
-
'singular_name' => __( 'Manage View', 'testimonial-free' ),
|
71 |
-
'menu_name' => __( 'Manage Views', 'testimonial-free' ),
|
72 |
-
'add_new' => __( 'Add New', 'testimonial-free' ),
|
73 |
-
'add_new_item' => __( 'Add New View', 'testimonial-free' ),
|
74 |
-
'edit' => __( 'Edit', 'testimonial-free' ),
|
75 |
-
'edit_item' => __( 'Edit View', 'testimonial-free' ),
|
76 |
-
'new_item' => __( 'New View', 'testimonial-free' ),
|
77 |
-
'search_items' => __( 'Search View', 'testimonial-free' ),
|
78 |
-
'not_found' => __( 'No View Found', 'testimonial-free' ),
|
79 |
-
'not_found_in_trash' => __( 'No View Found in Trash', 'testimonial-free' ),
|
80 |
-
'parent' => __( 'Parent View', 'testimonial-free' ),
|
81 |
-
),
|
82 |
-
)
|
83 |
-
);
|
84 |
-
register_post_type(
|
85 |
-
'spt_testimonial_form',
|
86 |
-
array(
|
87 |
-
'label' => __( 'Forms', 'testimonial-free' ),
|
88 |
-
'description' => __( 'Generate forms for Frontend.', 'testimonial-free' ),
|
89 |
-
'public' => false,
|
90 |
-
'has_archive' => false,
|
91 |
-
'publicaly_queryable' => false,
|
92 |
-
'show_ui' => true,
|
93 |
-
'show_in_menu' => 'edit.php?post_type=spt_testimonial',
|
94 |
-
'hierarchical' => false,
|
95 |
-
'query_var' => false,
|
96 |
-
'supports' => array( 'title' ),
|
97 |
-
'capability_type' => 'post',
|
98 |
-
'labels' => array(
|
99 |
-
'name' => __( 'Testimonial Forms', 'testimonial-free' ),
|
100 |
-
'singular_name' => __( 'Testimonial Form', 'testimonial-free' ),
|
101 |
-
'menu_name' => __( 'Testimonial Forms', 'testimonial-free' ),
|
102 |
-
'add_new' => __( 'Add New', 'testimonial-free' ),
|
103 |
-
'add_new_item' => __( 'Add New Form', 'testimonial-free' ),
|
104 |
-
'edit' => __( 'Edit', 'testimonial-free' ),
|
105 |
-
'edit_item' => __( 'Edit Form', 'testimonial-free' ),
|
106 |
-
'new_item' => __( 'New Form', 'testimonial-free' ),
|
107 |
-
'search_items' => __( 'Search Forms', 'testimonial-free' ),
|
108 |
-
'not_found' => __( 'No Form Found', 'testimonial-free' ),
|
109 |
-
'not_found_in_trash' => __( 'No Form Found in Trash', 'testimonial-free' ),
|
110 |
-
'parent' => __( 'Parent Form', 'testimonial-free' ),
|
111 |
-
),
|
112 |
-
)
|
113 |
-
);
|
114 |
-
}
|
115 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/custom-css.php
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Custom css file.
|
4 |
-
*
|
5 |
-
* @link http://shapedplugin.com
|
6 |
-
* @since 2.0.0
|
7 |
-
*
|
8 |
-
* @package Testimonial_free.
|
9 |
-
* @subpackage Testimonial_free/includes.
|
10 |
-
*/
|
11 |
-
|
12 |
-
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
13 |
-
$custom_css = $setting_options['custom_css'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/free/loader.php
DELETED
@@ -1,30 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* The Free Loader Class
|
4 |
-
*
|
5 |
-
* @package testimonial-free
|
6 |
-
*
|
7 |
-
* @since 2.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Loader class.
|
12 |
-
*/
|
13 |
-
class SP_TFREE_Loader {
|
14 |
-
/**
|
15 |
-
* Single constructor of the class.
|
16 |
-
*
|
17 |
-
* @since 2.0
|
18 |
-
*/
|
19 |
-
public function __construct() {
|
20 |
-
require_once SP_TFREE_PATH . 'admin/views/scripts.php';
|
21 |
-
require_once SP_TFREE_PATH . 'admin/views/mce-button.php';
|
22 |
-
require_once SP_TFREE_PATH . 'admin/views/widget.php';
|
23 |
-
require_once SP_TFREE_PATH . 'public/views/shortcoderender.php';
|
24 |
-
require_once SP_TFREE_PATH . 'public/views/deprecated-shortcodes.php';
|
25 |
-
require_once SP_TFREE_PATH . 'public/views/scripts.php';
|
26 |
-
}
|
27 |
-
|
28 |
-
}
|
29 |
-
|
30 |
-
new SP_TFREE_Loader();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/testimonial-free.pot
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Real Testimonials 2.4.4\n"
|
4 |
-
"POT-Creation-Date: 2022-02-
|
5 |
-
"PO-Revision-Date: 2022-02-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: ShapedPlugin <support@shapedplugin.com>\n"
|
8 |
"Language: en_US\n"
|
@@ -12,1749 +12,1597 @@ msgstr ""
|
|
12 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
13 |
"X-Generator: Poedit 3.0.1\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
-
"X-Poedit-
|
16 |
-
"X-Poedit-
|
17 |
-
"esc_attr_e;esc_attr_x\n"
|
18 |
-
"X-Poedit-SearchPath-0: admin\n"
|
19 |
-
"X-Poedit-SearchPath-1: class\n"
|
20 |
-
"X-Poedit-SearchPath-2: includes\n"
|
21 |
-
"X-Poedit-SearchPath-3: languages\n"
|
22 |
-
"X-Poedit-SearchPath-4: public\n"
|
23 |
-
"X-Poedit-SearchPath-5: readme.txt\n"
|
24 |
-
"X-Poedit-SearchPath-6: testimonial-free.php\n"
|
25 |
-
"X-Poedit-SearchPath-7: uninstall.php\n"
|
26 |
-
|
27 |
-
#: admin/views/framework/classes/SPFTESTIMONIAL.php:533
|
28 |
-
msgid "Are you sure?"
|
29 |
-
msgstr ""
|
30 |
-
|
31 |
-
#: admin/views/framework/classes/SPFTESTIMONIAL.php:534
|
32 |
-
#, php-format
|
33 |
-
msgid "Please enter %s or more characters"
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
#: admin/views/framework/classes/SPFTESTIMONIAL.php:535
|
37 |
-
msgid "Searching..."
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
-
#: admin/views/framework/classes/SPFTESTIMONIAL.php:536
|
41 |
-
msgid "No results found."
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#: admin/views/framework/classes/SPFTESTIMONIAL.php:659
|
45 |
-
msgid "Oops! Not allowed."
|
46 |
-
msgstr ""
|
47 |
-
|
48 |
-
#: admin/views/framework/classes/SPFTESTIMONIAL.php:731
|
49 |
-
#: admin/views/framework/classes/SPFTESTIMONIAL.php:734
|
50 |
-
msgid "Field not found!"
|
51 |
-
msgstr ""
|
52 |
-
|
53 |
-
#: admin/views/framework/classes/metabox.class.php:330 testimonial-free.php:299
|
54 |
-
msgid "Shortcode"
|
55 |
-
msgstr ""
|
56 |
-
|
57 |
-
#: admin/views/framework/classes/metabox.class.php:333
|
58 |
-
msgid "Copy and paste this shortcode into your posts or pages:"
|
59 |
-
msgstr ""
|
60 |
-
|
61 |
-
#: admin/views/framework/classes/metabox.class.php:342
|
62 |
-
msgid "Template Include"
|
63 |
-
msgstr ""
|
64 |
-
|
65 |
-
#: admin/views/framework/classes/metabox.class.php:345
|
66 |
-
msgid "Paste the PHP code into your template file:"
|
67 |
-
msgstr ""
|
68 |
-
|
69 |
-
#: admin/views/framework/classes/metabox.class.php:422
|
70 |
-
#: admin/views/framework/classes/options.class.php:795
|
71 |
-
#: admin/views/framework/fields/button_set/button_set.php:83
|
72 |
-
#: admin/views/framework/fields/checkbox/checkbox.php:105
|
73 |
-
#: admin/views/framework/fields/radio/radio.php:103
|
74 |
-
#: admin/views/framework/fields/select/select.php:141
|
75 |
-
#: admin/views/framework/functions/actions.php:40
|
76 |
-
msgid "No data available."
|
77 |
-
msgstr ""
|
78 |
-
|
79 |
-
#: admin/views/framework/classes/metabox.class.php:440
|
80 |
-
#: admin/views/framework/classes/options.class.php:698
|
81 |
-
#: admin/views/framework/classes/options.class.php:820
|
82 |
-
msgid "Reset"
|
83 |
-
msgstr ""
|
84 |
-
|
85 |
-
#: admin/views/framework/classes/metabox.class.php:441
|
86 |
-
msgid "update post"
|
87 |
-
msgstr ""
|
88 |
-
|
89 |
-
#: admin/views/framework/classes/metabox.class.php:441
|
90 |
-
msgid "Cancel"
|
91 |
-
msgstr ""
|
92 |
-
|
93 |
-
#: admin/views/framework/classes/options.class.php:327
|
94 |
-
msgid "Error while saving the changes."
|
95 |
-
msgstr ""
|
96 |
-
|
97 |
-
#: admin/views/framework/classes/options.class.php:406
|
98 |
-
msgid "Settings successfully imported."
|
99 |
-
msgstr ""
|
100 |
-
|
101 |
-
#: admin/views/framework/classes/options.class.php:418
|
102 |
-
#: admin/views/framework/classes/options.class.php:433
|
103 |
-
msgid "Default settings restored."
|
104 |
-
msgstr ""
|
105 |
-
|
106 |
-
#: admin/views/framework/classes/options.class.php:488
|
107 |
-
msgid "Settings saved."
|
108 |
-
msgstr ""
|
109 |
-
|
110 |
-
#: admin/views/framework/classes/options.class.php:691
|
111 |
-
msgid "show all settings"
|
112 |
-
msgstr ""
|
113 |
-
|
114 |
-
#: admin/views/framework/classes/options.class.php:693
|
115 |
-
msgid "Search..."
|
116 |
-
msgstr ""
|
117 |
-
|
118 |
-
#: admin/views/framework/classes/options.class.php:696
|
119 |
-
msgid "Save Settings"
|
120 |
-
msgstr ""
|
121 |
-
|
122 |
-
#: admin/views/framework/classes/options.class.php:696
|
123 |
-
#: admin/views/framework/classes/options.class.php:818
|
124 |
-
msgid "Saving..."
|
125 |
-
msgstr ""
|
126 |
-
|
127 |
-
#: admin/views/framework/classes/options.class.php:697
|
128 |
-
#: admin/views/framework/classes/options.class.php:819
|
129 |
-
msgid "Reset tab"
|
130 |
-
msgstr ""
|
131 |
-
|
132 |
-
#: admin/views/framework/classes/options.class.php:697
|
133 |
-
#: admin/views/framework/classes/options.class.php:819
|
134 |
-
msgid "Are you sure to reset all the settings of this tab?"
|
135 |
-
msgstr ""
|
136 |
-
|
137 |
-
#: admin/views/framework/classes/options.class.php:698
|
138 |
-
#: admin/views/framework/classes/options.class.php:820
|
139 |
-
msgid "Reset All"
|
140 |
-
msgstr ""
|
141 |
-
|
142 |
-
#: admin/views/framework/classes/options.class.php:698
|
143 |
-
#: admin/views/framework/classes/options.class.php:820
|
144 |
-
msgid "Are you sure you want to reset all settings to default values?"
|
145 |
-
msgstr ""
|
146 |
-
|
147 |
-
#: admin/views/framework/classes/options.class.php:818
|
148 |
-
msgid "Save"
|
149 |
-
msgstr ""
|
150 |
-
|
151 |
-
#: admin/views/framework/fields/border/border.php:53
|
152 |
-
#: admin/views/framework/fields/spacing/spacing.php:53
|
153 |
-
msgid "top"
|
154 |
-
msgstr ""
|
155 |
-
|
156 |
-
#: admin/views/framework/fields/border/border.php:54
|
157 |
-
#: admin/views/framework/fields/spacing/spacing.php:54
|
158 |
-
msgid "right"
|
159 |
-
msgstr ""
|
160 |
-
|
161 |
-
#: admin/views/framework/fields/border/border.php:55
|
162 |
-
#: admin/views/framework/fields/spacing/spacing.php:55
|
163 |
-
msgid "bottom"
|
164 |
-
msgstr ""
|
165 |
-
|
166 |
-
#: admin/views/framework/fields/border/border.php:56
|
167 |
-
#: admin/views/framework/fields/spacing/spacing.php:56
|
168 |
-
msgid "left"
|
169 |
-
msgstr ""
|
170 |
-
|
171 |
-
#: admin/views/framework/fields/border/border.php:57
|
172 |
-
#: admin/views/framework/fields/spacing/spacing.php:57
|
173 |
-
msgid "all"
|
174 |
-
msgstr ""
|
175 |
-
|
176 |
-
#: admin/views/framework/fields/border/border.php:82
|
177 |
-
#: admin/views/framework/fields/typography/typography.php:287
|
178 |
-
msgid "Solid"
|
179 |
-
msgstr ""
|
180 |
-
|
181 |
-
#: admin/views/framework/fields/border/border.php:83
|
182 |
-
#: admin/views/framework/fields/typography/typography.php:290
|
183 |
-
msgid "Dashed"
|
184 |
-
msgstr ""
|
185 |
-
|
186 |
-
#: admin/views/framework/fields/border/border.php:84
|
187 |
-
#: admin/views/framework/fields/typography/typography.php:289
|
188 |
-
msgid "Dotted"
|
189 |
-
msgstr ""
|
190 |
-
|
191 |
-
#: admin/views/framework/fields/border/border.php:85
|
192 |
-
#: admin/views/framework/fields/typography/typography.php:288
|
193 |
-
msgid "Double"
|
194 |
-
msgstr ""
|
195 |
-
|
196 |
-
#: admin/views/framework/fields/border/border.php:86
|
197 |
-
msgid "Inset"
|
198 |
-
msgstr ""
|
199 |
-
|
200 |
-
#: admin/views/framework/fields/border/border.php:87
|
201 |
-
msgid "Outset"
|
202 |
-
msgstr ""
|
203 |
-
|
204 |
-
#: admin/views/framework/fields/border/border.php:88
|
205 |
-
msgid "Groove"
|
206 |
-
msgstr ""
|
207 |
-
|
208 |
-
#: admin/views/framework/fields/border/border.php:89
|
209 |
-
msgid "ridge"
|
210 |
-
msgstr ""
|
211 |
-
|
212 |
-
#: admin/views/framework/fields/border/border.php:90
|
213 |
-
#: admin/views/framework/fields/typography/typography.php:267
|
214 |
-
#: admin/views/framework/fields/typography/typography.php:286
|
215 |
-
msgid "None"
|
216 |
-
msgstr ""
|
217 |
-
|
218 |
-
#: admin/views/framework/fields/column/column.php:54
|
219 |
-
msgid "Large Desktop"
|
220 |
-
msgstr ""
|
221 |
-
|
222 |
-
#: admin/views/framework/fields/column/column.php:55
|
223 |
-
msgid "Desktop"
|
224 |
-
msgstr ""
|
225 |
-
|
226 |
-
#: admin/views/framework/fields/column/column.php:56
|
227 |
-
msgid "Laptop"
|
228 |
-
msgstr ""
|
229 |
|
230 |
-
#:
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
#: admin/views/framework/fields/column/column.php:58
|
235 |
-
msgid "Mobile"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#:
|
239 |
-
msgid "
|
240 |
msgstr ""
|
241 |
|
242 |
-
#:
|
243 |
-
|
|
|
244 |
msgstr ""
|
245 |
|
246 |
-
#:
|
247 |
-
msgid "
|
248 |
msgstr ""
|
249 |
|
250 |
-
#:
|
251 |
-
msgid "
|
252 |
msgstr ""
|
253 |
|
254 |
-
#:
|
255 |
-
msgid "
|
256 |
msgstr ""
|
257 |
|
258 |
-
#:
|
259 |
-
|
260 |
-
msgid "No data provided for this option type."
|
261 |
msgstr ""
|
262 |
|
263 |
-
#:
|
264 |
-
msgid "
|
265 |
msgstr ""
|
266 |
|
267 |
-
#:
|
268 |
-
|
269 |
-
msgid "Are you sure to delete this item?"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#:
|
273 |
-
msgid "
|
274 |
msgstr ""
|
275 |
|
276 |
-
#:
|
277 |
-
msgid "
|
278 |
msgstr ""
|
279 |
|
280 |
-
#:
|
281 |
-
|
282 |
-
#: admin/views/testimonial-metaboxs.php:183
|
283 |
-
#: admin/views/testimonial-metaboxs.php:941
|
284 |
-
#: admin/views/testimonial-metaboxs.php:956
|
285 |
-
#: admin/views/testimonial-metaboxs.php:1096
|
286 |
-
#: admin/views/testimonial-metaboxs.php:1107
|
287 |
-
#: admin/views/testimonial-metaboxs.php:1118
|
288 |
-
#: admin/views/testimonial-metaboxs.php:1130
|
289 |
-
msgid "Enabled"
|
290 |
msgstr ""
|
291 |
|
292 |
-
#:
|
293 |
-
|
294 |
-
#: admin/views/testimonial-metaboxs.php:184
|
295 |
-
#: admin/views/testimonial-metaboxs.php:942
|
296 |
-
#: admin/views/testimonial-metaboxs.php:957
|
297 |
-
#: admin/views/testimonial-metaboxs.php:1097
|
298 |
-
#: admin/views/testimonial-metaboxs.php:1108
|
299 |
-
#: admin/views/testimonial-metaboxs.php:1119
|
300 |
-
#: admin/views/testimonial-metaboxs.php:1131
|
301 |
-
msgid "Disabled"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#:
|
305 |
-
|
306 |
-
msgid "On"
|
307 |
msgstr ""
|
308 |
|
309 |
-
#:
|
310 |
-
|
311 |
-
msgid "Off"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#:
|
315 |
-
msgid "
|
316 |
msgstr ""
|
317 |
|
318 |
-
#:
|
319 |
-
msgid "
|
320 |
msgstr ""
|
321 |
|
322 |
-
#:
|
323 |
-
msgid "
|
324 |
msgstr ""
|
325 |
|
326 |
-
#:
|
327 |
-
|
328 |
-
#: admin/views/framework/fields/typography/typography.php:199
|
329 |
-
#: admin/views/framework/fields/typography/typography.php:216
|
330 |
-
#: admin/views/framework/fields/typography/typography.php:236
|
331 |
-
#: admin/views/framework/fields/typography/typography.php:254
|
332 |
-
#: admin/views/framework/fields/typography/typography.php:273
|
333 |
-
#: admin/views/framework/fields/typography/typography.php:296
|
334 |
-
msgid "Default"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#:
|
338 |
-
msgid "
|
339 |
msgstr ""
|
340 |
|
341 |
-
#:
|
342 |
-
|
343 |
-
msgid "Load Extra Styles"
|
344 |
msgstr ""
|
345 |
|
346 |
-
#:
|
347 |
-
msgid "
|
348 |
msgstr ""
|
349 |
|
350 |
-
#:
|
351 |
-
|
|
|
352 |
msgstr ""
|
353 |
|
354 |
-
#:
|
355 |
-
msgid "
|
356 |
msgstr ""
|
357 |
|
358 |
-
#:
|
359 |
-
|
360 |
-
|
361 |
-
msgid "Left"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#:
|
365 |
-
|
366 |
-
msgid "
|
367 |
msgstr ""
|
368 |
|
369 |
-
#:
|
370 |
-
|
371 |
-
|
372 |
-
msgid "Right"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#:
|
376 |
-
|
|
|
377 |
msgstr ""
|
378 |
|
379 |
-
#:
|
380 |
-
|
|
|
381 |
msgstr ""
|
382 |
|
383 |
-
#:
|
384 |
-
|
|
|
385 |
msgstr ""
|
386 |
|
387 |
-
#:
|
388 |
-
|
389 |
-
msgid "
|
390 |
msgstr ""
|
391 |
|
392 |
-
#:
|
393 |
-
|
|
|
394 |
msgstr ""
|
395 |
|
396 |
-
#:
|
397 |
-
msgid "
|
398 |
msgstr ""
|
399 |
|
400 |
-
#:
|
401 |
-
msgid "
|
402 |
msgstr ""
|
403 |
|
404 |
-
#:
|
405 |
-
|
|
|
406 |
msgstr ""
|
407 |
|
408 |
-
#:
|
409 |
-
msgid "
|
410 |
msgstr ""
|
411 |
|
412 |
-
#:
|
413 |
-
|
|
|
414 |
msgstr ""
|
415 |
|
416 |
-
#:
|
417 |
-
msgid "
|
418 |
msgstr ""
|
419 |
|
420 |
-
#:
|
421 |
-
msgid "
|
422 |
msgstr ""
|
423 |
|
424 |
-
#:
|
425 |
-
msgid "
|
426 |
msgstr ""
|
427 |
|
428 |
-
#:
|
429 |
-
|
|
|
430 |
msgstr ""
|
431 |
|
432 |
-
#:
|
433 |
-
|
|
|
434 |
msgstr ""
|
435 |
|
436 |
-
#:
|
437 |
-
msgid "
|
438 |
msgstr ""
|
439 |
|
440 |
-
#:
|
441 |
-
msgid "
|
442 |
msgstr ""
|
443 |
|
444 |
-
#:
|
445 |
-
msgid "
|
446 |
msgstr ""
|
447 |
|
448 |
-
#:
|
449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
msgstr ""
|
451 |
|
452 |
-
#:
|
453 |
-
|
|
|
|
|
454 |
msgstr ""
|
455 |
|
456 |
-
#:
|
457 |
-
msgid "
|
458 |
msgstr ""
|
459 |
|
460 |
-
#:
|
461 |
-
msgid "
|
462 |
msgstr ""
|
463 |
|
464 |
-
#:
|
465 |
-
msgid "
|
466 |
msgstr ""
|
467 |
|
468 |
-
#:
|
469 |
-
msgid "
|
470 |
msgstr ""
|
471 |
|
472 |
-
#:
|
473 |
-
|
|
|
474 |
msgstr ""
|
475 |
|
476 |
-
#:
|
477 |
-
msgid "
|
478 |
msgstr ""
|
479 |
|
480 |
-
#:
|
481 |
-
|
482 |
-
#: admin/views/framework/functions/actions.php:113
|
483 |
-
#: admin/views/framework/functions/actions.php:152
|
484 |
-
#: admin/views/framework/functions/actions.php:185
|
485 |
-
msgid "Error: Invalid nonce verification."
|
486 |
msgstr ""
|
487 |
|
488 |
-
#:
|
489 |
-
|
490 |
-
msgid "Error: Invalid key."
|
491 |
msgstr ""
|
492 |
|
493 |
-
#:
|
494 |
-
msgid "
|
495 |
msgstr ""
|
496 |
|
497 |
-
#:
|
498 |
-
|
|
|
499 |
msgstr ""
|
500 |
|
501 |
-
#:
|
502 |
-
|
|
|
503 |
msgstr ""
|
504 |
|
505 |
-
#:
|
506 |
-
|
|
|
507 |
msgstr ""
|
508 |
|
509 |
-
#:
|
510 |
-
|
|
|
511 |
msgstr ""
|
512 |
|
513 |
-
#:
|
514 |
-
|
|
|
515 |
msgstr ""
|
516 |
|
517 |
-
#:
|
518 |
-
msgid "
|
519 |
msgstr ""
|
520 |
|
521 |
-
#:
|
|
|
522 |
msgid "How To Use"
|
523 |
msgstr ""
|
524 |
|
525 |
-
#:
|
526 |
msgid "Form Fields (Pro)"
|
527 |
msgstr ""
|
528 |
|
529 |
-
#:
|
530 |
-
#:
|
531 |
-
#:
|
532 |
-
#:
|
|
|
533 |
msgid "Full Name"
|
534 |
msgstr ""
|
535 |
|
536 |
-
#:
|
537 |
-
#:
|
|
|
538 |
msgid "E-mail Address"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#:
|
542 |
-
#:
|
543 |
-
#:
|
|
|
544 |
msgid "Identity or Position"
|
545 |
msgstr ""
|
546 |
|
547 |
-
#:
|
548 |
-
#:
|
|
|
549 |
msgid "Company Name"
|
550 |
msgstr ""
|
551 |
|
552 |
-
#:
|
553 |
-
#:
|
|
|
554 |
msgid "Testimonial Title"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#:
|
|
|
558 |
msgid "Testimonial"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#:
|
|
|
562 |
msgid "Groups"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#:
|
566 |
-
#:
|
|
|
567 |
msgid "Image"
|
568 |
msgstr ""
|
569 |
|
570 |
-
#:
|
571 |
-
#:
|
|
|
572 |
msgid "Location"
|
573 |
msgstr ""
|
574 |
|
575 |
-
#:
|
576 |
-
#:
|
|
|
577 |
msgid "Phone or Mobile"
|
578 |
msgstr ""
|
579 |
|
580 |
-
#:
|
581 |
-
#:
|
|
|
582 |
msgid "Website"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#:
|
|
|
586 |
msgid "Video URL"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#:
|
590 |
-
#:
|
591 |
-
#:
|
|
|
|
|
592 |
msgid "Rating"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#:
|
|
|
596 |
msgid "Social Profile"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#:
|
600 |
-
#:
|
|
|
601 |
msgid "reCAPTCHA"
|
602 |
msgstr ""
|
603 |
|
604 |
-
#:
|
605 |
msgid "Form Options (Pro)"
|
606 |
msgstr ""
|
607 |
|
608 |
-
#:
|
609 |
msgid "Form Editor (Pro)"
|
610 |
msgstr ""
|
611 |
|
612 |
-
#:
|
613 |
msgid "Label"
|
614 |
msgstr ""
|
615 |
|
616 |
-
#:
|
617 |
msgid "To hide this label, leave it empty."
|
618 |
msgstr ""
|
619 |
|
620 |
-
#:
|
621 |
msgid "Placeholder"
|
622 |
msgstr ""
|
623 |
|
624 |
-
#:
|
625 |
msgid "What is your full name?"
|
626 |
msgstr ""
|
627 |
|
628 |
-
#:
|
629 |
msgid "Required"
|
630 |
msgstr ""
|
631 |
|
632 |
-
#:
|
633 |
msgid "Submit Button"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#:
|
637 |
msgid "Messages (Pro)"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#:
|
641 |
msgid "Notifications (Pro)"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#:
|
645 |
msgid "Stylization (Pro)"
|
646 |
msgstr ""
|
647 |
|
648 |
-
#:
|
649 |
msgid "Shortcode Options"
|
650 |
msgstr ""
|
651 |
|
652 |
-
#:
|
653 |
msgid "General Settings"
|
654 |
msgstr ""
|
655 |
|
656 |
-
#:
|
657 |
msgid "Layout Preset"
|
658 |
msgstr ""
|
659 |
|
660 |
-
#:
|
661 |
msgid "Select a layout to display the testimonials."
|
662 |
msgstr ""
|
663 |
|
664 |
-
#:
|
665 |
msgid ""
|
666 |
"To unlock more amazing Testimonial Layouts (Grid, Masonry, List, & Isotope), "
|
667 |
"<a target=\"_blank\" href=\"https://shapedplugin.com/real-testimonials/?"
|
668 |
"ref=1\"><b>Upgrade To Pro!</b></a>."
|
669 |
msgstr ""
|
670 |
|
671 |
-
#:
|
672 |
msgid "Slider"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#:
|
676 |
msgid "Grid"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#:
|
680 |
msgid "Masonry"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#:
|
684 |
msgid "List"
|
685 |
msgstr ""
|
686 |
|
687 |
-
#:
|
688 |
msgid "Isotope"
|
689 |
msgstr ""
|
690 |
|
691 |
-
#:
|
692 |
msgid "Filter Testimonials"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#:
|
696 |
msgid "Select an option to display the testimonials."
|
697 |
msgstr ""
|
698 |
|
699 |
-
#:
|
700 |
msgid "Latest"
|
701 |
msgstr ""
|
702 |
|
703 |
-
#:
|
704 |
msgid "Groups (Pro)"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#:
|
708 |
msgid "Specific (Pro)"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#:
|
712 |
msgid "Exclude (Pro)"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#:
|
716 |
msgid "Limit"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#:
|
720 |
msgid ""
|
721 |
"Limit number of testimonials to show. Leave it empty to show all "
|
722 |
"testimonials."
|
723 |
msgstr ""
|
724 |
|
725 |
-
#:
|
726 |
msgid "Responsive Column(s)"
|
727 |
msgstr ""
|
728 |
|
729 |
-
#:
|
730 |
msgid "Set number of column(s) in different devices for responsive view."
|
731 |
msgstr ""
|
732 |
|
733 |
-
#:
|
734 |
msgid "Random Order"
|
735 |
msgstr ""
|
736 |
|
737 |
-
#:
|
738 |
msgid "Check to show testimonials random order. (Pro)"
|
739 |
msgstr ""
|
740 |
|
741 |
-
#:
|
742 |
msgid "Order By"
|
743 |
msgstr ""
|
744 |
|
745 |
-
#:
|
746 |
msgid "Select an order by option."
|
747 |
msgstr ""
|
748 |
|
749 |
-
#:
|
750 |
msgid "Testimonial ID"
|
751 |
msgstr ""
|
752 |
|
753 |
-
#:
|
754 |
-
#:
|
755 |
msgid "Date"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#:
|
|
|
759 |
msgid "Title"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#:
|
763 |
msgid "Modified"
|
764 |
msgstr ""
|
765 |
|
766 |
-
#:
|
767 |
msgid "Order Type"
|
768 |
msgstr ""
|
769 |
|
770 |
-
#:
|
771 |
msgid "Select an order option."
|
772 |
msgstr ""
|
773 |
|
774 |
-
#:
|
775 |
msgid "Ascending"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#:
|
779 |
msgid "Descending"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#:
|
783 |
msgid "Schema Markup"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#:
|
787 |
msgid "Enable/Disable schema markup."
|
788 |
msgstr ""
|
789 |
|
790 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
791 |
msgid "Preloader"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#:
|
795 |
msgid "Enable/Disable preloader."
|
796 |
msgstr ""
|
797 |
|
798 |
-
#:
|
799 |
msgid "Theme Settings"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#:
|
803 |
msgid "Select Your Theme"
|
804 |
msgstr ""
|
805 |
|
806 |
-
#:
|
807 |
msgid ""
|
808 |
"Select a theme which you want to display. <b>Please note:</b> To get perfect "
|
809 |
"view for some themes, you need to customize few settings below."
|
810 |
msgstr ""
|
811 |
|
812 |
-
#:
|
813 |
msgid ""
|
814 |
"Get Access to 9 Professionally Designed Testimonial Themes with "
|
815 |
"Customization options, <a target=\"_blank\" href=\"https://shapedplugin.com/"
|
816 |
"real-testimonials/?ref=1\"><b>Upgrade to Pro!</b></a>"
|
817 |
msgstr ""
|
818 |
|
819 |
-
#:
|
820 |
msgid "Theme One"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#:
|
824 |
msgid "Theme Two"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#:
|
828 |
msgid "Theme Three"
|
829 |
msgstr ""
|
830 |
|
831 |
-
#:
|
832 |
msgid "Theme Four"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#:
|
836 |
msgid "Theme Five"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#:
|
840 |
msgid "Theme Six"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#:
|
844 |
msgid "Theme Seven"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#:
|
848 |
msgid "Theme Eight"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#:
|
852 |
msgid "Theme Nine"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#:
|
856 |
msgid "Theme Ten"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#:
|
860 |
msgid "Customize Theme"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#:
|
864 |
msgid "Margin Between Testimonials"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#:
|
868 |
msgid "Set margin between the testimonials."
|
869 |
msgstr ""
|
870 |
|
871 |
-
#:
|
872 |
msgid "px"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#:
|
876 |
msgid "Testimonial Border"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#:
|
880 |
msgid "Set testimonial border."
|
881 |
msgstr ""
|
882 |
|
883 |
-
#:
|
884 |
msgid "Testimonial Background"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#:
|
888 |
msgid "Set testimonial background color."
|
889 |
msgstr ""
|
890 |
|
891 |
-
#:
|
892 |
msgid "Inner Padding"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#:
|
896 |
msgid "Set testimonial inner padding."
|
897 |
msgstr ""
|
898 |
|
899 |
-
#:
|
900 |
msgid "Testimonial Info Position"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#:
|
904 |
msgid "Select testimonial info position."
|
905 |
msgstr ""
|
906 |
|
907 |
-
#:
|
908 |
msgid "Top"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#:
|
912 |
msgid "Bottom"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
916 |
msgid "Testimonial Info Border"
|
917 |
msgstr ""
|
918 |
|
919 |
-
#:
|
920 |
msgid "Set testimonial info border."
|
921 |
msgstr ""
|
922 |
|
923 |
-
#:
|
924 |
msgid "Background for Testimonial Info"
|
925 |
msgstr ""
|
926 |
|
927 |
-
#:
|
928 |
msgid "Set background color for testimonial information."
|
929 |
msgstr ""
|
930 |
|
931 |
-
#:
|
932 |
msgid "Inner Padding for Testimonial Info"
|
933 |
msgstr ""
|
934 |
|
935 |
-
#:
|
936 |
msgid "Set inner padding for testimonial information."
|
937 |
msgstr ""
|
938 |
|
939 |
-
#:
|
940 |
msgid ""
|
941 |
"To unlock the Theme based Customization options, <a target=\"_blank\" href="
|
942 |
"\"https://shapedplugin.com/real-testimonials/?ref=1\"><b>Upgrade to Pro!</"
|
943 |
"b></a>."
|
944 |
msgstr ""
|
945 |
|
946 |
-
#:
|
947 |
msgid "Display Settings"
|
948 |
msgstr ""
|
949 |
|
950 |
-
#:
|
951 |
msgid "Section Title"
|
952 |
msgstr ""
|
953 |
|
954 |
-
#:
|
955 |
msgid "Show/Hide the testimonial section title."
|
956 |
msgstr ""
|
957 |
|
958 |
-
#:
|
959 |
-
#:
|
960 |
-
#:
|
961 |
-
#:
|
962 |
-
#:
|
963 |
-
#:
|
964 |
-
#:
|
965 |
-
#:
|
966 |
-
#:
|
967 |
-
#:
|
968 |
-
#:
|
969 |
-
#:
|
970 |
msgid "Show"
|
971 |
msgstr ""
|
972 |
|
973 |
-
#:
|
974 |
-
#:
|
975 |
-
#:
|
976 |
-
#:
|
977 |
-
#:
|
978 |
-
#:
|
979 |
-
#:
|
980 |
-
#:
|
981 |
-
#:
|
982 |
-
#:
|
983 |
-
#:
|
984 |
-
#:
|
985 |
msgid "Hide"
|
986 |
msgstr ""
|
987 |
|
988 |
-
#:
|
989 |
-
#:
|
990 |
msgid "Testimonial Content"
|
991 |
msgstr ""
|
992 |
|
993 |
-
#:
|
994 |
msgid "Show/Hide testimonial tagline or title."
|
995 |
msgstr ""
|
996 |
|
997 |
-
#:
|
998 |
-
#:
|
999 |
msgid "HTML Tag"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
-
#:
|
1003 |
msgid "Select testimonial title HTML tag."
|
1004 |
msgstr ""
|
1005 |
|
1006 |
-
#:
|
1007 |
msgid "Show/Hide testimonial content."
|
1008 |
msgstr ""
|
1009 |
|
1010 |
-
#:
|
1011 |
msgid "Content Display Type"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#:
|
1015 |
msgid "Choose content display type."
|
1016 |
msgstr ""
|
1017 |
|
1018 |
-
#:
|
1019 |
msgid "Full Content"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
-
#:
|
1023 |
msgid "Content with Limit (Pro)"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
#:
|
1027 |
msgid "Read More"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
-
#:
|
1031 |
msgid "Show/Hide testimonial read more button."
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#:
|
1035 |
-
#:
|
1036 |
msgid "Reviewer Information"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
-
#:
|
1040 |
msgid "Show/Hide reviewer full name."
|
1041 |
msgstr ""
|
1042 |
|
1043 |
-
#:
|
1044 |
msgid "Select reviewer name HTML tag."
|
1045 |
msgstr ""
|
1046 |
|
1047 |
-
#:
|
1048 |
msgid "Show/Hide rating."
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#:
|
1052 |
msgid "Rating Icon"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#:
|
1056 |
msgid "Choose a rating icon."
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#:
|
1060 |
msgid "Rating Color"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#:
|
1064 |
msgid "Set color for rating."
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#:
|
1068 |
msgid "Show/Hide identity or position."
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#:
|
1072 |
msgid "Social Media"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#:
|
1076 |
-
#:
|
1077 |
msgid "Social Profiles"
|
1078 |
msgstr ""
|
1079 |
|
1080 |
-
#:
|
1081 |
msgid "Show/Hide social profiles."
|
1082 |
msgstr ""
|
1083 |
|
1084 |
-
#:
|
1085 |
-
#:
|
1086 |
-
#:
|
1087 |
-
#:
|
1088 |
msgid "Pagination"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
-
#:
|
1092 |
msgid ""
|
1093 |
"To unlock the following pagination settings for Grid, Masonry, & List "
|
1094 |
"layouts,<a target=\"_blank\" href=\"https://shapedplugin.com/real-"
|
1095 |
"testimonials/?ref=1\"><b> Upgrade To Pro!</b></a>"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
-
#:
|
1099 |
msgid "Enqueue/Dequeue pagination."
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#:
|
1103 |
msgid "Enable"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
-
#:
|
1107 |
msgid "Disable"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#:
|
1111 |
msgid "Pagination Type"
|
1112 |
msgstr ""
|
1113 |
|
1114 |
-
#:
|
1115 |
msgid "Choose a pagination type."
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#:
|
1119 |
msgid "Load More Button (Ajax)"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#:
|
1123 |
msgid "Ajax Number Pagination"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#:
|
1127 |
msgid "Infinite Scroll (Ajax)"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#:
|
1131 |
msgid "No Ajax (Normal Pagination)"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#:
|
1135 |
msgid "Testimonial(s) to Show Per Page"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
-
#:
|
1139 |
msgid "Set number of testimonial(s) to show per page."
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#:
|
1143 |
msgid "Load more button label"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
-
#:
|
1147 |
msgid "Alignment"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#:
|
1151 |
msgid "Select pagination alignment."
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
1155 |
msgid "Margin"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#:
|
1159 |
msgid "Set pagination margin."
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#:
|
1163 |
msgid "Pagination Color"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#:
|
1167 |
msgid "Set color for pagination."
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#:
|
1171 |
-
#:
|
1172 |
-
#:
|
1173 |
-
#:
|
1174 |
-
#:
|
1175 |
msgid "Color"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
-
#:
|
1179 |
-
#:
|
1180 |
msgid "Hover Color"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
-
#:
|
1184 |
-
#:
|
1185 |
msgid "Background"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#:
|
1189 |
-
#:
|
1190 |
msgid "Hover Background"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
-
#:
|
1194 |
msgid "Pagination Border"
|
1195 |
msgstr ""
|
1196 |
|
1197 |
-
#:
|
1198 |
msgid "Set pagination border."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
-
#:
|
1202 |
msgid "Image Settings"
|
1203 |
msgstr ""
|
1204 |
|
1205 |
-
#:
|
1206 |
msgid "Testimonial Image"
|
1207 |
msgstr ""
|
1208 |
|
1209 |
-
#:
|
1210 |
msgid "Show/Hide testimonial image."
|
1211 |
msgstr ""
|
1212 |
|
1213 |
-
#:
|
1214 |
msgid "Enable Thumbnail Slider"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
-
#:
|
1218 |
msgid "Check to enable thumbnail slider. (Pro)"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
-
#:
|
1222 |
msgid "Image Shape"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
-
#:
|
1226 |
msgid "Choose a image shape."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
-
#:
|
1230 |
msgid "Circle"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#:
|
1234 |
msgid "Rounded"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#:
|
1238 |
msgid "Square"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#:
|
1242 |
msgid "Testimonial Image Size"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
-
#:
|
1246 |
msgid "Select which size image to show with your Testimonials."
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#:
|
1250 |
msgid "Custom Size"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#:
|
1254 |
msgid "Set a custom width and height of the image."
|
1255 |
msgstr ""
|
1256 |
|
1257 |
-
#:
|
1258 |
msgid "Image Mode"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
-
#:
|
1262 |
msgid "Select a image mode."
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
1266 |
msgid "Grayscale and normal on hover (Pro)"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
-
#:
|
1270 |
msgid "Grayscale on hover (Pro)"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#:
|
1274 |
msgid "Always grayscale (Pro)"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#:
|
1278 |
msgid "Video Testimonial"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#:
|
1282 |
msgid "Show/Hide video testimonial."
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#:
|
1286 |
msgid "Slider Controls"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#:
|
1290 |
msgid "Slider Mode"
|
1291 |
msgstr ""
|
1292 |
|
1293 |
-
#:
|
1294 |
msgid "Set a slider mode. Slider Settings are disabled in the ticker mode. "
|
1295 |
msgstr ""
|
1296 |
|
1297 |
-
#:
|
1298 |
msgid "Standard"
|
1299 |
msgstr ""
|
1300 |
|
1301 |
-
#:
|
1302 |
msgid "Ticker"
|
1303 |
msgstr ""
|
1304 |
|
1305 |
-
#:
|
1306 |
msgid "AutoPlay"
|
1307 |
msgstr ""
|
1308 |
|
1309 |
-
#:
|
1310 |
msgid "On/Off auto play."
|
1311 |
msgstr ""
|
1312 |
|
1313 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1314 |
msgid "Off on Mobile"
|
1315 |
msgstr ""
|
1316 |
|
1317 |
-
#:
|
1318 |
msgid "AutoPlay Speed"
|
1319 |
msgstr ""
|
1320 |
|
1321 |
-
#:
|
1322 |
msgid "Set auto play speed in a millisecond. Default value 3000ms."
|
1323 |
msgstr ""
|
1324 |
|
1325 |
-
#:
|
1326 |
-
#:
|
1327 |
msgid "ms"
|
1328 |
msgstr ""
|
1329 |
|
1330 |
-
#:
|
1331 |
msgid "Pagination Speed"
|
1332 |
msgstr ""
|
1333 |
|
1334 |
-
#:
|
1335 |
msgid "Set pagination speed in a millisecond. Default value 600ms."
|
1336 |
msgstr ""
|
1337 |
|
1338 |
-
#:
|
1339 |
msgid "Pause on Hover"
|
1340 |
msgstr ""
|
1341 |
|
1342 |
-
#:
|
1343 |
msgid "Enable/Disable slider pause on hover."
|
1344 |
msgstr ""
|
1345 |
|
1346 |
-
#:
|
1347 |
msgid "Infinite Loop"
|
1348 |
msgstr ""
|
1349 |
|
1350 |
-
#:
|
1351 |
msgid "Enable/Disable infinite loop mode."
|
1352 |
msgstr ""
|
1353 |
|
1354 |
-
#:
|
1355 |
msgid "Slider Animation"
|
1356 |
msgstr ""
|
1357 |
|
1358 |
-
#:
|
1359 |
msgid "Fade effect works only on single column view."
|
1360 |
msgstr ""
|
1361 |
|
1362 |
-
#:
|
1363 |
msgid "Slide"
|
1364 |
msgstr ""
|
1365 |
|
1366 |
-
#:
|
1367 |
msgid "Fade(Pro)"
|
1368 |
msgstr ""
|
1369 |
|
1370 |
-
#:
|
1371 |
msgid "Direction"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
-
#:
|
1375 |
msgid "Slider direction."
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#:
|
1379 |
msgid "Right to Left"
|
1380 |
msgstr ""
|
1381 |
|
1382 |
-
#:
|
1383 |
msgid "Left to Right"
|
1384 |
msgstr ""
|
1385 |
|
1386 |
-
#:
|
1387 |
-
#:
|
1388 |
msgid "Navigation"
|
1389 |
msgstr ""
|
1390 |
|
1391 |
-
#:
|
1392 |
msgid "Show/Hide slider navigation."
|
1393 |
msgstr ""
|
1394 |
|
1395 |
-
#:
|
1396 |
-
#:
|
1397 |
msgid "Hide on Mobile"
|
1398 |
msgstr ""
|
1399 |
|
1400 |
-
#:
|
1401 |
msgid "Set the navigation color."
|
1402 |
msgstr ""
|
1403 |
|
1404 |
-
#:
|
1405 |
msgid "Border"
|
1406 |
msgstr ""
|
1407 |
|
1408 |
-
#:
|
1409 |
msgid "Set the navigation border."
|
1410 |
msgstr ""
|
1411 |
|
1412 |
-
#:
|
1413 |
msgid "Show/Hide pagination."
|
1414 |
msgstr ""
|
1415 |
|
1416 |
-
#:
|
1417 |
msgid "Set the pagination color."
|
1418 |
msgstr ""
|
1419 |
|
1420 |
-
#:
|
1421 |
msgid "Active Color"
|
1422 |
msgstr ""
|
1423 |
|
1424 |
-
#:
|
1425 |
msgid "Miscellaneous"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
-
#:
|
1429 |
msgid "Adaptive Slider Height"
|
1430 |
msgstr ""
|
1431 |
|
1432 |
-
#:
|
1433 |
msgid "Dynamically adjust slider height based on each slide's height."
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#:
|
1437 |
msgid "Touch Swipe"
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#:
|
1441 |
msgid "Enable/Disable swipe mode."
|
1442 |
msgstr ""
|
1443 |
|
1444 |
-
#:
|
1445 |
msgid "Mouse Draggable"
|
1446 |
msgstr ""
|
1447 |
|
1448 |
-
#:
|
1449 |
msgid "Enable/Disable mouse draggable mode."
|
1450 |
msgstr ""
|
1451 |
|
1452 |
-
#:
|
1453 |
msgid "Swipe To Slide"
|
1454 |
msgstr ""
|
1455 |
|
1456 |
-
#:
|
1457 |
msgid "Enable/Disable swipe to slide."
|
1458 |
msgstr ""
|
1459 |
|
1460 |
-
#:
|
1461 |
msgid "Typography"
|
1462 |
msgstr ""
|
1463 |
|
1464 |
-
#:
|
1465 |
msgid ""
|
1466 |
"To unlock These Typography (940+ Google Fonts) options, <a target=\"_blank\" "
|
1467 |
"href=\"https://shapedplugin.com/real-testimonials/?ref=1\"><b>Upgrade to Pro!"
|
1468 |
"</b></a> P.S. Note: The color fields work in the lite version."
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#:
|
1472 |
msgid "Load Section Title Font"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
-
#:
|
1476 |
msgid "On/Off google font for the section title."
|
1477 |
msgstr ""
|
1478 |
|
1479 |
-
#:
|
1480 |
msgid "Section Title Font"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
-
#:
|
1484 |
msgid "Set testimonial section title font properties."
|
1485 |
msgstr ""
|
1486 |
|
1487 |
-
#:
|
1488 |
msgid "Load Testimonial Title Font"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
-
#:
|
1492 |
msgid "On/Off google font for the testimonial tagline or title."
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#:
|
1496 |
msgid "Testimonial Title Font"
|
1497 |
msgstr ""
|
1498 |
|
1499 |
-
#:
|
1500 |
msgid "Set testimonial tagline or title font properties."
|
1501 |
msgstr ""
|
1502 |
|
1503 |
-
#:
|
1504 |
msgid "Load Testimonial Content Font"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
-
#:
|
1508 |
msgid "On/Off google font for the testimonial content."
|
1509 |
msgstr ""
|
1510 |
|
1511 |
-
#:
|
1512 |
msgid "Testimonial Content Font"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
-
#:
|
1516 |
msgid "Set testimonial content font properties."
|
1517 |
msgstr ""
|
1518 |
|
1519 |
-
#:
|
1520 |
msgid "Load Name Font"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
-
#:
|
1524 |
msgid "On/Off google font for the name."
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#:
|
1528 |
msgid "Name Font"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#:
|
1532 |
msgid "Set name font properties."
|
1533 |
msgstr ""
|
1534 |
|
1535 |
-
#:
|
1536 |
msgid "Load Identity or Position & Company Name Font"
|
1537 |
msgstr ""
|
1538 |
|
1539 |
-
#:
|
1540 |
msgid "On/Off google font for the identity or position & company name."
|
1541 |
msgstr ""
|
1542 |
|
1543 |
-
#:
|
1544 |
msgid "Identity or Position & Company Name Font"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
-
#:
|
1548 |
msgid "Set identity or position & company name font properties."
|
1549 |
msgstr ""
|
1550 |
|
1551 |
-
#:
|
1552 |
msgid "Load Location Font"
|
1553 |
msgstr ""
|
1554 |
|
1555 |
-
#:
|
1556 |
msgid "On/Off google font for the location."
|
1557 |
msgstr ""
|
1558 |
|
1559 |
-
#:
|
1560 |
msgid "Location Font"
|
1561 |
msgstr ""
|
1562 |
|
1563 |
-
#:
|
1564 |
msgid "Set location font properties."
|
1565 |
msgstr ""
|
1566 |
|
1567 |
-
#:
|
1568 |
msgid "Load Phone or Mobile Font"
|
1569 |
msgstr ""
|
1570 |
|
1571 |
-
#:
|
1572 |
msgid "On/Off google font for the phone or mobile."
|
1573 |
msgstr ""
|
1574 |
|
1575 |
-
#:
|
1576 |
msgid "Phone or Mobile Font"
|
1577 |
msgstr ""
|
1578 |
|
1579 |
-
#:
|
1580 |
msgid "Set phone or mobile font properties."
|
1581 |
msgstr ""
|
1582 |
|
1583 |
-
#:
|
1584 |
msgid "Load Email Address Font"
|
1585 |
msgstr ""
|
1586 |
|
1587 |
-
#:
|
1588 |
msgid "On/Off google font for the email address."
|
1589 |
msgstr ""
|
1590 |
|
1591 |
-
#:
|
1592 |
msgid "Email Address Font"
|
1593 |
msgstr ""
|
1594 |
|
1595 |
-
#:
|
1596 |
msgid "Set email address font properties."
|
1597 |
msgstr ""
|
1598 |
|
1599 |
-
#:
|
1600 |
msgid "Load Date Font"
|
1601 |
msgstr ""
|
1602 |
|
1603 |
-
#:
|
1604 |
msgid "On/Off google font for the date."
|
1605 |
msgstr ""
|
1606 |
|
1607 |
-
#:
|
1608 |
msgid "Date Font"
|
1609 |
msgstr ""
|
1610 |
|
1611 |
-
#:
|
1612 |
msgid "Set date font properties."
|
1613 |
msgstr ""
|
1614 |
|
1615 |
-
#:
|
1616 |
msgid "Load Website Font"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
-
#:
|
1620 |
msgid "On/Off google font for the website."
|
1621 |
msgstr ""
|
1622 |
|
1623 |
-
#:
|
1624 |
msgid "Website Font"
|
1625 |
msgstr ""
|
1626 |
|
1627 |
-
#:
|
1628 |
msgid "Set website font properties."
|
1629 |
msgstr ""
|
1630 |
|
1631 |
-
#:
|
1632 |
msgid "Load Isotope Filter Button Font"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
-
#:
|
1636 |
msgid "On/Off google font for the isotope filter button."
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#:
|
1640 |
msgid "Isotope Filter Button Font"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#:
|
1644 |
msgid "Set isotope filter button font properties."
|
1645 |
msgstr ""
|
1646 |
|
1647 |
-
#:
|
1648 |
msgid "Testimonial Options"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
-
#:
|
1652 |
msgid "5 Stars"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
-
#:
|
1656 |
msgid "4 Stars"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
-
#:
|
1660 |
msgid "3 Stars"
|
1661 |
msgstr ""
|
1662 |
|
1663 |
-
#:
|
1664 |
msgid "2 Stars"
|
1665 |
msgstr ""
|
1666 |
|
1667 |
-
#:
|
1668 |
msgid "1 Star"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
-
#:
|
1672 |
msgid "EXTRA REVIEWER INFORMATION (PRO)"
|
1673 |
msgstr ""
|
1674 |
|
1675 |
-
#:
|
1676 |
msgid ""
|
1677 |
"To unlock the following extra reviewer information fields, <a target=\"_blank"
|
1678 |
"\" href=\"https://shapedplugin.com/real-testimonials/?ref=1\"><b>Upgrade to "
|
1679 |
"Pro!</b></a>"
|
1680 |
msgstr ""
|
1681 |
|
1682 |
-
#:
|
1683 |
msgid "Video Testimonial URL"
|
1684 |
msgstr ""
|
1685 |
|
1686 |
-
#:
|
1687 |
msgid "SOCIAL MEDIA (PRO)"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
-
#:
|
1691 |
-
#:
|
1692 |
msgid "Settings"
|
1693 |
msgstr ""
|
1694 |
|
1695 |
-
#:
|
1696 |
msgid "Advanced Settings"
|
1697 |
msgstr ""
|
1698 |
|
1699 |
-
#:
|
1700 |
msgid "Clean up Data on Deletion"
|
1701 |
msgstr ""
|
1702 |
|
1703 |
-
#:
|
1704 |
msgid "Delete all Real Testimonials data from the database on plugin deletion."
|
1705 |
msgstr ""
|
1706 |
|
1707 |
-
#:
|
1708 |
msgid "Google Fonts"
|
1709 |
msgstr ""
|
1710 |
|
1711 |
-
#:
|
1712 |
-
#:
|
1713 |
-
#:
|
1714 |
-
#:
|
1715 |
msgid "Enqueue"
|
1716 |
msgstr ""
|
1717 |
|
1718 |
-
#:
|
1719 |
-
#:
|
1720 |
-
#:
|
1721 |
-
#:
|
1722 |
msgid "Dequeue"
|
1723 |
msgstr ""
|
1724 |
|
1725 |
-
#:
|
1726 |
msgid "Enqueue or Dequeue JS"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
-
#:
|
1730 |
msgid "Slick JS"
|
1731 |
msgstr ""
|
1732 |
|
1733 |
-
#:
|
1734 |
msgid "Enqueue or Dequeue CSS"
|
1735 |
msgstr ""
|
1736 |
|
1737 |
-
#:
|
1738 |
msgid "Slick CSS"
|
1739 |
msgstr ""
|
1740 |
|
1741 |
-
#:
|
1742 |
msgid "Font Awesome CSS"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
-
#:
|
1746 |
msgid "Menu Settings"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
-
#:
|
1750 |
msgid "Singular name"
|
1751 |
msgstr ""
|
1752 |
|
1753 |
-
#:
|
1754 |
msgid "Plural name"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
-
#:
|
1758 |
msgid ""
|
1759 |
"<a href=\"https://www.google.com/recaptcha\" target=\"_blank\">reCAPTCHA</a> "
|
1760 |
"is a free anti-spam service of Google that protects your website from spam "
|
@@ -1764,328 +1612,470 @@ msgid ""
|
|
1764 |
"testimonials/?ref=1\"><b>(Available in Pro)</b></a>"
|
1765 |
msgstr ""
|
1766 |
|
1767 |
-
#:
|
1768 |
msgid "Site key"
|
1769 |
msgstr ""
|
1770 |
|
1771 |
-
#:
|
1772 |
msgid "Secret key"
|
1773 |
msgstr ""
|
1774 |
|
1775 |
-
#:
|
1776 |
-
#:
|
1777 |
msgid "Custom CSS"
|
1778 |
msgstr ""
|
1779 |
|
1780 |
-
#:
|
|
|
1781 |
msgid "Tools"
|
1782 |
msgstr ""
|
1783 |
|
1784 |
-
#:
|
1785 |
msgid "Export"
|
1786 |
msgstr ""
|
1787 |
|
1788 |
-
#:
|
1789 |
msgid "Choose What To Export"
|
1790 |
msgstr ""
|
1791 |
|
1792 |
-
#:
|
1793 |
msgid "All Testimonials"
|
1794 |
msgstr ""
|
1795 |
|
1796 |
-
#:
|
1797 |
msgid "All Testimonial Views (Shortcodes)"
|
1798 |
msgstr ""
|
1799 |
|
1800 |
-
#:
|
1801 |
msgid "Selected Testimonial Views (Shortcodes)"
|
1802 |
msgstr ""
|
1803 |
|
1804 |
-
#:
|
1805 |
msgid "Choose testimonial view(s)"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
-
#:
|
1809 |
msgid "Import"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
-
#:
|
1813 |
msgid "Import JSON File To Upload"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#:
|
1817 |
-
|
|
|
1818 |
msgstr ""
|
1819 |
|
1820 |
-
#:
|
1821 |
-
|
|
|
1822 |
msgstr ""
|
1823 |
|
1824 |
-
#:
|
1825 |
-
|
|
|
1826 |
msgstr ""
|
1827 |
|
1828 |
-
#:
|
1829 |
-
|
|
|
1830 |
msgstr ""
|
1831 |
|
1832 |
-
#:
|
1833 |
-
|
|
|
1834 |
msgstr ""
|
1835 |
|
1836 |
-
#:
|
1837 |
-
|
|
|
1838 |
msgstr ""
|
1839 |
|
1840 |
-
#:
|
1841 |
-
|
|
|
1842 |
msgstr ""
|
1843 |
|
1844 |
-
#:
|
1845 |
-
#:
|
1846 |
-
msgid "
|
1847 |
msgstr ""
|
1848 |
|
1849 |
-
#:
|
1850 |
-
|
|
|
1851 |
msgstr ""
|
1852 |
|
1853 |
-
#:
|
1854 |
-
|
1855 |
-
msgid "Add New"
|
1856 |
msgstr ""
|
1857 |
|
1858 |
-
#:
|
1859 |
-
msgid "
|
1860 |
msgstr ""
|
1861 |
|
1862 |
-
#:
|
1863 |
-
msgid "
|
1864 |
msgstr ""
|
1865 |
|
1866 |
-
#:
|
1867 |
-
msgid "
|
1868 |
msgstr ""
|
1869 |
|
1870 |
-
#:
|
1871 |
-
|
|
|
|
|
1872 |
msgstr ""
|
1873 |
|
1874 |
-
#:
|
1875 |
-
msgid "
|
1876 |
msgstr ""
|
1877 |
|
1878 |
-
#:
|
1879 |
-
msgid "
|
1880 |
msgstr ""
|
1881 |
|
1882 |
-
#:
|
1883 |
-
msgid "
|
1884 |
msgstr ""
|
1885 |
|
1886 |
-
#:
|
1887 |
-
msgid "
|
1888 |
msgstr ""
|
1889 |
|
1890 |
-
#:
|
1891 |
-
msgid "
|
1892 |
msgstr ""
|
1893 |
|
1894 |
-
#:
|
1895 |
-
msgid "
|
1896 |
msgstr ""
|
1897 |
|
1898 |
-
#:
|
1899 |
-
msgid "
|
1900 |
msgstr ""
|
1901 |
|
1902 |
-
#:
|
1903 |
-
msgid "
|
1904 |
msgstr ""
|
1905 |
|
1906 |
-
#:
|
1907 |
-
msgid "
|
1908 |
msgstr ""
|
1909 |
|
1910 |
-
#:
|
1911 |
-
msgid "
|
1912 |
msgstr ""
|
1913 |
|
1914 |
-
#:
|
1915 |
-
|
|
|
1916 |
msgstr ""
|
1917 |
|
1918 |
-
#:
|
1919 |
-
msgid "
|
1920 |
msgstr ""
|
1921 |
|
1922 |
-
#:
|
1923 |
-
|
|
|
1924 |
msgstr ""
|
1925 |
|
1926 |
-
#:
|
1927 |
-
msgid "
|
1928 |
msgstr ""
|
1929 |
|
1930 |
-
#:
|
1931 |
-
msgid "
|
1932 |
msgstr ""
|
1933 |
|
1934 |
-
#:
|
1935 |
-
|
1936 |
-
msgid "All %s"
|
1937 |
msgstr ""
|
1938 |
|
1939 |
-
#:
|
1940 |
-
|
1941 |
-
msgid "Edit %s"
|
1942 |
msgstr ""
|
1943 |
|
1944 |
-
#:
|
1945 |
-
|
1946 |
-
msgid "New %s"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
-
#:
|
1950 |
-
|
1951 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1952 |
msgstr ""
|
1953 |
|
1954 |
-
#:
|
1955 |
-
|
1956 |
-
msgid "No %s found"
|
1957 |
msgstr ""
|
1958 |
|
1959 |
-
#:
|
1960 |
-
|
1961 |
-
msgid "
|
1962 |
msgstr ""
|
1963 |
|
1964 |
-
#:
|
1965 |
-
|
1966 |
-
msgid "Parent %s"
|
1967 |
msgstr ""
|
1968 |
|
1969 |
-
#:
|
1970 |
-
|
1971 |
-
msgid "%s Image"
|
1972 |
msgstr ""
|
1973 |
|
1974 |
-
#:
|
1975 |
-
|
1976 |
-
msgid "Set %s image"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
-
#:
|
1980 |
-
msgid "
|
1981 |
msgstr ""
|
1982 |
|
1983 |
-
#:
|
1984 |
-
msgid "
|
1985 |
msgstr ""
|
1986 |
|
1987 |
-
#:
|
1988 |
-
|
1989 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1990 |
msgstr ""
|
1991 |
|
1992 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1993 |
msgid "Nothing to import."
|
1994 |
msgstr ""
|
1995 |
|
1996 |
-
#:
|
1997 |
msgid "View updated."
|
1998 |
msgstr ""
|
1999 |
|
2000 |
-
#:
|
2001 |
msgid "View published."
|
2002 |
msgstr ""
|
2003 |
|
2004 |
-
#:
|
2005 |
msgid "View submitted."
|
2006 |
msgstr ""
|
2007 |
|
2008 |
-
#:
|
2009 |
msgid "View draft updated."
|
2010 |
msgstr ""
|
2011 |
|
2012 |
-
#:
|
2013 |
msgid "Testimonial updated."
|
2014 |
msgstr ""
|
2015 |
|
2016 |
-
#:
|
2017 |
msgid "Testimonial published."
|
2018 |
msgstr ""
|
2019 |
|
2020 |
-
#:
|
2021 |
msgid "Testimonial submitted."
|
2022 |
msgstr ""
|
2023 |
|
2024 |
-
#:
|
2025 |
msgid "Testimonial draft updated."
|
2026 |
msgstr ""
|
2027 |
|
2028 |
-
#:
|
2029 |
msgid "Real Testimonials Pro"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
-
#:
|
2033 |
msgid "Premium"
|
2034 |
msgstr ""
|
2035 |
|
2036 |
-
#:
|
2037 |
msgid "Real Testimonials Help"
|
2038 |
msgstr ""
|
2039 |
|
2040 |
-
#:
|
2041 |
msgid "Help"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
-
#:
|
2045 |
msgid "No data found!"
|
2046 |
msgstr ""
|
2047 |
|
2048 |
-
#:
|
2049 |
-
msgid "Upgrade To Real Testimonials Pro"
|
2050 |
-
msgstr ""
|
2051 |
-
|
2052 |
-
#: includes/functions.php:158
|
2053 |
-
msgid ""
|
2054 |
-
"Easily collect, manage, and display testimonials reviews, or quotes in "
|
2055 |
-
"multiple ways on any page on your WordPress site. The plugin comes with the "
|
2056 |
-
"easiest Shortcode Generator settings panel that can help you build awesome "
|
2057 |
-
"and unique testimonials showcase with responsive layouts and customized "
|
2058 |
-
"styles."
|
2059 |
-
msgstr ""
|
2060 |
-
|
2061 |
-
#: includes/functions.php:159
|
2062 |
-
msgid ""
|
2063 |
-
"Create unlimited Testimonial Collection Forms with our drag-and-drop form "
|
2064 |
-
"builder. Use our smartly designed testimonial form to collect detailed "
|
2065 |
-
"feedback from your customers."
|
2066 |
-
msgstr ""
|
2067 |
-
|
2068 |
-
#: public/views/deprecated-shortcodes.php:127
|
2069 |
-
#: public/views/shortcoderender.php:345
|
2070 |
-
msgid "No testimonials found"
|
2071 |
-
msgstr ""
|
2072 |
-
|
2073 |
-
#: testimonial-free.php:211
|
2074 |
msgid "Add Testimonial"
|
2075 |
msgstr ""
|
2076 |
|
2077 |
-
#:
|
2078 |
msgid "Go Pro!"
|
2079 |
msgstr ""
|
2080 |
|
2081 |
-
#:
|
2082 |
msgid "Live Demo"
|
2083 |
msgstr ""
|
2084 |
|
2085 |
-
#:
|
2086 |
msgid "Slider Title"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
-
#:
|
2090 |
msgid "Name"
|
2091 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Real Testimonials 2.4.4\n"
|
4 |
+
"POT-Creation-Date: 2022-02-09 15:35+0600\n"
|
5 |
+
"PO-Revision-Date: 2022-02-09 15:35+0600\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: ShapedPlugin <support@shapedplugin.com>\n"
|
8 |
"Language: en_US\n"
|
12 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
13 |
"X-Generator: Poedit 3.0.1\n"
|
14 |
"X-Poedit-Basepath: ..\n"
|
15 |
+
"X-Poedit-KeywordsList: __;esc_html__;esc_attr_e\n"
|
16 |
+
"X-Poedit-SearchPath-0: .\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
+
#: src/Admin/Admin.php:72 src/Admin/Admin.php:73 src/Admin/Admin.php:84
|
19 |
+
#: src/Admin/Admin.php:86 src/Includes/TestimonialFree.php:170
|
20 |
+
msgid "Manage Views"
|
|
|
|
|
|
|
21 |
msgstr ""
|
22 |
|
23 |
+
#: src/Admin/Admin.php:85
|
24 |
+
msgid "Manage View"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: src/Admin/Admin.php:87 src/Admin/Admin.php:117 src/Admin/Admin.php:153
|
28 |
+
#: src/Admin/Admin.php:154
|
29 |
+
msgid "Add New"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: src/Admin/Admin.php:88
|
33 |
+
msgid "Add New View"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: src/Admin/Admin.php:89 src/Admin/Admin.php:119 src/Admin/Admin.php:155
|
37 |
+
msgid "Edit"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: src/Admin/Admin.php:90
|
41 |
+
msgid "Edit View"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: src/Admin/Admin.php:91
|
45 |
+
msgid "New View"
|
|
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: src/Admin/Admin.php:92
|
49 |
+
msgid "Search View"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: src/Admin/Admin.php:93
|
53 |
+
msgid "No View Found"
|
|
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: src/Admin/Admin.php:94
|
57 |
+
msgid "No View Found in Trash"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: src/Admin/Admin.php:95
|
61 |
+
msgid "Parent View"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: src/Admin/Admin.php:102
|
65 |
+
msgid "Forms"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: src/Admin/Admin.php:103
|
69 |
+
msgid "Generate forms for Frontend."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: src/Admin/Admin.php:114 src/Admin/Admin.php:116
|
73 |
+
msgid "Testimonial Forms"
|
|
|
74 |
msgstr ""
|
75 |
|
76 |
+
#: src/Admin/Admin.php:115
|
77 |
+
msgid "Testimonial Form"
|
|
|
78 |
msgstr ""
|
79 |
|
80 |
+
#: src/Admin/Admin.php:118
|
81 |
+
msgid "Add New Form"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: src/Admin/Admin.php:120
|
85 |
+
msgid "Edit Form"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: src/Admin/Admin.php:121
|
89 |
+
msgid "New Form"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: src/Admin/Admin.php:122
|
93 |
+
msgid "Search Forms"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: src/Admin/Admin.php:123
|
97 |
+
msgid "No Form Found"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: src/Admin/Admin.php:124
|
101 |
+
msgid "No Form Found in Trash"
|
|
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: src/Admin/Admin.php:125
|
105 |
+
msgid "Parent Form"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: src/Admin/Admin.php:148 src/Admin/Admin.php:152
|
109 |
+
#, php-format
|
110 |
+
msgid "All %s"
|
111 |
msgstr ""
|
112 |
|
113 |
+
#: src/Admin/Admin.php:150 src/Admin/Views/TFREE_Widget.php:29
|
114 |
+
msgid "Real Testimonials"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: src/Admin/Admin.php:157
|
118 |
+
#, php-format
|
119 |
+
msgid "Edit %s"
|
|
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: src/Admin/Admin.php:159
|
123 |
+
#, php-format
|
124 |
+
msgid "New %s"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: src/Admin/Admin.php:161
|
128 |
+
#, php-format
|
129 |
+
msgid "Search %s"
|
|
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: src/Admin/Admin.php:163
|
133 |
+
#, php-format
|
134 |
+
msgid "No %s found"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: src/Admin/Admin.php:165
|
138 |
+
#, php-format
|
139 |
+
msgid "No %s found in Trash"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: src/Admin/Admin.php:167
|
143 |
+
#, php-format
|
144 |
+
msgid "Parent %s"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: src/Admin/Admin.php:169
|
148 |
+
#, php-format
|
149 |
+
msgid "%s Image"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: src/Admin/Admin.php:171
|
153 |
+
#, php-format
|
154 |
+
msgid "Set %s image"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: src/Admin/Admin.php:172
|
158 |
+
msgid "Remove image"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: src/Admin/Admin.php:173
|
162 |
+
msgid "Use as image"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: src/Admin/Admin.php:182
|
166 |
+
#, php-format
|
167 |
+
msgid "%s custom post type."
|
168 |
msgstr ""
|
169 |
|
170 |
+
#: src/Admin/Views/Framework/Classes/SPFTESTIMONIAL.php:536
|
171 |
+
msgid "Are you sure?"
|
172 |
msgstr ""
|
173 |
|
174 |
+
#: src/Admin/Views/Framework/Classes/SPFTESTIMONIAL.php:537
|
175 |
+
#, php-format
|
176 |
+
msgid "Please enter %s or more characters"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: src/Admin/Views/Framework/Classes/SPFTESTIMONIAL.php:538
|
180 |
+
msgid "Searching..."
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: src/Admin/Views/Framework/Classes/SPFTESTIMONIAL.php:539
|
184 |
+
msgid "No results found."
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: src/Admin/Views/Framework/Classes/SPFTESTIMONIAL.php:662
|
188 |
+
msgid "Oops! Not allowed."
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: src/Admin/Views/Framework/Classes/SPFTESTIMONIAL.php:734
|
192 |
+
#: src/Admin/Views/Framework/Classes/SPFTESTIMONIAL.php:737
|
193 |
+
msgid "Field not found!"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:333
|
197 |
+
#: src/Includes/TestimonialFree.php:243
|
198 |
+
msgid "Shortcode"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:336
|
202 |
+
msgid "Copy and paste this shortcode into your posts or pages:"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:345
|
206 |
+
msgid "Template Include"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:348
|
210 |
+
msgid "Paste the PHP code into your template file:"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:425
|
214 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:797
|
215 |
+
#: src/Admin/Views/Framework/fields/button_set/button_set.php:83
|
216 |
+
#: src/Admin/Views/Framework/fields/checkbox/checkbox.php:105
|
217 |
+
#: src/Admin/Views/Framework/fields/radio/radio.php:103
|
218 |
+
#: src/Admin/Views/Framework/fields/select/select.php:141
|
219 |
+
#: src/Admin/Views/Framework/functions/actions.php:40
|
220 |
+
msgid "No data available."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:443
|
224 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:700
|
225 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:822
|
226 |
+
msgid "Reset"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:444
|
230 |
+
msgid "update post"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: src/Admin/Views/Framework/Classes/metabox.class.php:444
|
234 |
+
msgid "Cancel"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:329
|
238 |
+
msgid "Error while saving the changes."
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:408
|
242 |
+
msgid "Settings successfully imported."
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:420
|
246 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:435
|
247 |
+
msgid "Default settings restored."
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:490
|
251 |
+
msgid "Settings saved."
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:693
|
255 |
+
msgid "show all settings"
|
|
|
|
|
|
|
|
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:695
|
259 |
+
msgid "Search..."
|
|
|
260 |
msgstr ""
|
261 |
|
262 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:698
|
263 |
+
msgid "Save Settings"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:698
|
267 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:820
|
268 |
+
msgid "Saving..."
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:699
|
272 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:821
|
273 |
+
msgid "Reset tab"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:699
|
277 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:821
|
278 |
+
msgid "Are you sure to reset all the settings of this tab?"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:700
|
282 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:822
|
283 |
+
msgid "Reset All"
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:700
|
287 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:822
|
288 |
+
msgid "Are you sure you want to reset all settings to default values?"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: src/Admin/Views/Framework/Classes/options.class.php:820
|
292 |
+
msgid "Save"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: src/Admin/Views/Framework/configs/form.php:32
|
296 |
+
#: src/Admin/Views/Framework/configs/form.php:124
|
297 |
msgid "How To Use"
|
298 |
msgstr ""
|
299 |
|
300 |
+
#: src/Admin/Views/Framework/configs/form.php:68
|
301 |
msgid "Form Fields (Pro)"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: src/Admin/Views/Framework/configs/form.php:88
|
305 |
+
#: src/Admin/Views/Framework/configs/form.php:187
|
306 |
+
#: src/Admin/Views/Framework/configs/form.php:196
|
307 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:494
|
308 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1587
|
309 |
msgid "Full Name"
|
310 |
msgstr ""
|
311 |
|
312 |
+
#: src/Admin/Views/Framework/configs/form.php:89
|
313 |
+
#: src/Admin/Views/Framework/configs/form.php:225
|
314 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1624
|
315 |
msgid "E-mail Address"
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: src/Admin/Views/Framework/configs/form.php:90
|
319 |
+
#: src/Admin/Views/Framework/configs/form.php:237
|
320 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:589
|
321 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1593
|
322 |
msgid "Identity or Position"
|
323 |
msgstr ""
|
324 |
|
325 |
+
#: src/Admin/Views/Framework/configs/form.php:91
|
326 |
+
#: src/Admin/Views/Framework/configs/form.php:249
|
327 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1633
|
328 |
msgid "Company Name"
|
329 |
msgstr ""
|
330 |
|
331 |
+
#: src/Admin/Views/Framework/configs/form.php:92
|
332 |
+
#: src/Admin/Views/Framework/configs/form.php:261
|
333 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:414
|
334 |
msgid "Testimonial Title"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: src/Admin/Views/Framework/configs/form.php:93
|
338 |
+
#: src/Admin/Views/Framework/configs/form.php:272
|
339 |
msgid "Testimonial"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: src/Admin/Views/Framework/configs/form.php:94
|
343 |
+
#: src/Admin/Views/Framework/configs/form.php:283
|
344 |
msgid "Groups"
|
345 |
msgstr ""
|
346 |
|
347 |
+
#: src/Admin/Views/Framework/configs/form.php:95
|
348 |
+
#: src/Admin/Views/Framework/configs/form.php:294
|
349 |
+
#: src/Includes/TestimonialFree.php:281
|
350 |
msgid "Image"
|
351 |
msgstr ""
|
352 |
|
353 |
+
#: src/Admin/Views/Framework/configs/form.php:96
|
354 |
+
#: src/Admin/Views/Framework/configs/form.php:305
|
355 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1641
|
356 |
msgid "Location"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: src/Admin/Views/Framework/configs/form.php:97
|
360 |
+
#: src/Admin/Views/Framework/configs/form.php:316
|
361 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1649
|
362 |
msgid "Phone or Mobile"
|
363 |
msgstr ""
|
364 |
|
365 |
+
#: src/Admin/Views/Framework/configs/form.php:98
|
366 |
+
#: src/Admin/Views/Framework/configs/form.php:327
|
367 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1657
|
368 |
msgid "Website"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: src/Admin/Views/Framework/configs/form.php:99
|
372 |
+
#: src/Admin/Views/Framework/configs/form.php:338
|
373 |
msgid "Video URL"
|
374 |
msgstr ""
|
375 |
|
376 |
+
#: src/Admin/Views/Framework/configs/form.php:100
|
377 |
+
#: src/Admin/Views/Framework/configs/form.php:349
|
378 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:529
|
379 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1599
|
380 |
+
#: src/Includes/TestimonialFree.php:283
|
381 |
msgid "Rating"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: src/Admin/Views/Framework/configs/form.php:101
|
385 |
+
#: src/Admin/Views/Framework/configs/form.php:360
|
386 |
msgid "Social Profile"
|
387 |
msgstr ""
|
388 |
|
389 |
+
#: src/Admin/Views/Framework/configs/form.php:102
|
390 |
+
#: src/Admin/Views/Framework/configs/form.php:371
|
391 |
+
#: src/Admin/Views/Framework/configs/settings.php:159
|
392 |
msgid "reCAPTCHA"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: src/Admin/Views/Framework/configs/form.php:159
|
396 |
msgid "Form Options (Pro)"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: src/Admin/Views/Framework/configs/form.php:172
|
400 |
msgid "Form Editor (Pro)"
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: src/Admin/Views/Framework/configs/form.php:194
|
404 |
msgid "Label"
|
405 |
msgstr ""
|
406 |
|
407 |
+
#: src/Admin/Views/Framework/configs/form.php:195
|
408 |
msgid "To hide this label, leave it empty."
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: src/Admin/Views/Framework/configs/form.php:203
|
412 |
msgid "Placeholder"
|
413 |
msgstr ""
|
414 |
|
415 |
+
#: src/Admin/Views/Framework/configs/form.php:204
|
416 |
msgid "What is your full name?"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: src/Admin/Views/Framework/configs/form.php:211
|
420 |
msgid "Required"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: src/Admin/Views/Framework/configs/form.php:382
|
424 |
msgid "Submit Button"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: src/Admin/Views/Framework/configs/form.php:400
|
428 |
msgid "Messages (Pro)"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: src/Admin/Views/Framework/configs/form.php:411
|
432 |
msgid "Notifications (Pro)"
|
433 |
msgstr ""
|
434 |
|
435 |
+
#: src/Admin/Views/Framework/configs/form.php:422
|
436 |
msgid "Stylization (Pro)"
|
437 |
msgstr ""
|
438 |
|
439 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:30
|
440 |
msgid "Shortcode Options"
|
441 |
msgstr ""
|
442 |
|
443 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:43
|
444 |
msgid "General Settings"
|
445 |
msgstr ""
|
446 |
|
447 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:50
|
448 |
msgid "Layout Preset"
|
449 |
msgstr ""
|
450 |
|
451 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:51
|
452 |
msgid "Select a layout to display the testimonials."
|
453 |
msgstr ""
|
454 |
|
455 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:52
|
456 |
msgid ""
|
457 |
"To unlock more amazing Testimonial Layouts (Grid, Masonry, List, & Isotope), "
|
458 |
"<a target=\"_blank\" href=\"https://shapedplugin.com/real-testimonials/?"
|
459 |
"ref=1\"><b>Upgrade To Pro!</b></a>."
|
460 |
msgstr ""
|
461 |
|
462 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:58
|
463 |
msgid "Slider"
|
464 |
msgstr ""
|
465 |
|
466 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:63
|
467 |
msgid "Grid"
|
468 |
msgstr ""
|
469 |
|
470 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:68
|
471 |
msgid "Masonry"
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:73
|
475 |
msgid "List"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:78
|
479 |
msgid "Isotope"
|
480 |
msgstr ""
|
481 |
|
482 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:87
|
483 |
msgid "Filter Testimonials"
|
484 |
msgstr ""
|
485 |
|
486 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:88
|
487 |
msgid "Select an option to display the testimonials."
|
488 |
msgstr ""
|
489 |
|
490 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:92
|
491 |
msgid "Latest"
|
492 |
msgstr ""
|
493 |
|
494 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:96
|
495 |
msgid "Groups (Pro)"
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:100
|
499 |
msgid "Specific (Pro)"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:104
|
503 |
msgid "Exclude (Pro)"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:113
|
507 |
msgid "Limit"
|
508 |
msgstr ""
|
509 |
|
510 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:114
|
511 |
msgid ""
|
512 |
"Limit number of testimonials to show. Leave it empty to show all "
|
513 |
"testimonials."
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:122
|
517 |
msgid "Responsive Column(s)"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:123
|
521 |
msgid "Set number of column(s) in different devices for responsive view."
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:138
|
525 |
msgid "Random Order"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:139
|
529 |
msgid "Check to show testimonials random order. (Pro)"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:146
|
533 |
msgid "Order By"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:147
|
537 |
msgid "Select an order by option."
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:149
|
541 |
msgid "Testimonial ID"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:150
|
545 |
+
#: src/Includes/TestimonialFree.php:245 src/Includes/TestimonialFree.php:285
|
546 |
msgid "Date"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:151
|
550 |
+
#: src/Includes/TestimonialFree.php:280
|
551 |
msgid "Title"
|
552 |
msgstr ""
|
553 |
|
554 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:152
|
555 |
msgid "Modified"
|
556 |
msgstr ""
|
557 |
|
558 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:160
|
559 |
msgid "Order Type"
|
560 |
msgstr ""
|
561 |
|
562 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:161
|
563 |
msgid "Select an order option."
|
564 |
msgstr ""
|
565 |
|
566 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:163
|
567 |
msgid "Ascending"
|
568 |
msgstr ""
|
569 |
|
570 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:164
|
571 |
msgid "Descending"
|
572 |
msgstr ""
|
573 |
|
574 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:172
|
575 |
msgid "Schema Markup"
|
576 |
msgstr ""
|
577 |
|
578 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:173
|
579 |
msgid "Enable/Disable schema markup."
|
580 |
msgstr ""
|
581 |
|
582 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:174
|
583 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:185
|
584 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:943
|
585 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:958
|
586 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1098
|
587 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1109
|
588 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1120
|
589 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1132
|
590 |
+
#: src/Admin/Views/Framework/fields/sorter/sorter.php:40
|
591 |
+
msgid "Enabled"
|
592 |
+
msgstr ""
|
593 |
+
|
594 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:175
|
595 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:186
|
596 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:944
|
597 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:959
|
598 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1099
|
599 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1110
|
600 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1121
|
601 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1133
|
602 |
+
#: src/Admin/Views/Framework/fields/sorter/sorter.php:41
|
603 |
+
msgid "Disabled"
|
604 |
+
msgstr ""
|
605 |
+
|
606 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:183
|
607 |
msgid "Preloader"
|
608 |
msgstr ""
|
609 |
|
610 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:184
|
611 |
msgid "Enable/Disable preloader."
|
612 |
msgstr ""
|
613 |
|
614 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:198
|
615 |
msgid "Theme Settings"
|
616 |
msgstr ""
|
617 |
|
618 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:205
|
619 |
msgid "Select Your Theme"
|
620 |
msgstr ""
|
621 |
|
622 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:206
|
623 |
msgid ""
|
624 |
"Select a theme which you want to display. <b>Please note:</b> To get perfect "
|
625 |
"view for some themes, you need to customize few settings below."
|
626 |
msgstr ""
|
627 |
|
628 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:207
|
629 |
msgid ""
|
630 |
"Get Access to 9 Professionally Designed Testimonial Themes with "
|
631 |
"Customization options, <a target=\"_blank\" href=\"https://shapedplugin.com/"
|
632 |
"real-testimonials/?ref=1\"><b>Upgrade to Pro!</b></a>"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:212
|
636 |
msgid "Theme One"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:216
|
640 |
msgid "Theme Two"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:222
|
644 |
msgid "Theme Three"
|
645 |
msgstr ""
|
646 |
|
647 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:227
|
648 |
msgid "Theme Four"
|
649 |
msgstr ""
|
650 |
|
651 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:232
|
652 |
msgid "Theme Five"
|
653 |
msgstr ""
|
654 |
|
655 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:237
|
656 |
msgid "Theme Six"
|
657 |
msgstr ""
|
658 |
|
659 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:242
|
660 |
msgid "Theme Seven"
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:247
|
664 |
msgid "Theme Eight"
|
665 |
msgstr ""
|
666 |
|
667 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:252
|
668 |
msgid "Theme Nine"
|
669 |
msgstr ""
|
670 |
|
671 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:257
|
672 |
msgid "Theme Ten"
|
673 |
msgstr ""
|
674 |
|
675 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:266
|
676 |
msgid "Customize Theme"
|
677 |
msgstr ""
|
678 |
|
679 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:272
|
680 |
msgid "Margin Between Testimonials"
|
681 |
msgstr ""
|
682 |
|
683 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:273
|
684 |
msgid "Set margin between the testimonials."
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:274
|
688 |
msgid "px"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:283
|
692 |
msgid "Testimonial Border"
|
693 |
msgstr ""
|
694 |
|
695 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:284
|
696 |
msgid "Set testimonial border."
|
697 |
msgstr ""
|
698 |
|
699 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:299
|
700 |
msgid "Testimonial Background"
|
701 |
msgstr ""
|
702 |
|
703 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:300
|
704 |
msgid "Set testimonial background color."
|
705 |
msgstr ""
|
706 |
|
707 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:310
|
708 |
msgid "Inner Padding"
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:311
|
712 |
msgid "Set testimonial inner padding."
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:327
|
716 |
msgid "Testimonial Info Position"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:328
|
720 |
msgid "Select testimonial info position."
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:330
|
724 |
msgid "Top"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:331
|
728 |
msgid "Bottom"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:332
|
732 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:679
|
733 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:231
|
734 |
+
msgid "Left"
|
735 |
+
msgstr ""
|
736 |
+
|
737 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:333
|
738 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:681
|
739 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:233
|
740 |
+
msgid "Right"
|
741 |
+
msgstr ""
|
742 |
+
|
743 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:342
|
744 |
msgid "Testimonial Info Border"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:343
|
748 |
msgid "Set testimonial info border."
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:357
|
752 |
msgid "Background for Testimonial Info"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:358
|
756 |
msgid "Set background color for testimonial information."
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:367
|
760 |
msgid "Inner Padding for Testimonial Info"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:368
|
764 |
msgid "Set inner padding for testimonial information."
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:381
|
768 |
msgid ""
|
769 |
"To unlock the Theme based Customization options, <a target=\"_blank\" href="
|
770 |
"\"https://shapedplugin.com/real-testimonials/?ref=1\"><b>Upgrade to Pro!</"
|
771 |
"b></a>."
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:393
|
775 |
msgid "Display Settings"
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:399
|
779 |
msgid "Section Title"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:400
|
783 |
msgid "Show/Hide the testimonial section title."
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:401
|
787 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:416
|
788 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:451
|
789 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:481
|
790 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:496
|
791 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:531
|
792 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:591
|
793 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:609
|
794 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:759
|
795 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:861
|
796 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1000
|
797 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1061
|
798 |
msgid "Show"
|
799 |
msgstr ""
|
800 |
|
801 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:402
|
802 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:417
|
803 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:452
|
804 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:482
|
805 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:497
|
806 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:532
|
807 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:592
|
808 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:610
|
809 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:760
|
810 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:862
|
811 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1001
|
812 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1062
|
813 |
msgid "Hide"
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:409
|
817 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:449
|
818 |
msgid "Testimonial Content"
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:415
|
822 |
msgid "Show/Hide testimonial tagline or title."
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:425
|
826 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:505
|
827 |
msgid "HTML Tag"
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:426
|
831 |
msgid "Select testimonial title HTML tag."
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:450
|
835 |
msgid "Show/Hide testimonial content."
|
836 |
msgstr ""
|
837 |
|
838 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:460
|
839 |
msgid "Content Display Type"
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:461
|
843 |
msgid "Choose content display type."
|
844 |
msgstr ""
|
845 |
|
846 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:463
|
847 |
msgid "Full Content"
|
848 |
msgstr ""
|
849 |
|
850 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:464
|
851 |
msgid "Content with Limit (Pro)"
|
852 |
msgstr ""
|
853 |
|
854 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:479
|
855 |
msgid "Read More"
|
856 |
msgstr ""
|
857 |
|
858 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:480
|
859 |
msgid "Show/Hide testimonial read more button."
|
860 |
msgstr ""
|
861 |
|
862 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:489
|
863 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1581
|
864 |
msgid "Reviewer Information"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:495
|
868 |
msgid "Show/Hide reviewer full name."
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:506
|
872 |
msgid "Select reviewer name HTML tag."
|
873 |
msgstr ""
|
874 |
|
875 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:530
|
876 |
msgid "Show/Hide rating."
|
877 |
msgstr ""
|
878 |
|
879 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:540
|
880 |
msgid "Rating Icon"
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:541
|
884 |
msgid "Choose a rating icon."
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:580
|
888 |
msgid "Rating Color"
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:581
|
892 |
msgid "Set color for rating."
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:590
|
896 |
msgid "Show/Hide identity or position."
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:599
|
900 |
msgid "Social Media"
|
901 |
msgstr ""
|
902 |
|
903 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:607
|
904 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1676
|
905 |
msgid "Social Profiles"
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:608
|
909 |
msgid "Show/Hide social profiles."
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:617
|
913 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:629
|
914 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1053
|
915 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1058
|
916 |
msgid "Pagination"
|
917 |
msgstr ""
|
918 |
|
919 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:622
|
920 |
msgid ""
|
921 |
"To unlock the following pagination settings for Grid, Masonry, & List "
|
922 |
"layouts,<a target=\"_blank\" href=\"https://shapedplugin.com/real-"
|
923 |
"testimonials/?ref=1\"><b> Upgrade To Pro!</b></a>"
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:630
|
927 |
msgid "Enqueue/Dequeue pagination."
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:631
|
931 |
msgid "Enable"
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:632
|
935 |
msgid "Disable"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:642
|
939 |
msgid "Pagination Type"
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:643
|
943 |
msgid "Choose a pagination type."
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:645
|
947 |
msgid "Load More Button (Ajax)"
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:646
|
951 |
msgid "Ajax Number Pagination"
|
952 |
msgstr ""
|
953 |
|
954 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:647
|
955 |
msgid "Infinite Scroll (Ajax)"
|
956 |
msgstr ""
|
957 |
|
958 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:648
|
959 |
msgid "No Ajax (Normal Pagination)"
|
960 |
msgstr ""
|
961 |
|
962 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:658
|
963 |
msgid "Testimonial(s) to Show Per Page"
|
964 |
msgstr ""
|
965 |
|
966 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:659
|
967 |
msgid "Set number of testimonial(s) to show per page."
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:668
|
971 |
msgid "Load more button label"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:676
|
975 |
msgid "Alignment"
|
976 |
msgstr ""
|
977 |
|
978 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:677
|
979 |
msgid "Select pagination alignment."
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:680
|
983 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:232
|
984 |
+
msgid "Center"
|
985 |
+
msgstr ""
|
986 |
+
|
987 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:691
|
988 |
msgid "Margin"
|
989 |
msgstr ""
|
990 |
|
991 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:692
|
992 |
msgid "Set pagination margin."
|
993 |
msgstr ""
|
994 |
|
995 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:707
|
996 |
msgid "Pagination Color"
|
997 |
msgstr ""
|
998 |
|
999 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:708
|
1000 |
msgid "Set color for pagination."
|
1001 |
msgstr ""
|
1002 |
|
1003 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:711
|
1004 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1009
|
1005 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1013
|
1006 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1071
|
1007 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1075
|
1008 |
msgid "Color"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:712
|
1012 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1014
|
1013 |
msgid "Hover Color"
|
1014 |
msgstr ""
|
1015 |
|
1016 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:713
|
1017 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1015
|
1018 |
msgid "Background"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:714
|
1022 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1016
|
1023 |
msgid "Hover Background"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:728
|
1027 |
msgid "Pagination Border"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:729
|
1031 |
msgid "Set pagination border."
|
1032 |
msgstr ""
|
1033 |
|
1034 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:750
|
1035 |
msgid "Image Settings"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:757
|
1039 |
msgid "Testimonial Image"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:758
|
1043 |
msgid "Show/Hide testimonial image."
|
1044 |
msgstr ""
|
1045 |
|
1046 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:771
|
1047 |
msgid "Enable Thumbnail Slider"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:772
|
1051 |
msgid "Check to enable thumbnail slider. (Pro)"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:780
|
1055 |
msgid "Image Shape"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:781
|
1059 |
msgid "Choose a image shape."
|
1060 |
msgstr ""
|
1061 |
|
1062 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:786
|
1063 |
msgid "Circle"
|
1064 |
msgstr ""
|
1065 |
|
1066 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:790
|
1067 |
msgid "Rounded"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:795
|
1071 |
msgid "Square"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:809
|
1075 |
msgid "Testimonial Image Size"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:810
|
1079 |
msgid "Select which size image to show with your Testimonials."
|
1080 |
msgstr ""
|
1081 |
|
1082 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:823
|
1083 |
msgid "Custom Size"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:824
|
1087 |
msgid "Set a custom width and height of the image."
|
1088 |
msgstr ""
|
1089 |
|
1090 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:843
|
1091 |
msgid "Image Mode"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:844
|
1095 |
msgid "Select a image mode."
|
1096 |
msgstr ""
|
1097 |
|
1098 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:847
|
1099 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:251
|
1100 |
+
msgid "Normal"
|
1101 |
+
msgstr ""
|
1102 |
+
|
1103 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:848
|
1104 |
msgid "Grayscale and normal on hover (Pro)"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:849
|
1108 |
msgid "Grayscale on hover (Pro)"
|
1109 |
msgstr ""
|
1110 |
|
1111 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:850
|
1112 |
msgid "Always grayscale (Pro)"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:859
|
1116 |
msgid "Video Testimonial"
|
1117 |
msgstr ""
|
1118 |
|
1119 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:860
|
1120 |
msgid "Show/Hide video testimonial."
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:877
|
1124 |
msgid "Slider Controls"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:883
|
1128 |
msgid "Slider Mode"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:884
|
1132 |
msgid "Set a slider mode. Slider Settings are disabled in the ticker mode. "
|
1133 |
msgstr ""
|
1134 |
|
1135 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:887
|
1136 |
msgid "Standard"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:889
|
1140 |
msgid "Ticker"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:899
|
1144 |
msgid "AutoPlay"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:900
|
1148 |
msgid "On/Off auto play."
|
1149 |
msgstr ""
|
1150 |
|
1151 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:902
|
1152 |
+
#: src/Admin/Views/Framework/fields/switcher/switcher.php:46
|
1153 |
+
msgid "On"
|
1154 |
+
msgstr ""
|
1155 |
+
|
1156 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:903
|
1157 |
+
#: src/Admin/Views/Framework/fields/switcher/switcher.php:47
|
1158 |
+
msgid "Off"
|
1159 |
+
msgstr ""
|
1160 |
+
|
1161 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:904
|
1162 |
msgid "Off on Mobile"
|
1163 |
msgstr ""
|
1164 |
|
1165 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:911
|
1166 |
msgid "AutoPlay Speed"
|
1167 |
msgstr ""
|
1168 |
|
1169 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:912
|
1170 |
msgid "Set auto play speed in a millisecond. Default value 3000ms."
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:918
|
1174 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:930
|
1175 |
msgid "ms"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:928
|
1179 |
msgid "Pagination Speed"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:929
|
1183 |
msgid "Set pagination speed in a millisecond. Default value 600ms."
|
1184 |
msgstr ""
|
1185 |
|
1186 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:940
|
1187 |
msgid "Pause on Hover"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:941
|
1191 |
msgid "Enable/Disable slider pause on hover."
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:956
|
1195 |
msgid "Infinite Loop"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:957
|
1199 |
msgid "Enable/Disable infinite loop mode."
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:967
|
1203 |
msgid "Slider Animation"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:968
|
1207 |
msgid "Fade effect works only on single column view."
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:971
|
1211 |
msgid "Slide"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:972
|
1215 |
msgid "Fade(Pro)"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:981
|
1219 |
msgid "Direction"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:982
|
1223 |
msgid "Slider direction."
|
1224 |
msgstr ""
|
1225 |
|
1226 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:984
|
1227 |
msgid "Right to Left"
|
1228 |
msgstr ""
|
1229 |
|
1230 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:985
|
1231 |
msgid "Left to Right"
|
1232 |
msgstr ""
|
1233 |
|
1234 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:991
|
1235 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:997
|
1236 |
msgid "Navigation"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:998
|
1240 |
msgid "Show/Hide slider navigation."
|
1241 |
msgstr ""
|
1242 |
|
1243 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1002
|
1244 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1063
|
1245 |
msgid "Hide on Mobile"
|
1246 |
msgstr ""
|
1247 |
|
1248 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1010
|
1249 |
msgid "Set the navigation color."
|
1250 |
msgstr ""
|
1251 |
|
1252 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1033
|
1253 |
msgid "Border"
|
1254 |
msgstr ""
|
1255 |
|
1256 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1034
|
1257 |
msgid "Set the navigation border."
|
1258 |
msgstr ""
|
1259 |
|
1260 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1059
|
1261 |
msgid "Show/Hide pagination."
|
1262 |
msgstr ""
|
1263 |
|
1264 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1072
|
1265 |
msgid "Set the pagination color."
|
1266 |
msgstr ""
|
1267 |
|
1268 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1076
|
1269 |
msgid "Active Color"
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1090
|
1273 |
msgid "Miscellaneous"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1095
|
1277 |
msgid "Adaptive Slider Height"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1096
|
1281 |
msgid "Dynamically adjust slider height based on each slide's height."
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1106
|
1285 |
msgid "Touch Swipe"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1107
|
1289 |
msgid "Enable/Disable swipe mode."
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1117
|
1293 |
msgid "Mouse Draggable"
|
1294 |
msgstr ""
|
1295 |
|
1296 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1118
|
1297 |
msgid "Enable/Disable mouse draggable mode."
|
1298 |
msgstr ""
|
1299 |
|
1300 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1129
|
1301 |
msgid "Swipe To Slide"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1130
|
1305 |
msgid "Enable/Disable swipe to slide."
|
1306 |
msgstr ""
|
1307 |
|
1308 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1149
|
1309 |
msgid "Typography"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1155
|
1313 |
msgid ""
|
1314 |
"To unlock These Typography (940+ Google Fonts) options, <a target=\"_blank\" "
|
1315 |
"href=\"https://shapedplugin.com/real-testimonials/?ref=1\"><b>Upgrade to Pro!"
|
1316 |
"</b></a> P.S. Note: The color fields work in the lite version."
|
1317 |
msgstr ""
|
1318 |
|
1319 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1160
|
1320 |
msgid "Load Section Title Font"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1161
|
1324 |
msgid "On/Off google font for the section title."
|
1325 |
msgstr ""
|
1326 |
|
1327 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1169
|
1328 |
msgid "Section Title Font"
|
1329 |
msgstr ""
|
1330 |
|
1331 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1170
|
1332 |
msgid "Set testimonial section title font properties."
|
1333 |
msgstr ""
|
1334 |
|
1335 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1190
|
1336 |
msgid "Load Testimonial Title Font"
|
1337 |
msgstr ""
|
1338 |
|
1339 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1191
|
1340 |
msgid "On/Off google font for the testimonial tagline or title."
|
1341 |
msgstr ""
|
1342 |
|
1343 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1199
|
1344 |
msgid "Testimonial Title Font"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1200
|
1348 |
msgid "Set testimonial tagline or title font properties."
|
1349 |
msgstr ""
|
1350 |
|
1351 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1226
|
1352 |
msgid "Load Testimonial Content Font"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1227
|
1356 |
msgid "On/Off google font for the testimonial content."
|
1357 |
msgstr ""
|
1358 |
|
1359 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1235
|
1360 |
msgid "Testimonial Content Font"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1236
|
1364 |
msgid "Set testimonial content font properties."
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1262
|
1368 |
msgid "Load Name Font"
|
1369 |
msgstr ""
|
1370 |
|
1371 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1263
|
1372 |
msgid "On/Off google font for the name."
|
1373 |
msgstr ""
|
1374 |
|
1375 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1271
|
1376 |
msgid "Name Font"
|
1377 |
msgstr ""
|
1378 |
|
1379 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1272
|
1380 |
msgid "Set name font properties."
|
1381 |
msgstr ""
|
1382 |
|
1383 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1299
|
1384 |
msgid "Load Identity or Position & Company Name Font"
|
1385 |
msgstr ""
|
1386 |
|
1387 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1300
|
1388 |
msgid "On/Off google font for the identity or position & company name."
|
1389 |
msgstr ""
|
1390 |
|
1391 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1308
|
1392 |
msgid "Identity or Position & Company Name Font"
|
1393 |
msgstr ""
|
1394 |
|
1395 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1309
|
1396 |
msgid "Set identity or position & company name font properties."
|
1397 |
msgstr ""
|
1398 |
|
1399 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1336
|
1400 |
msgid "Load Location Font"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1337
|
1404 |
msgid "On/Off google font for the location."
|
1405 |
msgstr ""
|
1406 |
|
1407 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1345
|
1408 |
msgid "Location Font"
|
1409 |
msgstr ""
|
1410 |
|
1411 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1346
|
1412 |
msgid "Set location font properties."
|
1413 |
msgstr ""
|
1414 |
|
1415 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1374
|
1416 |
msgid "Load Phone or Mobile Font"
|
1417 |
msgstr ""
|
1418 |
|
1419 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1375
|
1420 |
msgid "On/Off google font for the phone or mobile."
|
1421 |
msgstr ""
|
1422 |
|
1423 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1383
|
1424 |
msgid "Phone or Mobile Font"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1384
|
1428 |
msgid "Set phone or mobile font properties."
|
1429 |
msgstr ""
|
1430 |
|
1431 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1412
|
1432 |
msgid "Load Email Address Font"
|
1433 |
msgstr ""
|
1434 |
|
1435 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1413
|
1436 |
msgid "On/Off google font for the email address."
|
1437 |
msgstr ""
|
1438 |
|
1439 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1421
|
1440 |
msgid "Email Address Font"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1422
|
1444 |
msgid "Set email address font properties."
|
1445 |
msgstr ""
|
1446 |
|
1447 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1450
|
1448 |
msgid "Load Date Font"
|
1449 |
msgstr ""
|
1450 |
|
1451 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1451
|
1452 |
msgid "On/Off google font for the date."
|
1453 |
msgstr ""
|
1454 |
|
1455 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1459
|
1456 |
msgid "Date Font"
|
1457 |
msgstr ""
|
1458 |
|
1459 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1460
|
1460 |
msgid "Set date font properties."
|
1461 |
msgstr ""
|
1462 |
|
1463 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1488
|
1464 |
msgid "Load Website Font"
|
1465 |
msgstr ""
|
1466 |
|
1467 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1489
|
1468 |
msgid "On/Off google font for the website."
|
1469 |
msgstr ""
|
1470 |
|
1471 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1497
|
1472 |
msgid "Website Font"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1498
|
1476 |
msgid "Set website font properties."
|
1477 |
msgstr ""
|
1478 |
|
1479 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1526
|
1480 |
msgid "Load Isotope Filter Button Font"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1527
|
1484 |
msgid "On/Off google font for the isotope filter button."
|
1485 |
msgstr ""
|
1486 |
|
1487 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1535
|
1488 |
msgid "Isotope Filter Button Font"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1536
|
1492 |
msgid "Set isotope filter button font properties."
|
1493 |
msgstr ""
|
1494 |
|
1495 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1568
|
1496 |
msgid "Testimonial Options"
|
1497 |
msgstr ""
|
1498 |
|
1499 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1601
|
1500 |
msgid "5 Stars"
|
1501 |
msgstr ""
|
1502 |
|
1503 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1602
|
1504 |
msgid "4 Stars"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1603
|
1508 |
msgid "3 Stars"
|
1509 |
msgstr ""
|
1510 |
|
1511 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1604
|
1512 |
msgid "2 Stars"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1605
|
1516 |
msgid "1 Star"
|
1517 |
msgstr ""
|
1518 |
|
1519 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1613
|
1520 |
msgid "EXTRA REVIEWER INFORMATION (PRO)"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1617
|
1524 |
msgid ""
|
1525 |
"To unlock the following extra reviewer information fields, <a target=\"_blank"
|
1526 |
"\" href=\"https://shapedplugin.com/real-testimonials/?ref=1\"><b>Upgrade to "
|
1527 |
"Pro!</b></a>"
|
1528 |
msgstr ""
|
1529 |
|
1530 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1665
|
1531 |
msgid "Video Testimonial URL"
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#: src/Admin/Views/Framework/configs/metaboxs.php:1671
|
1535 |
msgid "SOCIAL MEDIA (PRO)"
|
1536 |
msgstr ""
|
1537 |
|
1538 |
+
#: src/Admin/Views/Framework/configs/settings.php:37
|
1539 |
+
#: src/Admin/Views/Framework/configs/settings.php:48
|
1540 |
msgid "Settings"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
+
#: src/Admin/Views/Framework/configs/settings.php:60
|
1544 |
msgid "Advanced Settings"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
+
#: src/Admin/Views/Framework/configs/settings.php:66
|
1548 |
msgid "Clean up Data on Deletion"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
+
#: src/Admin/Views/Framework/configs/settings.php:67
|
1552 |
msgid "Delete all Real Testimonials data from the database on plugin deletion."
|
1553 |
msgstr ""
|
1554 |
|
1555 |
+
#: src/Admin/Views/Framework/configs/settings.php:74
|
1556 |
msgid "Google Fonts"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
+
#: src/Admin/Views/Framework/configs/settings.php:75
|
1560 |
+
#: src/Admin/Views/Framework/configs/settings.php:91
|
1561 |
+
#: src/Admin/Views/Framework/configs/settings.php:105
|
1562 |
+
#: src/Admin/Views/Framework/configs/settings.php:115
|
1563 |
msgid "Enqueue"
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: src/Admin/Views/Framework/configs/settings.php:76
|
1567 |
+
#: src/Admin/Views/Framework/configs/settings.php:92
|
1568 |
+
#: src/Admin/Views/Framework/configs/settings.php:106
|
1569 |
+
#: src/Admin/Views/Framework/configs/settings.php:116
|
1570 |
msgid "Dequeue"
|
1571 |
msgstr ""
|
1572 |
|
1573 |
+
#: src/Admin/Views/Framework/configs/settings.php:85
|
1574 |
msgid "Enqueue or Dequeue JS"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
+
#: src/Admin/Views/Framework/configs/settings.php:90
|
1578 |
msgid "Slick JS"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
+
#: src/Admin/Views/Framework/configs/settings.php:99
|
1582 |
msgid "Enqueue or Dequeue CSS"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
+
#: src/Admin/Views/Framework/configs/settings.php:104
|
1586 |
msgid "Slick CSS"
|
1587 |
msgstr ""
|
1588 |
|
1589 |
+
#: src/Admin/Views/Framework/configs/settings.php:114
|
1590 |
msgid "Font Awesome CSS"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
+
#: src/Admin/Views/Framework/configs/settings.php:132
|
1594 |
msgid "Menu Settings"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: src/Admin/Views/Framework/configs/settings.php:138
|
1598 |
msgid "Singular name"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: src/Admin/Views/Framework/configs/settings.php:145
|
1602 |
msgid "Plural name"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: src/Admin/Views/Framework/configs/settings.php:168
|
1606 |
msgid ""
|
1607 |
"<a href=\"https://www.google.com/recaptcha\" target=\"_blank\">reCAPTCHA</a> "
|
1608 |
"is a free anti-spam service of Google that protects your website from spam "
|
1612 |
"testimonials/?ref=1\"><b>(Available in Pro)</b></a>"
|
1613 |
msgstr ""
|
1614 |
|
1615 |
+
#: src/Admin/Views/Framework/configs/settings.php:178
|
1616 |
msgid "Site key"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
+
#: src/Admin/Views/Framework/configs/settings.php:186
|
1620 |
msgid "Secret key"
|
1621 |
msgstr ""
|
1622 |
|
1623 |
+
#: src/Admin/Views/Framework/configs/settings.php:202
|
1624 |
+
#: src/Admin/Views/Framework/configs/settings.php:214
|
1625 |
msgid "Custom CSS"
|
1626 |
msgstr ""
|
1627 |
|
1628 |
+
#: src/Admin/Views/Framework/configs/tools.php:27
|
1629 |
+
#: src/Admin/Views/Framework/configs/tools.php:40
|
1630 |
msgid "Tools"
|
1631 |
msgstr ""
|
1632 |
|
1633 |
+
#: src/Admin/Views/Framework/configs/tools.php:47
|
1634 |
msgid "Export"
|
1635 |
msgstr ""
|
1636 |
|
1637 |
+
#: src/Admin/Views/Framework/configs/tools.php:53
|
1638 |
msgid "Choose What To Export"
|
1639 |
msgstr ""
|
1640 |
|
1641 |
+
#: src/Admin/Views/Framework/configs/tools.php:56
|
1642 |
msgid "All Testimonials"
|
1643 |
msgstr ""
|
1644 |
|
1645 |
+
#: src/Admin/Views/Framework/configs/tools.php:57
|
1646 |
msgid "All Testimonial Views (Shortcodes)"
|
1647 |
msgstr ""
|
1648 |
|
1649 |
+
#: src/Admin/Views/Framework/configs/tools.php:58
|
1650 |
msgid "Selected Testimonial Views (Shortcodes)"
|
1651 |
msgstr ""
|
1652 |
|
1653 |
+
#: src/Admin/Views/Framework/configs/tools.php:72
|
1654 |
msgid "Choose testimonial view(s)"
|
1655 |
msgstr ""
|
1656 |
|
1657 |
+
#: src/Admin/Views/Framework/configs/tools.php:95
|
1658 |
msgid "Import"
|
1659 |
msgstr ""
|
1660 |
|
1661 |
+
#: src/Admin/Views/Framework/configs/tools.php:100
|
1662 |
msgid "Import JSON File To Upload"
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: src/Admin/Views/Framework/fields/border/border.php:53
|
1666 |
+
#: src/Admin/Views/Framework/fields/spacing/spacing.php:53
|
1667 |
+
msgid "top"
|
1668 |
msgstr ""
|
1669 |
|
1670 |
+
#: src/Admin/Views/Framework/fields/border/border.php:54
|
1671 |
+
#: src/Admin/Views/Framework/fields/spacing/spacing.php:54
|
1672 |
+
msgid "right"
|
1673 |
msgstr ""
|
1674 |
|
1675 |
+
#: src/Admin/Views/Framework/fields/border/border.php:55
|
1676 |
+
#: src/Admin/Views/Framework/fields/spacing/spacing.php:55
|
1677 |
+
msgid "bottom"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
+
#: src/Admin/Views/Framework/fields/border/border.php:56
|
1681 |
+
#: src/Admin/Views/Framework/fields/spacing/spacing.php:56
|
1682 |
+
msgid "left"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
+
#: src/Admin/Views/Framework/fields/border/border.php:57
|
1686 |
+
#: src/Admin/Views/Framework/fields/spacing/spacing.php:57
|
1687 |
+
msgid "all"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
+
#: src/Admin/Views/Framework/fields/border/border.php:82
|
1691 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:289
|
1692 |
+
msgid "Solid"
|
1693 |
msgstr ""
|
1694 |
|
1695 |
+
#: src/Admin/Views/Framework/fields/border/border.php:83
|
1696 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:292
|
1697 |
+
msgid "Dashed"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
+
#: src/Admin/Views/Framework/fields/border/border.php:84
|
1701 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:291
|
1702 |
+
msgid "Dotted"
|
1703 |
msgstr ""
|
1704 |
|
1705 |
+
#: src/Admin/Views/Framework/fields/border/border.php:85
|
1706 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:290
|
1707 |
+
msgid "Double"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
+
#: src/Admin/Views/Framework/fields/border/border.php:86
|
1711 |
+
msgid "Inset"
|
|
|
1712 |
msgstr ""
|
1713 |
|
1714 |
+
#: src/Admin/Views/Framework/fields/border/border.php:87
|
1715 |
+
msgid "Outset"
|
1716 |
msgstr ""
|
1717 |
|
1718 |
+
#: src/Admin/Views/Framework/fields/border/border.php:88
|
1719 |
+
msgid "Groove"
|
1720 |
msgstr ""
|
1721 |
|
1722 |
+
#: src/Admin/Views/Framework/fields/border/border.php:89
|
1723 |
+
msgid "ridge"
|
1724 |
msgstr ""
|
1725 |
|
1726 |
+
#: src/Admin/Views/Framework/fields/border/border.php:90
|
1727 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:269
|
1728 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:288
|
1729 |
+
msgid "None"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
+
#: src/Admin/Views/Framework/fields/column/column.php:54
|
1733 |
+
msgid "Large Desktop"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
+
#: src/Admin/Views/Framework/fields/column/column.php:55
|
1737 |
+
msgid "Desktop"
|
1738 |
msgstr ""
|
1739 |
|
1740 |
+
#: src/Admin/Views/Framework/fields/column/column.php:56
|
1741 |
+
msgid "Laptop"
|
1742 |
msgstr ""
|
1743 |
|
1744 |
+
#: src/Admin/Views/Framework/fields/column/column.php:57
|
1745 |
+
msgid "Tablet"
|
1746 |
msgstr ""
|
1747 |
|
1748 |
+
#: src/Admin/Views/Framework/fields/column/column.php:58
|
1749 |
+
msgid "Mobile"
|
1750 |
msgstr ""
|
1751 |
|
1752 |
+
#: src/Admin/Views/Framework/fields/custom_size/custom_size.php:51
|
1753 |
+
msgid "width"
|
1754 |
msgstr ""
|
1755 |
|
1756 |
+
#: src/Admin/Views/Framework/fields/custom_size/custom_size.php:52
|
1757 |
+
msgid "height"
|
1758 |
msgstr ""
|
1759 |
|
1760 |
+
#: src/Admin/Views/Framework/fields/image_sizes/image_sizes.php:84
|
1761 |
+
msgid "Original uploaded image"
|
1762 |
msgstr ""
|
1763 |
|
1764 |
+
#: src/Admin/Views/Framework/fields/image_sizes/image_sizes.php:85
|
1765 |
+
msgid "Set custom size"
|
1766 |
msgstr ""
|
1767 |
|
1768 |
+
#: src/Admin/Views/Framework/fields/image_sizes/image_sizes.php:131
|
1769 |
+
msgid "No image sizes found."
|
1770 |
msgstr ""
|
1771 |
|
1772 |
+
#: src/Admin/Views/Framework/fields/rating/rating.php:70
|
1773 |
+
#: src/Admin/Views/Framework/fields/select_f/select_f.php:128
|
1774 |
+
msgid "No data provided for this option type."
|
1775 |
msgstr ""
|
1776 |
|
1777 |
+
#: src/Admin/Views/Framework/fields/repeater/repeater.php:58
|
1778 |
+
msgid "Error: Field ID conflict."
|
1779 |
msgstr ""
|
1780 |
|
1781 |
+
#: src/Admin/Views/Framework/fields/repeater/repeater.php:79
|
1782 |
+
#: src/Admin/Views/Framework/fields/repeater/repeater.php:107
|
1783 |
+
msgid "Are you sure to delete this item?"
|
1784 |
msgstr ""
|
1785 |
|
1786 |
+
#: src/Admin/Views/Framework/fields/repeater/repeater.php:119
|
1787 |
+
msgid "You cannot add more."
|
1788 |
msgstr ""
|
1789 |
|
1790 |
+
#: src/Admin/Views/Framework/fields/repeater/repeater.php:120
|
1791 |
+
msgid "You cannot remove more."
|
1792 |
msgstr ""
|
1793 |
|
1794 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:143
|
1795 |
+
msgid "Font Family"
|
|
|
1796 |
msgstr ""
|
1797 |
|
1798 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:145
|
1799 |
+
msgid "Select a font"
|
|
|
1800 |
msgstr ""
|
1801 |
|
1802 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:153
|
1803 |
+
msgid "Backup Font Family"
|
|
|
1804 |
msgstr ""
|
1805 |
|
1806 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:174
|
1807 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:188
|
1808 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:201
|
1809 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:218
|
1810 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:238
|
1811 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:256
|
1812 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:275
|
1813 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:298
|
1814 |
+
msgid "Default"
|
1815 |
msgstr ""
|
1816 |
|
1817 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:186
|
1818 |
+
msgid "Font Style"
|
|
|
1819 |
msgstr ""
|
1820 |
|
1821 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:200
|
1822 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:201
|
1823 |
+
msgid "Load Extra Styles"
|
1824 |
msgstr ""
|
1825 |
|
1826 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:215
|
1827 |
+
msgid "Subset"
|
|
|
1828 |
msgstr ""
|
1829 |
|
1830 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:226
|
1831 |
+
msgid "Text Align"
|
|
|
1832 |
msgstr ""
|
1833 |
|
1834 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:230
|
1835 |
+
msgid "Inherit"
|
|
|
1836 |
msgstr ""
|
1837 |
|
1838 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:234
|
1839 |
+
msgid "Justify"
|
1840 |
msgstr ""
|
1841 |
|
1842 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:235
|
1843 |
+
msgid "Initial"
|
1844 |
msgstr ""
|
1845 |
|
1846 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:247
|
1847 |
+
msgid "Font Variant"
|
1848 |
+
msgstr ""
|
1849 |
+
|
1850 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:252
|
1851 |
+
msgid "Small Caps"
|
1852 |
+
msgstr ""
|
1853 |
+
|
1854 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:253
|
1855 |
+
msgid "All Small Caps"
|
1856 |
+
msgstr ""
|
1857 |
+
|
1858 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:265
|
1859 |
+
msgid "Text Transform"
|
1860 |
+
msgstr ""
|
1861 |
+
|
1862 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:270
|
1863 |
+
msgid "Capitalize"
|
1864 |
+
msgstr ""
|
1865 |
+
|
1866 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:271
|
1867 |
+
msgid "Uppercase"
|
1868 |
+
msgstr ""
|
1869 |
+
|
1870 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:272
|
1871 |
+
msgid "Lowercase"
|
1872 |
+
msgstr ""
|
1873 |
+
|
1874 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:284
|
1875 |
+
msgid "Text Decoration"
|
1876 |
+
msgstr ""
|
1877 |
+
|
1878 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:293
|
1879 |
+
msgid "Wavy"
|
1880 |
+
msgstr ""
|
1881 |
+
|
1882 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:294
|
1883 |
+
msgid "Overline"
|
1884 |
+
msgstr ""
|
1885 |
+
|
1886 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:295
|
1887 |
+
msgid "Line-through"
|
1888 |
msgstr ""
|
1889 |
|
1890 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:311
|
1891 |
+
msgid "Font Size"
|
1892 |
+
msgstr ""
|
1893 |
+
|
1894 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:323
|
1895 |
+
msgid "Line Height"
|
1896 |
+
msgstr ""
|
1897 |
+
|
1898 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:335
|
1899 |
+
msgid "Letter Spacing"
|
1900 |
+
msgstr ""
|
1901 |
+
|
1902 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:347
|
1903 |
+
msgid "Word Spacing"
|
1904 |
+
msgstr ""
|
1905 |
+
|
1906 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:358
|
1907 |
+
msgid "Margin Top"
|
1908 |
+
msgstr ""
|
1909 |
+
|
1910 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:370
|
1911 |
+
msgid "Margin Right"
|
1912 |
+
msgstr ""
|
1913 |
+
|
1914 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:382
|
1915 |
+
msgid "Margin Bottom"
|
1916 |
+
msgstr ""
|
1917 |
+
|
1918 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:394
|
1919 |
+
msgid "Margin Left"
|
1920 |
+
msgstr ""
|
1921 |
+
|
1922 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:409
|
1923 |
+
msgid "Font Color"
|
1924 |
+
msgstr ""
|
1925 |
+
|
1926 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:420
|
1927 |
+
msgid "Custom Style"
|
1928 |
+
msgstr ""
|
1929 |
+
|
1930 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:499
|
1931 |
+
msgid "Custom Web Fonts"
|
1932 |
+
msgstr ""
|
1933 |
+
|
1934 |
+
#: src/Admin/Views/Framework/fields/typography/typography.php:505
|
1935 |
+
msgid "Safe Web Fonts"
|
1936 |
+
msgstr ""
|
1937 |
+
|
1938 |
+
#: src/Admin/Views/Framework/functions/actions.php:17
|
1939 |
+
#: src/Admin/Views/Framework/functions/actions.php:71
|
1940 |
+
#: src/Admin/Views/Framework/functions/actions.php:113
|
1941 |
+
#: src/Admin/Views/Framework/functions/actions.php:152
|
1942 |
+
#: src/Admin/Views/Framework/functions/actions.php:185
|
1943 |
+
msgid "Error: Invalid nonce verification."
|
1944 |
+
msgstr ""
|
1945 |
+
|
1946 |
+
#: src/Admin/Views/Framework/functions/actions.php:75
|
1947 |
+
#: src/Admin/Views/Framework/functions/actions.php:117
|
1948 |
+
msgid "Error: Invalid key."
|
1949 |
+
msgstr ""
|
1950 |
+
|
1951 |
+
#: src/Admin/Views/Framework/functions/actions.php:121
|
1952 |
+
msgid "Error: The response is not a valid JSON response."
|
1953 |
+
msgstr ""
|
1954 |
+
|
1955 |
+
#: src/Admin/Views/Framework/functions/actions.php:189
|
1956 |
+
msgid "Error: Invalid term ID."
|
1957 |
+
msgstr ""
|
1958 |
+
|
1959 |
+
#: src/Admin/Views/Framework/functions/actions.php:195
|
1960 |
+
msgid "Error: You do not have permission to do that."
|
1961 |
+
msgstr ""
|
1962 |
+
|
1963 |
+
#: src/Admin/Views/Framework/functions/validate.php:17
|
1964 |
+
msgid "Please enter a valid email address."
|
1965 |
+
msgstr ""
|
1966 |
+
|
1967 |
+
#: src/Admin/Views/Framework/functions/validate.php:36
|
1968 |
+
msgid "Please enter a valid number."
|
1969 |
+
msgstr ""
|
1970 |
+
|
1971 |
+
#: src/Admin/Views/Framework/functions/validate.php:55
|
1972 |
+
msgid "This field is required."
|
1973 |
+
msgstr ""
|
1974 |
+
|
1975 |
+
#: src/Admin/Views/Framework/functions/validate.php:73
|
1976 |
+
msgid "Please enter a valid URL."
|
1977 |
+
msgstr ""
|
1978 |
+
|
1979 |
+
#: src/Admin/Views/TFREE_Widget.php:31
|
1980 |
+
msgid "Display Real Testimonials."
|
1981 |
+
msgstr ""
|
1982 |
+
|
1983 |
+
#: src/Admin/Views/TFREE_Widget.php:81
|
1984 |
+
msgid "Title:"
|
1985 |
+
msgstr ""
|
1986 |
+
|
1987 |
+
#: src/Admin/Views/TFREE_Widget.php:84
|
1988 |
+
msgid "Testimonial Shortcodes:"
|
1989 |
+
msgstr ""
|
1990 |
+
|
1991 |
+
#: src/Admin/Views/TFREE_Widget.php:100
|
1992 |
+
msgid "You did not generate any shortcode yet."
|
1993 |
+
msgstr ""
|
1994 |
+
|
1995 |
+
#: src/Admin/Views/TFREE_Widget.php:101
|
1996 |
+
msgid "to generate a new shortcode now."
|
1997 |
+
msgstr ""
|
1998 |
+
|
1999 |
+
#: src/Admin/Views/TFREE_Widget.php:102
|
2000 |
+
msgid "click here"
|
2001 |
+
msgstr ""
|
2002 |
+
|
2003 |
+
#: src/Frontend/Helper.php:242 src/Frontend/Views/Deprecated_Shortcodes.php:140
|
2004 |
+
msgid "No testimonials found"
|
2005 |
+
msgstr ""
|
2006 |
+
|
2007 |
+
#: src/Includes/Import_Export.php:245
|
2008 |
msgid "Nothing to import."
|
2009 |
msgstr ""
|
2010 |
|
2011 |
+
#: src/Includes/TFREE_Functions.php:43 src/Includes/TFREE_Functions.php:44
|
2012 |
msgid "View updated."
|
2013 |
msgstr ""
|
2014 |
|
2015 |
+
#: src/Includes/TFREE_Functions.php:45
|
2016 |
msgid "View published."
|
2017 |
msgstr ""
|
2018 |
|
2019 |
+
#: src/Includes/TFREE_Functions.php:46
|
2020 |
msgid "View submitted."
|
2021 |
msgstr ""
|
2022 |
|
2023 |
+
#: src/Includes/TFREE_Functions.php:47
|
2024 |
msgid "View draft updated."
|
2025 |
msgstr ""
|
2026 |
|
2027 |
+
#: src/Includes/TFREE_Functions.php:49 src/Includes/TFREE_Functions.php:50
|
2028 |
msgid "Testimonial updated."
|
2029 |
msgstr ""
|
2030 |
|
2031 |
+
#: src/Includes/TFREE_Functions.php:51
|
2032 |
msgid "Testimonial published."
|
2033 |
msgstr ""
|
2034 |
|
2035 |
+
#: src/Includes/TFREE_Functions.php:52
|
2036 |
msgid "Testimonial submitted."
|
2037 |
msgstr ""
|
2038 |
|
2039 |
+
#: src/Includes/TFREE_Functions.php:53
|
2040 |
msgid "Testimonial draft updated."
|
2041 |
msgstr ""
|
2042 |
|
2043 |
+
#: src/Includes/TFREE_Functions.php:88
|
2044 |
msgid "Real Testimonials Pro"
|
2045 |
msgstr ""
|
2046 |
|
2047 |
+
#: src/Includes/TFREE_Functions.php:89
|
2048 |
msgid "Premium"
|
2049 |
msgstr ""
|
2050 |
|
2051 |
+
#: src/Includes/TFREE_Functions.php:99
|
2052 |
msgid "Real Testimonials Help"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
+
#: src/Includes/TFREE_Functions.php:100
|
2056 |
msgid "Help"
|
2057 |
msgstr ""
|
2058 |
|
2059 |
+
#: src/Includes/TFREE_Functions.php:136
|
2060 |
msgid "No data found!"
|
2061 |
msgstr ""
|
2062 |
|
2063 |
+
#: src/Includes/TestimonialFree.php:169
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2064 |
msgid "Add Testimonial"
|
2065 |
msgstr ""
|
2066 |
|
2067 |
+
#: src/Includes/TestimonialFree.php:172
|
2068 |
msgid "Go Pro!"
|
2069 |
msgstr ""
|
2070 |
|
2071 |
+
#: src/Includes/TestimonialFree.php:193
|
2072 |
msgid "Live Demo"
|
2073 |
msgstr ""
|
2074 |
|
2075 |
+
#: src/Includes/TestimonialFree.php:242
|
2076 |
msgid "Slider Title"
|
2077 |
msgstr ""
|
2078 |
|
2079 |
+
#: src/Includes/TestimonialFree.php:282
|
2080 |
msgid "Name"
|
2081 |
msgstr ""
|
public/assets/css/style.min.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
div.sp-testimonial-free-section{display:none}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-free-item:focus{outline:0}.sp-testimonial-free-section .sp-testimonial-free-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 .tfree-testimonial-title{margin:0 0 18px 0}.sp-testimonial-free-section .tfree-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 .tfree-client-testimonial,.sp-testimonial-free-section .tfree-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 .tfree-client-testimonial{margin:0 20px 20px 0}.sp-testimonial-free-section .tfree-client-testimonial .tfree-testimonial-content{display:inline;margin:0;padding:0}.sp-testimonial-free-section .tfree-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 .tfree-client-rating{margin:0 0 6px 0;text-align:center;line-height:1}.sp-testimonial-free-section .tfree-client-rating i.fa{font-size:19px;margin-right:-1px}.sp-testimonial-free-section .tfree-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-tfree-client-image{margin:0 0 22px 0}.sp-testimonial-free-section .sp-tfree-client-image img{display:inline-block;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}.theme-twentytwentyone .sp-testimonial-free-section .sp-tfree-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}.tfree-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}.tfree-preloader img{position:relative;top:50%;display:inline-block;margin-top:-16px}
|
|
public/assets/js/sp-slick-active.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
jQuery(document).ready((function($){$(".sp-testimonial-free-section").each((function(index){var _this=$(this),custom_id=$(this).attr("id"),preloader;if("1"==_this.data("preloader")){var parents_class,parents_siblings_id=$("#"+custom_id).parent(".sp-testimonial-free-wrapper").find(".tfree-preloader").attr("id");$(window).load((function(){$("#"+parents_siblings_id).animate({opacity:1},600).hide(),$("#"+custom_id).animate({opacity:1},600)}))}var tfree_custom_slider_id=$(this).attr("id"),tpCarouselData=$(this).data("slick");if(0!=tfree_custom_slider_id.length){var mySlider=$("#"+tfree_custom_slider_id).on("init",(function(slick){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(slick,currentSlide,nextSlide){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).slick({pauseOnFocus:!1,slidesToScroll:1,accessibility:!0,prevArrow:"<button class='slick-prev' data-role='none' aria-label='Previous slide'><i class='fa fa-angle-left'></i></button>",nextArrow:"<button class='slick-next' data-role='none' aria-label='Next slide'><i class='fa fa-angle-right'></i></button>"});function multiSlideAdaptiveHeight(slider){let activeSlides=[],tallestSlide=0;setTimeout((function(){$(".slick-track .slick-active",slider).each((function(i){activeSlides[i]=$(this).outerHeight()})),activeSlides.forEach((function(item){item>tallestSlide&&(tallestSlide=item)})),$(".slick-list",slider).height(tallestSlide).css({transition:"all .5s ease"})}),10)}$(window).on("resize",(function(){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(mySlider)}))}$(".sp_tpro-preview-box button.slick-next,.sp_tpro-preview-box button.slick-prev").click((function(e){e.preventDefault()}))}))}));
|
|
public/views/deprecated-shortcodes.php
DELETED
@@ -1,137 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Old shortcode file.
|
4 |
-
*
|
5 |
-
* @link http://shapedplugin.com
|
6 |
-
* @since 2.0.0
|
7 |
-
*
|
8 |
-
* @package Testimonial_free.
|
9 |
-
* @subpackage Testimonial_free/includes.
|
10 |
-
*/
|
11 |
-
|
12 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
exit;
|
14 |
-
} // Exit if accessed directly.
|
15 |
-
|
16 |
-
/**
|
17 |
-
* Real Testimonials Free shortcode.
|
18 |
-
*
|
19 |
-
* @param array $atts shortcode attributes.
|
20 |
-
*/
|
21 |
-
function sp_testimonial_free_shortcode( $atts ) {
|
22 |
-
// phpcs:ignore
|
23 |
-
extract(
|
24 |
-
shortcode_atts(
|
25 |
-
array(
|
26 |
-
'color' => '#1595ce',
|
27 |
-
'nav' => 'true',
|
28 |
-
'pagination' => 'true',
|
29 |
-
'autoplay' => 'true',
|
30 |
-
),
|
31 |
-
$atts,
|
32 |
-
'testimonial-free'
|
33 |
-
)
|
34 |
-
);
|
35 |
-
|
36 |
-
$args = array(
|
37 |
-
'post_type' => 'spt_testimonial',
|
38 |
-
'orderby' => 'date',
|
39 |
-
'order' => 'DESC',
|
40 |
-
'posts_per_page' => -1,
|
41 |
-
);
|
42 |
-
|
43 |
-
$que = new WP_Query( $args );
|
44 |
-
|
45 |
-
$custom_id = uniqid();
|
46 |
-
|
47 |
-
wp_enqueue_script( 'tfree-slick-min-js' );
|
48 |
-
|
49 |
-
$outline = '';
|
50 |
-
|
51 |
-
$outline .= '
|
52 |
-
<script type="text/javascript">
|
53 |
-
jQuery(document).ready(function() {
|
54 |
-
jQuery("#sp-testimonial-free' . $custom_id . '").slick({
|
55 |
-
slidesToScroll: 1,
|
56 |
-
arrows: ' . $nav . ',
|
57 |
-
prevArrow: "<div class=\'slick-prev\'><i class=\'fa fa-angle-left\'></i></div>",
|
58 |
-
nextArrow: "<div class=\'slick-next\'><i class=\'fa fa-angle-right\'></i></div>",
|
59 |
-
dots: ' . $pagination . ',
|
60 |
-
autoplay: ' . $autoplay . ',
|
61 |
-
pauseOnHover: false,
|
62 |
-
});
|
63 |
-
|
64 |
-
});
|
65 |
-
</script>';
|
66 |
-
if ( 'false' === $nav ) {
|
67 |
-
echo "<style type='text/css'>
|
68 |
-
.sp-testimonial-section .testimonial-free{
|
69 |
-
margin: 0;
|
70 |
-
}
|
71 |
-
.sp-testimonial-section .owl-controls .owl-buttons div:hover{
|
72 |
-
color: #000;
|
73 |
-
}
|
74 |
-
</style>";
|
75 |
-
}
|
76 |
-
|
77 |
-
$outline .= '<style type="text/css">
|
78 |
-
#sp-testimonial-free' . $custom_id . '.sp-testimonial-section .slick-prev:hover,
|
79 |
-
#sp-testimonial-free' . $custom_id . '.sp-testimonial-section .slick-next:hover{
|
80 |
-
color: ' . $color . ';
|
81 |
-
}
|
82 |
-
#sp-testimonial-free' . $custom_id . '.sp-testimonial-section .slick-dots li.slick-active button{
|
83 |
-
background: ' . $color . ';
|
84 |
-
}
|
85 |
-
</style>';
|
86 |
-
|
87 |
-
$outline .= '<div id="sp-testimonial-free' . $custom_id . '" class="sp-testimonial-section">';
|
88 |
-
if ( $que->have_posts() ) {
|
89 |
-
while ( $que->have_posts() ) :
|
90 |
-
$que->the_post();
|
91 |
-
|
92 |
-
$tf_designation = esc_html( get_post_meta( get_the_ID(), 'tf_designation', true ) );
|
93 |
-
|
94 |
-
$testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
|
95 |
-
|
96 |
-
$outline .= '<div class="testimonial-free text-center">';
|
97 |
-
if ( has_post_thumbnail( $que->post->ID ) ) {
|
98 |
-
$outline .= '<div class="tf-client-image">';
|
99 |
-
$outline .= get_the_post_thumbnail( $que->post->ID, 'tf-client-image-size', array( 'class' => 'tf-client-img' ) );
|
100 |
-
$outline .= '</div>';
|
101 |
-
}
|
102 |
-
$outline .= '<div class="tf-client-testimonial">';
|
103 |
-
$outline .= apply_filters( 'the_content', get_the_content() );
|
104 |
-
$outline .= '</div>';
|
105 |
-
$outline .= '<h2 class="tf-client-name">';
|
106 |
-
if ( isset( $testimonial_data['tpro_name'] ) && '' !== $testimonial_data['tpro_name'] ) {
|
107 |
-
$outline .= $testimonial_data['tpro_name'];
|
108 |
-
} else {
|
109 |
-
$outline .= get_the_title();
|
110 |
-
}
|
111 |
-
$outline .= '</h2>';
|
112 |
-
if ( isset( $testimonial_data['tpro_designation'] ) || $tf_designation ) {
|
113 |
-
$outline .= '<h6 class="tf-client-designation">';
|
114 |
-
if ( isset( $tf_designation ) && '' !== $tf_designation ) {
|
115 |
-
$outline .= $tf_designation;
|
116 |
-
} elseif ( isset( $testimonial_data['tpro_designation'] ) ) {
|
117 |
-
$outline .= $testimonial_data['tpro_designation'];
|
118 |
-
}
|
119 |
-
|
120 |
-
$outline .= '</h6>';
|
121 |
-
}
|
122 |
-
|
123 |
-
$outline .= '</div>'; // testimonial free.
|
124 |
-
|
125 |
-
endwhile;
|
126 |
-
} else {
|
127 |
-
$outline .= '<h2 class="sp-not-found-any-testimonial">' . esc_html__( 'No testimonials found', 'testimonial-free' ) . '</h2>';
|
128 |
-
}
|
129 |
-
$outline .= '</div>';
|
130 |
-
|
131 |
-
wp_reset_postdata();
|
132 |
-
|
133 |
-
return $outline;
|
134 |
-
|
135 |
-
}
|
136 |
-
|
137 |
-
add_shortcode( 'testimonial-free', 'sp_testimonial_free_shortcode' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/views/schema.php
DELETED
@@ -1,81 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Schema file.
|
4 |
-
*
|
5 |
-
* @link http://shapedplugin.com
|
6 |
-
* @since 2.0.0
|
7 |
-
*
|
8 |
-
* @package Testimonial_free.
|
9 |
-
* @subpackage Testimonial_free/views.
|
10 |
-
*/
|
11 |
-
|
12 |
-
if ( $post_query->have_posts() ) {
|
13 |
-
$sc_title = get_the_title( $post_id ) ? get_the_title( $post_id ) : 'Testimonial';
|
14 |
-
$outline .= '<script type="application/ld+json">
|
15 |
-
{
|
16 |
-
"@context": "http://schema.org",
|
17 |
-
"@type": "Product",
|
18 |
-
"name": "' . $sc_title . '",
|
19 |
-
"aggregateRating": {
|
20 |
-
"@type": "AggregateRating",
|
21 |
-
"bestRating": "5",
|
22 |
-
"ratingValue": "' . $aggregate_rating . '",
|
23 |
-
"worstRating": "1",
|
24 |
-
"reviewCount": "' . $total_rated_testimonials . '"
|
25 |
-
},
|
26 |
-
"review": [';
|
27 |
-
$testimonial_count = 0;
|
28 |
-
|
29 |
-
while ( $post_query->have_posts() ) :
|
30 |
-
$post_query->the_post();
|
31 |
-
|
32 |
-
$testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
|
33 |
-
$tfree_name = ( isset( $testimonial_data['tpro_name'] ) ? $testimonial_data['tpro_name'] : '' );
|
34 |
-
$tfree_rating_star = ( isset( $testimonial_data['tpro_rating'] ) ? $testimonial_data['tpro_rating'] : 'five_star' );
|
35 |
-
|
36 |
-
switch ( $tfree_rating_star ) {
|
37 |
-
case 'five_star':
|
38 |
-
$rating_value = '5';
|
39 |
-
break;
|
40 |
-
case 'four_star':
|
41 |
-
$rating_value = '4';
|
42 |
-
break;
|
43 |
-
case 'three_star':
|
44 |
-
$rating_value = '3';
|
45 |
-
break;
|
46 |
-
case 'two_star':
|
47 |
-
$rating_value = '2';
|
48 |
-
break;
|
49 |
-
case 'one_star':
|
50 |
-
$rating_value = '1';
|
51 |
-
break;
|
52 |
-
}
|
53 |
-
|
54 |
-
$name = get_the_title() ? esc_attr( wp_strip_all_tags( get_the_title() ) ) : '';
|
55 |
-
$review_body = get_the_content() ? esc_attr( wp_strip_all_tags( get_the_content() ) ) : '';
|
56 |
-
$date = get_the_date( 'F j, Y' );
|
57 |
-
$outline .= '{
|
58 |
-
"@type": "Review",
|
59 |
-
"datePublished": "' . $date . '",
|
60 |
-
"name": "' . $name . '",
|
61 |
-
"reviewBody": "' . $review_body . '",
|
62 |
-
"reviewRating": {
|
63 |
-
"@type": "Rating",
|
64 |
-
"bestRating": "5",
|
65 |
-
"ratingValue": "' . $rating_value . '",
|
66 |
-
"worstRating": "1"
|
67 |
-
},
|
68 |
-
"author": {
|
69 |
-
"@type": "Person",
|
70 |
-
"name": "' . $tfree_name . '"
|
71 |
-
}
|
72 |
-
}';
|
73 |
-
if ( ++$testimonial_count !== $total_rated_testimonials ) {
|
74 |
-
$outline .= ',';
|
75 |
-
}
|
76 |
-
endwhile;
|
77 |
-
|
78 |
-
$outline .= ']
|
79 |
-
}
|
80 |
-
</script>';
|
81 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/views/scripts.php
DELETED
@@ -1,101 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Enqueue Scripts and styles files.
|
4 |
-
*
|
5 |
-
* @link http://shapedplugin.com
|
6 |
-
* @since 2.0.0
|
7 |
-
*
|
8 |
-
* @package Testimonial_free.
|
9 |
-
* @subpackage Testimonial_free/includes.
|
10 |
-
*/
|
11 |
-
|
12 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
exit; } // if direct access
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Scripts and styles
|
17 |
-
*/
|
18 |
-
class SP_TFREE_Front_Scripts {
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Single instance of the class.
|
22 |
-
*
|
23 |
-
* @var null
|
24 |
-
* @since 1.0
|
25 |
-
*/
|
26 |
-
protected static $_instance = null;
|
27 |
-
|
28 |
-
/**
|
29 |
-
* SP_TFREE_Front_Scripts Instance.
|
30 |
-
*
|
31 |
-
* @return SP_TFREE_Front_Scripts
|
32 |
-
* @since 1.0
|
33 |
-
*/
|
34 |
-
public static function instance() {
|
35 |
-
if ( is_null( self::$_instance ) ) {
|
36 |
-
self::$_instance = new self();
|
37 |
-
}
|
38 |
-
|
39 |
-
return self::$_instance;
|
40 |
-
}
|
41 |
-
|
42 |
-
/**
|
43 |
-
* Initialize the class
|
44 |
-
*/
|
45 |
-
public function __construct() {
|
46 |
-
|
47 |
-
add_action( 'wp_enqueue_scripts', array( $this, 'front_scripts' ) );
|
48 |
-
add_action( 'admin_enqueue_scripts', array( $this, 'admin_front_scripts' ) );
|
49 |
-
}
|
50 |
-
|
51 |
-
/**
|
52 |
-
* Plugin Scripts and Styles
|
53 |
-
*/
|
54 |
-
public function front_scripts() {
|
55 |
-
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
56 |
-
$dequeue_slick_css = isset( $setting_options['tf_dequeue_slick_css'] ) ? $setting_options['tf_dequeue_slick_css'] : true;
|
57 |
-
$dequeue_fa_css = isset( $setting_options['tf_dequeue_fa_css'] ) ? $setting_options['tf_dequeue_fa_css'] : true;
|
58 |
-
// CSS Files.
|
59 |
-
if ( $dequeue_slick_css ) {
|
60 |
-
wp_enqueue_style( 'tfree-slick', SP_TFREE_URL . 'public/assets/css/slick.css', array(), SP_TFREE_VERSION );
|
61 |
-
}
|
62 |
-
if ( $dequeue_fa_css ) {
|
63 |
-
wp_enqueue_style( 'tfree-font-awesome', SP_TFREE_URL . 'public/assets/css/font-awesome.min.css', array(), SP_TFREE_VERSION );
|
64 |
-
}
|
65 |
-
|
66 |
-
wp_enqueue_style( 'tfree-deprecated-style', SP_TFREE_URL . 'public/assets/css/deprecated-style.css', array(), SP_TFREE_VERSION );
|
67 |
-
wp_enqueue_style( 'tfree-style', SP_TFREE_URL . 'public/assets/css/style.css', array(), SP_TFREE_VERSION );
|
68 |
-
include SP_TFREE_PATH . '/includes/custom-css.php';
|
69 |
-
wp_add_inline_style( 'tfree-style', $custom_css );
|
70 |
-
|
71 |
-
// JS Files.
|
72 |
-
wp_register_script( 'tfree-slick-min-js', SP_TFREE_URL . 'public/assets/js/slick.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
|
73 |
-
wp_register_script( 'tfree-slick-active', SP_TFREE_URL . 'public/assets/js/sp-slick-active.js', array( 'jquery' ), SP_TFREE_VERSION, true );
|
74 |
-
|
75 |
-
}
|
76 |
-
/**
|
77 |
-
* Plugin Scripts and Styles
|
78 |
-
*/
|
79 |
-
public function admin_front_scripts() {
|
80 |
-
$wpscreen = get_current_screen();
|
81 |
-
if ( 'spt_shortcodes' === $wpscreen->post_type ) {
|
82 |
-
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
83 |
-
$dequeue_slick_css = isset( $setting_options['tf_dequeue_slick_css'] ) ? $setting_options['tf_dequeue_slick_css'] : true;
|
84 |
-
$dequeue_fa_css = isset( $setting_options['tf_dequeue_fa_css'] ) ? $setting_options['tf_dequeue_fa_css'] : true;
|
85 |
-
// CSS Files.
|
86 |
-
if ( $dequeue_slick_css ) {
|
87 |
-
wp_enqueue_style( 'admin-tfree-slick', SP_TFREE_URL . 'public/assets/css/slick.css', array(), SP_TFREE_VERSION );
|
88 |
-
}
|
89 |
-
if ( $dequeue_fa_css ) {
|
90 |
-
wp_enqueue_style( 'admin-tfree-font-awesome', SP_TFREE_URL . 'public/assets/css/font-awesome.min.css', array(), SP_TFREE_VERSION );
|
91 |
-
}
|
92 |
-
|
93 |
-
wp_enqueue_style( 'admin-tfree-deprecated-style', SP_TFREE_URL . 'public/assets/css/deprecated-style.css', array(), SP_TFREE_VERSION );
|
94 |
-
wp_enqueue_style( 'admin-tfree-style', SP_TFREE_URL . 'public/assets/css/style.css', array(), SP_TFREE_VERSION );
|
95 |
-
wp_enqueue_script( 'tfree-slick-min-js', SP_TFREE_URL . 'public/assets/js/slick.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
|
96 |
-
}
|
97 |
-
|
98 |
-
}
|
99 |
-
|
100 |
-
}
|
101 |
-
new SP_TFREE_Front_Scripts();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/views/shortcoderender.php
DELETED
@@ -1,398 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* This file render the shortcode to the frontend
|
4 |
-
*
|
5 |
-
* @package testimonial-free
|
6 |
-
*/
|
7 |
-
|
8 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
9 |
-
exit; // Exit if accessed directly.
|
10 |
-
}
|
11 |
-
|
12 |
-
if ( ! class_exists( 'TFREE_Shortcode_Render' ) ) {
|
13 |
-
/**
|
14 |
-
* Real Testimonials - Shortcode Render class
|
15 |
-
*
|
16 |
-
* @since 2.0
|
17 |
-
*/
|
18 |
-
class TFREE_Shortcode_Render {
|
19 |
-
|
20 |
-
/**
|
21 |
-
* Five star review
|
22 |
-
*
|
23 |
-
* @var string
|
24 |
-
*/
|
25 |
-
public static $tfree_five_star = '<i class="fa fa-star" aria-hidden="true"></i>
|
26 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
27 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
28 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
29 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
30 |
-
';
|
31 |
-
/**
|
32 |
-
* Four star review
|
33 |
-
*
|
34 |
-
* @var string
|
35 |
-
*/
|
36 |
-
public static $tfree_four_star = '
|
37 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
38 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
39 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
40 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
41 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
42 |
-
';
|
43 |
-
/**
|
44 |
-
* Three star review
|
45 |
-
*
|
46 |
-
* @var string
|
47 |
-
*/
|
48 |
-
public static $tfree_three_star = '
|
49 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
50 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
51 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
52 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
53 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
54 |
-
';
|
55 |
-
/**
|
56 |
-
* Tow star review
|
57 |
-
*
|
58 |
-
* @var string
|
59 |
-
*/
|
60 |
-
public static $tfree_two_star = '
|
61 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
62 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
63 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
64 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
65 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
66 |
-
';
|
67 |
-
/**
|
68 |
-
* One star review
|
69 |
-
*
|
70 |
-
* @var string
|
71 |
-
*/
|
72 |
-
public static $tfree_one_star = '
|
73 |
-
<i class="fa fa-star" aria-hidden="true"></i>
|
74 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
75 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
76 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
77 |
-
<i class="fa fa-star-o" aria-hidden="true"></i>
|
78 |
-
';
|
79 |
-
|
80 |
-
/**
|
81 |
-
* Single instance of the class.
|
82 |
-
*
|
83 |
-
* @var null
|
84 |
-
* @since 2.0
|
85 |
-
*/
|
86 |
-
protected static $_instance = null;
|
87 |
-
|
88 |
-
|
89 |
-
/**
|
90 |
-
* TFREE_Shortcode_Render Instance
|
91 |
-
*
|
92 |
-
* @since 2.0
|
93 |
-
* @static
|
94 |
-
* @return self Main instance
|
95 |
-
*/
|
96 |
-
public static function instance() {
|
97 |
-
if ( is_null( self::$_instance ) ) {
|
98 |
-
self::$_instance = new self();
|
99 |
-
}
|
100 |
-
|
101 |
-
return self::$_instance;
|
102 |
-
}
|
103 |
-
|
104 |
-
/**
|
105 |
-
* TFREE_Shortcode_Render constructor.
|
106 |
-
*/
|
107 |
-
public function __construct() {
|
108 |
-
add_shortcode( 'sp_testimonial', array( $this, 'shortcode_render' ) );
|
109 |
-
}
|
110 |
-
|
111 |
-
/**
|
112 |
-
* Full html show.
|
113 |
-
*
|
114 |
-
* @param array $post_id Shortcode ID.
|
115 |
-
* @param array $setting_options get all layout options.
|
116 |
-
* @param array $shortcode_data get all meta options.
|
117 |
-
* @param mixed $tfree_one_star one star.
|
118 |
-
* @param mixed $tfree_two_star two star.
|
119 |
-
* @param mixed $tfree_three_star three star.
|
120 |
-
* @param mixed $tfree_four_star four star.
|
121 |
-
* @param mixed $tfree_five_star five star.
|
122 |
-
* @param mixed $main_section_title section title.
|
123 |
-
* @return void
|
124 |
-
*/
|
125 |
-
public static function sp_tpro_html_show( $post_id, $setting_options, $shortcode_data, $tfree_one_star, $tfree_two_star, $tfree_three_star, $tfree_four_star, $tfree_five_star, $main_section_title ) {
|
126 |
-
$theme_style = isset( $shortcode_data['theme_style'] ) ? $shortcode_data['theme_style'] : 'theme-one';
|
127 |
-
$number_of_total_testimonials = isset( $shortcode_data['number_of_total_testimonials'] ) ? $shortcode_data['number_of_total_testimonials'] : '10';
|
128 |
-
$order_by = isset( $shortcode_data['testimonial_order_by'] ) ? $shortcode_data['testimonial_order_by'] : 'date';
|
129 |
-
$order = isset( $shortcode_data['testimonial_order'] ) ? $shortcode_data['testimonial_order'] : 'DESC';
|
130 |
-
$columns = isset( $shortcode_data['columns'] ) ? $shortcode_data['columns'] : '';
|
131 |
-
$columns_large_desktop = isset( $columns['large_desktop'] ) ? $columns['large_desktop'] : '1';
|
132 |
-
$columns_desktop = isset( $columns['desktop'] ) ? $columns['desktop'] : '1';
|
133 |
-
$columns_laptop = isset( $columns['laptop'] ) ? $columns['laptop'] : '1';
|
134 |
-
$columns_tablet = isset( $columns['tablet'] ) ? $columns['tablet'] : '1';
|
135 |
-
$columns_mobile = isset( $columns['mobile'] ) ? $columns['mobile'] : '1';
|
136 |
-
|
137 |
-
// Slider Settings.
|
138 |
-
$slider_auto_play = isset( $shortcode_data['slider_auto_play'] ) ? $shortcode_data['slider_auto_play'] : 'true';
|
139 |
-
switch ( $slider_auto_play ) {
|
140 |
-
case 'true':
|
141 |
-
$auto_play = 'true';
|
142 |
-
$auto_play_mobile = 'true';
|
143 |
-
break;
|
144 |
-
case 'off_on_mobile':
|
145 |
-
$auto_play = 'true';
|
146 |
-
$auto_play_mobile = 'false';
|
147 |
-
break;
|
148 |
-
case 'false':
|
149 |
-
$auto_play = 'false';
|
150 |
-
$auto_play_mobile = 'false';
|
151 |
-
break;
|
152 |
-
}
|
153 |
-
$slider_auto_play_speed = isset( $shortcode_data['slider_auto_play_speed'] ) ? $shortcode_data['slider_auto_play_speed'] : '3000';
|
154 |
-
$slider_scroll_speed = isset( $shortcode_data['slider_scroll_speed'] ) ? $shortcode_data['slider_scroll_speed'] : '600';
|
155 |
-
$slider_pause_on_hover = isset( $shortcode_data['slider_pause_on_hover'] ) && $shortcode_data['slider_pause_on_hover'] ? 'true' : 'false';
|
156 |
-
$slider_infinite = isset( $shortcode_data['slider_infinite'] ) && $shortcode_data['slider_infinite'] ? 'true' : 'false';
|
157 |
-
$slider_navigation = isset( $shortcode_data['navigation'] ) ? $shortcode_data['navigation'] : 'true';
|
158 |
-
$navigation_colors = isset( $shortcode_data['navigation_color'] ) ? $shortcode_data['navigation_color'] : '';
|
159 |
-
$navigation_color = isset( $navigation_colors['color'] ) ? $navigation_colors['color'] : '';
|
160 |
-
$navigation_hover_color = isset( $navigation_colors['hover-color'] ) ? $navigation_colors['hover-color'] : '';
|
161 |
-
$navigation_background = isset( $navigation_colors['background'] ) ? $navigation_colors['background'] : '';
|
162 |
-
$navigation_hover_background = isset( $navigation_colors['hover-background'] ) ? $navigation_colors['hover-background'] : '';
|
163 |
-
$navigation_border = isset( $shortcode_data['navigation_border'] ) ? $shortcode_data['navigation_border'] : '';
|
164 |
-
$navigation_border_size = isset( $navigation_border['all'] ) ? $navigation_border['all'] : '';
|
165 |
-
$navigation_border_style = isset( $navigation_border['style'] ) ? $navigation_border['style'] : '';
|
166 |
-
$navigation_border_color = isset( $navigation_border['color'] ) ? $navigation_border['color'] : '';
|
167 |
-
$navigation_border_hover_color = isset( $navigation_border['hover-color'] ) ? $navigation_border['hover-color'] : '';
|
168 |
-
|
169 |
-
switch ( $slider_navigation ) {
|
170 |
-
case 'true':
|
171 |
-
$navigation = 'true';
|
172 |
-
$navigation_mobile = 'true';
|
173 |
-
break;
|
174 |
-
case 'hide_on_mobile':
|
175 |
-
$navigation = 'true';
|
176 |
-
$navigation_mobile = 'false';
|
177 |
-
break;
|
178 |
-
case 'false':
|
179 |
-
$navigation = 'false';
|
180 |
-
$navigation_mobile = 'false';
|
181 |
-
break;
|
182 |
-
}
|
183 |
-
$slider_pagination = isset( $shortcode_data['pagination'] ) ? $shortcode_data['pagination'] : 'true';
|
184 |
-
$pagination_colors = isset( $shortcode_data['pagination_colors'] ) ? $shortcode_data['pagination_colors'] : '#cccccc';
|
185 |
-
$pagination_color = isset( $pagination_colors['color'] ) ? $pagination_colors['color'] : '#cccccc';
|
186 |
-
$pagination_active_color = isset( $pagination_colors['active-color'] ) ? $pagination_colors['active-color'] : '#1595ce';
|
187 |
-
switch ( $slider_pagination ) {
|
188 |
-
case 'true':
|
189 |
-
$pagination = 'true';
|
190 |
-
$pagination_mobile = 'true';
|
191 |
-
break;
|
192 |
-
case 'hide_on_mobile':
|
193 |
-
$pagination = 'true';
|
194 |
-
$pagination_mobile = 'false';
|
195 |
-
break;
|
196 |
-
case 'false':
|
197 |
-
$pagination = 'false';
|
198 |
-
$pagination_mobile = 'false';
|
199 |
-
break;
|
200 |
-
}
|
201 |
-
$adaptive_height = isset( $shortcode_data['adaptive_height'] ) && $shortcode_data['adaptive_height'] ? 'true' : 'false';
|
202 |
-
$slider_swipe = isset( $shortcode_data['slider_swipe'] ) && $shortcode_data['slider_swipe'] ? 'true' : 'false';
|
203 |
-
$swipe_to_slide = isset( $shortcode_data['swipe_to_slide'] ) && $shortcode_data['swipe_to_slide'] ? 'true' : 'false';
|
204 |
-
$slider_draggable = isset( $shortcode_data['slider_draggable'] ) && $shortcode_data['slider_draggable'] ? 'true' : 'false';
|
205 |
-
$slider_direction = isset( $shortcode_data['slider_direction'] ) ? $shortcode_data['slider_direction'] : 'ltr';
|
206 |
-
$rtl_mode = ( 'rtl' === $slider_direction ) ? 'true' : 'false';
|
207 |
-
|
208 |
-
// Display Settings.
|
209 |
-
$section_title = isset( $shortcode_data['section_title'] ) ? $shortcode_data['section_title'] : '';
|
210 |
-
$testimonial_title = isset( $shortcode_data['testimonial_title'] ) ? $shortcode_data['testimonial_title'] : '';
|
211 |
-
$testimonial_title_tag = isset( $shortcode_data['testimonial_title_tag'] ) ? $shortcode_data['testimonial_title_tag'] : 'h3';
|
212 |
-
$testimonial_text = isset( $shortcode_data['testimonial_text'] ) ? $shortcode_data['testimonial_text'] : '';
|
213 |
-
$reviewer_name = isset( $shortcode_data['testimonial_client_name'] ) ? $shortcode_data['testimonial_client_name'] : '';
|
214 |
-
$reviewer_name_tag = ( isset( $shortcode_data['testimonial_name_tag'] ) && $shortcode_data['testimonial_name_tag'] ) ? $shortcode_data['testimonial_name_tag'] : 'h4';
|
215 |
-
$star_rating = isset( $shortcode_data['testimonial_client_rating'] ) ? $shortcode_data['testimonial_client_rating'] : '';
|
216 |
-
$star_rating_color = isset( $shortcode_data['testimonial_client_rating_color'] ) ? $shortcode_data['testimonial_client_rating_color'] : '#f3bb00';
|
217 |
-
$reviewer_position = isset( $shortcode_data['client_designation'] ) ? $shortcode_data['client_designation'] : '';
|
218 |
-
|
219 |
-
// Image Settings.
|
220 |
-
$client_image = isset( $shortcode_data['client_image'] ) ? $shortcode_data['client_image'] : true;
|
221 |
-
$image_sizes = isset( $shortcode_data['image_sizes'] ) ? $shortcode_data['image_sizes'] : 'tf-client-image-size';
|
222 |
-
|
223 |
-
// Typography.
|
224 |
-
$section_title_color = isset( $shortcode_data['section_title_typography'] ) ? $shortcode_data['section_title_typography']['color'] : '#444444';
|
225 |
-
$testimonial_title_color = isset( $shortcode_data['testimonial_title_typography'] ) ? $shortcode_data['testimonial_title_typography']['color'] : '#333333';
|
226 |
-
$testimonial_text_color = isset( $shortcode_data['testimonial_text_typography'] ) ? $shortcode_data['testimonial_text_typography']['color'] : '#333333';
|
227 |
-
$client_name_color = isset( $shortcode_data['client_name_typography'] ) ? $shortcode_data['client_name_typography']['color'] : '#333333';
|
228 |
-
$client_designation_color = isset( $shortcode_data['client_designation_company_typography'] ) ? $shortcode_data['client_designation_company_typography']['color'] : '#444444';
|
229 |
-
// Preloader.
|
230 |
-
$preloader = isset( $shortcode_data['preloader'] ) ? $shortcode_data['preloader'] : false;
|
231 |
-
// Schema markup.
|
232 |
-
if ( isset( $shortcode_data['schema_markup'] ) ) {
|
233 |
-
$show_schema_markup = $shortcode_data['schema_markup'];
|
234 |
-
} else {
|
235 |
-
$show_schema_markup = isset( $setting_options['spt_enable_schema'] ) ? $setting_options['spt_enable_schema'] : false;
|
236 |
-
}
|
237 |
-
|
238 |
-
// Enqueue Script.
|
239 |
-
$dequeue_slick_js = isset( $setting_options['tf_dequeue_slick_js'] ) ? $setting_options['tf_dequeue_slick_js'] : true;
|
240 |
-
if ( $dequeue_slick_js ) {
|
241 |
-
wp_enqueue_script( 'tfree-slick-min-js' );
|
242 |
-
}
|
243 |
-
wp_enqueue_script( 'tfree-slick-active' );
|
244 |
-
|
245 |
-
$outline = '';
|
246 |
-
|
247 |
-
// Style.
|
248 |
-
$outline .= '<style>';
|
249 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-dots li button{
|
250 |
-
background: ' . $pagination_color . ';
|
251 |
-
}
|
252 |
-
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-dots li.slick-active button{
|
253 |
-
background: ' . $pagination_active_color . ';
|
254 |
-
}
|
255 |
-
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-prev,
|
256 |
-
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-next{
|
257 |
-
background: ' . $navigation_background . ';
|
258 |
-
border: ' . $navigation_border_size . 'px ' . $navigation_border_style . ' ' . $navigation_border_color . ';
|
259 |
-
color: ' . $navigation_color . ';
|
260 |
-
}
|
261 |
-
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-prev:hover,
|
262 |
-
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-next:hover{
|
263 |
-
background: ' . $navigation_hover_background . ';
|
264 |
-
border-color: ' . $navigation_border_hover_color . ';
|
265 |
-
color: ' . $navigation_hover_color . ';
|
266 |
-
}
|
267 |
-
';
|
268 |
-
if ( 'true' === $navigation ) {
|
269 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section{
|
270 |
-
padding: 0 50px;
|
271 |
-
}';
|
272 |
-
}
|
273 |
-
if ( $star_rating ) {
|
274 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .tfree-client-rating{
|
275 |
-
color: ' . $star_rating_color . ';
|
276 |
-
}';
|
277 |
-
}
|
278 |
-
if ( $reviewer_position ) {
|
279 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .tfree-client-designation{
|
280 |
-
color: ' . $client_designation_color . ';
|
281 |
-
}';
|
282 |
-
}
|
283 |
-
if ( $reviewer_name ) {
|
284 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .tfree-client-name{
|
285 |
-
color: ' . $client_name_color . ';
|
286 |
-
}';
|
287 |
-
}
|
288 |
-
if ( $testimonial_text ) {
|
289 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .tfree-client-testimonial{
|
290 |
-
color: ' . $testimonial_text_color . ';
|
291 |
-
}';
|
292 |
-
}
|
293 |
-
if ( $testimonial_title ) {
|
294 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .tfree-testimonial-title{
|
295 |
-
color: ' . $testimonial_title_color . ';
|
296 |
-
}';
|
297 |
-
}
|
298 |
-
if ( $section_title ) {
|
299 |
-
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section-title{
|
300 |
-
color: ' . $section_title_color . ';
|
301 |
-
}';
|
302 |
-
}
|
303 |
-
|
304 |
-
$outline .= '</style>';
|
305 |
-
|
306 |
-
$args = array(
|
307 |
-
'post_type' => 'spt_testimonial',
|
308 |
-
'orderby' => $order_by,
|
309 |
-
'order' => $order,
|
310 |
-
'posts_per_page' => empty( $number_of_total_testimonials ) ? '10000' : $number_of_total_testimonials,
|
311 |
-
);
|
312 |
-
|
313 |
-
$post_query = new WP_Query( $args );
|
314 |
-
|
315 |
-
$outline .= '<div id="sp-testimonial-free-wrapper-' . $post_id . '" class="sp-testimonial-free-wrapper">';
|
316 |
-
|
317 |
-
if ( $section_title ) {
|
318 |
-
$outline .= '<h2 class="sp-testimonial-free-section-title">' . $main_section_title . '</h2>';
|
319 |
-
}
|
320 |
-
if ( $preloader ) {
|
321 |
-
$preloader_style = ( $preloader ) ? '' : 'display: none;';
|
322 |
-
$outline .= '<div class="tfree-preloader" id="tfree-preloader-' . $post_id . '" style="' . $preloader_style . '"><img src="' . SP_TFREE_URL . 'public/assets/img/preloader.gif"/></div>';
|
323 |
-
}
|
324 |
-
$outline .= '<div id="sp-testimonial-free-' . $post_id . '" class="sp-testimonial-free-section tfree-style-' . $theme_style . '" dir="' . $slider_direction . '" data-preloader="' . $preloader . '" data-slick=\'{"dots": ' . $pagination . ', "adaptiveHeight": ' . $adaptive_height . ', "pauseOnHover": ' . $slider_pause_on_hover . ', "slidesToShow": ' . $columns_large_desktop . ', "speed": ' . $slider_scroll_speed . ', "arrows": ' . $navigation . ', "autoplay": ' . $auto_play . ', "autoplaySpeed": ' . $slider_auto_play_speed . ', "swipe": ' . $slider_swipe . ', "swipeToSlide": ' . $swipe_to_slide . ', "draggable": ' . $slider_draggable . ', "rtl": ' . $rtl_mode . ', "infinite": ' . $slider_infinite . ', "responsive": [{"breakpoint": 1280, "settings": { "slidesToShow": ' . $columns_desktop . ' }},{"breakpoint": 980, "settings": { "slidesToShow": ' . $columns_laptop . ' }},{"breakpoint": 736, "settings": { "slidesToShow": ' . $columns_tablet . ' }},{"breakpoint": 480, "settings": {"slidesToShow": ' . $columns_mobile . ',"dots": ' . $pagination_mobile . ',"arrows": ' . $navigation_mobile . ',"autoplay": ' . $auto_play_mobile . '}}] }\'>';
|
325 |
-
$total_rating_count = 0;
|
326 |
-
$total_rated_testimonials = 0;
|
327 |
-
if ( $post_query->have_posts() ) {
|
328 |
-
while ( $post_query->have_posts() ) :
|
329 |
-
$post_query->the_post();
|
330 |
-
|
331 |
-
$testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
|
332 |
-
$tfree_designation = ( isset( $testimonial_data['tpro_designation'] ) ? $testimonial_data['tpro_designation'] : '' );
|
333 |
-
$tfree_name = ( isset( $testimonial_data['tpro_name'] ) ? $testimonial_data['tpro_name'] : '' );
|
334 |
-
$tfree_rating_star = ( isset( $testimonial_data['tpro_rating'] ) ? $testimonial_data['tpro_rating'] : '' );
|
335 |
-
|
336 |
-
if ( 'theme-one' === $theme_style ) {
|
337 |
-
include SP_TFREE_PATH . '/public/views/templates/theme-one.php';
|
338 |
-
}
|
339 |
-
if ( ! empty( $rating_value ) ) {
|
340 |
-
$total_rated_testimonials++;
|
341 |
-
$total_rating_count += ( $star_rating && ! empty( $tfree_rating_star ) ) ? $rating_value : 0;
|
342 |
-
}
|
343 |
-
endwhile;
|
344 |
-
} else {
|
345 |
-
$outline .= '<h2 class="sp-not-testimonial-found">' . esc_html__( 'No testimonials found', 'testimonial-free' ) . '</h2>';
|
346 |
-
}
|
347 |
-
if ( 0 !== $total_rated_testimonials ) {
|
348 |
-
$aggregate_rating = round( ( $total_rating_count / $total_rated_testimonials ), 2 );
|
349 |
-
}
|
350 |
-
$outline .= '</div>';
|
351 |
-
if ( $show_schema_markup && 0 !== $total_rated_testimonials ) {
|
352 |
-
include SP_TFREE_PATH . '/public/views/schema.php';
|
353 |
-
}
|
354 |
-
$outline .= '</div>';
|
355 |
-
|
356 |
-
wp_reset_postdata();
|
357 |
-
|
358 |
-
echo $outline;
|
359 |
-
}
|
360 |
-
|
361 |
-
/**
|
362 |
-
* Shorcode render.
|
363 |
-
*
|
364 |
-
* @param array $attributes Schortcode attributes.
|
365 |
-
*
|
366 |
-
* @return string
|
367 |
-
* @since 2.0
|
368 |
-
*/
|
369 |
-
public function shortcode_render( $attributes ) {
|
370 |
-
|
371 |
-
shortcode_atts(
|
372 |
-
array(
|
373 |
-
'id' => '',
|
374 |
-
),
|
375 |
-
$attributes,
|
376 |
-
'sp_testimonial'
|
377 |
-
);
|
378 |
-
|
379 |
-
$post_id = $attributes['id'];
|
380 |
-
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
381 |
-
$shortcode_data = get_post_meta( $post_id, 'sp_tpro_shortcode_options', true );
|
382 |
-
$main_section_title = get_the_title( $post_id );
|
383 |
-
|
384 |
-
$tfree_one_star = self::$tfree_one_star;
|
385 |
-
$tfree_two_star = self::$tfree_two_star;
|
386 |
-
$tfree_three_star = self::$tfree_three_star;
|
387 |
-
$tfree_four_star = self::$tfree_four_star;
|
388 |
-
$tfree_five_star = self::$tfree_five_star;
|
389 |
-
|
390 |
-
ob_start();
|
391 |
-
self::sp_tpro_html_show( $post_id, $setting_options, $shortcode_data, $tfree_one_star, $tfree_two_star, $tfree_three_star, $tfree_four_star, $tfree_five_star, $main_section_title );
|
392 |
-
return ob_get_clean();
|
393 |
-
}
|
394 |
-
|
395 |
-
}
|
396 |
-
|
397 |
-
new TFREE_Shortcode_Render();
|
398 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public/views/templates/theme-one.php
DELETED
@@ -1,68 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Theme One
|
4 |
-
*
|
5 |
-
* @package Testimonial
|
6 |
-
*/
|
7 |
-
|
8 |
-
$outline .= '<div class="sp-testimonial-free-item">';
|
9 |
-
$outline .= '<div class="sp-testimonial-free">';
|
10 |
-
|
11 |
-
if ( $client_image && has_post_thumbnail( $post_query->post->ID ) ) {
|
12 |
-
$outline .= '<div class="sp-tfree-client-image">';
|
13 |
-
$outline .= get_the_post_thumbnail( $post_query->post->ID, $image_sizes, array( 'class' => 'tfree-client-image' ) );
|
14 |
-
$outline .= '</div>';
|
15 |
-
}
|
16 |
-
|
17 |
-
if ( $testimonial_title && ! empty( get_the_title() ) ) {
|
18 |
-
$outline .= '<div class="tfree-testimonial-title"><' . $testimonial_title_tag . '>' . get_the_title() . '</' . $testimonial_title_tag . '></div>';
|
19 |
-
}
|
20 |
-
|
21 |
-
if ( $testimonial_text && ! empty( get_the_content() ) ) {
|
22 |
-
$outline .= '<div class="tfree-client-testimonial">';
|
23 |
-
$outline .= '<div class="tfree-testimonial-content">' . apply_filters( 'the_content', get_the_content() ) . '</div>';
|
24 |
-
$outline .= '</div>';
|
25 |
-
}
|
26 |
-
|
27 |
-
if ( $reviewer_name && ! empty( $tfree_name ) ) {
|
28 |
-
$outline .= '<' . $reviewer_name_tag . ' class="tfree-client-name">' . $tfree_name . '</' . $reviewer_name_tag . '>';
|
29 |
-
}
|
30 |
-
|
31 |
-
if ( $star_rating && ! empty( $tfree_rating_star ) ) {
|
32 |
-
|
33 |
-
switch ( $tfree_rating_star ) {
|
34 |
-
case 'five_star':
|
35 |
-
$rating_value = '5';
|
36 |
-
$star_rating_data = $tfree_five_star;
|
37 |
-
break;
|
38 |
-
case 'four_star':
|
39 |
-
$rating_value = '4';
|
40 |
-
$star_rating_data = $tfree_four_star;
|
41 |
-
break;
|
42 |
-
case 'three_star':
|
43 |
-
$rating_value = '3';
|
44 |
-
$star_rating_data = $tfree_three_star;
|
45 |
-
break;
|
46 |
-
case 'two_star':
|
47 |
-
$rating_value = '2';
|
48 |
-
$star_rating_data = $tfree_two_star;
|
49 |
-
break;
|
50 |
-
case 'one_star':
|
51 |
-
$rating_value = '1';
|
52 |
-
$star_rating_data = $tfree_one_star;
|
53 |
-
break;
|
54 |
-
}
|
55 |
-
|
56 |
-
$outline .= '<div class="tfree-client-rating">';
|
57 |
-
$outline .= $star_rating_data;
|
58 |
-
$outline .= '</div>';
|
59 |
-
}
|
60 |
-
|
61 |
-
if ( $reviewer_position && ! empty( $tfree_designation ) ) {
|
62 |
-
$outline .= '<div class="tfree-client-designation">';
|
63 |
-
$outline .= $tfree_designation;
|
64 |
-
$outline .= '</div>';
|
65 |
-
}
|
66 |
-
|
67 |
-
$outline .= '</div>'; // sp-testimonial-free.
|
68 |
-
$outline .= '</div>'; // sp-testimonial-free-item.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shapedplugin.com/donate
|
|
4 |
Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews, real testimonials
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.9
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -318,6 +318,16 @@ Thank you!
|
|
318 |
|
319 |
== Changelog ==
|
320 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
321 |
= 2.4.4 - Jan 27, 2022 =
|
322 |
* Tested: WordPress 5.9 compatibility.
|
323 |
|
4 |
Tags: testimonial, testimonials, testimonial showcase, testimonials showcase, testimonial slider, testimonials slider, testimonial carousel, testimonial front-end submission form, testimonials widget, easy testimonial, testimonial rotator, random testimonials, custom testimonial, collect testimonials, social proof, simple testimonial plugin, best testimonials showcase plugin, free testimonial, customers reviews, real testimonials
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.9
|
7 |
+
Stable tag: 2.5.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
318 |
|
319 |
== Changelog ==
|
320 |
|
321 |
+
= 2.5.0 - Feb 14, 2022 =
|
322 |
+
* New: The template modification feature added.
|
323 |
+
* New: Preloader image's alter tag added.
|
324 |
+
* Improved: Schema markup improved.
|
325 |
+
* Fix: Testimonial icon was not shown in the review notice.
|
326 |
+
* Fix: Testimonial importing issue.
|
327 |
+
* Fix: An undefined variable warning ($review) when Review Notice has been dismissed.
|
328 |
+
* Fix: Extra padding removed for the mobile view when the navigation 'hide in mobile' option is set.
|
329 |
+
* Fix: Large-sized image loading issue at 'All Testimonials' page.
|
330 |
+
|
331 |
= 2.4.4 - Jan 27, 2022 =
|
332 |
* Tested: WordPress 5.9 compatibility.
|
333 |
|
class/testimonial.php → src/Admin/Admin.php
RENAMED
@@ -1,54 +1,39 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Real Testimonials class file.
|
4 |
*
|
5 |
* @link http://shapedplugin.com
|
6 |
* @since 2.0.0
|
7 |
*
|
8 |
* @package Testimonial_free.
|
9 |
-
* @subpackage Testimonial_free/
|
10 |
*/
|
11 |
|
|
|
|
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
exit; // Exit if accessed directly.
|
14 |
}
|
15 |
|
16 |
/**
|
17 |
-
* The
|
18 |
*/
|
19 |
-
class
|
20 |
-
|
21 |
-
/**
|
22 |
-
* The class instance.
|
23 |
-
*
|
24 |
-
* @var $_instance
|
25 |
-
* @since 2.0
|
26 |
-
*/
|
27 |
-
private static $_instance;
|
28 |
-
|
29 |
-
/**
|
30 |
-
* The method to get instance.
|
31 |
-
*
|
32 |
-
* @return $_instance
|
33 |
-
* @since 2.0
|
34 |
-
*/
|
35 |
-
public static function getInstance() {
|
36 |
-
if ( ! self::$_instance ) {
|
37 |
-
self::$_instance = new self();
|
38 |
-
}
|
39 |
-
|
40 |
-
return self::$_instance;
|
41 |
-
}
|
42 |
-
|
43 |
/**
|
44 |
* The class constructor.
|
45 |
*
|
46 |
* @since 1.0
|
47 |
*/
|
48 |
public function __construct() {
|
49 |
-
add_filter( 'init', array( $this, '
|
|
|
50 |
add_filter( 'admin_menu', array( $this, 'sptfree_conditional_redirect_post_new' ) );
|
51 |
add_action( 'admin_head', array( $this, 'spt_testimonial_form_admin_head' ) );
|
|
|
|
|
|
|
52 |
}
|
53 |
/**
|
54 |
* Real Testimonials form publish button disabled.
|
@@ -61,8 +46,6 @@ class SP_TFREE_Testimonial {
|
|
61 |
?><script>
|
62 |
jQuery(document).ready(function(){
|
63 |
jQuery("#submitdiv #publish, #submitdiv, #submitdiv #save-post").attr("disabled", true).css("opacity", "0.8");
|
64 |
-
// jQuery("#submitdiv:has(#publish)").css({"display":"none"});
|
65 |
-
// jQuery("#postimagediv").append('<input name="save" type="submit" class="button button-primary button-large" accesskey="p" value="publish (Pro)">');
|
66 |
});</script>
|
67 |
<?php
|
68 |
}
|
@@ -70,11 +53,90 @@ class SP_TFREE_Testimonial {
|
|
70 |
}
|
71 |
|
72 |
/**
|
73 |
-
*
|
74 |
*
|
75 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
*/
|
77 |
-
public function
|
78 |
|
79 |
if ( post_type_exists( 'spt_testimonial' ) ) {
|
80 |
return;
|
@@ -82,6 +144,8 @@ class SP_TFREE_Testimonial {
|
|
82 |
$settings = get_option( 'sp_testimonial_pro_options' );
|
83 |
$singular_name = isset( $settings['tpro_singular_name'] ) ? $settings['tpro_singular_name'] : 'Testimonial';
|
84 |
$plural_name = isset( $settings['tpro_plural_name'] ) ? $settings['tpro_plural_name'] : 'Testimonials';
|
|
|
|
|
85 |
$labels = apply_filters(
|
86 |
'sp_testimonial_post_type_labels',
|
87 |
array(
|
@@ -126,7 +190,7 @@ class SP_TFREE_Testimonial {
|
|
126 |
'has_archive' => false,
|
127 |
'publicly_queryable' => false,
|
128 |
'query_var' => false,
|
129 |
-
'show_ui' =>
|
130 |
'show_in_menu' => true,
|
131 |
'menu_icon' => 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgNDc4LjI0OCA0NzguMjQ4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NzguMjQ4IDQ3OC4yNDg7IiB4bWw6c3BhY2U9InByZXNlcnZlIiBjbGFzcz0iIj48Zz48Zz4KCTxnPgoJCTxnPgoJCQk8cGF0aCBkPSJNNDU2LjAyLDQ0LjgyMUgyNjQuODNjLTEyLjI2LDAtMjIuMjMyLDkuOTcyLTIyLjIzMiwyMi4yMjl2OTguNjUyYzAsMTIuMjU4LDkuOTc0LDIyLjIzLDIyLjIzMiwyMi4yM2gxNi43ODd2MzkuMTYxICAgICBjMCwyLjcwNywxLjU4LDUuMTY1LDQuMDQzLDYuMjkyYzAuOTIsMC40MiwxLjkwMSwwLjYyNywyLjg3NSwwLjYyN2MxLjYzMSwwLDMuMjQ0LTAuNTc2LDQuNTIzLTEuNjg1bDUxLjM4My00NC4zOTZoMTExLjU3NiAgICAgYzEyLjI2LDAsMjIuMjMtOS45NzMsMjIuMjMtMjIuMjNWNjcuMDVDNDc4LjI1LDU0Ljc5Miw0NjguMjc3LDQ0LjgyMSw0NTYuMDIsNDQuODIxeiBNMzE5LjkyMiwxMTIuMjUybC0xMC4yMDksOS45NTMgICAgIGwyLjQxLDE0LjA1NGMwLjE3NCwxLjAxNS0wLjI0MiwyLjAzOC0xLjA3NiwyLjY0M2MtMC40NjksMC4zNDItMS4wMjcsMC41MTYtMS41ODgsMC41MTZjLTAuNDI4LDAtMC44NjEtMC4xMDMtMS4yNTYtMC4zMSAgICAgbC0xMi42MjEtNi42MzVsLTEyLjYxOSw2LjYzNWMtMC45MTIsMC40NzgtMi4wMTYsMC4zOTgtMi44NDgtMC4yMDZzLTEuMjQ4LTEuNjI4LTEuMDc0LTIuNjQzbDIuNDEtMTQuMDU0bC0xMC4yMTEtOS45NTMgICAgIGMtMC43MzQtMC43MTgtMS4wMDItMS43OTItMC42ODUtMi43NjljMC4zMTctMC45NzgsMS4xNjQtMS42OTEsMi4xODMtMS44MzlsMTQuMTEtMi4wNWw2LjMxLTEyLjc4NiAgICAgYzAuNDU3LTAuOTIzLDEuMzk2LTEuNTA3LDIuNDI0LTEuNTA3czEuOTY5LDAuNTg0LDIuNDIyLDEuNTA3bDYuMzEyLDEyLjc4NmwxNC4xMDcsMi4wNWMxLjAyLDAuMTQ4LDEuODYzLDAuODYxLDIuMTg0LDEuODM5ICAgICBDMzIwLjkyNCwxMTAuNDYsMzIwLjY1OCwxMTEuNTM1LDMxOS45MjIsMTEyLjI1MnogTTM4NC43NjYsMTEyLjI1MmwtMTAuMjExLDkuOTUzbDIuNDEyLDE0LjA1NCAgICAgYzAuMTcyLDEuMDE1LTAuMjQ0LDIuMDM4LTEuMDc2LDIuNjQzYy0wLjQ2OSwwLjM0Mi0xLjAyNSwwLjUxNi0xLjU4OCwwLjUxNmMtMC40MywwLTAuODU5LTAuMTAzLTEuMjYtMC4zMWwtMTIuNjE5LTYuNjM1ICAgICBsLTEyLjYxOSw2LjYzNWMtMC45MTIsMC40NzgtMi4wMTQsMC4zOTgtMi44NDYtMC4yMDZjLTAuODM0LTAuNjA0LTEuMjUtMS42MjgtMS4wNzYtMi42NDNsMi40MS0xNC4wNTRsLTEwLjIwOS05Ljk1MyAgICAgYy0wLjczNC0wLjcxOC0xLjAwMi0xLjc5Mi0wLjY4NC0yLjc2OWMwLjMxNi0wLjk3OCwxLjE2LTEuNjkxLDIuMTgyLTEuODM5bDE0LjEwOS0yLjA1bDYuMzExLTEyLjc4NiAgICAgYzAuNDU1LTAuOTIzLDEuMzk2LTEuNTA3LDIuNDIyLTEuNTA3YzEuMDI5LDAsMS45NjcsMC41ODQsMi40MjIsMS41MDdsNi4zMTIsMTIuNzg2bDE0LjEwOSwyLjA1ICAgICBjMS4wMjEsMC4xNDgsMS44NjMsMC44NjEsMi4xODIsMS44MzlDMzg1Ljc2OCwxMTAuNDYsMzg1LjUsMTExLjUzNSwzODQuNzY2LDExMi4yNTJ6IE00NDkuNjA3LDExMi4yNTJsLTEwLjIxMSw5Ljk1MyAgICAgbDIuNDA4LDE0LjA1NGMwLjE3NiwxLjAxNS0wLjIzOCwyLjAzOC0xLjA3MiwyLjY0M2MtMC40NzEsMC4zNDItMS4wMjcsMC41MTYtMS41OSwwLjUxNmMtMC40MywwLTAuODU5LTAuMTAzLTEuMjU4LTAuMzEgICAgIGwtMTIuNjIxLTYuNjM1bC0xMi42MjEsNi42MzVjLTAuOTA4LDAuNDc4LTIuMDEyLDAuMzk4LTIuODQ0LTAuMjA2Yy0wLjgzNC0wLjYwNC0xLjI0OC0xLjYyOC0xLjA3Ni0yLjY0M2wyLjQxMi0xNC4wNTQgICAgIGwtMTAuMjExLTkuOTUzYy0wLjczNC0wLjcxOC0xLTEuNzkyLTAuNjg0LTIuNzY5YzAuMzE2LTAuOTc4LDEuMTY0LTEuNjkxLDIuMTgyLTEuODM5bDE0LjExMS0yLjA1bDYuMzExLTEyLjc4NiAgICAgYzAuNDUzLTAuOTIzLDEuMzk1LTEuNTA3LDIuNDItMS41MDdjMS4wMjcsMCwxLjk3MSwwLjU4NCwyLjQyNiwxLjUwN0w0MzQsMTA1LjU5NGwxNC4xMDksMi4wNSAgICAgYzEuMDE4LDAuMTQ4LDEuODYxLDAuODYxLDIuMTgyLDEuODM5QzQ1MC42MDksMTEwLjQ2LDQ1MC4zNDQsMTExLjUzNSw0NDkuNjA3LDExMi4yNTJ6IiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iYWN0aXZlLXBhdGgiIGRhdGEtb2xkX2NvbG9yPSIjMDAwMDAwIiBmaWxsPSIjOUZBNEE5Ii8+CgkJCTxwYXRoIGQ9Ik0xNTIuODQ0LDExMi45MjRjLTQ2Ljc2LDAtNzIuNjM5LDI0LjIzMS03Mi4xNjYsNzAuOTIxYzAuNjg2LDYzLjk0NywyNy44NTksMTAyLjc0LDcyLjE2NiwxMDIuMDYzICAgICBjMCwwLDcyLjEzMSwyLjkyNCw3Mi4xMzEtMTAyLjA2M0MyMjQuOTc1LDEzNy4xNTUsMjAwLjYwNSwxMTIuOTI0LDE1Mi44NDQsMTEyLjkyNHoiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSJhY3RpdmUtcGF0aCIgZGF0YS1vbGRfY29sb3I9IiMwMDAwMDAiIGZpbGw9IiM5RkE0QTkiLz4KCQkJPHBhdGggZD0iTTI4MC40MjgsMzM0LjQ0NGwtNzIuMDc0LTI4LjczNmwtMTYuODc3LTE0LjIyM2MtNC40NTctMy43NjYtMTEuMDQxLTMuNDg4LTE1LjE3OCwwLjYyMWwtMjMuNDYzLDIzLjMzNmwtMjMuNTMzLTIzLjM0MiAgICAgYy00LjEzNy00LjEwNC0xMC43MTMtNC4zNjktMTUuMTY0LTAuNjE1bC0xNi44ODEsMTQuMjIzbC03Mi4wNzQsMjguNzM5QzEuOTc1LDM0My42OSwxLjk5NSw0MjUuODg0LDAsNDMzLjQyN2gzMDUuNjQ2ICAgICBDMzAzLjY1Niw0MjUuOSwzMDMuNjQ2LDM0My42NzksMjgwLjQyOCwzMzQuNDQ0eiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgY2xhc3M9ImFjdGl2ZS1wYXRoIiBkYXRhLW9sZF9jb2xvcj0iIzAwMDAwMCIgZmlsbD0iIzlGQTRBOSIvPgoJCTwvZz4KCTwvZz4KPC9nPjwvZz4gPC9zdmc+Cg==',
|
132 |
'show_in_nav_menus' => true,
|
@@ -159,4 +223,18 @@ class SP_TFREE_Testimonial {
|
|
159 |
}
|
160 |
}
|
161 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
162 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Real Testimonials admin class file.
|
4 |
*
|
5 |
* @link http://shapedplugin.com
|
6 |
* @since 2.0.0
|
7 |
*
|
8 |
* @package Testimonial_free.
|
9 |
+
* @subpackage Testimonial_free/Admin.
|
10 |
*/
|
11 |
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Admin;
|
13 |
+
|
14 |
+
use ShapedPlugin\TestimonialFree\Admin\DBUpdates;
|
15 |
+
|
16 |
if ( ! defined( 'ABSPATH' ) ) {
|
17 |
exit; // Exit if accessed directly.
|
18 |
}
|
19 |
|
20 |
/**
|
21 |
+
* The Admin class.
|
22 |
*/
|
23 |
+
class Admin {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
/**
|
25 |
* The class constructor.
|
26 |
*
|
27 |
* @since 1.0
|
28 |
*/
|
29 |
public function __construct() {
|
30 |
+
add_filter( 'init', array( $this, 'register_testimonial_post_type' ) );
|
31 |
+
add_filter( 'init', array( $this, 'register_shortcode_post_type' ) );
|
32 |
add_filter( 'admin_menu', array( $this, 'sptfree_conditional_redirect_post_new' ) );
|
33 |
add_action( 'admin_head', array( $this, 'spt_testimonial_form_admin_head' ) );
|
34 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ) );
|
35 |
+
add_action( 'widgets_init', array( $this, 'sp_testimonial_free_widget' ) );
|
36 |
+
new DBUpdates();
|
37 |
}
|
38 |
/**
|
39 |
* Real Testimonials form publish button disabled.
|
46 |
?><script>
|
47 |
jQuery(document).ready(function(){
|
48 |
jQuery("#submitdiv #publish, #submitdiv, #submitdiv #save-post").attr("disabled", true).css("opacity", "0.8");
|
|
|
|
|
49 |
});</script>
|
50 |
<?php
|
51 |
}
|
53 |
}
|
54 |
|
55 |
/**
|
56 |
+
* Enqueue admin scripts
|
57 |
*
|
58 |
+
* @return void
|
59 |
+
*/
|
60 |
+
public function admin_scripts() {
|
61 |
+
wp_enqueue_style( 'testimonial-free-admin', SP_TFREE_URL . 'Admin/assets/css/admin.min.css', array(), SP_TFREE_VERSION );
|
62 |
+
}
|
63 |
+
|
64 |
+
/**
|
65 |
+
* Register Shortcode Post Type
|
66 |
+
*
|
67 |
+
* @return void
|
68 |
+
*/
|
69 |
+
public function register_shortcode_post_type() {
|
70 |
+
$capability = apply_filters( 'sp_tfree_ui_permission', 'manage_options' );
|
71 |
+
$show_ui = current_user_can( $capability ) ? true : false;
|
72 |
+
register_post_type(
|
73 |
+
'spt_shortcodes',
|
74 |
+
array(
|
75 |
+
'label' => __( 'Manage Views', 'testimonial-free' ),
|
76 |
+
'description' => __( 'Manage Views', 'testimonial-free' ),
|
77 |
+
'public' => false,
|
78 |
+
'has_archive' => false,
|
79 |
+
'publicly_queryable' => false,
|
80 |
+
'show_ui' => $show_ui,
|
81 |
+
'show_in_menu' => 'edit.php?post_type=spt_testimonial',
|
82 |
+
'hierarchical' => false,
|
83 |
+
'query_var' => false,
|
84 |
+
'supports' => array( 'title' ),
|
85 |
+
'capability_type' => 'post',
|
86 |
+
'labels' => array(
|
87 |
+
'name' => __( 'Manage Views', 'testimonial-free' ),
|
88 |
+
'singular_name' => __( 'Manage View', 'testimonial-free' ),
|
89 |
+
'menu_name' => __( 'Manage Views', 'testimonial-free' ),
|
90 |
+
'add_new' => __( 'Add New', 'testimonial-free' ),
|
91 |
+
'add_new_item' => __( 'Add New View', 'testimonial-free' ),
|
92 |
+
'edit' => __( 'Edit', 'testimonial-free' ),
|
93 |
+
'edit_item' => __( 'Edit View', 'testimonial-free' ),
|
94 |
+
'new_item' => __( 'New View', 'testimonial-free' ),
|
95 |
+
'search_items' => __( 'Search View', 'testimonial-free' ),
|
96 |
+
'not_found' => __( 'No View Found', 'testimonial-free' ),
|
97 |
+
'not_found_in_trash' => __( 'No View Found in Trash', 'testimonial-free' ),
|
98 |
+
'parent' => __( 'Parent View', 'testimonial-free' ),
|
99 |
+
),
|
100 |
+
)
|
101 |
+
);
|
102 |
+
register_post_type(
|
103 |
+
'spt_testimonial_form',
|
104 |
+
array(
|
105 |
+
'label' => __( 'Forms', 'testimonial-free' ),
|
106 |
+
'description' => __( 'Generate forms for Frontend.', 'testimonial-free' ),
|
107 |
+
'public' => false,
|
108 |
+
'has_archive' => false,
|
109 |
+
'publicaly_queryable' => false,
|
110 |
+
'show_ui' => $show_ui,
|
111 |
+
'show_in_menu' => 'edit.php?post_type=spt_testimonial',
|
112 |
+
'hierarchical' => false,
|
113 |
+
'query_var' => false,
|
114 |
+
'supports' => array( 'title' ),
|
115 |
+
'capability_type' => 'post',
|
116 |
+
'labels' => array(
|
117 |
+
'name' => __( 'Testimonial Forms', 'testimonial-free' ),
|
118 |
+
'singular_name' => __( 'Testimonial Form', 'testimonial-free' ),
|
119 |
+
'menu_name' => __( 'Testimonial Forms', 'testimonial-free' ),
|
120 |
+
'add_new' => __( 'Add New', 'testimonial-free' ),
|
121 |
+
'add_new_item' => __( 'Add New Form', 'testimonial-free' ),
|
122 |
+
'edit' => __( 'Edit', 'testimonial-free' ),
|
123 |
+
'edit_item' => __( 'Edit Form', 'testimonial-free' ),
|
124 |
+
'new_item' => __( 'New Form', 'testimonial-free' ),
|
125 |
+
'search_items' => __( 'Search Forms', 'testimonial-free' ),
|
126 |
+
'not_found' => __( 'No Form Found', 'testimonial-free' ),
|
127 |
+
'not_found_in_trash' => __( 'No Form Found in Trash', 'testimonial-free' ),
|
128 |
+
'parent' => __( 'Parent Form', 'testimonial-free' ),
|
129 |
+
),
|
130 |
+
)
|
131 |
+
);
|
132 |
+
}
|
133 |
+
|
134 |
+
/**
|
135 |
+
* Register testimonial post type for this plugin.
|
136 |
+
*
|
137 |
+
* @return void
|
138 |
*/
|
139 |
+
public function register_testimonial_post_type() {
|
140 |
|
141 |
if ( post_type_exists( 'spt_testimonial' ) ) {
|
142 |
return;
|
144 |
$settings = get_option( 'sp_testimonial_pro_options' );
|
145 |
$singular_name = isset( $settings['tpro_singular_name'] ) ? $settings['tpro_singular_name'] : 'Testimonial';
|
146 |
$plural_name = isset( $settings['tpro_plural_name'] ) ? $settings['tpro_plural_name'] : 'Testimonials';
|
147 |
+
$capability = apply_filters( 'sp_tfree_ui_permission', 'manage_options' );
|
148 |
+
$show_ui = current_user_can( $capability ) ? true : false;
|
149 |
$labels = apply_filters(
|
150 |
'sp_testimonial_post_type_labels',
|
151 |
array(
|
190 |
'has_archive' => false,
|
191 |
'publicly_queryable' => false,
|
192 |
'query_var' => false,
|
193 |
+
'show_ui' => $show_ui,
|
194 |
'show_in_menu' => true,
|
195 |
'menu_icon' => 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4IiB2aWV3Qm94PSIwIDAgNDc4LjI0OCA0NzguMjQ4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0NzguMjQ4IDQ3OC4yNDg7IiB4bWw6c3BhY2U9InByZXNlcnZlIiBjbGFzcz0iIj48Zz48Zz4KCTxnPgoJCTxnPgoJCQk8cGF0aCBkPSJNNDU2LjAyLDQ0LjgyMUgyNjQuODNjLTEyLjI2LDAtMjIuMjMyLDkuOTcyLTIyLjIzMiwyMi4yMjl2OTguNjUyYzAsMTIuMjU4LDkuOTc0LDIyLjIzLDIyLjIzMiwyMi4yM2gxNi43ODd2MzkuMTYxICAgICBjMCwyLjcwNywxLjU4LDUuMTY1LDQuMDQzLDYuMjkyYzAuOTIsMC40MiwxLjkwMSwwLjYyNywyLjg3NSwwLjYyN2MxLjYzMSwwLDMuMjQ0LTAuNTc2LDQuNTIzLTEuNjg1bDUxLjM4My00NC4zOTZoMTExLjU3NiAgICAgYzEyLjI2LDAsMjIuMjMtOS45NzMsMjIuMjMtMjIuMjNWNjcuMDVDNDc4LjI1LDU0Ljc5Miw0NjguMjc3LDQ0LjgyMSw0NTYuMDIsNDQuODIxeiBNMzE5LjkyMiwxMTIuMjUybC0xMC4yMDksOS45NTMgICAgIGwyLjQxLDE0LjA1NGMwLjE3NCwxLjAxNS0wLjI0MiwyLjAzOC0xLjA3NiwyLjY0M2MtMC40NjksMC4zNDItMS4wMjcsMC41MTYtMS41ODgsMC41MTZjLTAuNDI4LDAtMC44NjEtMC4xMDMtMS4yNTYtMC4zMSAgICAgbC0xMi42MjEtNi42MzVsLTEyLjYxOSw2LjYzNWMtMC45MTIsMC40NzgtMi4wMTYsMC4zOTgtMi44NDgtMC4yMDZzLTEuMjQ4LTEuNjI4LTEuMDc0LTIuNjQzbDIuNDEtMTQuMDU0bC0xMC4yMTEtOS45NTMgICAgIGMtMC43MzQtMC43MTgtMS4wMDItMS43OTItMC42ODUtMi43NjljMC4zMTctMC45NzgsMS4xNjQtMS42OTEsMi4xODMtMS44MzlsMTQuMTEtMi4wNWw2LjMxLTEyLjc4NiAgICAgYzAuNDU3LTAuOTIzLDEuMzk2LTEuNTA3LDIuNDI0LTEuNTA3czEuOTY5LDAuNTg0LDIuNDIyLDEuNTA3bDYuMzEyLDEyLjc4NmwxNC4xMDcsMi4wNWMxLjAyLDAuMTQ4LDEuODYzLDAuODYxLDIuMTg0LDEuODM5ICAgICBDMzIwLjkyNCwxMTAuNDYsMzIwLjY1OCwxMTEuNTM1LDMxOS45MjIsMTEyLjI1MnogTTM4NC43NjYsMTEyLjI1MmwtMTAuMjExLDkuOTUzbDIuNDEyLDE0LjA1NCAgICAgYzAuMTcyLDEuMDE1LTAuMjQ0LDIuMDM4LTEuMDc2LDIuNjQzYy0wLjQ2OSwwLjM0Mi0xLjAyNSwwLjUxNi0xLjU4OCwwLjUxNmMtMC40MywwLTAuODU5LTAuMTAzLTEuMjYtMC4zMWwtMTIuNjE5LTYuNjM1ICAgICBsLTEyLjYxOSw2LjYzNWMtMC45MTIsMC40NzgtMi4wMTQsMC4zOTgtMi44NDYtMC4yMDZjLTAuODM0LTAuNjA0LTEuMjUtMS42MjgtMS4wNzYtMi42NDNsMi40MS0xNC4wNTRsLTEwLjIwOS05Ljk1MyAgICAgYy0wLjczNC0wLjcxOC0xLjAwMi0xLjc5Mi0wLjY4NC0yLjc2OWMwLjMxNi0wLjk3OCwxLjE2LTEuNjkxLDIuMTgyLTEuODM5bDE0LjEwOS0yLjA1bDYuMzExLTEyLjc4NiAgICAgYzAuNDU1LTAuOTIzLDEuMzk2LTEuNTA3LDIuNDIyLTEuNTA3YzEuMDI5LDAsMS45NjcsMC41ODQsMi40MjIsMS41MDdsNi4zMTIsMTIuNzg2bDE0LjEwOSwyLjA1ICAgICBjMS4wMjEsMC4xNDgsMS44NjMsMC44NjEsMi4xODIsMS44MzlDMzg1Ljc2OCwxMTAuNDYsMzg1LjUsMTExLjUzNSwzODQuNzY2LDExMi4yNTJ6IE00NDkuNjA3LDExMi4yNTJsLTEwLjIxMSw5Ljk1MyAgICAgbDIuNDA4LDE0LjA1NGMwLjE3NiwxLjAxNS0wLjIzOCwyLjAzOC0xLjA3MiwyLjY0M2MtMC40NzEsMC4zNDItMS4wMjcsMC41MTYtMS41OSwwLjUxNmMtMC40MywwLTAuODU5LTAuMTAzLTEuMjU4LTAuMzEgICAgIGwtMTIuNjIxLTYuNjM1bC0xMi42MjEsNi42MzVjLTAuOTA4LDAuNDc4LTIuMDEyLDAuMzk4LTIuODQ0LTAuMjA2Yy0wLjgzNC0wLjYwNC0xLjI0OC0xLjYyOC0xLjA3Ni0yLjY0M2wyLjQxMi0xNC4wNTQgICAgIGwtMTAuMjExLTkuOTUzYy0wLjczNC0wLjcxOC0xLTEuNzkyLTAuNjg0LTIuNzY5YzAuMzE2LTAuOTc4LDEuMTY0LTEuNjkxLDIuMTgyLTEuODM5bDE0LjExMS0yLjA1bDYuMzExLTEyLjc4NiAgICAgYzAuNDUzLTAuOTIzLDEuMzk1LTEuNTA3LDIuNDItMS41MDdjMS4wMjcsMCwxLjk3MSwwLjU4NCwyLjQyNiwxLjUwN0w0MzQsMTA1LjU5NGwxNC4xMDksMi4wNSAgICAgYzEuMDE4LDAuMTQ4LDEuODYxLDAuODYxLDIuMTgyLDEuODM5QzQ1MC42MDksMTEwLjQ2LDQ1MC4zNDQsMTExLjUzNSw0NDkuNjA3LDExMi4yNTJ6IiBkYXRhLW9yaWdpbmFsPSIjMDAwMDAwIiBjbGFzcz0iYWN0aXZlLXBhdGgiIGRhdGEtb2xkX2NvbG9yPSIjMDAwMDAwIiBmaWxsPSIjOUZBNEE5Ii8+CgkJCTxwYXRoIGQ9Ik0xNTIuODQ0LDExMi45MjRjLTQ2Ljc2LDAtNzIuNjM5LDI0LjIzMS03Mi4xNjYsNzAuOTIxYzAuNjg2LDYzLjk0NywyNy44NTksMTAyLjc0LDcyLjE2NiwxMDIuMDYzICAgICBjMCwwLDcyLjEzMSwyLjkyNCw3Mi4xMzEtMTAyLjA2M0MyMjQuOTc1LDEzNy4xNTUsMjAwLjYwNSwxMTIuOTI0LDE1Mi44NDQsMTEyLjkyNHoiIGRhdGEtb3JpZ2luYWw9IiMwMDAwMDAiIGNsYXNzPSJhY3RpdmUtcGF0aCIgZGF0YS1vbGRfY29sb3I9IiMwMDAwMDAiIGZpbGw9IiM5RkE0QTkiLz4KCQkJPHBhdGggZD0iTTI4MC40MjgsMzM0LjQ0NGwtNzIuMDc0LTI4LjczNmwtMTYuODc3LTE0LjIyM2MtNC40NTctMy43NjYtMTEuMDQxLTMuNDg4LTE1LjE3OCwwLjYyMWwtMjMuNDYzLDIzLjMzNmwtMjMuNTMzLTIzLjM0MiAgICAgYy00LjEzNy00LjEwNC0xMC43MTMtNC4zNjktMTUuMTY0LTAuNjE1bC0xNi44ODEsMTQuMjIzbC03Mi4wNzQsMjguNzM5QzEuOTc1LDM0My42OSwxLjk5NSw0MjUuODg0LDAsNDMzLjQyN2gzMDUuNjQ2ICAgICBDMzAzLjY1Niw0MjUuOSwzMDMuNjQ2LDM0My42NzksMjgwLjQyOCwzMzQuNDQ0eiIgZGF0YS1vcmlnaW5hbD0iIzAwMDAwMCIgY2xhc3M9ImFjdGl2ZS1wYXRoIiBkYXRhLW9sZF9jb2xvcj0iIzAwMDAwMCIgZmlsbD0iIzlGQTRBOSIvPgoJCTwvZz4KCTwvZz4KPC9nPjwvZz4gPC9zdmc+Cg==',
|
196 |
'show_in_nav_menus' => true,
|
223 |
}
|
224 |
}
|
225 |
|
226 |
+
/**
|
227 |
+
* Register the widget for the public-facing side of the site.
|
228 |
+
*
|
229 |
+
* The register_widget should have full path of namespace of the Widget class file.
|
230 |
+
*
|
231 |
+
* @param object $widget Widget instance.
|
232 |
+
*
|
233 |
+
* @since 2.0
|
234 |
+
*/
|
235 |
+
public function sp_testimonial_free_widget( $widget ) {
|
236 |
+
register_widget( 'ShapedPlugin\TestimonialFree\Admin\Views\TFREE_Widget' );
|
237 |
+
return $widget;
|
238 |
+
}
|
239 |
+
|
240 |
}
|
includes/class-testimonial-updates.php → src/Admin/DBUpdates.php
RENAMED
@@ -1,30 +1,27 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* Fired during plugin updates
|
|
|
|
|
4 |
*
|
5 |
-
* @link https://shapedplugin.com/
|
6 |
* @since 2.1.5
|
7 |
*
|
8 |
-
* @package
|
9 |
-
* @subpackage
|
|
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
// don't call the file directly.
|
13 |
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
exit;
|
15 |
}
|
16 |
|
17 |
/**
|
18 |
-
*
|
19 |
-
*
|
20 |
-
* This class defines all code necessary to run during the plugin's updates.
|
21 |
-
*
|
22 |
-
* @since 2.1.5
|
23 |
-
* @package Testimonial
|
24 |
-
* @subpackage Testimonial/includes
|
25 |
-
* @author ShapedPlugin <support@shapedplugin.com>
|
26 |
*/
|
27 |
-
class
|
28 |
|
29 |
/**
|
30 |
* DB updates that need to be run
|
@@ -115,4 +112,3 @@ class Testimonial_Updates {
|
|
115 |
}
|
116 |
|
117 |
}
|
118 |
-
new Testimonial_Updates();
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Fired during plugin updates.
|
4 |
+
*
|
5 |
+
* This class defines all code necessary to run during the plugin's updates.
|
6 |
*
|
|
|
7 |
* @since 2.1.5
|
8 |
*
|
9 |
+
* @package Testimonial_free.
|
10 |
+
* @subpackage Testimonial_free/Admin
|
11 |
+
* @author ShapedPlugin <support@shapedplugin.com>
|
12 |
*/
|
13 |
|
14 |
+
namespace ShapedPlugin\TestimonialFree\Admin;
|
15 |
+
|
16 |
// don't call the file directly.
|
17 |
if ( ! defined( 'ABSPATH' ) ) {
|
18 |
exit;
|
19 |
}
|
20 |
|
21 |
/**
|
22 |
+
* DBUpdates
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
*/
|
24 |
+
class DBUpdates {
|
25 |
|
26 |
/**
|
27 |
* DB updates that need to be run
|
112 |
}
|
113 |
|
114 |
}
|
|
{admin/views/framework/classes → src/Admin/Views/Framework/Classes}/SPFTESTIMONIAL.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_Free/framework
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die; } // Cannot access directly.
|
14 |
|
@@ -176,6 +178,7 @@ class SPFTESTIMONIAL {
|
|
176 |
self::include_plugin_file( 'configs/metaboxs.php' );
|
177 |
self::include_plugin_file( 'configs/settings.php' );
|
178 |
self::include_plugin_file( 'configs/tools.php' );
|
|
|
179 |
|
180 |
// Setup admin option framework.
|
181 |
$params = array();
|
@@ -367,10 +370,10 @@ class SPFTESTIMONIAL {
|
|
367 |
self::include_plugin_file( 'functions/validate.php' );
|
368 |
|
369 |
// Includes free version classes.
|
370 |
-
self::include_plugin_file( '
|
371 |
-
self::include_plugin_file( '
|
372 |
-
self::include_plugin_file( '
|
373 |
-
self::include_plugin_file( '
|
374 |
|
375 |
// Include all framework fields.
|
376 |
$fields = apply_filters(
|
@@ -528,7 +531,7 @@ class SPFTESTIMONIAL {
|
|
528 |
'spftestimonial_vars',
|
529 |
array(
|
530 |
'color_palette' => apply_filters( 'spftestimonial_color_palette', array() ),
|
531 |
-
'previewJS' => esc_url( SP_TFREE_URL . '
|
532 |
'i18n' => array(
|
533 |
'confirm' => esc_html__( 'Are you sure?', 'testimonial-free' ),
|
534 |
'typing_text' => esc_html__( 'Please enter %s or more characters', 'testimonial-free' ),
|
9 |
* @subpackage Testimonial_Free/framework
|
10 |
*/
|
11 |
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die; } // Cannot access directly.
|
16 |
|
178 |
self::include_plugin_file( 'configs/metaboxs.php' );
|
179 |
self::include_plugin_file( 'configs/settings.php' );
|
180 |
self::include_plugin_file( 'configs/tools.php' );
|
181 |
+
self::include_plugin_file( 'configs/form.php' );
|
182 |
|
183 |
// Setup admin option framework.
|
184 |
$params = array();
|
370 |
self::include_plugin_file( 'functions/validate.php' );
|
371 |
|
372 |
// Includes free version classes.
|
373 |
+
self::include_plugin_file( 'Classes/abstract.class.php' );
|
374 |
+
self::include_plugin_file( 'Classes/fields.class.php' );
|
375 |
+
self::include_plugin_file( 'Classes/options.class.php' );
|
376 |
+
self::include_plugin_file( 'Classes/metabox.class.php' );
|
377 |
|
378 |
// Include all framework fields.
|
379 |
$fields = apply_filters(
|
531 |
'spftestimonial_vars',
|
532 |
array(
|
533 |
'color_palette' => apply_filters( 'spftestimonial_color_palette', array() ),
|
534 |
+
'previewJS' => esc_url( SP_TFREE_URL . 'Frontend/assets/js/sp-slick-active' . $min . '.js' ),
|
535 |
'i18n' => array(
|
536 |
'confirm' => esc_html__( 'Are you sure?', 'testimonial-free' ),
|
537 |
'typing_text' => esc_html__( 'Please enter %s or more characters', 'testimonial-free' ),
|
{admin/views/framework/classes → src/Admin/Views/Framework/Classes}/abstract.class.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_free/framework
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die;
|
14 |
} // Cannot access directly.
|
9 |
* @subpackage Testimonial_free/framework
|
10 |
*/
|
11 |
|
12 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die;
|
16 |
} // Cannot access directly.
|
{admin/views/framework/classes → src/Admin/Views/Framework/Classes}/fields.class.php
RENAMED
@@ -10,6 +10,7 @@
|
|
10 |
* @subpackage Testimonial_free/framework
|
11 |
*/
|
12 |
|
|
|
13 |
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
die;
|
15 |
} // Cannot access directly.
|
10 |
* @subpackage Testimonial_free/framework
|
11 |
*/
|
12 |
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die;
|
16 |
} // Cannot access directly.
|
{admin/views/framework/classes → src/Admin/Views/Framework/Classes}/metabox.class.php
RENAMED
@@ -9,6 +9,9 @@
|
|
9 |
* @subpackage Testimonial/framework
|
10 |
*/
|
11 |
|
|
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die; } // Cannot access directly.
|
14 |
|
@@ -296,7 +299,7 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Metabox' ) ) {
|
|
296 |
<div class="clear"></div>
|
297 |
</div>
|
298 |
</div>
|
299 |
-
</div><a class="btn btn-success" id="
|
300 |
class="fa fa-eye" aria-hidden="true"></i>Show Preview</a>
|
301 |
</div>
|
302 |
<div class="clear"></div>
|
@@ -313,10 +316,10 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Metabox' ) ) {
|
|
313 |
$the_current_post_type = $current_screen->post_type;
|
314 |
if ( 'spt_shortcodes' === $the_current_post_type && $shortcode_show ) {
|
315 |
?>
|
316 |
-
<div class="
|
317 |
<div class="sp-tpro-banner">
|
318 |
<div class="sp-tpro-logo"><img
|
319 |
-
src="<?php echo esc_url( SP_TFREE_URL . '
|
320 |
alt="Real Testimonials"></div>
|
321 |
<div class="sp-tpro-short-links">
|
322 |
<a href="https://shapedplugin.com/support/" target="_blank"><i class="fa fa-life-ring"></i>Support</a>
|
@@ -430,7 +433,7 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Metabox' ) ) {
|
|
430 |
}
|
431 |
|
432 |
echo '</div>';
|
433 |
-
echo '<a class="btn btn-success" id="
|
434 |
|
435 |
if ( ! empty( $this->args['show_restore'] ) || ! empty( $this->args['show_reset'] ) ) {
|
436 |
|
@@ -577,6 +580,11 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Metabox' ) ) {
|
|
577 |
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
578 |
$main_section_title = wp_kses_post( $request['post_title'] );
|
579 |
$request = $request['sp_tpro_shortcode_options'];
|
|
|
|
|
|
|
|
|
|
|
580 |
if ( ! empty( $request ) ) {
|
581 |
|
582 |
foreach ( $this->sections as $section ) {
|
@@ -621,12 +629,7 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Metabox' ) ) {
|
|
621 |
|
622 |
}
|
623 |
}
|
624 |
-
$
|
625 |
-
$tfree_two_star = TFREE_Shortcode_Render::$tfree_two_star;
|
626 |
-
$tfree_three_star = TFREE_Shortcode_Render::$tfree_three_star;
|
627 |
-
$tfree_four_star = TFREE_Shortcode_Render::$tfree_four_star;
|
628 |
-
$tfree_five_star = TFREE_Shortcode_Render::$tfree_five_star;
|
629 |
-
TFREE_Shortcode_Render::sp_tpro_html_show( $post_id, $setting_options, $data, $tfree_one_star, $tfree_two_star, $tfree_three_star, $tfree_four_star, $tfree_five_star, $main_section_title );
|
630 |
die();
|
631 |
}
|
632 |
}
|
9 |
* @subpackage Testimonial/framework
|
10 |
*/
|
11 |
|
12 |
+
use ShapedPlugin\TestimonialFree\Frontend\Helper;
|
13 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
14 |
+
|
15 |
if ( ! defined( 'ABSPATH' ) ) {
|
16 |
die; } // Cannot access directly.
|
17 |
|
299 |
<div class="clear"></div>
|
300 |
</div>
|
301 |
</div>
|
302 |
+
</div><a class="btn btn-success" id="sp-testimonial-show-preview" data-id="<?php esc_attr( $post->ID ); ?>" href=""> <i
|
303 |
class="fa fa-eye" aria-hidden="true"></i>Show Preview</a>
|
304 |
</div>
|
305 |
<div class="clear"></div>
|
316 |
$the_current_post_type = $current_screen->post_type;
|
317 |
if ( 'spt_shortcodes' === $the_current_post_type && $shortcode_show ) {
|
318 |
?>
|
319 |
+
<div class="sp-testimonial-after-copy-text"><i class="fa fa-check-circle"></i> Shortcode Copied to Clipboard! </div>
|
320 |
<div class="sp-tpro-banner">
|
321 |
<div class="sp-tpro-logo"><img
|
322 |
+
src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/real-testimonials-logo.svg' ); ?>"
|
323 |
alt="Real Testimonials"></div>
|
324 |
<div class="sp-tpro-short-links">
|
325 |
<a href="https://shapedplugin.com/support/" target="_blank"><i class="fa fa-life-ring"></i>Support</a>
|
433 |
}
|
434 |
|
435 |
echo '</div>';
|
436 |
+
echo '<a class="btn btn-success" id="sp-testimonial-show-preview" data-id="' . esc_attr( $post->ID ) . '"href=""> <i class="fa fa-eye" aria-hidden="true"></i> Show Preview</a>';
|
437 |
|
438 |
if ( ! empty( $this->args['show_restore'] ) || ! empty( $this->args['show_reset'] ) ) {
|
439 |
|
580 |
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
581 |
$main_section_title = wp_kses_post( $request['post_title'] );
|
582 |
$request = $request['sp_tpro_shortcode_options'];
|
583 |
+
$outline = '<style>';
|
584 |
+
$shortcode_data = $request;
|
585 |
+
include SP_TFREE_PATH . 'Frontend/Views/partials/dynamic-style.php';
|
586 |
+
$outline .= '</style>';
|
587 |
+
echo $outline;
|
588 |
if ( ! empty( $request ) ) {
|
589 |
|
590 |
foreach ( $this->sections as $section ) {
|
629 |
|
630 |
}
|
631 |
}
|
632 |
+
Helper::sp_testimonial_html_show( $post_id, $setting_options, $data, $main_section_title );
|
|
|
|
|
|
|
|
|
|
|
633 |
die();
|
634 |
}
|
635 |
}
|
{admin/views/framework/classes → src/Admin/Views/Framework/Classes}/options.class.php
RENAMED
@@ -10,6 +10,8 @@
|
|
10 |
* @subpackage Testimonial_free/framework
|
11 |
*/
|
12 |
|
|
|
|
|
13 |
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
die; } // Cannot access directly.
|
15 |
|
@@ -679,9 +681,9 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Options' ) ) {
|
|
679 |
|
680 |
echo '<div class="spftestimonial-header-left">';
|
681 |
if ( $show_buttons ) {
|
682 |
-
echo '<h1> <img src="' . esc_url( SP_TFREE_URL . '/
|
683 |
} else {
|
684 |
-
echo '<h1 class="export-import"><img src="' . esc_url( SP_TFREE_URL . '
|
685 |
}
|
686 |
|
687 |
echo '</div>';
|
10 |
* @subpackage Testimonial_free/framework
|
11 |
*/
|
12 |
|
13 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
14 |
+
|
15 |
if ( ! defined( 'ABSPATH' ) ) {
|
16 |
die; } // Cannot access directly.
|
17 |
|
681 |
|
682 |
echo '<div class="spftestimonial-header-left">';
|
683 |
if ( $show_buttons ) {
|
684 |
+
echo '<h1> <img src="' . esc_url( SP_TFREE_URL . 'Admin/assets/images/icon.svg' ) . '" alt="">' . wp_kses_post( $this->args['framework_title'] ) . '</h1>';
|
685 |
} else {
|
686 |
+
echo '<h1 class="export-import"><img src="' . esc_url( SP_TFREE_URL . 'Admin/assets/images/import-export.svg' ) . '">' . wp_kses_post( $this->args['framework_title'] ) . '</h1>';
|
687 |
}
|
688 |
|
689 |
echo '</div>';
|
{admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial-rtl.css
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial-rtl.min.css
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial.css
RENAMED
@@ -4241,38 +4241,38 @@ span.spftestimonial-shortcode-selectable::after{
|
|
4241 |
background: #f5fcff;
|
4242 |
padding: 50px 15px 70px;
|
4243 |
}
|
4244 |
-
.spftestimonial-field-form_upper_section .sp-
|
4245 |
height: 22px;
|
4246 |
width: 22px;
|
4247 |
font-size: 16px;
|
4248 |
line-height: 22px;
|
4249 |
}
|
4250 |
-
.spftestimonial-field-form_upper_section div.sp-
|
4251 |
margin-bottom: 40px;
|
4252 |
margin-left: auto;
|
4253 |
margin-right: auto;
|
4254 |
text-align: center;
|
4255 |
max-width: 1200px;
|
4256 |
}
|
4257 |
-
.spftestimonial-field-form_upper_section div.sp-
|
4258 |
box-shadow: none;
|
4259 |
margin: 0;
|
4260 |
border: 0 solid;
|
4261 |
background-color: transparent;
|
4262 |
}
|
4263 |
-
div.sp-
|
4264 |
font-size: 30px;
|
4265 |
font-weight: 500;
|
4266 |
color: #444;
|
4267 |
}
|
4268 |
-
div.sp-
|
4269 |
font-size: 18px;
|
4270 |
font-weight: 400;
|
4271 |
}
|
4272 |
-
.spftestimonial-field-form_upper_section .sp-
|
4273 |
background: #0a73a7;
|
4274 |
}
|
4275 |
-
.spftestimonial-field-form_upper_section .sp-
|
4276 |
transition: all 0.5s;
|
4277 |
background: #1595ce;
|
4278 |
padding: 0 25px;
|
@@ -4284,10 +4284,10 @@ div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{
|
|
4284 |
display: inline-block;
|
4285 |
text-align: center;
|
4286 |
}
|
4287 |
-
.spftestimonial-field-form_upper_section .sp-
|
4288 |
color: #2d4d5b;
|
4289 |
}
|
4290 |
-
.spftestimonial-field-form_upper_section .sp-
|
4291 |
padding: 0 0 10px;
|
4292 |
text-align: left;
|
4293 |
}
|
4241 |
background: #f5fcff;
|
4242 |
padding: 50px 15px 70px;
|
4243 |
}
|
4244 |
+
.spftestimonial-field-form_upper_section .sp-testimonial-help .sp-testimonial-features .feature-section span.dashicons{
|
4245 |
height: 22px;
|
4246 |
width: 22px;
|
4247 |
font-size: 16px;
|
4248 |
line-height: 22px;
|
4249 |
}
|
4250 |
+
.spftestimonial-field-form_upper_section div.sp-testimonial-help .sp-testimonial-features .feature-section {
|
4251 |
margin-bottom: 40px;
|
4252 |
margin-left: auto;
|
4253 |
margin-right: auto;
|
4254 |
text-align: center;
|
4255 |
max-width: 1200px;
|
4256 |
}
|
4257 |
+
.spftestimonial-field-form_upper_section div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature {
|
4258 |
box-shadow: none;
|
4259 |
margin: 0;
|
4260 |
border: 0 solid;
|
4261 |
background-color: transparent;
|
4262 |
}
|
4263 |
+
div.sp-testimonial-help .sp-testimonial-features h1 {
|
4264 |
font-size: 30px;
|
4265 |
font-weight: 500;
|
4266 |
color: #444;
|
4267 |
}
|
4268 |
+
div.sp-testimonial-help .sp-testimonial-features .sp-testimonial-subtitle{
|
4269 |
font-size: 18px;
|
4270 |
font-weight: 400;
|
4271 |
}
|
4272 |
+
.spftestimonial-field-form_upper_section .sp-testimonial-upgrade a.sp-testimonial-upgrade-btn:hover {
|
4273 |
background: #0a73a7;
|
4274 |
}
|
4275 |
+
.spftestimonial-field-form_upper_section .sp-testimonial-upgrade a.sp-testimonial-upgrade-btn {
|
4276 |
transition: all 0.5s;
|
4277 |
background: #1595ce;
|
4278 |
padding: 0 25px;
|
4284 |
display: inline-block;
|
4285 |
text-align: center;
|
4286 |
}
|
4287 |
+
.spftestimonial-field-form_upper_section .sp-testimonial-features .feature-section .sp-testimonial-feature h3{
|
4288 |
color: #2d4d5b;
|
4289 |
}
|
4290 |
+
.spftestimonial-field-form_upper_section .sp-testimonial-help .feature-section .sp-testimonial-feature{
|
4291 |
padding: 0 0 10px;
|
4292 |
text-align: left;
|
4293 |
}
|
{admin/views/framework → src/Admin/Views/Framework}/assets/css/spftestimonial.min.css
RENAMED
@@ -1 +1 @@
|
|
1 |
-
.spftestimonial{position:relative}.spftestimonial label{padding:0;margin:0;display:inline-block}.spftestimonial-ab-icon{top:2px}.text-center{text-align:center}#screen-meta-links+.spftestimonial-options{margin-top:40px}.spftestimonial-options{margin-top:20px;margin-right:20px}.spftestimonial-header{position:relative}.spftestimonial-header-inner{padding:25px;transition:box-shadow .3s ease}.spftestimonial-header-inner h1{float:left;font-size:20px;line-height:35px;font-weight:600;margin:0}.spftestimonial-header-inner h1 small{font-size:11px;font-weight:500}.spftestimonial-sticky .spftestimonial-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.spftestimonial-buttons{float:right}.spftestimonial-buttons .button{margin:0 2px;line-height:26px}.spftestimonial-buttons .button:focus{outline:0!important;box-shadow:none!important}.spftestimonial-buttons .spftestimonial-save{min-width:72px}.spftestimonial-header-left{float:left}.spftestimonial-header-right{float:right}.spftestimonial-nav{display:block;position:relative;z-index:10;float:left}.spftestimonial-nav ul{clear:left;margin:0;list-style-type:none}.spftestimonial-nav ul li{margin-bottom:0}.spftestimonial-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.spftestimonial-nav ul li a:focus{outline:0;box-shadow:none}.spftestimonial-nav ul li .spftestimonial-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.spftestimonial-nav ul li.spftestimonial-tab-expanded .spftestimonial-arrow:after{transform:rotate(90deg)}.spftestimonial-nav ul li.spftestimonial-tab-expanded ul{display:block}.spftestimonial-nav ul ul{display:none;position:relative}.spftestimonial-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.spftestimonial-nav .spftestimonial-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.spftestimonial-nav .spftestimonial-label-error{margin-left:4px;vertical-align:top}.spftestimonial-nav-normal{width:225px}.spftestimonial-nav-normal+.spftestimonial-content{margin-left:225px}.spftestimonial-nav-inline{width:100%}.spftestimonial-nav-inline ul li{display:inline-block;vertical-align:top}.spftestimonial-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.spftestimonial-wrapper{position:relative}.spftestimonial-content{position:relative;background-color:#fff}.spftestimonial-sections{float:left;width:100%}.spftestimonial-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.spftestimonial-section-title .spftestimonial-section-icon{margin-right:5px}.spftestimonial-footer{padding:20px;font-size:11px}.spftestimonial-copyright{float:left;margin-top:5px}.spftestimonial-search-all .spftestimonial-nav,.spftestimonial-search-all .spftestimonial-nav-background,.spftestimonial-show-all .spftestimonial-nav,.spftestimonial-show-all .spftestimonial-nav-background{display:none}.spftestimonial-search-all .spftestimonial-content,.spftestimonial-show-all .spftestimonial-content{margin-left:0}.spftestimonial-search-all .spftestimonial-section,.spftestimonial-search-all .spftestimonial-section-title,.spftestimonial-show-all .spftestimonial-section,.spftestimonial-show-all .spftestimonial-section-title{display:block!important}.spftestimonial-search-all .spftestimonial-section-title{display:none!important}.spftestimonial-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.spftestimonial-expand-all span{font-size:11px;vertical-align:middle}.spftestimonial-search{float:left}.spftestimonial-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.spftestimonial-search input:focus{box-shadow:none}.spftestimonial-saving .spftestimonial-buttons,.spftestimonial-saving .spftestimonial-content{cursor:default;pointer-events:none;opacity:1}.spftestimonial-metabox{margin:-6px -12px -12px -12px}.spftestimonial-metabox .spftestimonial-field{padding:20px}.spftestimonial-metabox .spftestimonial-section-title{padding:20px}.block-editor-page .spftestimonial-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .spftestimonial-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.spftestimonial-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.spftestimonial-sections-reset .spftestimonial-button-cancel,.spftestimonial-sections-reset input{display:none}.spftestimonial-sections-reset label{padding:10px}.spftestimonial-sections-reset span{-webkit-user-select:none;user-select:none}.spftestimonial-sections-reset input:checked~.spftestimonial-button-reset{display:none}.spftestimonial-sections-reset input:checked~.spftestimonial-button-cancel{display:inline-block}#side-sortables .spftestimonial-section-title{padding:12px}#side-sortables .spftestimonial-field{padding:10px 15px}#side-sortables .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:6px}#side-sortables .spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}#side-sortables .spftestimonial-field-text input{width:100%}#side-sortables .spftestimonial-notice{padding:10px 15px}.spftestimonial-comment-metabox{margin:-6px -12px -12px -12px}.spftestimonial-comment-metabox .spftestimonial-field{padding:20px}.spftestimonial-comment-metabox .spftestimonial-section-title{padding:20px}.spftestimonial-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:left;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.spftestimonial-theme-dark .spftestimonial-header-inner{background-color:#050505}.spftestimonial-theme-dark .spftestimonial-header-inner h1{color:#fff}.spftestimonial-theme-dark .spftestimonial-header-inner h1 small{color:#555}.spftestimonial-theme-dark .spftestimonial-expand-all{color:#999;background-color:#222}.spftestimonial-theme-dark .spftestimonial-expand-all:hover{color:#fff;background-color:#333}.spftestimonial-theme-dark .spftestimonial-search input{color:#fff;background-color:#222}.spftestimonial-theme-dark .spftestimonial-search:focus{background-color:#444}.spftestimonial-theme-dark .spftestimonial-search::-webkit-input-placeholder{color:#666}.spftestimonial-theme-dark .spftestimonial-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.spftestimonial-theme-dark .spftestimonial-nav ul li .spftestimonial-active .fa{color:#1595ce}.spftestimonial-theme-dark .spftestimonial-nav ul li .spftestimonial-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spftestimonial-theme-dark .spftestimonial-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.spftestimonial-theme-dark .spftestimonial-nav ul ul li .spftestimonial-active{background-color:#101010}.spftestimonial-theme-dark .spftestimonial-nav ul ul:before{background-color:rgba(34,34,34,.75)}.spftestimonial-theme-dark .spftestimonial-nav>ul>li:last-child>a{border:none}.spftestimonial-theme-dark .spftestimonial-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.spftestimonial-theme-dark .spftestimonial-nav-normal ul li .spftestimonial-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.spftestimonial-theme-dark .spftestimonial-nav-inline{background:#f1f1f1}.spftestimonial-theme-dark .spftestimonial-nav-inline ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;text-transform:uppercase}.spftestimonial-theme-dark .spftestimonial-nav-inline ul li .spftestimonial-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.spftestimonial-theme-dark .spftestimonial-nav-background{background-color:#222}.spftestimonial-theme-dark .spftestimonial-footer{color:#555;background-color:#050505}.spftestimonial-field-border .spftestimonial--inputs{margin-top:19px}.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.spftestimonial-theme-light .spftestimonial-header-inner h1 small{color:#999}.spftestimonial-theme-light .spftestimonial-expand-all{color:#999;background-color:#eee}.spftestimonial-theme-light .spftestimonial-expand-all:hover{color:#555}.spftestimonial-theme-light .spftestimonial-search input{color:#555;background-color:#eee}.spftestimonial-theme-light .spftestimonial-search input::-webkit-input-placeholder{color:#999}.spftestimonial-theme-light .spftestimonial-nav ul li a{font-weight:500;color:#444;background-color:#f5f5f5;text-transform:uppercase}.spftestimonial-theme-light .spftestimonial-nav ul li a:hover{color:#111;background-color:#fff}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{color:#111;background-color:#fff}.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#eee}.spftestimonial-theme-light .spftestimonial-nav-normal>ul{margin-bottom:-1px}.spftestimonial-theme-light .spftestimonial-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-nav-normal>ul li .spftestimonial-active{border-right-color:#fff}.spftestimonial-theme-light .spftestimonial-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-nav-inline>ul{margin-bottom:-1px}.spftestimonial-theme-light .spftestimonial-nav-inline>ul li a{text-align:center;border-right:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-nav-inline>ul li .spftestimonial-active{border-bottom-color:#fff}.spftestimonial-theme-light .spftestimonial-nav-inline>ul ul{display:none!important}.spftestimonial-theme-light .spftestimonial-nav-inline .spftestimonial-arrow:after{display:none}.spftestimonial-theme-light .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.spftestimonial-field{position:relative;padding:30px}.spftestimonial-field+.spftestimonial-field{border-top:none}.spftestimonial-field p:first-child{margin-top:0}.spftestimonial-field p:last-child{margin-bottom:0}.spftestimonial-field:after,.spftestimonial-field:before{content:" ";display:table}.spftestimonial-field:after{clear:both}.spftestimonial-field h4{margin-top:0}.spftestimonial-field .spftestimonial-title{position:relative;width:20%;float:left}.spftestimonial-field .spftestimonial-title h4{margin:0;color:#23282d}.spftestimonial-field .spftestimonial-fieldset{float:right;width:calc(80% - 20px)}.spftestimonial-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.spftestimonial-pseudo-field+.spftestimonial-pseudo-field{border:0}.spftestimonial-pseudo-field pre{display:none}.spftestimonial-field-accordion .spftestimonial-accordion-item{position:relative;margin-bottom:5px}.spftestimonial-field-accordion .spftestimonial-accordion-item:last-child{margin-bottom:0}.spftestimonial-field-accordion .spftestimonial-accordion-item h4{font-size:1em}.spftestimonial-field-accordion .spftestimonial-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.spftestimonial-field-accordion .spftestimonial-accordion-title:active,.spftestimonial-field-accordion .spftestimonial-accordion-title:focus,.spftestimonial-field-accordion .spftestimonial-accordion-title:hover{outline:0;border-color:#999}.spftestimonial-field-accordion .spftestimonial-accordion-title .spftestimonial--icon{width:20px;text-align:center;margin-right:2px}.spftestimonial-field-accordion .spftestimonial-accordion-icon{width:16px;text-align:center}.spftestimonial-field-accordion .spftestimonial-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-accordion .spftestimonial-accordion-content>.spftestimonial-field{padding:15px}.spftestimonial-field-accordion .spftestimonial-accordion-open{display:block}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset{pointer-events:none;opacity:.7}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset .spftestimonial--input:after{content:'Pro';text-transform:uppercase;line-height:30px;margin-left:6px;color:#444}.spftestimonial-field-border .spftestimonial--inputs,.spftestimonial-field-column .spftestimonial--inputs,.spftestimonial-field-custom_size .spftestimonial--inputs,.spftestimonial-field-dimensions .spftestimonial--inputs,.spftestimonial-field-spacing .spftestimonial--inputs{float:left;display:flex;flex-wrap:wrap}.spftestimonial-field-border .spftestimonial--input,.spftestimonial-field-column .spftestimonial--input,.spftestimonial-field-custom_size .spftestimonial--input,.spftestimonial-field-dimensions .spftestimonial--input,.spftestimonial-field-spacing .spftestimonial--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.spftestimonial-field-border .spftestimonial--input select,.spftestimonial-field-custom_size .spftestimonial--input select,.spftestimonial-field-dimensions .spftestimonial--input select,.spftestimonial-field-spacing .spftestimonial--input select{margin:0}.spftestimonial-field-border .spftestimonial--input input,.spftestimonial-field-column .spftestimonial--input input,.spftestimonial-field-custom_size .spftestimonial--input input,.spftestimonial-field-dimensions .spftestimonial--input input,.spftestimonial-field-spacing .spftestimonial--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center}.spftestimonial-field-border .spftestimonial--color,.spftestimonial-field-custom_size .spftestimonial--color,.spftestimonial-field-dimensions .spftestimonial--color,.spftestimonial-field-spacing .spftestimonial--color{float:left}.spftestimonial-field-border .spftestimonial--label,.spftestimonial-field-column .spftestimonial--label,.spftestimonial-field-custom_size .spftestimonial--label,.spftestimonial-field-dimensions .spftestimonial--label,.spftestimonial-field-spacing .spftestimonial--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.spftestimonial-field-border .spftestimonial--icon,.spftestimonial-field-column .spftestimonial--icon,.spftestimonial-field-custom_size .spftestimonial--icon,.spftestimonial-field-dimensions .spftestimonial--icon,.spftestimonial-field-spacing .spftestimonial--icon{border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-border .spftestimonial--icon+input,.spftestimonial-field-column .spftestimonial--icon+input,.spftestimonial-field-custom_size .spftestimonial--icon+input,.spftestimonial-field-dimensions .spftestimonial--icon+input,.spftestimonial-field-spacing .spftestimonial--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.spftestimonial-field-border .spftestimonial--unit,.spftestimonial-field-column .spftestimonial--unit,.spftestimonial-field-custom_size .spftestimonial--unit,.spftestimonial-field-dimensions .spftestimonial--unit,.spftestimonial-field-spacing .spftestimonial--unit{border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-border .spftestimonial--is-unit,.spftestimonial-field-column .spftestimonial--is-unit,.spftestimonial-field-custom_size .spftestimonial--is-unit,.spftestimonial-field-dimensions .spftestimonial--is-unit,.spftestimonial-field-spacing .spftestimonial--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.spftestimonial-field-button_set .spftestimonial--buttons{display:inline-block}.spftestimonial-field-button_set .spftestimonial--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.spftestimonial-field-button_set .spftestimonial--button:first-child{border-radius:4px 0 0 4px}.spftestimonial-field-button_set .spftestimonial--button:last-child{border-radius:0 4px 4px 0}.spftestimonial-field-button_set .spftestimonial--button:not(:first-child){margin-left:-1px}.spftestimonial-field-button_set .spftestimonial--button:hover{background-color:#eee}.spftestimonial-field-button_set .spftestimonial--active,.spftestimonial-field-button_set .spftestimonial--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.spftestimonial-field-button_set input{display:none}.spftestimonial-field-checkbox ul,.spftestimonial-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto}.spftestimonial-field-checkbox ul li,.spftestimonial-field-radio ul li{margin-bottom:6px}.spftestimonial-field-checkbox ul ul,.spftestimonial-field-radio ul ul{max-height:none}.spftestimonial-field-checkbox ul ul li,.spftestimonial-field-radio ul ul li{margin-left:8px}.spftestimonial-field-checkbox ul ul li:first-child,.spftestimonial-field-radio ul ul li:first-child{margin-left:0}.spftestimonial-field-checkbox input,.spftestimonial-field-radio input{margin:0 1px}.spftestimonial-field-checkbox .spftestimonial--inline-list li,.spftestimonial-field-radio .spftestimonial--inline-list li{display:inline-block;margin-right:15px}.spftestimonial-field-checkbox .spftestimonial--text,.spftestimonial-field-radio .spftestimonial--text{margin-left:5px;vertical-align:middle}.spftestimonial-field-checkbox .spftestimonial-checker,.spftestimonial-field-radio .spftestimonial-checker{cursor:pointer}.spftestimonial-field-code_editor .CodeMirror{width:100%;height:400px}.spftestimonial-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.spftestimonial-field-code_editor textarea{width:100%;height:400px}.spftestimonial-field-color>input{opacity:.75;width:115px;max-width:100%}.spftestimonial-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.spftestimonial-field-color_group .spftestimonial--left{float:left;margin-right:10px;margin-bottom:5px}.spftestimonial-field-color_group .spftestimonial--title{color:#999;margin-bottom:5px}.spftestimonial-field-fieldset .spftestimonial-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-fieldset .spftestimonial-fieldset-content>.spftestimonial-field{padding:15px}.spftestimonial-field-fieldset .spftestimonial-field-subheading{font-size:13px}.spftestimonial-field-icon_select .spftestimonial--image,.spftestimonial-field-image_select .spftestimonial--image{display:inline-block;margin:0 5px 5px 0}.spftestimonial-field-image_select .spftestimonial--inline-list .spftestimonial--image{display:block}.spftestimonial-field-icon_select figure,.spftestimonial-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.spftestimonial-field-icon_select figure:before,.spftestimonial-field-image_select figure:before{position:absolute;top:-2px;right:-2px;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#1595ce;transition:opacity .2s}.spftestimonial-field-icon_select .spftestimonial--active figure,.spftestimonial-field-image_select .spftestimonial--active figure{border-color:#1595ce;outline:3px solid #1595ce;outline-offset:-3px}.spftestimonial-field-icon_select .spftestimonial--active figure:before,.spftestimonial-field-image_select .spftestimonial--active figure:before{opacity:1}.spftestimonial-field-image_select img{width:110px;vertical-align:top}.spftestimonial-field-icon_select input,.spftestimonial-field-image_select input{display:none}.spftestimonial-field-icon_select .spftestimonial--image{cursor:pointer;position:relative;display:inline-block;text-align:center;max-width:100%;margin:0 16px 7px 0;vertical-align:top;background-color:#fff;user-select:none;-webkit-user-select:none;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s;border:2px solid #f4f4f4;width:35px;height:35px;text-align:center;line-height:35px;font-size:20px}.sp-field-icon-select .fa{color:#888}.spftestimonial-field-icon_select .spftestimonial--active{border-color:#1595ce}.spftestimonial-field-repeater .spftestimonial-field-text input{width:100%}.spftestimonial-field-repeater .spftestimonial-repeater-hidden{display:none!important}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item h4{font-size:1em}.spftestimonial-field-repeater .spftestimonial-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-repeater .spftestimonial-repeater-content>.spftestimonial-field{padding:15px}.spftestimonial-field-repeater .spftestimonial-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-repeater .spftestimonial-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.spftestimonial-field-repeater .spftestimonial-repeater-helper i:hover{color:#555}.spftestimonial-field-repeater .spftestimonial-repeater-helper-inner{width:75px}.spftestimonial-field-repeater .spftestimonial-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.spftestimonial-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-content,.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-helper{display:none}.spftestimonial-field-select .spftestimonial-fieldset{min-height:30px}.spftestimonial-field-select .spftestimonial-chosen{display:none}.spftestimonial-field-select select{max-width:100%;margin:0}.spftestimonial-field-select .spftestimonial-hide-select{display:none!important}.spftestimonial-field-sortable .spftestimonial-field-text input{width:100%;max-width:100%}.spftestimonial-field-sortable .spftestimonial-sortable .spftestimonial-sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-sortable .spftestimonial-sortable .spftestimonial-sortable-item h4{font-size:1em}.spftestimonial-field-sortable .spftestimonial-sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-sortable .spftestimonial-sortable-content>.spftestimonial-field{padding:15px}.spftestimonial-field-sortable .spftestimonial-sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-sortable .spftestimonial-sortable-helper i{display:inline-block;cursor:pointer;width:50px;color:#555}.spftestimonial-field-sortable .spftestimonial-sortable-helper i:hover{opacity:.5}.spftestimonial-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial-sortable-content,.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial-sortable-helper{display:none}.spftestimonial-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sorter .spftestimonial-modules{float:left;width:50%;box-sizing:border-box}.spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:15px}.spftestimonial-field-sorter .spftestimonial-modules:last-child{padding-left:15px}.spftestimonial-field-sorter .spftestimonial-disabled,.spftestimonial-field-sorter .spftestimonial-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.spftestimonial-field-sorter .spftestimonial-disabled li{opacity:.5;transition:opacity .15s}.spftestimonial-field-sorter .spftestimonial-disabled .ui-sortable-helper{opacity:1}.spftestimonial-field-sorter .spftestimonial-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.spftestimonial-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.spftestimonial-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;transition:border-color .15s}.spftestimonial-field-sorter ul li:hover{border-color:#bbb}.spftestimonial-field-spinner .spftestimonial--spin{display:flex}.spftestimonial-field-spinner .ui-spinner{display:flex}.spftestimonial-field-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 10px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.spftestimonial-field-spinner .ui-spinner-button{cursor:pointer}.spftestimonial-field-spinner .ui-button{height:30px;box-shadow:none;box-sizing:border-box}.spftestimonial--input input:focus,.spftestimonial-field-spinner .ui-button:focus,.spftestimonial-field-spinner .ui-spinner-input:focus{box-shadow:none}.spftestimonial-field-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.spftestimonial-field-spinner .ui-spinner-button:active{background-color:#ddd}.spftestimonial-field-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.spftestimonial-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-spinner .ui-spinner-down:before{content:"\f0d9"}.spftestimonial-field-spinner .ui-spinner-input{order:2}.spftestimonial-field-spinner .spftestimonial--unit{order:3;border-left:0;user-select:none}.spftestimonial-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-spinner .ui-spinner-up:before{content:"\f0da"}.spftestimonial-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.spftestimonial-field-spinner .ui-button-icon,.spftestimonial-field-spinner .ui-button-icon-space,.spftestimonial-field-spinner .ui-button-text{display:none}.spftestimonial-field-switcher .spftestimonial--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.spftestimonial-field-switcher .spftestimonial--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.spftestimonial-field-switcher .spftestimonial--off,.spftestimonial-field-switcher .spftestimonial--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.spftestimonial-field-switcher .spftestimonial--off{padding-right:0;padding-left:28px;opacity:1}.spftestimonial-field-switcher .spftestimonial--active{background:#4fb845}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--on{opacity:1}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--off{opacity:0}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--ball{left:100%;margin-left:-28px}.spftestimonial-field-switcher .spftestimonial--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.spftestimonial-field-text input{width:340px;max-width:100%;margin:0}.spftestimonial-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.spftestimonial-field-textarea .spftestimonial-shortcode-button{margin-bottom:10px;margin-right:5px}.spftestimonial-field-typography select,.spftestimonial-field-typography textarea{margin:0;min-width:100%;max-width:100%}.spftestimonial-field-typography .spftestimonial--title{color:#777;margin:0 0 2px 0;font-size:12px}.spftestimonial-field-typography .spftestimonial--title small{vertical-align:top}.spftestimonial-field-typography .spftestimonial--blocks{display:flex;flex-wrap:wrap}.spftestimonial-field-typography .spftestimonial--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.spftestimonial-field-typography .spftestimonial--input{margin:0;min-width:100%}.spftestimonial-field-typography .spftestimonial--input-wrap{position:relative}.spftestimonial-field-typography .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-field-typography .spftestimonial--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.spftestimonial-field-typography .spftestimonial--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.spftestimonial-field-typography .spftestimonial--black-background{border-color:#000;background-color:#000}.spftestimonial-field-typography .spftestimonial--toggle{position:absolute;top:5px;right:10px;color:#999}.spftestimonial-field-typography .spftestimonial--block-extra-styles{margin-top:5px}.spftestimonial-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.spftestimonial-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.spftestimonial-field-submessage{padding:0!important;border:0!important}.spftestimonial-field-submessage+.spftestimonial-field{border-top:0!important}.spftestimonial-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.spftestimonial-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.spftestimonial-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.spftestimonial-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.spftestimonial-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.spftestimonial-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.spftestimonial-field-notice{background-color:transparent}.spftestimonial-notice-success{border-color:#46b450}.spftestimonial-notice-info{border-color:#339fd4}.spftestimonial-notice-warning{border-color:#ffbc00}.spftestimonial-notice-danger{border-color:#dc3232}.spftestimonial-notice-normal{border-color:#222}.spftestimonial-notice{border-color:#222;color:#999;font-style:italic;font-size:13px;padding:12px 12px 12px 0}.spftestimonial-field-number input{width:100%;margin:0}.spftestimonial-field-number .spftestimonial--wrap{position:relative;float:left;width:100px}.spftestimonial-field-number .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-field-link .spftestimonial--result{display:inline-block;font-size:12px;line-height:16px;padding:7px 10px;margin-bottom:7px;color:#777;border:1px solid #e5e5e5;background-color:#f5f5f5;border-radius:2px;word-break:break-word}.spftestimonial-field-link .spftestimonial--wrap{position:relative;float:left;width:100px}.spftestimonial-field-link .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:13px;color:#aaa}.spftestimonial-help .spftestimonial-help-text{display:none}.spftestimonial--preview{max-width:100%}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help{bottom:24px;right:auto;top:auto;margin-left:18px}.spftestimonial-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.spftestimonial-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.spftestimonial-image-preview i:hover{opacity:1}.spftestimonial-image-preview i:focus{box-shadow:none}.spftestimonial-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.spftestimonial-image-preview img{max-width:100%;height:auto;object-fit:contain}.spftestimonial-field-custom .spftestimonial-field{padding:0}.spftestimonial-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.spftestimonial-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0!important}.spftestimonial-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.spftestimonial-field .chosen-container-single .chosen-single abbr:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;top:0;width:18px;color:#aaa;text-align:center;background:0 0!important}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.spftestimonial-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0!important}.spftestimonial-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.spftestimonial-field .chosen-container-single .chosen-single div b:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.spftestimonial-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.spftestimonial-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.spftestimonial-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.spftestimonial-field .chosen-container-single .chosen-search input[type=text]{background:0 0!important}.spftestimonial-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.spftestimonial-field .wp-picker-container{display:inline-block}.spftestimonial-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.spftestimonial-field .spftestimonial--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.spftestimonial-field .wp-picker-active .spftestimonial--transparent-wrap{display:block}.spftestimonial-field .spftestimonial--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.spftestimonial-field .spftestimonial--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.spftestimonial-field .spftestimonial--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.spftestimonial-field .spftestimonial--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.spftestimonial-field .spftestimonial--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.spftestimonial-field .spftestimonial--transparent-active .spftestimonial--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.spftestimonial-field .spftestimonial--transparent-active .fa:before{content:"\f205"}.spftestimonial-widgets>.spftestimonial-field{position:relative;top:-1px;margin-left:-15px;margin-right:-15px;padding:12px 15px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:5px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.spftestimonial-widgets .spftestimonial-field-text input{width:100%}.spftestimonial-widgets .spftestimonial-field-notice .spftestimonial-notice{padding:15px}.control-section .spftestimonial-widgets>.spftestimonial-field{margin-left:-10px;margin-right:-10px;padding:10px 12px}.wp-block .spftestimonial-widgets{font-size:13px}.wp-block .spftestimonial-widgets>.spftestimonial-field{margin-left:-10px;margin-right:-10px}.wp-block .spftestimonial-widgets>.spftestimonial-field .button-primary{color:#fff}.wp-block .spftestimonial-widgets>.spftestimonial-field>.spftestimonial-title>h4{font-size:13px}.control-section .spftestimonial-field{padding:0}.control-section .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:6px}.control-section .spftestimonial-field .spftestimonial-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.control-section .spftestimonial-help{top:-5px;right:-5px}.control-section .spftestimonial-field-select select{width:100%}.control-section .spftestimonial-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .spftestimonial-subtitle-text{margin-top:4px;font-size:12px;font-style:italic}.control-section .spftestimonial-field-submessage .spftestimonial-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-fieldset .spftestimonial-field-heading,.control-section .spftestimonial-fieldset .spftestimonial-field-subheading,.control-section .spftestimonial-fieldset .spftestimonial-field-submessage .spftestimonial-submessage{margin-left:0;margin-right:0}.control-section .spftestimonial-field-date .spftestimonial--to{margin-left:0}.control-section .spftestimonial-field-sorter ul li{padding:5px}.control-section .spftestimonial-field-sorter .spftestimonial-modules{float:none;width:100%}.control-section .spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .spftestimonial-field-background .spftestimonial--background-attributes{flex-direction:column}.control-section .spftestimonial-field-spacing input{width:90px}.control-section .spftestimonial-field-border .spftestimonial--input{flex:1 50%}.control-section .spftestimonial-field-border input,.control-section .spftestimonial-field-border select{width:100%}.control-section .spftestimonial-field-spinner input{width:50px}.control-section .spftestimonial-field-number .spftestimonial--wrap{width:100%}.control-section .spftestimonial-field-backup .spftestimonial-export-data{display:none}.control-section .spftestimonial-field-fieldset .spftestimonial-fieldset-content{border-color:#e5e5e5}.control-section .spftestimonial-accordion-content>.spftestimonial-field,.control-section .spftestimonial-cloneable-content>.spftestimonial-field,.control-section .spftestimonial-fieldset-content>.spftestimonial-field,.control-section .spftestimonial-repeater-content>.spftestimonial-field,.control-section .spftestimonial-sortable-content>.spftestimonial-field,.control-section .spftestimonial-tabbed-content>.spftestimonial-field{padding:10px}.control-section .spftestimonial-accordion-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-cloneable-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-fieldset-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-repeater-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-sortable-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-tabbed-content>.spftestimonial-field .spftestimonial-title{margin-bottom:5px}.control-section .spftestimonial-accordion-content>.spftestimonial-field h4,.control-section .spftestimonial-cloneable-content>.spftestimonial-field h4,.control-section .spftestimonial-fieldset-content>.spftestimonial-field h4,.control-section .spftestimonial-repeater-content>.spftestimonial-field h4,.control-section .spftestimonial-sortable-content>.spftestimonial-field h4,.control-section .spftestimonial-tabbed-content>.spftestimonial-field h4{font-size:12px}.control-section .spftestimonial-depend-hidden.spftestimonial-depend-on{display:none!important}.control-section .spftestimonial-depend-visible.spftestimonial-depend-on{border-top:0!important}.spftestimonial-taxonomy{max-width:95%}.spftestimonial-taxonomy>.spftestimonial-field{border-top:none!important}.spftestimonial-taxonomy>.spftestimonial-field-heading{font-size:1.1em;padding:20px!important;border:1px solid #ddd}.spftestimonial-taxonomy>.spftestimonial-field-subheading{font-size:12px;padding:15px!important;border:1px solid #ddd}.spftestimonial-taxonomy>.spftestimonial-field-submessage .spftestimonial-submessage{padding:15px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.spftestimonial-taxonomy>.spftestimonial-field-notice{background-color:transparent}.spftestimonial-taxonomy .spftestimonial-section-title{display:block;padding:15px;background-color:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-taxonomy-add-fields>.spftestimonial-field{padding:8px 0}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-title{float:none;width:100%;padding:2px 2px 4px 0}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-title h4{font-size:12px;font-weight:400}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-fieldset{float:none;width:100%}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-fieldset>.spftestimonial-help{right:-5px}.spftestimonial-taxonomy-add-fields+p.submit{margin-top:0}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field{padding:20px 0}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-title{width:200px}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-fieldset{width:calc(100% - 220px)}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-fieldset>.spftestimonial-help{top:-5px;right:-5px}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field-submessage{margin:20px 0}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field-heading,.spftestimonial-taxonomy-edit-fields>.spftestimonial-field-subheading{margin:20px 0;border:1px solid #ddd}.spftestimonial-nav-menu-options{clear:both;float:left;width:100%}.spftestimonial-nav-menu-options>.spftestimonial-fields{margin-left:-10px;margin-top:10px;margin-bottom:10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field{padding:12px 14px 12px 12px}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:5px}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.spftestimonial-nav-menu-options .spftestimonial-field-text input{width:100%}.spftestimonial-nav-menu-options .spftestimonial-field-notice .spftestimonial-notice{padding:15px}.spftestimonial-nav-menu-title{padding:12px 14px 12px 12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-nav-menu-title:first-child{border-top:0}.spftestimonial-nav-menu-title h4{margin:0;padding:0;color:#23282d}.spftestimonial-nav-menu-icon{margin-right:5px}.spftestimonial-profile-options>h2>.fa{padding-right:7px}.spftestimonial-profile-options>.spftestimonial-field{max-width:750px;padding:15px 0;border-top:none!important}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-title{width:200px}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-fieldset{width:calc(100% - 220px)}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-fieldset>.spftestimonial-help{top:-15px;right:-5px}.spftestimonial-profile-options>.spftestimonial-field-heading{font-size:1.1em}.spftestimonial-profile-options>.spftestimonial-field-subheading{font-size:12px}.spftestimonial-profile-options>.spftestimonial-field-heading,.spftestimonial-profile-options>.spftestimonial-field-subheading{margin:10px 0;padding:15px!important;border:1px solid #ddd}.spftestimonial-profile-options>.spftestimonial-field-submessage{margin:20px 0}.spftestimonial-profile-options>.spftestimonial-field-submessage .spftestimonial-submessage{padding:10px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.spftestimonial-profile-options>.spftestimonial-field-notice{background-color:transparent}.spftestimonial-modal{position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.spftestimonial-modal.hidden{display:none}.spftestimonial-modal-icon{z-index:100102}.spftestimonial-modal-table{display:table;width:100%;height:100%}.spftestimonial-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.spftestimonial-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.spftestimonial-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.spftestimonial-modal-content .spftestimonial-shortcode-button{display:none}.spftestimonial-modal-content .spftestimonial-field{padding:15px 30px 15px 15px}.spftestimonial-modal-content a:active,.spftestimonial-modal-content a:focus{outline:0;box-shadow:none}.spftestimonial-modal-content h4{font-size:13px}.spftestimonial-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.spftestimonial-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.spftestimonial-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #ddd}.spftestimonial-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.spftestimonial-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.spftestimonial-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.spftestimonial-modal-close:hover{opacity:.5}.spftestimonial-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #ddd}.spftestimonial-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.spftestimonial--repeatable{padding:15px 15px 0 15px}.spftestimonial--repeat-button-block{text-align:center;padding-bottom:15px}.spftestimonial--repeat-shortcode{position:relative;margin-bottom:15px;border:1px dashed #ddd}.spftestimonial--repeat-shortcode:first-child .spftestimonial-repeat-remove{display:none}.spftestimonial--repeat-shortcode .spftestimonial-repeat-remove{position:absolute;right:10px;top:10px;z-index:10;cursor:pointer;display:inline-block;font-size:11px;width:18px;height:18px;line-height:18px;text-align:center;border-radius:2px;color:#fff;background-color:#e14d43;opacity:.5}.spftestimonial--repeat-shortcode .spftestimonial-repeat-remove:hover{opacity:.5}.spftestimonial-shortcode-single .spftestimonial-modal-inner{height:750px}.spftestimonial-shortcode-single .spftestimonial-modal-content{height:652px}.elementor-editor-active .spftestimonial-shortcode-button{margin-left:5px}.elementor-editor-active .spftestimonial-modal .hidden{display:none!important}.spftestimonial-shortcode-block{text-align:center;padding:14px;font-size:13px;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.spftestimonial-shortcode-block .components-button{margin-bottom:10px}.spftestimonial-modal-icon .spftestimonial-icon-title{padding:15px 0;margin:4px;font-size:14px;font-weight:700;text-align:center;border:1px solid #eee;background-color:#f7f7f7}.spftestimonial-modal-icon .spftestimonial-modal-header{text-align:center}.spftestimonial-modal-icon .spftestimonial-icon-search{width:50%;height:40px;line-height:40px}.spftestimonial-modal-icon i{cursor:pointer;display:inline-block;margin:4px;width:35px;height:35px;line-height:35px;font-size:16px;color:#555;text-align:center;border:1px solid #ccc;background-color:#f7f7f7;border-radius:2px;box-shadow:1px 1px 0 rgba(0,0,0,.05)}.spftestimonial-modal-icon i:hover{color:#fff;border-color:#222;background-color:#222}.spftestimonial-modal-icon .spftestimonial-modal-content{padding:10px;height:618px}.spftestimonial-modal-icon .spftestimonial-error-text{padding:10px}.spftestimonial-modal-loading{display:none;position:absolute;left:15px;top:15px}.spftestimonial-loading{position:relative;width:20px;height:20px;background:#ccc;border-radius:20px;box-shadow:0 2px 5px rgba(0,0,0,.07)}.spftestimonial-loading:after{position:absolute;top:50%;left:50%;width:4px;height:4px;content:"";margin-top:-2px;margin-left:-2px;background-color:#fff;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:spftestimonialLoader;border-radius:4px}@keyframes spftestimonialLoader{0%{transform:rotate(0) translateX(-6px) rotate(0)}100%{transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}.spftestimonial-subtitle-text{margin-top:6px;font-weight:400;color:#999;font-style:italic}.spftestimonial-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.spftestimonial-error-text{margin-top:6px;color:#d02c21}.spftestimonial-before-text{margin-bottom:6px}.spftestimonial-after-text{margin-top:6px}.spftestimonial-metabox-hide{display:none!important}.spftestimonial-metabox-show{display:block!important}.spftestimonial-depend-hidden.spftestimonial-depend-on{display:none}.spftestimonial-depend-visible.spftestimonial-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.spftestimonial-depend-visible.spftestimonial-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.spftestimonial-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.spftestimonial-warning-primary:focus,.spftestimonial-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.spftestimonial-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-form-result{display:none;user-select:none;border-radius:2px;padding:12px;margin:0 0 15px 0;background-color:#fff;border-left:4px solid #555;-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px rgb(0 0 0 / 10%);box-shadow:0 1px 1px rgb(0 0 0 / 10%)}.spftestimonial-form-success{border-left-color:#46b450}.spftestimonial-form-show{display:block}.spftestimonial-form-warning{color:#8a6d3b;background-color:#faebcc;display:none!important}.spftestimonial-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.spftestimonial-no-option{padding:30px}.spftestimonial-input-number{-moz-appearance:textfield}.spftestimonial-input-number::-webkit-inner-spin-button,.spftestimonial-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.spftestimonial--input input.spftestimonial-number{padding:0;border-radius:0 4px 4px 0}.spftestimonial-fa5-shims .spftestimonial .fab,.spftestimonial-fa5-shims .spftestimonial .far,.spftestimonial-fa5-shims .spftestimonial .fas{font-family:FontAwesome;font-style:normal}.spftestimonial-welcome-wrap{position:relative;margin:25px 40px 0 20px;font-size:15px;max-width:1200px}.spftestimonial-welcome-wrap p{font-size:14px;line-height:1.5}.spftestimonial-welcome-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.spftestimonial-welcome-wrap .spftestimonial-logo{position:absolute;overflow:hidden;top:0;right:0;height:160px;width:140px;background-image:linear-gradient(45deg,#2d67cb,#ad19f3);box-shadow:0 1px 4px rgba(0,0,0,.25),inset 0 0 0 4px rgba(0,0,0,.25)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i{position:absolute;width:200px;height:100px;background-color:rgba(0,0,0,.15);transform:rotate(-45deg)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(1){bottom:-20px;right:-70px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(2){bottom:-35px;right:-80px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(3){bottom:-50px;right:-90px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(4){bottom:-65px;right:-100px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--wp-logos{position:relative;padding-top:25px;text-align:center}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--wp-logo{position:absolute;left:20px;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-logo.svg)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--wp-plugin-logo{display:inline-block;width:50px;height:50px;border:3px solid #fff;background-size:40px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-plugin-logo.svg);border-radius:100%;vertical-align:middle}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--text{position:absolute;left:0;right:0;top:90px;color:#fff;font-size:13px;line-height:1.2em;font-weight:600;text-align:center;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.25)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--version{top:auto;left:auto;right:8px;bottom:4px;font-size:11px;text-transform:lowercase}.spftestimonial-welcome-wrap .spftestimonial-about-text{font-weight:400;line-height:1.6em;font-size:19px;margin:1em 200px 1em 0;color:#555d66}.spftestimonial-welcome-wrap .spftestimonial-demo-button{margin:1em 200px 2em 0}.spftestimonial-welcome-wrap .nav-tab-wrapper{margin-bottom:20px}.spftestimonial-welcome-wrap ul{list-style-type:disc;padding-left:15px}.spftestimonial-welcome-wrap .spftestimonial--col{float:left;padding-right:20px;box-sizing:border-box}.spftestimonial-welcome-wrap .spftestimonial--col-2{width:50%}.spftestimonial-welcome-wrap .spftestimonial--col-3{width:33.333%}.spftestimonial-welcome-wrap .spftestimonial--col-4{width:25%}.spftestimonial-welcome-wrap .spftestimonial--col-5{width:20%}.spftestimonial-welcome-wrap .spftestimonial--col-last{padding-right:0}.spftestimonial-welcome-wrap .spftestimonial--col-upgrade{padding:10px 0;text-align:center;border-top:1px solid #e5e5e5}.spftestimonial--table-compare tfoot td,.spftestimonial--table-compare thead td{text-align:center}.spftestimonial--table-compare td{font-size:14px;text-align:center;vertical-align:middle;padding:10px}.spftestimonial--table-compare td:first-child{text-align:left}.spftestimonial--table-compare tfoot td{padding:15px 0}.spftestimonial--table-compare .fa{font-size:18px}.spftestimonial--table-compare .fa-check-circle{color:#46b450}.spftestimonial--table-compare .fa-times-circle{color:#dc3232}.spftestimonial-welcome-cols{clear:both;margin:20px 0;background-color:#fff;padding:0 0;border-radius:2px;border:1px solid #e5e5e5}.spftestimonial-welcome-cols .spftestimonial--col{width:33.333%;float:left;padding:20px;text-align:center;box-sizing:border-box;min-height:200px;border-right:1px solid #e5e5e5}.spftestimonial-welcome-cols .spftestimonial--block,.spftestimonial-welcome-cols .spftestimonial--left{float:left;width:20%;padding:0 30px;text-align:center;box-sizing:border-box}.spftestimonial-welcome-cols .spftestimonial--block{width:80%}.spftestimonial-welcome-cols .spftestimonial--col-first{border-bottom:1px solid #e5e5e5}.spftestimonial-welcome-cols .spftestimonial--last{border-right:none}.spftestimonial-welcome-cols .spftestimonial--space{height:20px}.spftestimonial-welcome-cols .spftestimonial--icon{display:inline-block;font-size:20px;width:30px;height:30px;line-height:30px;text-align:center;margin-bottom:10px;color:#fff;background-color:#555;border-radius:30px}.spftestimonial-welcome-cols .spftestimonial--active{background-color:#5cb85c}.spftestimonial-welcome-cols .spftestimonial--deactive{background-color:#e14d43}.spftestimonial-welcome-cols .spftestimonial--title{font-weight:700;display:block}.spftestimonial-welcome-cols p:last-child{margin-bottom:0}.spftestimonial-features-cols .spftestimonial--key-features{width:30%}.spftestimonial-features-cols .spftestimonial--available-fields{width:70%}.spftestimonial-code-block{margin:20px 0;padding:5px 20px;background-color:#fff;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.15)}.spftestimonial-code-block pre{font-size:13px;color:#0073aa}.spftestimonial-code-block pre span{color:#999}.spftestimonial--table-fields td{font-size:14px}.spftestimonial--upgrade a{color:#5cb85c;font-weight:700}.spftestimonial--upgrade a:focus,.spftestimonial--upgrade a:hover{color:#4aa14a;outline:0;box-shadow:none}@media only screen and (max-width:782px){.spftestimonial-welcome-cols .spftestimonial--col{width:100%;min-height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.spftestimonial-features-cols .spftestimonial--key-features{width:100%}.spftestimonial-features-cols .spftestimonial--available-fields{width:100%}}@media only screen and (max-width:1200px){.spftestimonial-metabox .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-metabox .spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.spftestimonial-header-inner{text-align:center}.spftestimonial-header-inner h1{width:100%;margin-bottom:10px}.spftestimonial-form-result{float:none;margin-right:0;margin-bottom:10px}.spftestimonial-header-left,.spftestimonial-header-right,.spftestimonial-search{width:100%}.spftestimonial-search{text-align:center;margin-bottom:15px}.spftestimonial-footer{text-align:center}.spftestimonial-buttons{float:none}.spftestimonial-copyright{float:none;margin-top:10px}.spftestimonial-expand-all,.spftestimonial-nav,.spftestimonial-nav-background,.spftestimonial-reset-section{display:none!important}.spftestimonial-nav-normal+.spftestimonial-content{margin-left:0}.spftestimonial-section,.spftestimonial-section-title{display:block!important}.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.spftestimonial-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.spftestimonial-modal-inner{width:350px;height:400px}.spftestimonial-modal-content{height:237px}.spftestimonial-icon-dialog .spftestimonial-modal-inner{width:305px;height:380px}.spftestimonial-icon-dialog .spftestimonial-modal-content{height:267px}.spftestimonial-modal-icon .spftestimonial-modal-inner{width:330px;height:385px}.spftestimonial-modal-icon .spftestimonial-modal-content{height:252px}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-title,.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-fieldset,.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-fieldset{float:none;width:100%}.spftestimonial-nav-menu-options>.spftestimonial-fields{margin-left:-10px;margin-right:-10px}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field{padding:10px}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.spftestimonial-buttons .button.spftestimonial-save-ajax[disabled]{background-color:#c5c5c6!important;border:none}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.spftestimonial-field.spftestimonial-field-image_select.theme_style img{width:400px}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-fieldset{margin-left:0;width:100%;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-title{width:100%;margin-bottom:30px;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial--image{margin:0 24px 24px 0}.filter_style.spftestimonial-field-image_select img{width:80px}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4;margin-bottom:0;padding:15px 15px;font-size:14px;border-right:1px solid #e2e2e1;font-weight:600;text-transform:uppercase}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4;display:block}.spftestimonial-field-sortable.form_fields .spftestimonial-sortable .spftestimonial-sortable-item{margin:0;border:0}.spftestimonial-field-sortable.form_fields .spftestimonial-sortable-helper{display:none}.form_fields .spftestimonial-accordion-item::after{position:absolute;top:18px;right:16px;content:"\f0b2";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-field-sortable.form_fields .spftestimonial-sortable-content>.spftestimonial-field{padding:0;margin-bottom:5px}.sp-tpro-client-rating{float:left}.sp-tpro-client-rating:not(:checked)>input{visibility:hidden;display:none;width:0;height:0;float:right;top:100%;clip:rect(0,0,0,0);margin:0;padding:0;border:10px #fff solid}.sp-tpro-client-rating:not(:checked)>label{float:right;display:block;padding:0;margin:0;cursor:pointer;font-size:150%;line-height:1.2;color:#d4d4d4;width:1em}.sp-tpro-client-rating>input:checked~label{color:#f3bb00}.sp-tpro-client-rating:not(:checked)>label:hover,.sp-tpro-client-rating:not(:checked)>label:hover~label{color:#de7202}.sp-tpro-client-rating>input:checked+label:hover,.sp-tpro-client-rating>input:checked+label:hover~label,.sp-tpro-client-rating>input:checked~label:hover,.sp-tpro-client-rating>input:checked~label:hover~label,.sp-tpro-client-rating>label:hover~input:checked~label{color:#de7202}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:grid;grid-template-columns:9fr 1fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-content{display:grid;grid-template-columns:1fr 5fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-item{max-width:600px}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper{border-left:0;background-color:transparent}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper-inner{width:60px;line-height:4em}.spftestimonial-field-repeater .spftestimonial-repeater-helper i.spftestimonial-repeater-clone.far.fa-clone{display:none}.spftestimonial-field-select.tpro-exclude-testimonial .chosen-container,.spftestimonial-field-select.tpro-group-list .chosen-container,.spftestimonial-field-select.tpro-specific-testimonial .chosen-container{max-width:500px}.spftestimonial-field-select.tpro-group-operator .spftestimonial-fieldset,.spftestimonial-field-text.tpro-item-global-name .spftestimonial-fieldset{position:relative}.spftestimonial-field-select.tpro-group-operator .spftestimonial-help,.spftestimonial-field-text.tpro-item-global-name .spftestimonial-help{right:auto;display:inline-block}.spftestimonial-scode-wrap-side{pointer-events:none;opacity:.7;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}span.spftestimonial-shortcode-selectable{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;border-radius:3px;word-break:break-word;position:relative;width:80%}span.spftestimonial-shortcode-selectable::after{content:url(../images/copy.svg);width:16px;left:10px;top:50%;position:absolute;margin-top:-6px}.spftestimonial-header-inner h1 img{height:24px;width:24px;margin-right:8px;margin-bottom:-4px}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spftestimonial-buttons .button.spftestimonial-save-ajax{background-color:#02cc7b;border-color:transparent;color:#fff!important;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;border-radius:4px;height:38px;text-transform:uppercase;width:140px;-webkit-transition:background-color .2s;transition:background-color .2s}.spftestimonial-buttons .button.spftestimonial-reset-all,.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#cd3c3c!important;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important;text-transform:uppercase;border-radius:4px;height:38px;-webkit-transition:background-color .2s;transition:background-color .2s;color:#fff}.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#cd3c3c!important}.spftestimonial-buttons .button{margin:0 3px;line-height:26px;font-weight:600}.spftestimonial-field.spftestimonial-field-button_set.spt_export{margin-top:0;padding-top:0}.spftestimonial-field-button_set.spt_export .spftestimonial--button:hover,.spftestimonial-field.spftestimonial-field-custom_import.spt_import button:hover{background:#135e96;border-color:#135e96;color:#fff}.spftestimonial-field-button_set.spt_export .spftestimonial--button,.spftestimonial-field.spftestimonial-field-custom_import.spt_import button{background:#2271b1;border-color:#2271b1;color:#fff;text-decoration:none;text-shadow:none;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.sp-lcp-options .spftestimonial-field-select .spftestimonial-fieldset{position:relative}.spftestimonial-field.spftestimonial-field-custom_import.spt_import .spftestimonial-fieldset{position:relative}.spftestimonial-field.spftestimonial-field-custom_import.spt_import p{padding-bottom:0;margin-bottom:1px}.spftestimonial-field.spftestimonial-field-custom_import.spt_import button{margin-top:10px;padding-bottom:0}.spftestimonial-field.spftestimonial-field-custom_import.spt_import .spftestimonial-help{cursor:help;position:absolute;top:80%;transform:translateY(-50%);padding:5px;font-size:14px;color:#aaa;width:15px;left:64px;text-align:left}.spftestimonial-field.spftestimonial-field-select.spt_post_forms_id .chosen-container .chosen-drop,.spftestimonial-field.spftestimonial-field-select.spt_post_id .chosen-container .chosen-drop{max-width:400px}.spftestimonial-field.spftestimonial-field-select.spt_post_forms_id .chosen-container,.spftestimonial-field.spftestimonial-field-select.spt_post_id .chosen-container{max-width:400px}.spftestimonial-field.spftestimonial-field-select.spt_post_forms_id,.spftestimonial-field.spftestimonial-field-select.spt_post_id{padding-top:0}.spftestimonial_tools .spftestimonial-header-inner h1.export-import img{height:24px}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(1) a{background-image:url(../images/export-icon.svg)}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(2) a{background-image:url(../images/import.svg)}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(1) a.spftestimonial-active{background-image:url(../images/file-export-icon1.svg)}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(2) a.spftestimonial-active{background-image:url(../images/file-import-icon1.svg)}.spt-main-class.spftestimonial-theme-light.spftestimonial_tools .spftestimonial-nav-options ul li a{padding:15px 30px;background-size:14px;background-position:10px center;background-repeat:no-repeat}.spftestimonial--image.pro-feature{position:relative;pointer-events:none}.spftestimonial--image.pro-feature::after{position:absolute;top:1px;right:1px;color:#a5a5a5;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:'PRO';text-align:center;font-size:8px}.spftestimonial-field-subheading.pro_heading{opacity:.7}.pro_only_field,.sp-field-icon-select.spftestimonial-pro-only,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only,.spftestimonial-field-checkbox.pro_only_field,.spftestimonial-field-color.pro_only_field,.spftestimonial-field-image_select .spftestimonial--image.spftestimonial-pro-only,.spftestimonial-field.spftestimonial-field-text.pro_only_field{pointer-events:none;opacity:.8}.sp-field-icon-select.spftestimonial-pro-only{opacity:.5}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:grid;grid-template-columns:9fr 1fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-content{display:grid;grid-template-columns:1fr 5fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-item{max-width:600px}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper{border-left:0;background-color:transparent}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper-inner{width:100px;line-height:4em}.spftestimonial-field.spftestimonial-field-image_select.theme_style img{width:400px}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-fieldset{margin-left:0}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-title{width:100%;margin-bottom:30px;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial--image{margin:0 24px 24px 0}.spftestimonial-field-switcher.pro_switcher .spftestimonial--ball::after{content:"PRO";position:relative;text-align:center;width:24px;float:right;font-weight:600;font-size:8px;color:#a5a5a5;opacity:1;line-height:18px}.pro_switcher .spftestimonial--switcher{background-color:#cbcfd0;pointer-events:none}.sp-field-icon-select.spftestimonial-pro-only:last-child:after,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only:after{position:absolute;content:'';top:0;right:0;color:#999;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:"PRO";text-align:center;font-size:8px;line-height:11px;opacity:1}.client_image_style.spftestimonial-field-image_select img{width:70px}.sp-field-icon-select.spftestimonial-pro-only:last-child:after{content:"PRO";color:#444}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help{bottom:15px;right:auto;top:auto}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help.spftestimonial-title-help{position:relative;bottom:0}.spftestimonial-field.spftestimonial-field-submessage.pro_only_field{opacity:.7}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable .spftestimonial--sortable-item{margin:0;border:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field{padding:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-helper{display:none}.form_fields .spftestimonial-accordion-items{position:relative}.form_fields .spftestimonial-accordion-item::after{position:absolute;top:18px;right:16px;content:"\f0b2";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-metabox .spftestimonial-field-form_upper_section{background:#f5fcff;padding:50px 15px 70px}.spftestimonial-field-form_upper_section .sp-tfree-help .sp-tfree-pro-features .feature-section span.dashicons{height:22px;width:22px;font-size:16px;line-height:22px}.spftestimonial-field-form_upper_section div.sp-tfree-help .sp-tfree-pro-features .feature-section{margin-bottom:40px;margin-left:auto;margin-right:auto;text-align:center;max-width:1200px}.spftestimonial-field-form_upper_section div.sp-tfree-help .sp-tfree-pro-features .feature-section .sp-tfree-feature{box-shadow:none;margin:0;border:0 solid;background-color:transparent}div.sp-tfree-help .sp-tfree-pro-features h1{font-size:30px;font-weight:500;color:#444}div.sp-tfree-help .sp-tfree-pro-features .sp-tfree-pro-subtitle{font-size:18px;font-weight:400}.spftestimonial-field-form_upper_section .sp-tfree-upgrade a.tfree-upgrade-btn:hover{background:#0a73a7}.spftestimonial-field-form_upper_section .sp-tfree-upgrade a.tfree-upgrade-btn{transition:all .5s;background:#1595ce;padding:0 25px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:600;display:inline-block;text-align:center}.spftestimonial-field-form_upper_section .sp-tfree-pro-features .feature-section .sp-tfree-feature h3{color:#2d4d5b}.spftestimonial-field-form_upper_section .sp-tfree-help .feature-section .sp-tfree-feature{padding:0 0 10px;text-align:left}#sp_tpro_form_elements_options .handle-actions.hide-if-no-js,#sp_tpro_form_options .postbox-header,div#sp_tfree_form_upper_section .postbox-header,div#sp_tpro_form_elements_options .handle-actions.hide-if-no-js{display:none}#sp_tpro_form_options .spftestimonial-nav-metabox .spftestimonial--sortable-item .spftestimonial-accordion-title{pointer-events:none}#sp_tpro_form_options .spftestimonial-field-accordion .spftestimonial-accordion-title,#sp_tpro_form_options .spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field,#sp_tpro_form_options .spftestimonial-nav-metabox,#sp_tpro_form_options .spftestimonial-nav-metabox li a{pointer-events:none}div#spftestimonial-section-sp_tpro_form_elements_options_1 .spftestimonial-field-checkbox ul{max-height:100%}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav{display:block;position:relative;z-index:10;float:left;width:225px}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-content{position:relative;margin-left:225px;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li{display:list-item}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4;margin-bottom:0;padding:15px 15px;text-transform:uppercase;font-weight:600}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4;display:block}#sp_tpro_form_options .spftestimonial-field-sortable .spftestimonial-field-text input{max-width:400px}#sp_tpro-preview-box{overflow-x:auto;padding:0 20px;resize:vertical;min-height:150px}#sp_tpro_live_preview .postbox-header .handle-actions .handle-order-higher,#sp_tpro_live_preview .postbox-header .handle-actions .handle-order-lower{display:none}
|
1 |
+
.spftestimonial{position:relative}.spftestimonial label{padding:0;margin:0;display:inline-block}.spftestimonial-ab-icon{top:2px}.text-center{text-align:center}#screen-meta-links+.spftestimonial-options{margin-top:40px}.spftestimonial-options{margin-top:20px;margin-right:20px}.spftestimonial-header{position:relative}.spftestimonial-header-inner{padding:25px;transition:box-shadow .3s ease}.spftestimonial-header-inner h1{float:left;font-size:20px;line-height:35px;font-weight:600;margin:0}.spftestimonial-header-inner h1 small{font-size:11px;font-weight:500}.spftestimonial-sticky .spftestimonial-header-inner{position:fixed;z-index:99;top:32px;box-shadow:0 5px 10px rgba(0,0,0,.1)}.spftestimonial-buttons{float:right}.spftestimonial-buttons .button{margin:0 2px;line-height:26px}.spftestimonial-buttons .button:focus{outline:0!important;box-shadow:none!important}.spftestimonial-buttons .spftestimonial-save{min-width:72px}.spftestimonial-header-left{float:left}.spftestimonial-header-right{float:right}.spftestimonial-nav{display:block;position:relative;z-index:10;float:left}.spftestimonial-nav ul{clear:left;margin:0;list-style-type:none}.spftestimonial-nav ul li{margin-bottom:0}.spftestimonial-nav ul li a{font-size:13px;position:relative;display:block;padding:14px 12px;text-decoration:none;transition-property:color,background;transition-duration:.2s;transition-timing-function:ease}.spftestimonial-nav ul li a:focus{outline:0;box-shadow:none}.spftestimonial-nav ul li .spftestimonial-arrow:after{content:"\f054";display:inline-block;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:9px;line-height:1;position:absolute;right:10px;top:50%;margin-top:-4px}.spftestimonial-nav ul li.spftestimonial-tab-expanded .spftestimonial-arrow:after{transform:rotate(90deg)}.spftestimonial-nav ul li.spftestimonial-tab-expanded ul{display:block}.spftestimonial-nav ul ul{display:none;position:relative}.spftestimonial-nav ul ul li a{font-size:12px;padding:12px 14px 12px 24px}.spftestimonial-nav .spftestimonial-tab-icon{width:20px;margin-right:5px;font-size:13px;text-align:center}.spftestimonial-nav .spftestimonial-label-error{margin-left:4px;vertical-align:top}.spftestimonial-nav-normal{width:225px}.spftestimonial-nav-normal+.spftestimonial-content{margin-left:225px}.spftestimonial-nav-inline{width:100%}.spftestimonial-nav-inline ul li{display:inline-block;vertical-align:top}.spftestimonial-nav-background{position:absolute;top:0;left:0;bottom:0;z-index:9;width:225px}.spftestimonial-wrapper{position:relative}.spftestimonial-content{position:relative;background-color:#fff}.spftestimonial-sections{float:left;width:100%}.spftestimonial-section-title{display:none;padding:20px 30px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-section-title h3{margin:0;padding:0;font-size:13px;font-weight:700;text-transform:uppercase}.spftestimonial-section-title .spftestimonial-section-icon{margin-right:5px}.spftestimonial-footer{padding:20px;font-size:11px}.spftestimonial-copyright{float:left;margin-top:5px}.spftestimonial-search-all .spftestimonial-nav,.spftestimonial-search-all .spftestimonial-nav-background,.spftestimonial-show-all .spftestimonial-nav,.spftestimonial-show-all .spftestimonial-nav-background{display:none}.spftestimonial-search-all .spftestimonial-content,.spftestimonial-show-all .spftestimonial-content{margin-left:0}.spftestimonial-search-all .spftestimonial-section,.spftestimonial-search-all .spftestimonial-section-title,.spftestimonial-show-all .spftestimonial-section,.spftestimonial-show-all .spftestimonial-section-title{display:block!important}.spftestimonial-search-all .spftestimonial-section-title{display:none!important}.spftestimonial-expand-all{float:left;padding:0 8px;margin-right:4px;z-index:1;font-size:13px;line-height:30px;cursor:pointer;user-select:none;border-radius:2px;transition:all .2s}.spftestimonial-expand-all span{font-size:11px;vertical-align:middle}.spftestimonial-search{float:left}.spftestimonial-search input{margin:0 2px 0 0;border:none;font-size:12px;line-height:30px;min-height:30px;text-align:inherit;padding:0 10px;border-radius:2px;box-shadow:none}.spftestimonial-search input:focus{box-shadow:none}.spftestimonial-saving .spftestimonial-buttons,.spftestimonial-saving .spftestimonial-content{cursor:default;pointer-events:none;opacity:1}.spftestimonial-metabox{margin:-6px -12px -12px -12px}.spftestimonial-metabox .spftestimonial-field{padding:20px}.spftestimonial-metabox .spftestimonial-section-title{padding:20px}.block-editor-page .spftestimonial-metabox{margin:-6px -14px -14px -14px}.block-editor-editor-skeleton__content .spftestimonial-metabox{border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7}.spftestimonial-sections-reset{float:left;width:100%;text-align:right;border-top:1px solid #eee}.spftestimonial-sections-reset .spftestimonial-button-cancel,.spftestimonial-sections-reset input{display:none}.spftestimonial-sections-reset label{padding:10px}.spftestimonial-sections-reset span{-webkit-user-select:none;user-select:none}.spftestimonial-sections-reset input:checked~.spftestimonial-button-reset{display:none}.spftestimonial-sections-reset input:checked~.spftestimonial-button-cancel{display:inline-block}#side-sortables .spftestimonial-section-title{padding:12px}#side-sortables .spftestimonial-field{padding:10px 15px}#side-sortables .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:6px}#side-sortables .spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}#side-sortables .spftestimonial-field-text input{width:100%}#side-sortables .spftestimonial-notice{padding:10px 15px}.spftestimonial-comment-metabox{margin:-6px -12px -12px -12px}.spftestimonial-comment-metabox .spftestimonial-field{padding:20px}.spftestimonial-comment-metabox .spftestimonial-section-title{padding:20px}.spftestimonial-tooltip{position:absolute;z-index:5000001;font-size:12px;line-height:1.4;text-align:left;text-decoration:none;padding:6px 12px;max-width:200px;color:#fff;background-color:#000;background-color:rgba(0,0,0,.85);border-radius:4px}.spftestimonial-theme-dark .spftestimonial-header-inner{background-color:#050505}.spftestimonial-theme-dark .spftestimonial-header-inner h1{color:#fff}.spftestimonial-theme-dark .spftestimonial-header-inner h1 small{color:#555}.spftestimonial-theme-dark .spftestimonial-expand-all{color:#999;background-color:#222}.spftestimonial-theme-dark .spftestimonial-expand-all:hover{color:#fff;background-color:#333}.spftestimonial-theme-dark .spftestimonial-search input{color:#fff;background-color:#222}.spftestimonial-theme-dark .spftestimonial-search:focus{background-color:#444}.spftestimonial-theme-dark .spftestimonial-search::-webkit-input-placeholder{color:#666}.spftestimonial-theme-dark .spftestimonial-nav ul li a{color:#999;border-color:#2f2f2f;background-color:#222}.spftestimonial-theme-dark .spftestimonial-nav ul li .spftestimonial-active .fa{color:#1595ce}.spftestimonial-theme-dark .spftestimonial-nav ul li .spftestimonial-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spftestimonial-theme-dark .spftestimonial-nav ul ul li a{border-color:#2f2f2f;background-color:#191919}.spftestimonial-theme-dark .spftestimonial-nav ul ul li .spftestimonial-active{background-color:#101010}.spftestimonial-theme-dark .spftestimonial-nav ul ul:before{background-color:rgba(34,34,34,.75)}.spftestimonial-theme-dark .spftestimonial-nav>ul>li:last-child>a{border:none}.spftestimonial-theme-dark .spftestimonial-nav-normal ul li a{border-bottom-width:1px;border-bottom-style:solid}.spftestimonial-theme-dark .spftestimonial-nav-normal ul li .spftestimonial-active:after{content:" ";position:absolute;right:0;top:50%;height:0;width:0;pointer-events:none;border:solid transparent;border-right-color:#fff;border-width:4px;margin-top:-4px}.spftestimonial-theme-dark .spftestimonial-nav-inline{background:#f1f1f1}.spftestimonial-theme-dark .spftestimonial-nav-inline ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;text-transform:uppercase}.spftestimonial-theme-dark .spftestimonial-nav-inline ul li .spftestimonial-active:after{content:" ";position:absolute;left:50%;bottom:0;height:0;width:0;pointer-events:none;border:solid transparent;border-bottom-color:#fff;border-width:4px;margin-left:-4px}.spftestimonial-theme-dark .spftestimonial-nav-background{background-color:#222}.spftestimonial-theme-dark .spftestimonial-footer{color:#555;background-color:#050505}.spftestimonial-field-border .spftestimonial--inputs{margin-top:19px}.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4;box-shadow:0 0 15 rgba(0,0,0,.04)}.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fefefe,#f5f5f5)}.spftestimonial-theme-light .spftestimonial-header-inner h1 small{color:#999}.spftestimonial-theme-light .spftestimonial-expand-all{color:#999;background-color:#eee}.spftestimonial-theme-light .spftestimonial-expand-all:hover{color:#555}.spftestimonial-theme-light .spftestimonial-search input{color:#555;background-color:#eee}.spftestimonial-theme-light .spftestimonial-search input::-webkit-input-placeholder{color:#999}.spftestimonial-theme-light .spftestimonial-nav ul li a{font-weight:500;color:#444;background-color:#f5f5f5;text-transform:uppercase}.spftestimonial-theme-light .spftestimonial-nav ul li a:hover{color:#111;background-color:#fff}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{color:#111;background-color:#fff}.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#eee}.spftestimonial-theme-light .spftestimonial-nav-normal>ul{margin-bottom:-1px}.spftestimonial-theme-light .spftestimonial-nav-normal>ul li a{border-bottom:1px solid #ccd0d4;border-right:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-nav-normal>ul li .spftestimonial-active{border-right-color:#fff}.spftestimonial-theme-light .spftestimonial-nav-inline{background-color:#f5f5f5;border-bottom:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-nav-inline>ul{margin-bottom:-1px}.spftestimonial-theme-light .spftestimonial-nav-inline>ul li a{text-align:center;border-right:1px solid #ccd0d4;border-bottom:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-nav-inline>ul li .spftestimonial-active{border-bottom-color:#fff}.spftestimonial-theme-light .spftestimonial-nav-inline>ul ul{display:none!important}.spftestimonial-theme-light .spftestimonial-nav-inline .spftestimonial-arrow:after{display:none}.spftestimonial-theme-light .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4}.spftestimonial-theme-light .spftestimonial-footer{color:#555;border-top:1px solid #ccd0d4;background-color:#f5f5f5;background:linear-gradient(#fafafa,#f5f5f5)}.spftestimonial-field{position:relative;padding:30px}.spftestimonial-field+.spftestimonial-field{border-top:none}.spftestimonial-field p:first-child{margin-top:0}.spftestimonial-field p:last-child{margin-bottom:0}.spftestimonial-field:after,.spftestimonial-field:before{content:" ";display:table}.spftestimonial-field:after{clear:both}.spftestimonial-field h4{margin-top:0}.spftestimonial-field .spftestimonial-title{position:relative;width:20%;float:left}.spftestimonial-field .spftestimonial-title h4{margin:0;color:#23282d}.spftestimonial-field .spftestimonial-fieldset{float:right;width:calc(80% - 20px)}.spftestimonial-pseudo-field{padding:0 5px 0 0!important;display:inline-block}.spftestimonial-pseudo-field+.spftestimonial-pseudo-field{border:0}.spftestimonial-pseudo-field pre{display:none}.spftestimonial-field-accordion .spftestimonial-accordion-item{position:relative;margin-bottom:5px}.spftestimonial-field-accordion .spftestimonial-accordion-item:last-child{margin-bottom:0}.spftestimonial-field-accordion .spftestimonial-accordion-item h4{font-size:1em}.spftestimonial-field-accordion .spftestimonial-accordion-title{display:block;cursor:pointer;position:relative;margin:0;padding:15px;min-height:0;font-size:100%;user-select:none;border:1px solid #ccd0d4;background-color:#fafafa;box-shadow:0 1px 1px rgba(0,0,0,.04);transition:border-color .15s}.spftestimonial-field-accordion .spftestimonial-accordion-title:active,.spftestimonial-field-accordion .spftestimonial-accordion-title:focus,.spftestimonial-field-accordion .spftestimonial-accordion-title:hover{outline:0;border-color:#999}.spftestimonial-field-accordion .spftestimonial-accordion-title .spftestimonial--icon{width:20px;text-align:center;margin-right:2px}.spftestimonial-field-accordion .spftestimonial-accordion-icon{width:16px;text-align:center}.spftestimonial-field-accordion .spftestimonial-accordion-content{display:none;padding:0;border:1px solid #ccd0d4;border-top:none;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-accordion .spftestimonial-accordion-content>.spftestimonial-field{padding:15px}.spftestimonial-field-accordion .spftestimonial-accordion-open{display:block}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset{pointer-events:none;opacity:.7}.spftestimonial-field-custom_size.disabled .spftestimonial-fieldset .spftestimonial--input:after{content:'Pro';text-transform:uppercase;line-height:30px;margin-left:6px;color:#444}.spftestimonial-field-border .spftestimonial--inputs,.spftestimonial-field-column .spftestimonial--inputs,.spftestimonial-field-custom_size .spftestimonial--inputs,.spftestimonial-field-dimensions .spftestimonial--inputs,.spftestimonial-field-spacing .spftestimonial--inputs{float:left;display:flex;flex-wrap:wrap}.spftestimonial-field-border .spftestimonial--input,.spftestimonial-field-column .spftestimonial--input,.spftestimonial-field-custom_size .spftestimonial--input,.spftestimonial-field-dimensions .spftestimonial--input,.spftestimonial-field-spacing .spftestimonial--input{display:flex;padding-right:6px;padding-bottom:4px;box-sizing:border-box}.spftestimonial-field-border .spftestimonial--input select,.spftestimonial-field-custom_size .spftestimonial--input select,.spftestimonial-field-dimensions .spftestimonial--input select,.spftestimonial-field-spacing .spftestimonial--input select{margin:0}.spftestimonial-field-border .spftestimonial--input input,.spftestimonial-field-column .spftestimonial--input input,.spftestimonial-field-custom_size .spftestimonial--input input,.spftestimonial-field-dimensions .spftestimonial--input input,.spftestimonial-field-spacing .spftestimonial--input input{position:relative;z-index:1;margin:0;width:65px;max-width:100%;text-align:center}.spftestimonial-field-border .spftestimonial--color,.spftestimonial-field-custom_size .spftestimonial--color,.spftestimonial-field-dimensions .spftestimonial--color,.spftestimonial-field-spacing .spftestimonial--color{float:left}.spftestimonial-field-border .spftestimonial--label,.spftestimonial-field-column .spftestimonial--label,.spftestimonial-field-custom_size .spftestimonial--label,.spftestimonial-field-dimensions .spftestimonial--label,.spftestimonial-field-spacing .spftestimonial--label{display:flex;flex-direction:column;justify-content:center;user-select:none;min-width:20px;max-width:100%;padding:0 4px;font-size:12px;text-align:center;color:#555;border:1px solid #7b776c;background-color:#f5f5f5}.spftestimonial-field-border .spftestimonial--icon,.spftestimonial-field-column .spftestimonial--icon,.spftestimonial-field-custom_size .spftestimonial--icon,.spftestimonial-field-dimensions .spftestimonial--icon,.spftestimonial-field-spacing .spftestimonial--icon{border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-border .spftestimonial--icon+input,.spftestimonial-field-column .spftestimonial--icon+input,.spftestimonial-field-custom_size .spftestimonial--icon+input,.spftestimonial-field-dimensions .spftestimonial--icon+input,.spftestimonial-field-spacing .spftestimonial--icon+input{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.spftestimonial-field-border .spftestimonial--unit,.spftestimonial-field-column .spftestimonial--unit,.spftestimonial-field-custom_size .spftestimonial--unit,.spftestimonial-field-dimensions .spftestimonial--unit,.spftestimonial-field-spacing .spftestimonial--unit{border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-border .spftestimonial--is-unit,.spftestimonial-field-column .spftestimonial--is-unit,.spftestimonial-field-custom_size .spftestimonial--is-unit,.spftestimonial-field-dimensions .spftestimonial--is-unit,.spftestimonial-field-spacing .spftestimonial--is-unit{border-top-right-radius:0!important;border-bottom-right-radius:0!important}.spftestimonial-field-button_set .spftestimonial--buttons{display:inline-block}.spftestimonial-field-button_set .spftestimonial--button{position:relative;z-index:1;float:left;cursor:pointer;padding:7px 14px;min-width:16px;text-align:center;color:#555;border:1px solid #ccc;background-color:#f7f7f7;user-select:none;box-shadow:0 1px 0 rgba(0,0,0,.1)}.spftestimonial-field-button_set .spftestimonial--button:first-child{border-radius:4px 0 0 4px}.spftestimonial-field-button_set .spftestimonial--button:last-child{border-radius:0 4px 4px 0}.spftestimonial-field-button_set .spftestimonial--button:not(:first-child){margin-left:-1px}.spftestimonial-field-button_set .spftestimonial--button:hover{background-color:#eee}.spftestimonial-field-button_set .spftestimonial--active,.spftestimonial-field-button_set .spftestimonial--active:hover{z-index:2;color:#fff;border-color:#006799;background-color:#0085ba}.spftestimonial-field-button_set input{display:none}.spftestimonial-field-checkbox ul,.spftestimonial-field-radio ul{margin:0;padding:0;list-style-type:none;overflow-y:auto}.spftestimonial-field-checkbox ul li,.spftestimonial-field-radio ul li{margin-bottom:6px}.spftestimonial-field-checkbox ul ul,.spftestimonial-field-radio ul ul{max-height:none}.spftestimonial-field-checkbox ul ul li,.spftestimonial-field-radio ul ul li{margin-left:8px}.spftestimonial-field-checkbox ul ul li:first-child,.spftestimonial-field-radio ul ul li:first-child{margin-left:0}.spftestimonial-field-checkbox input,.spftestimonial-field-radio input{margin:0 1px}.spftestimonial-field-checkbox .spftestimonial--inline-list li,.spftestimonial-field-radio .spftestimonial--inline-list li{display:inline-block;margin-right:15px}.spftestimonial-field-checkbox .spftestimonial--text,.spftestimonial-field-radio .spftestimonial--text{margin-left:5px;vertical-align:middle}.spftestimonial-field-checkbox .spftestimonial-checker,.spftestimonial-field-radio .spftestimonial-checker{cursor:pointer}.spftestimonial-field-code_editor .CodeMirror{width:100%;height:400px}.spftestimonial-field-code_editor .cm-s-default{border:1px solid #ccd0d4}.spftestimonial-field-code_editor textarea{width:100%;height:400px}.spftestimonial-field-color>input{opacity:.75;width:115px;max-width:100%}.spftestimonial-field-color .button.wp-picker-clear{padding:0 8px;margin-left:6px;line-height:2.54545455;min-height:30px}.spftestimonial-field-color_group .spftestimonial--left{float:left;margin-right:10px;margin-bottom:5px}.spftestimonial-field-color_group .spftestimonial--title{color:#999;margin-bottom:5px}.spftestimonial-field-fieldset .spftestimonial-fieldset-content{border:1px solid #ccd0d4;background-color:#fff;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-field-fieldset .spftestimonial-fieldset-content>.spftestimonial-field{padding:15px}.spftestimonial-field-fieldset .spftestimonial-field-subheading{font-size:13px}.spftestimonial-field-icon_select .spftestimonial--image,.spftestimonial-field-image_select .spftestimonial--image{display:inline-block;margin:0 5px 5px 0}.spftestimonial-field-image_select .spftestimonial--inline-list .spftestimonial--image{display:block}.spftestimonial-field-icon_select figure,.spftestimonial-field-image_select figure{cursor:pointer;position:relative;display:inline-block;max-width:100%;margin:0;vertical-align:bottom;border:2px solid transparent;background-color:#fff;user-select:none;transition:all .2s}.spftestimonial-field-icon_select figure:before,.spftestimonial-field-image_select figure:before{position:absolute;top:-2px;right:-2px;text-align:center;font-size:10px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;content:"\f00c";width:16px;height:16px;line-height:14px;opacity:0;color:#fff;background-color:#1595ce;transition:opacity .2s}.spftestimonial-field-icon_select .spftestimonial--active figure,.spftestimonial-field-image_select .spftestimonial--active figure{border-color:#1595ce;outline:3px solid #1595ce;outline-offset:-3px}.spftestimonial-field-icon_select .spftestimonial--active figure:before,.spftestimonial-field-image_select .spftestimonial--active figure:before{opacity:1}.spftestimonial-field-image_select img{width:110px;vertical-align:top}.spftestimonial-field-icon_select input,.spftestimonial-field-image_select input{display:none}.spftestimonial-field-icon_select .spftestimonial--image{cursor:pointer;position:relative;display:inline-block;text-align:center;max-width:100%;margin:0 16px 7px 0;vertical-align:top;background-color:#fff;user-select:none;-webkit-user-select:none;-moz-transition:all .2s;-o-transition:all .2s;-webkit-transition:all .2s;transition:all .2s;border:2px solid #f4f4f4;width:35px;height:35px;text-align:center;line-height:35px;font-size:20px}.sp-field-icon-select .fa{color:#888}.spftestimonial-field-icon_select .spftestimonial--active{border-color:#1595ce}.spftestimonial-field-repeater .spftestimonial-field-text input{width:100%}.spftestimonial-field-repeater .spftestimonial-repeater-hidden{display:none!important}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item h4{font-size:1em}.spftestimonial-field-repeater .spftestimonial-repeater-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-repeater .spftestimonial-repeater-content>.spftestimonial-field{padding:15px}.spftestimonial-field-repeater .spftestimonial-repeater-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-repeater .spftestimonial-repeater-helper i{display:inline-block;cursor:pointer;color:#999;padding:5px}.spftestimonial-field-repeater .spftestimonial-repeater-helper i:hover{color:#555}.spftestimonial-field-repeater .spftestimonial-repeater-helper-inner{width:75px}.spftestimonial-field-repeater .spftestimonial-repeater-alert{display:none;margin-bottom:5px;padding:10px 20px;color:#a94442;border:1px solid #ebccd1;background-color:#f2dede}.spftestimonial-field-repeater .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-repeater .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-content,.spftestimonial-field-repeater .ui-sortable-helper .spftestimonial-repeater-helper{display:none}.spftestimonial-field-select .spftestimonial-fieldset{min-height:30px}.spftestimonial-field-select .spftestimonial-chosen{display:none}.spftestimonial-field-select select{max-width:100%;margin:0}.spftestimonial-field-select .spftestimonial-hide-select{display:none!important}.spftestimonial-field-sortable .spftestimonial-field-text input{width:100%;max-width:100%}.spftestimonial-field-sortable .spftestimonial-sortable .spftestimonial-sortable-item{display:table;width:100%;margin-bottom:5px;border:1px solid #eee}.spftestimonial-field-sortable .spftestimonial-sortable .spftestimonial-sortable-item h4{font-size:1em}.spftestimonial-field-sortable .spftestimonial-sortable-content{width:100%;display:table-cell;vertical-align:middle;background-color:#fff}.spftestimonial-field-sortable .spftestimonial-sortable-content>.spftestimonial-field{padding:15px}.spftestimonial-field-sortable .spftestimonial-sortable-helper{width:100%;display:table-cell;vertical-align:middle;text-align:center;font-size:14px;line-height:1em;border-left:1px solid #eee;background-color:#f7f7f7}.spftestimonial-field-sortable .spftestimonial-sortable-helper i{display:inline-block;cursor:pointer;width:50px;color:#555}.spftestimonial-field-sortable .spftestimonial-sortable-helper i:hover{opacity:.5}.spftestimonial-field-sortable .widget-placeholder{height:50px;margin-bottom:3px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sortable .ui-sortable-helper{height:50px!important;overflow:hidden!important;border-color:#ccc!important;background-color:#eee!important;opacity:.5}.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial-sortable-content,.spftestimonial-field-sortable .ui-sortable-helper .spftestimonial-sortable-helper{display:none}.spftestimonial-field-sorter .ui-sortable-placeholder{height:20px;border:1px dashed #f1c40f;background-color:#fffae4}.spftestimonial-field-sorter .spftestimonial-modules{float:left;width:50%;box-sizing:border-box}.spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:15px}.spftestimonial-field-sorter .spftestimonial-modules:last-child{padding-left:15px}.spftestimonial-field-sorter .spftestimonial-disabled,.spftestimonial-field-sorter .spftestimonial-enabled{padding:5px 15px;border:1px dashed #ddd;background-color:#fff}.spftestimonial-field-sorter .spftestimonial-disabled li{opacity:.5;transition:opacity .15s}.spftestimonial-field-sorter .spftestimonial-disabled .ui-sortable-helper{opacity:1}.spftestimonial-field-sorter .spftestimonial-sorter-title{font-size:13px;font-weight:600;padding:10px;text-align:center;border:1px dashed #ddd;border-bottom:none;background-color:#f8f8f8;text-transform:uppercase}.spftestimonial-field-sorter ul{list-style-type:none;margin:0;padding:0;min-height:62px}.spftestimonial-field-sorter ul li{margin:10px 0;padding:10px 15px;cursor:move;font-weight:700;text-align:center;border:1px solid #e5e5e5;background-color:#fafafa;transition:border-color .15s}.spftestimonial-field-sorter ul li:hover{border-color:#bbb}.spftestimonial-field-spinner .spftestimonial--spin{display:flex}.spftestimonial-field-spinner .ui-spinner{display:flex}.spftestimonial-field-spinner .ui-button{display:flex;flex-direction:column;justify-content:center;text-align:center;min-width:20px;padding:0 10px;color:#555;border:1px solid #7e8993;background-color:#f5f5f5}.spftestimonial-field-spinner .ui-spinner-button{cursor:pointer}.spftestimonial-field-spinner .ui-button{height:30px;box-shadow:none;box-sizing:border-box}.spftestimonial--input input:focus,.spftestimonial-field-spinner .ui-button:focus,.spftestimonial-field-spinner .ui-spinner-input:focus{box-shadow:none}.spftestimonial-field-spinner .ui-spinner-button:hover{background-color:#e7e7e7}.spftestimonial-field-spinner .ui-spinner-button:active{background-color:#ddd}.spftestimonial-field-spinner .ui-spinner-button:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;line-height:14px}.spftestimonial-field-spinner .ui-spinner-down{order:1;border-right:0;border-radius:4px 0 0 4px}.spftestimonial-field-spinner .ui-spinner-down:before{content:"\f0d9"}.spftestimonial-field-spinner .ui-spinner-input{order:2}.spftestimonial-field-spinner .spftestimonial--unit{order:3;border-left:0;user-select:none}.spftestimonial-field-spinner .ui-spinner-up{order:4;border-left:0;border-radius:0 4px 4px 0}.spftestimonial-field-spinner .ui-spinner-up:before{content:"\f0da"}.spftestimonial-field-spinner input{position:relative;z-index:1;width:50px;text-align:center;margin:0;padding:0 8px;border-radius:0}.spftestimonial-field-spinner .ui-button-icon,.spftestimonial-field-spinner .ui-button-icon-space,.spftestimonial-field-spinner .ui-button-text{display:none}.spftestimonial-field-switcher .spftestimonial--switcher{float:left;cursor:pointer;position:relative;width:60px;height:26px;padding:0;margin:0;overflow:hidden;border-radius:4px;background-color:#ed6f6f;user-select:none;-webkit-user-select:none}.spftestimonial-field-switcher .spftestimonial--ball{position:absolute;top:4px;left:4px;width:24px;height:18px;background-color:#fff;border-radius:4px;transition:all .1s;box-shadow:1px 1px 1px rgba(0,0,0,.15)}.spftestimonial-field-switcher .spftestimonial--off,.spftestimonial-field-switcher .spftestimonial--on{position:absolute;top:0;left:0;right:0;font-size:11px;line-height:26px;font-weight:500;font-style:normal;text-align:center;text-transform:uppercase;color:#fff;padding-right:28px;opacity:0;transition:all .1s}.spftestimonial-field-switcher .spftestimonial--off{padding-right:0;padding-left:28px;opacity:1}.spftestimonial-field-switcher .spftestimonial--active{background:#4fb845}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--on{opacity:1}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--off{opacity:0}.spftestimonial-field-switcher .spftestimonial--active .spftestimonial--ball{left:100%;margin-left:-28px}.spftestimonial-field-switcher .spftestimonial--label{float:left;margin-top:4px;margin-left:8px;font-weight:400;color:#999}.spftestimonial-field-text input{width:340px;max-width:100%;margin:0}.spftestimonial-field-textarea textarea{width:100%;max-width:100%;min-height:125px}.spftestimonial-field-textarea .spftestimonial-shortcode-button{margin-bottom:10px;margin-right:5px}.spftestimonial-field-typography select,.spftestimonial-field-typography textarea{margin:0;min-width:100%;max-width:100%}.spftestimonial-field-typography .spftestimonial--title{color:#777;margin:0 0 2px 0;font-size:12px}.spftestimonial-field-typography .spftestimonial--title small{vertical-align:top}.spftestimonial-field-typography .spftestimonial--blocks{display:flex;flex-wrap:wrap}.spftestimonial-field-typography .spftestimonial--block{flex:1;max-width:100%;padding-right:6px;padding-bottom:6px}.spftestimonial-field-typography .spftestimonial--input{margin:0;min-width:100%}.spftestimonial-field-typography .spftestimonial--input-wrap{position:relative}.spftestimonial-field-typography .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-field-typography .spftestimonial--preview{font-size:16px;line-height:20px;padding:20px;color:#222;border:1px solid #eee;background-color:#fff;border-radius:2.5px;user-select:none;-webkit-user-select:none;transition:background-color .2s,border-color .2s}.spftestimonial-field-typography .spftestimonial--block-preview{cursor:pointer;position:relative;overflow:hidden;margin-top:10px;max-width:100%}.spftestimonial-field-typography .spftestimonial--black-background{border-color:#000;background-color:#000}.spftestimonial-field-typography .spftestimonial--toggle{position:absolute;top:5px;right:10px;color:#999}.spftestimonial-field-typography .spftestimonial--block-extra-styles{margin-top:5px}.spftestimonial-field-heading{font-size:1.5em;font-weight:700;color:#23282d;background-color:#f5f5f5}.spftestimonial-field-subheading{font-size:14px;font-weight:700;padding-top:17px;padding-bottom:17px;color:#23282d;background-color:#f7f7f7}.spftestimonial-field-submessage{padding:0!important;border:0!important}.spftestimonial-field-submessage+.spftestimonial-field{border-top:0!important}.spftestimonial-submessage{font-size:12px;padding:17px 30px;border-top:1px solid transparent;border-bottom:1px solid transparent}.spftestimonial-submessage-success{color:#3c763d;border-color:#d6e9c6;background-color:#dff0d8}.spftestimonial-submessage-info{color:#31708f;border-color:#bce8f1;background-color:#d9edf7}.spftestimonial-submessage-warning{color:#8a6d3b;border-color:#faebcc;background-color:#fcf8e3}.spftestimonial-submessage-danger{color:#a94442;border-color:#ebccd1;background-color:#f2dede}.spftestimonial-submessage-normal{color:#23282d;border-color:#eee;background-color:#f7f7f7}.spftestimonial-field-notice{background-color:transparent}.spftestimonial-notice-success{border-color:#46b450}.spftestimonial-notice-info{border-color:#339fd4}.spftestimonial-notice-warning{border-color:#ffbc00}.spftestimonial-notice-danger{border-color:#dc3232}.spftestimonial-notice-normal{border-color:#222}.spftestimonial-notice{border-color:#222;color:#999;font-style:italic;font-size:13px;padding:12px 12px 12px 0}.spftestimonial-field-number input{width:100%;margin:0}.spftestimonial-field-number .spftestimonial--wrap{position:relative;float:left;width:100px}.spftestimonial-field-number .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-field-link .spftestimonial--result{display:inline-block;font-size:12px;line-height:16px;padding:7px 10px;margin-bottom:7px;color:#777;border:1px solid #e5e5e5;background-color:#f5f5f5;border-radius:2px;word-break:break-word}.spftestimonial-field-link .spftestimonial--wrap{position:relative;float:left;width:100px}.spftestimonial-field-link .spftestimonial--unit{position:absolute;z-index:1;right:4px;top:4px;bottom:4px;padding:2px 6px;color:#666;font-size:11px;line-height:1;border-radius:2px;background:#eee;user-select:none;display:flex;justify-content:center;flex-direction:column}.spftestimonial-help{cursor:help;position:absolute;top:0;right:0;padding:5px;font-size:13px;color:#aaa}.spftestimonial-help .spftestimonial-help-text{display:none}.spftestimonial--preview{max-width:100%}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help{bottom:24px;right:auto;top:auto;margin-left:18px}.spftestimonial-image-preview{display:inline-flex;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:6px;max-width:120px;max-height:120px;min-width:40px;min-height:40px;margin-bottom:10px;text-align:center;border-radius:2px;border:1px solid #ccc;background-color:#f9f9f9;box-shadow:0 1px 0 rgba(0,0,0,.08)}.spftestimonial-image-preview i{cursor:pointer;position:absolute;z-index:1;right:4px;top:4px;font-size:14px;width:22px;height:22px;line-height:22px;text-align:center;text-decoration:none;color:#fff;background-color:#d33;opacity:.75;border-radius:2px;transition:all .2s}.spftestimonial-image-preview i:hover{opacity:1}.spftestimonial-image-preview i:focus{box-shadow:none}.spftestimonial-image-preview span{position:relative;overflow:hidden;display:flex;height:100%;width:100%}.spftestimonial-image-preview img{max-width:100%;height:auto;object-fit:contain}.spftestimonial-field-custom .spftestimonial-field{padding:0}.spftestimonial-field .chosen-container-single .chosen-single{height:28px;line-height:26px}.spftestimonial-field .chosen-container-single .chosen-single abbr{top:0;right:20px;font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;width:18px;color:#aaa;text-align:center;background:0 0!important}.spftestimonial-field .chosen-container-single .chosen-single abbr:before{content:"\f00d"}.spftestimonial-field .chosen-container-single .chosen-single abbr:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:12px;height:100%;top:0;width:18px;color:#aaa;text-align:center;background:0 0!important}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;padding-top:3px}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{color:#555}.spftestimonial-field .chosen-container-single .chosen-single div b{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:14px;color:#aaa;background:0 0!important}.spftestimonial-field .chosen-container-single .chosen-single div b:before{content:"\f107"}.spftestimonial-field .chosen-container-single .chosen-single div b:hover{color:#555}.spftestimonial-field .chosen-container-multi .chosen-choices li.search-choice-placeholder{border:1px dashed #aaa;margin:3px 5px 3px 0}.spftestimonial-field .chosen-container-multi .ui-sortable li.search-choice span{cursor:move}.spftestimonial-field .chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f106"}.spftestimonial-field .chosen-container-single .chosen-single-with-deselect span{margin-right:40px}.spftestimonial-field .chosen-container-single .chosen-search input[type=text]{background:0 0!important}.spftestimonial-field .chosen-container-single .chosen-search:before{font-family:"Font Awesome 5 Pro","Font Awesome 5 Free",FontAwesome;font-weight:900;font-size:11px;content:"\f002";position:absolute;right:12px;top:10px;color:#aaa}.spftestimonial-field .wp-picker-container{display:inline-block}.spftestimonial-field .wp-picker-container .wp-color-result.button{margin-bottom:0}.spftestimonial-field .spftestimonial--transparent-wrap{display:none;position:relative;top:-1px;width:235px;padding:9px 10px;border:1px solid #dfdfdf;border-top:none;background-color:#fff}.spftestimonial-field .wp-picker-active .spftestimonial--transparent-wrap{display:block}.spftestimonial-field .spftestimonial--transparent-slider{position:absolute;width:190px;margin-left:2px;height:18px}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle{position:absolute;top:-3px;bottom:-3px;z-index:5;border-color:#aaa;border-style:solid;border-width:4px 3px;width:10px;height:16px;margin:0 -5px;background:0 0;cursor:ew-resize;opacity:.9;border-radius:4px;box-shadow:0 1px 2px rgba(0,0,0,.2)}.spftestimonial-field .spftestimonial--transparent-slider .ui-slider-handle:before{content:" ";position:absolute;left:-2px;right:-2px;top:-3px;bottom:-3px;border:2px solid #fff;border-radius:3px}.spftestimonial-field .spftestimonial--transparent-offset{height:18px;width:200px;background:url(../images/checkerboard.png) repeat-y center left scroll #fff;border-radius:2px;box-shadow:inset 0 0 5px rgba(0,0,0,.4)}.spftestimonial-field .spftestimonial--transparent-text{position:absolute;top:12px;right:10px;width:30px;font-size:12px;line-height:12px;text-align:center;color:#999}.spftestimonial-field .spftestimonial--transparent-button{cursor:pointer;user-select:none;margin-top:10px;font-size:11px;text-align:center;border-radius:2px;padding:3px 7px;box-shadow:0 1px 0 rgba(0,0,0,.1);letter-spacing:.2px;color:#777;border:1px solid #ccc;background-color:#f7f7f7;transition:background-color .2s,border-color .2s,color .2s}.spftestimonial-field .spftestimonial--transparent-active .wp-color-result{background-image:url(../images/checkerboard.png);background-size:135px;background-position:center left;background-color:transparent!important}.spftestimonial-field .spftestimonial--transparent-active .spftestimonial--transparent-button{color:#fff;border-color:#3ea032;background-color:#4fb845}.spftestimonial-field .spftestimonial--transparent-active .fa:before{content:"\f205"}.spftestimonial-widgets>.spftestimonial-field{position:relative;top:-1px;margin-left:-15px;margin-right:-15px;padding:12px 15px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:5px}.spftestimonial-widgets>.spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.spftestimonial-widgets .spftestimonial-field-text input{width:100%}.spftestimonial-widgets .spftestimonial-field-notice .spftestimonial-notice{padding:15px}.control-section .spftestimonial-widgets>.spftestimonial-field{margin-left:-10px;margin-right:-10px;padding:10px 12px}.wp-block .spftestimonial-widgets{font-size:13px}.wp-block .spftestimonial-widgets>.spftestimonial-field{margin-left:-10px;margin-right:-10px}.wp-block .spftestimonial-widgets>.spftestimonial-field .button-primary{color:#fff}.wp-block .spftestimonial-widgets>.spftestimonial-field>.spftestimonial-title>h4{font-size:13px}.control-section .spftestimonial-field{padding:0}.control-section .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:6px}.control-section .spftestimonial-field .spftestimonial-title h4{display:block;font-size:13px;line-height:1;font-weight:600;color:inherit}.control-section .spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.control-section .spftestimonial-help{top:-5px;right:-5px}.control-section .spftestimonial-field-select select{width:100%}.control-section .spftestimonial-field-heading{color:inherit;font-size:14px;line-height:1em;margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-field-subheading{color:inherit;font-size:11px;margin-right:-15px;margin-left:-15px;padding:10px 15px}.control-section .spftestimonial-subtitle-text{margin-top:4px;font-size:12px;font-style:italic}.control-section .spftestimonial-field-submessage .spftestimonial-submessage{margin-right:-15px;margin-left:-15px;padding:15px}.control-section .spftestimonial-fieldset .spftestimonial-field-heading,.control-section .spftestimonial-fieldset .spftestimonial-field-subheading,.control-section .spftestimonial-fieldset .spftestimonial-field-submessage .spftestimonial-submessage{margin-left:0;margin-right:0}.control-section .spftestimonial-field-date .spftestimonial--to{margin-left:0}.control-section .spftestimonial-field-sorter ul li{padding:5px}.control-section .spftestimonial-field-sorter .spftestimonial-modules{float:none;width:100%}.control-section .spftestimonial-field-sorter .spftestimonial-modules:first-child{padding-right:0;padding-bottom:15px}.control-section .spftestimonial-field-background .spftestimonial--background-attributes{flex-direction:column}.control-section .spftestimonial-field-spacing input{width:90px}.control-section .spftestimonial-field-border .spftestimonial--input{flex:1 50%}.control-section .spftestimonial-field-border input,.control-section .spftestimonial-field-border select{width:100%}.control-section .spftestimonial-field-spinner input{width:50px}.control-section .spftestimonial-field-number .spftestimonial--wrap{width:100%}.control-section .spftestimonial-field-backup .spftestimonial-export-data{display:none}.control-section .spftestimonial-field-fieldset .spftestimonial-fieldset-content{border-color:#e5e5e5}.control-section .spftestimonial-accordion-content>.spftestimonial-field,.control-section .spftestimonial-cloneable-content>.spftestimonial-field,.control-section .spftestimonial-fieldset-content>.spftestimonial-field,.control-section .spftestimonial-repeater-content>.spftestimonial-field,.control-section .spftestimonial-sortable-content>.spftestimonial-field,.control-section .spftestimonial-tabbed-content>.spftestimonial-field{padding:10px}.control-section .spftestimonial-accordion-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-cloneable-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-fieldset-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-repeater-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-sortable-content>.spftestimonial-field .spftestimonial-title,.control-section .spftestimonial-tabbed-content>.spftestimonial-field .spftestimonial-title{margin-bottom:5px}.control-section .spftestimonial-accordion-content>.spftestimonial-field h4,.control-section .spftestimonial-cloneable-content>.spftestimonial-field h4,.control-section .spftestimonial-fieldset-content>.spftestimonial-field h4,.control-section .spftestimonial-repeater-content>.spftestimonial-field h4,.control-section .spftestimonial-sortable-content>.spftestimonial-field h4,.control-section .spftestimonial-tabbed-content>.spftestimonial-field h4{font-size:12px}.control-section .spftestimonial-depend-hidden.spftestimonial-depend-on{display:none!important}.control-section .spftestimonial-depend-visible.spftestimonial-depend-on{border-top:0!important}.spftestimonial-taxonomy{max-width:95%}.spftestimonial-taxonomy>.spftestimonial-field{border-top:none!important}.spftestimonial-taxonomy>.spftestimonial-field-heading{font-size:1.1em;padding:20px!important;border:1px solid #ddd}.spftestimonial-taxonomy>.spftestimonial-field-subheading{font-size:12px;padding:15px!important;border:1px solid #ddd}.spftestimonial-taxonomy>.spftestimonial-field-submessage .spftestimonial-submessage{padding:15px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.spftestimonial-taxonomy>.spftestimonial-field-notice{background-color:transparent}.spftestimonial-taxonomy .spftestimonial-section-title{display:block;padding:15px;background-color:#f9f9f9;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04)}.spftestimonial-taxonomy-add-fields>.spftestimonial-field{padding:8px 0}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-title{float:none;width:100%;padding:2px 2px 4px 0}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-title h4{font-size:12px;font-weight:400}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-fieldset{float:none;width:100%}.spftestimonial-taxonomy-add-fields>.spftestimonial-field>.spftestimonial-fieldset>.spftestimonial-help{right:-5px}.spftestimonial-taxonomy-add-fields+p.submit{margin-top:0}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field{padding:20px 0}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-title{width:200px}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-fieldset{width:calc(100% - 220px)}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-fieldset>.spftestimonial-help{top:-5px;right:-5px}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field-submessage{margin:20px 0}.spftestimonial-taxonomy-edit-fields>.spftestimonial-field-heading,.spftestimonial-taxonomy-edit-fields>.spftestimonial-field-subheading{margin:20px 0;border:1px solid #ddd}.spftestimonial-nav-menu-options{clear:both;float:left;width:100%}.spftestimonial-nav-menu-options>.spftestimonial-fields{margin-left:-10px;margin-top:10px;margin-bottom:10px;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field{padding:12px 14px 12px 12px}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:5px}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.spftestimonial-nav-menu-options .spftestimonial-field-text input{width:100%}.spftestimonial-nav-menu-options .spftestimonial-field-notice .spftestimonial-notice{padding:15px}.spftestimonial-nav-menu-title{padding:12px 14px 12px 12px;background-color:#f5f5f5;border-top:1px solid #eee;border-bottom:1px solid #eee}.spftestimonial-nav-menu-title:first-child{border-top:0}.spftestimonial-nav-menu-title h4{margin:0;padding:0;color:#23282d}.spftestimonial-nav-menu-icon{margin-right:5px}.spftestimonial-profile-options>h2>.fa{padding-right:7px}.spftestimonial-profile-options>.spftestimonial-field{max-width:750px;padding:15px 0;border-top:none!important}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-title{width:200px}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-title h4{font-size:14px;font-weight:600;line-height:1.3;display:inline-block;vertical-align:middle}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-fieldset{width:calc(100% - 220px)}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-fieldset>.spftestimonial-help{top:-15px;right:-5px}.spftestimonial-profile-options>.spftestimonial-field-heading{font-size:1.1em}.spftestimonial-profile-options>.spftestimonial-field-subheading{font-size:12px}.spftestimonial-profile-options>.spftestimonial-field-heading,.spftestimonial-profile-options>.spftestimonial-field-subheading{margin:10px 0;padding:15px!important;border:1px solid #ddd}.spftestimonial-profile-options>.spftestimonial-field-submessage{margin:20px 0}.spftestimonial-profile-options>.spftestimonial-field-submessage .spftestimonial-submessage{padding:10px;border-left-width:1px;border-left-style:solid;border-right-width:1px;border-right-style:solid}.spftestimonial-profile-options>.spftestimonial-field-notice{background-color:transparent}.spftestimonial-modal{position:fixed;z-index:100101;top:0;left:0;width:100%;height:100%}.spftestimonial-modal.hidden{display:none}.spftestimonial-modal-icon{z-index:100102}.spftestimonial-modal-table{display:table;width:100%;height:100%}.spftestimonial-modal-table-cell{display:table-cell;vertical-align:middle;margin:100px 0}.spftestimonial-modal-inner{position:relative;z-index:10;width:760px;height:750px;margin:0 auto;background-color:#fff}.spftestimonial-modal-content{position:relative;overflow:hidden;overflow-y:auto;height:595px}.spftestimonial-modal-content .spftestimonial-shortcode-button{display:none}.spftestimonial-modal-content .spftestimonial-field{padding:15px 30px 15px 15px}.spftestimonial-modal-content a:active,.spftestimonial-modal-content a:focus{outline:0;box-shadow:none}.spftestimonial-modal-content h4{font-size:13px}.spftestimonial-modal-content h4 small{font-style:italic;font-weight:400;color:#aaa}.spftestimonial-modal-title{position:relative;background-color:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:16px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}.spftestimonial-modal-header{width:100%;padding:14px 0;background-color:#f5f5f5;border-bottom:1px solid #ddd}.spftestimonial-modal-header select{display:block;width:250px;margin:0 auto;font-size:13px;line-height:1;height:30px;min-height:30px;background-color:#fff}.spftestimonial-modal-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}.spftestimonial-modal-close:before{font:normal 20px/36px dashicons;content:"\f158";vertical-align:top;width:36px;height:36px}.spftestimonial-modal-close:hover{opacity:.5}.spftestimonial-modal-insert-wrapper{text-align:center;width:100%;padding:15px 0;background-color:#f5f5f5;border-top:1px solid #ddd}.spftestimonial-modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#000;opacity:.5}.spftestimonial--repeatable{padding:15px 15px 0 15px}.spftestimonial--repeat-button-block{text-align:center;padding-bottom:15px}.spftestimonial--repeat-shortcode{position:relative;margin-bottom:15px;border:1px dashed #ddd}.spftestimonial--repeat-shortcode:first-child .spftestimonial-repeat-remove{display:none}.spftestimonial--repeat-shortcode .spftestimonial-repeat-remove{position:absolute;right:10px;top:10px;z-index:10;cursor:pointer;display:inline-block;font-size:11px;width:18px;height:18px;line-height:18px;text-align:center;border-radius:2px;color:#fff;background-color:#e14d43;opacity:.5}.spftestimonial--repeat-shortcode .spftestimonial-repeat-remove:hover{opacity:.5}.spftestimonial-shortcode-single .spftestimonial-modal-inner{height:750px}.spftestimonial-shortcode-single .spftestimonial-modal-content{height:652px}.elementor-editor-active .spftestimonial-shortcode-button{margin-left:5px}.elementor-editor-active .spftestimonial-modal .hidden{display:none!important}.spftestimonial-shortcode-block{text-align:center;padding:14px;font-size:13px;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif}.spftestimonial-shortcode-block .components-button{margin-bottom:10px}.spftestimonial-modal-icon .spftestimonial-icon-title{padding:15px 0;margin:4px;font-size:14px;font-weight:700;text-align:center;border:1px solid #eee;background-color:#f7f7f7}.spftestimonial-modal-icon .spftestimonial-modal-header{text-align:center}.spftestimonial-modal-icon .spftestimonial-icon-search{width:50%;height:40px;line-height:40px}.spftestimonial-modal-icon i{cursor:pointer;display:inline-block;margin:4px;width:35px;height:35px;line-height:35px;font-size:16px;color:#555;text-align:center;border:1px solid #ccc;background-color:#f7f7f7;border-radius:2px;box-shadow:1px 1px 0 rgba(0,0,0,.05)}.spftestimonial-modal-icon i:hover{color:#fff;border-color:#222;background-color:#222}.spftestimonial-modal-icon .spftestimonial-modal-content{padding:10px;height:618px}.spftestimonial-modal-icon .spftestimonial-error-text{padding:10px}.spftestimonial-modal-loading{display:none;position:absolute;left:15px;top:15px}.spftestimonial-loading{position:relative;width:20px;height:20px;background:#ccc;border-radius:20px;box-shadow:0 2px 5px rgba(0,0,0,.07)}.spftestimonial-loading:after{position:absolute;top:50%;left:50%;width:4px;height:4px;content:"";margin-top:-2px;margin-left:-2px;background-color:#fff;animation-duration:.5s;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:spftestimonialLoader;border-radius:4px}@keyframes spftestimonialLoader{0%{transform:rotate(0) translateX(-6px) rotate(0)}100%{transform:rotate(360deg) translateX(-6px) rotate(-360deg)}}.spftestimonial-subtitle-text{margin-top:6px;font-weight:400;color:#999;font-style:italic}.spftestimonial-desc-text{clear:both;float:left;width:100%;margin-top:6px;font-weight:400;color:#999}.spftestimonial-error-text{margin-top:6px;color:#d02c21}.spftestimonial-before-text{margin-bottom:6px}.spftestimonial-after-text{margin-top:6px}.spftestimonial-metabox-hide{display:none!important}.spftestimonial-metabox-show{display:block!important}.spftestimonial-depend-hidden.spftestimonial-depend-on{display:none}.spftestimonial-depend-visible.spftestimonial-depend-on{display:block;opacity:.75;filter:grayscale(1);user-select:none;border-top:1px solid #eee}.spftestimonial-depend-visible.spftestimonial-depend-on .clear:before{content:"";left:0;top:0;right:0;bottom:0;position:absolute;background-color:#eee;opacity:.25;z-index:10}.spftestimonial-warning-primary{color:#fff!important;border-color:#dc3545!important;background:#dc3545!important}.spftestimonial-warning-primary:focus,.spftestimonial-warning-primary:hover{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-warning-primary:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #bd2130!important}.spftestimonial-warning-primary:active{border-color:#bd2130!important;background:#bd2130!important}.spftestimonial-form-result{display:none;user-select:none;border-radius:2px;padding:12px;margin:0 0 15px 0;background-color:#fff;border-left:4px solid #555;-moz-box-shadow:0 1px 1px rgba(0,0,0,.1);-webkit-box-shadow:0 1px 1px rgb(0 0 0 / 10%);box-shadow:0 1px 1px rgb(0 0 0 / 10%)}.spftestimonial-form-success{border-left-color:#46b450}.spftestimonial-form-show{display:block}.spftestimonial-form-warning{color:#8a6d3b;background-color:#faebcc;display:none!important}.spftestimonial-label-error{position:relative;top:-2px;display:inline-block;font-size:10px;line-height:10px;height:10px;width:10px;padding:1px;font-style:normal;text-align:center;color:#fff;vertical-align:middle;background-color:#e10000;border-radius:2px}.spftestimonial-no-option{padding:30px}.spftestimonial-input-number{-moz-appearance:textfield}.spftestimonial-input-number::-webkit-inner-spin-button,.spftestimonial-input-number::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.spftestimonial--input input.spftestimonial-number{padding:0;border-radius:0 4px 4px 0}.spftestimonial-fa5-shims .spftestimonial .fab,.spftestimonial-fa5-shims .spftestimonial .far,.spftestimonial-fa5-shims .spftestimonial .fas{font-family:FontAwesome;font-style:normal}.spftestimonial-welcome-wrap{position:relative;margin:25px 40px 0 20px;font-size:15px;max-width:1200px}.spftestimonial-welcome-wrap p{font-size:14px;line-height:1.5}.spftestimonial-welcome-wrap h1{margin:.2em 200px 0 0;padding:0;color:#32373c;line-height:1.2em;font-size:2.8em;font-weight:400}.spftestimonial-welcome-wrap .spftestimonial-logo{position:absolute;overflow:hidden;top:0;right:0;height:160px;width:140px;background-image:linear-gradient(45deg,#2d67cb,#ad19f3);box-shadow:0 1px 4px rgba(0,0,0,.25),inset 0 0 0 4px rgba(0,0,0,.25)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i{position:absolute;width:200px;height:100px;background-color:rgba(0,0,0,.15);transform:rotate(-45deg)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(1){bottom:-20px;right:-70px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(2){bottom:-35px;right:-80px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(3){bottom:-50px;right:-90px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--effects i:nth-child(4){bottom:-65px;right:-100px}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--wp-logos{position:relative;padding-top:25px;text-align:center}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--wp-logo{position:absolute;left:20px;width:20px;height:20px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-logo.svg)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--wp-plugin-logo{display:inline-block;width:50px;height:50px;border:3px solid #fff;background-size:40px;background-repeat:no-repeat;background-position:center center;background-image:url(../images/wp-plugin-logo.svg);border-radius:100%;vertical-align:middle}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--text{position:absolute;left:0;right:0;top:90px;color:#fff;font-size:13px;line-height:1.2em;font-weight:600;text-align:center;text-transform:uppercase;text-shadow:1px 1px 0 rgba(0,0,0,.25)}.spftestimonial-welcome-wrap .spftestimonial-logo .spftestimonial--version{top:auto;left:auto;right:8px;bottom:4px;font-size:11px;text-transform:lowercase}.spftestimonial-welcome-wrap .spftestimonial-about-text{font-weight:400;line-height:1.6em;font-size:19px;margin:1em 200px 1em 0;color:#555d66}.spftestimonial-welcome-wrap .spftestimonial-demo-button{margin:1em 200px 2em 0}.spftestimonial-welcome-wrap .nav-tab-wrapper{margin-bottom:20px}.spftestimonial-welcome-wrap ul{list-style-type:disc;padding-left:15px}.spftestimonial-welcome-wrap .spftestimonial--col{float:left;padding-right:20px;box-sizing:border-box}.spftestimonial-welcome-wrap .spftestimonial--col-2{width:50%}.spftestimonial-welcome-wrap .spftestimonial--col-3{width:33.333%}.spftestimonial-welcome-wrap .spftestimonial--col-4{width:25%}.spftestimonial-welcome-wrap .spftestimonial--col-5{width:20%}.spftestimonial-welcome-wrap .spftestimonial--col-last{padding-right:0}.spftestimonial-welcome-wrap .spftestimonial--col-upgrade{padding:10px 0;text-align:center;border-top:1px solid #e5e5e5}.spftestimonial--table-compare tfoot td,.spftestimonial--table-compare thead td{text-align:center}.spftestimonial--table-compare td{font-size:14px;text-align:center;vertical-align:middle;padding:10px}.spftestimonial--table-compare td:first-child{text-align:left}.spftestimonial--table-compare tfoot td{padding:15px 0}.spftestimonial--table-compare .fa{font-size:18px}.spftestimonial--table-compare .fa-check-circle{color:#46b450}.spftestimonial--table-compare .fa-times-circle{color:#dc3232}.spftestimonial-welcome-cols{clear:both;margin:20px 0;background-color:#fff;padding:0 0;border-radius:2px;border:1px solid #e5e5e5}.spftestimonial-welcome-cols .spftestimonial--col{width:33.333%;float:left;padding:20px;text-align:center;box-sizing:border-box;min-height:200px;border-right:1px solid #e5e5e5}.spftestimonial-welcome-cols .spftestimonial--block,.spftestimonial-welcome-cols .spftestimonial--left{float:left;width:20%;padding:0 30px;text-align:center;box-sizing:border-box}.spftestimonial-welcome-cols .spftestimonial--block{width:80%}.spftestimonial-welcome-cols .spftestimonial--col-first{border-bottom:1px solid #e5e5e5}.spftestimonial-welcome-cols .spftestimonial--last{border-right:none}.spftestimonial-welcome-cols .spftestimonial--space{height:20px}.spftestimonial-welcome-cols .spftestimonial--icon{display:inline-block;font-size:20px;width:30px;height:30px;line-height:30px;text-align:center;margin-bottom:10px;color:#fff;background-color:#555;border-radius:30px}.spftestimonial-welcome-cols .spftestimonial--active{background-color:#5cb85c}.spftestimonial-welcome-cols .spftestimonial--deactive{background-color:#e14d43}.spftestimonial-welcome-cols .spftestimonial--title{font-weight:700;display:block}.spftestimonial-welcome-cols p:last-child{margin-bottom:0}.spftestimonial-features-cols .spftestimonial--key-features{width:30%}.spftestimonial-features-cols .spftestimonial--available-fields{width:70%}.spftestimonial-code-block{margin:20px 0;padding:5px 20px;background-color:#fff;border-radius:2px;box-shadow:0 1px 1px rgba(0,0,0,.15)}.spftestimonial-code-block pre{font-size:13px;color:#0073aa}.spftestimonial-code-block pre span{color:#999}.spftestimonial--table-fields td{font-size:14px}.spftestimonial--upgrade a{color:#5cb85c;font-weight:700}.spftestimonial--upgrade a:focus,.spftestimonial--upgrade a:hover{color:#4aa14a;outline:0;box-shadow:none}@media only screen and (max-width:782px){.spftestimonial-welcome-cols .spftestimonial--col{width:100%;min-height:auto;border-right:none;border-bottom:1px solid #e5e5e5}.spftestimonial-features-cols .spftestimonial--key-features{width:100%}.spftestimonial-features-cols .spftestimonial--available-fields{width:100%}}@media only screen and (max-width:1200px){.spftestimonial-metabox .spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-metabox .spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}}@media only screen and (max-width:782px){.spftestimonial-header-inner{text-align:center}.spftestimonial-header-inner h1{width:100%;margin-bottom:10px}.spftestimonial-form-result{float:none;margin-right:0;margin-bottom:10px}.spftestimonial-header-left,.spftestimonial-header-right,.spftestimonial-search{width:100%}.spftestimonial-search{text-align:center;margin-bottom:15px}.spftestimonial-footer{text-align:center}.spftestimonial-buttons{float:none}.spftestimonial-copyright{float:none;margin-top:10px}.spftestimonial-expand-all,.spftestimonial-nav,.spftestimonial-nav-background,.spftestimonial-reset-section{display:none!important}.spftestimonial-nav-normal+.spftestimonial-content{margin-left:0}.spftestimonial-section,.spftestimonial-section-title{display:block!important}.spftestimonial-field .spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-field .spftestimonial-fieldset{float:none;width:100%}.spftestimonial-field-color .button.wp-picker-clear{padding:0 8px;line-height:2.14285714;min-height:32px}.spftestimonial-modal-inner{width:350px;height:400px}.spftestimonial-modal-content{height:237px}.spftestimonial-icon-dialog .spftestimonial-modal-inner{width:305px;height:380px}.spftestimonial-icon-dialog .spftestimonial-modal-content{height:267px}.spftestimonial-modal-icon .spftestimonial-modal-inner{width:330px;height:385px}.spftestimonial-modal-icon .spftestimonial-modal-content{height:252px}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-title,.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-title{float:none;width:100%;margin-bottom:10px}.spftestimonial-profile-options>.spftestimonial-field>.spftestimonial-fieldset,.spftestimonial-taxonomy-edit-fields>.spftestimonial-field>.spftestimonial-fieldset{float:none;width:100%}.spftestimonial-nav-menu-options>.spftestimonial-fields{margin-left:-10px;margin-right:-10px}.spftestimonial-nav-menu-options>.spftestimonial-fields>.spftestimonial-field{padding:10px}}.chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;user-select:none}.chosen-container *{box-sizing:border-box}.chosen-container .chosen-drop{position:absolute;top:100%;z-index:1010;width:100%;border:1px solid #aaa;border-top:0;background:#fff;box-shadow:0 4px 5px rgba(0,0,0,.15);clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container.chosen-with-drop .chosen-drop{clip:auto;clip-path:none}.chosen-container a{cursor:pointer}.chosen-container .chosen-single .group-name,.chosen-container .search-choice .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:400;color:#999}.chosen-container .chosen-single .group-name:after,.chosen-container .search-choice .group-name:after{content:":";padding-left:2px;vertical-align:top}.chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:25px;border:1px solid #aaa;border-radius:5px;background-color:#fff;background:linear-gradient(#fff 20%,#f6f6f6 50%,#eee 52%,#f4f4f4 100%);background-clip:padding-box;box-shadow:0 0 3px #fff inset,0 1px 1px rgba(0,0,0,.1);color:#444;text-decoration:none;white-space:nowrap;line-height:24px}.chosen-container-single .chosen-default{color:#999}.chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.chosen-container-single .chosen-single div{position:absolute;top:0;right:0;display:block;width:18px;height:100%}.chosen-container-single .chosen-single div b{display:block;width:100%;height:100%}.chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.chosen-container-single .chosen-search input[type=text]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #aaa;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 4px 4px;background-clip:padding-box}.chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;clip:rect(0,0,0,0);clip-path:inset(100% 100%)}.chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.chosen-container .chosen-results li.highlighted{background-color:#3875d7;background-image:linear-gradient(#3875d7 20%,#2a62bc 90%);color:#fff}.chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.chosen-container .chosen-results li.group-result{display:list-item;font-weight:700;cursor:default}.chosen-container .chosen-results li.group-option{padding-left:15px}.chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto;border:1px solid #aaa;background-color:#fff;background-image:linear-gradient(#eee 1%,#fff 15%);cursor:text}.chosen-container-multi .chosen-choices li{float:left;list-style:none}.chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-field input[type=text]{margin:1px 0;padding:0;outline:0;border:0!important;background:0 0!important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0;width:25px;height:25px;min-height:25px}.chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 6px;border:1px solid #aaa;max-width:100%;border-radius:3px;background-color:#eee;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);color:#333;line-height:13px;cursor:default}.chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word;white-space:nowrap}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;right:0;display:block;width:12px;height:12px;font-size:1px}.chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ccc;background-color:#e4e4e4;background-image:linear-gradient(#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);color:#666}.chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.chosen-container-multi .chosen-results{margin:0;padding:0}.chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.chosen-container-active .chosen-single{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #aaa;border-bottom-right-radius:0;border-bottom-left-radius:0;background-image:linear-gradient(#eee 20%,#fff 80%);box-shadow:0 1px 0 #fff inset}.chosen-container-active.chosen-with-drop .chosen-single div{border-left:none;background:0 0}.chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,.3)}.chosen-container-active .chosen-choices li.search-field input[type=text]{color:#222!important}.chosen-disabled{opacity:.5!important;cursor:default}.chosen-disabled .chosen-single{cursor:default}.chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.spftestimonial-buttons .button.spftestimonial-save-ajax[disabled]{background-color:#c5c5c6!important;border:none}.chosen-rtl{text-align:right}.chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.chosen-rtl .chosen-single div{right:auto;left:3px}.chosen-rtl .chosen-single abbr{right:auto;left:26px}.chosen-rtl .chosen-choices li{float:right}.chosen-rtl .chosen-choices li.search-field input[type=text]{direction:rtl}.chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.chosen-rtl .chosen-search input[type=text]{padding:4px 5px 4px 20px;direction:rtl}.spftestimonial-field.spftestimonial-field-image_select.theme_style img{width:400px}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-fieldset{margin-left:0;width:100%;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-title{width:100%;margin-bottom:30px;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial--image{margin:0 24px 24px 0}.filter_style.spftestimonial-field-image_select img{width:80px}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4;margin-bottom:0;padding:15px 15px;font-size:14px;border-right:1px solid #e2e2e1;font-weight:600;text-transform:uppercase}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4;display:block}.spftestimonial-field-sortable.form_fields .spftestimonial-sortable .spftestimonial-sortable-item{margin:0;border:0}.spftestimonial-field-sortable.form_fields .spftestimonial-sortable-helper{display:none}.form_fields .spftestimonial-accordion-item::after{position:absolute;top:18px;right:16px;content:"\f0b2";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-field-sortable.form_fields .spftestimonial-sortable-content>.spftestimonial-field{padding:0;margin-bottom:5px}.sp-tpro-client-rating{float:left}.sp-tpro-client-rating:not(:checked)>input{visibility:hidden;display:none;width:0;height:0;float:right;top:100%;clip:rect(0,0,0,0);margin:0;padding:0;border:10px #fff solid}.sp-tpro-client-rating:not(:checked)>label{float:right;display:block;padding:0;margin:0;cursor:pointer;font-size:150%;line-height:1.2;color:#d4d4d4;width:1em}.sp-tpro-client-rating>input:checked~label{color:#f3bb00}.sp-tpro-client-rating:not(:checked)>label:hover,.sp-tpro-client-rating:not(:checked)>label:hover~label{color:#de7202}.sp-tpro-client-rating>input:checked+label:hover,.sp-tpro-client-rating>input:checked+label:hover~label,.sp-tpro-client-rating>input:checked~label:hover,.sp-tpro-client-rating>input:checked~label:hover~label,.sp-tpro-client-rating>label:hover~input:checked~label{color:#de7202}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:grid;grid-template-columns:9fr 1fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-content{display:grid;grid-template-columns:1fr 5fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-item{max-width:600px}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper{border-left:0;background-color:transparent}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper-inner{width:60px;line-height:4em}.spftestimonial-field-repeater .spftestimonial-repeater-helper i.spftestimonial-repeater-clone.far.fa-clone{display:none}.spftestimonial-field-select.tpro-exclude-testimonial .chosen-container,.spftestimonial-field-select.tpro-group-list .chosen-container,.spftestimonial-field-select.tpro-specific-testimonial .chosen-container{max-width:500px}.spftestimonial-field-select.tpro-group-operator .spftestimonial-fieldset,.spftestimonial-field-text.tpro-item-global-name .spftestimonial-fieldset{position:relative}.spftestimonial-field-select.tpro-group-operator .spftestimonial-help,.spftestimonial-field-text.tpro-item-global-name .spftestimonial-help{right:auto;display:inline-block}.spftestimonial-scode-wrap-side{pointer-events:none;opacity:.7;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}span.spftestimonial-shortcode-selectable{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;border-radius:3px;word-break:break-word;position:relative;width:80%}span.spftestimonial-shortcode-selectable::after{content:url(../images/copy.svg);width:16px;left:10px;top:50%;position:absolute;margin-top:-6px}.spftestimonial-header-inner h1 img{height:24px;width:24px;margin-right:8px;margin-bottom:-4px}.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spftestimonial-buttons .button.spftestimonial-save-ajax{background-color:#02cc7b;border-color:transparent;color:#fff!important;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;border-radius:4px;height:38px;text-transform:uppercase;width:140px;-webkit-transition:background-color .2s;transition:background-color .2s}.spftestimonial-buttons .button.spftestimonial-reset-all,.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#cd3c3c!important;border-color:transparent!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important;text-transform:uppercase;border-radius:4px;height:38px;-webkit-transition:background-color .2s;transition:background-color .2s;color:#fff}.spftestimonial-buttons .button.spftestimonial-reset-section{background-color:#cd3c3c!important}.spftestimonial-buttons .button{margin:0 3px;line-height:26px;font-weight:600}.spftestimonial-field.spftestimonial-field-button_set.spt_export{margin-top:0;padding-top:0}.spftestimonial-field-button_set.spt_export .spftestimonial--button:hover,.spftestimonial-field.spftestimonial-field-custom_import.spt_import button:hover{background:#135e96;border-color:#135e96;color:#fff}.spftestimonial-field-button_set.spt_export .spftestimonial--button,.spftestimonial-field.spftestimonial-field-custom_import.spt_import button{background:#2271b1;border-color:#2271b1;color:#fff;text-decoration:none;text-shadow:none;display:inline-block;text-decoration:none;font-size:13px;line-height:2.15384615;min-height:30px;margin:0;padding:0 10px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box}.sp-lcp-options .spftestimonial-field-select .spftestimonial-fieldset{position:relative}.spftestimonial-field.spftestimonial-field-custom_import.spt_import .spftestimonial-fieldset{position:relative}.spftestimonial-field.spftestimonial-field-custom_import.spt_import p{padding-bottom:0;margin-bottom:1px}.spftestimonial-field.spftestimonial-field-custom_import.spt_import button{margin-top:10px;padding-bottom:0}.spftestimonial-field.spftestimonial-field-custom_import.spt_import .spftestimonial-help{cursor:help;position:absolute;top:80%;transform:translateY(-50%);padding:5px;font-size:14px;color:#aaa;width:15px;left:64px;text-align:left}.spftestimonial-field.spftestimonial-field-select.spt_post_forms_id .chosen-container .chosen-drop,.spftestimonial-field.spftestimonial-field-select.spt_post_id .chosen-container .chosen-drop{max-width:400px}.spftestimonial-field.spftestimonial-field-select.spt_post_forms_id .chosen-container,.spftestimonial-field.spftestimonial-field-select.spt_post_id .chosen-container{max-width:400px}.spftestimonial-field.spftestimonial-field-select.spt_post_forms_id,.spftestimonial-field.spftestimonial-field-select.spt_post_id{padding-top:0}.spftestimonial_tools .spftestimonial-header-inner h1.export-import img{height:24px}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(1) a{background-image:url(../images/export-icon.svg)}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(2) a{background-image:url(../images/import.svg)}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(1) a.spftestimonial-active{background-image:url(../images/file-export-icon1.svg)}.spftestimonial_tools .spftestimonial-nav-options li:nth-child(2) a.spftestimonial-active{background-image:url(../images/file-import-icon1.svg)}.spt-main-class.spftestimonial-theme-light.spftestimonial_tools .spftestimonial-nav-options ul li a{padding:15px 30px;background-size:14px;background-position:10px center;background-repeat:no-repeat}.spftestimonial--image.pro-feature{position:relative;pointer-events:none}.spftestimonial--image.pro-feature::after{position:absolute;top:1px;right:1px;color:#a5a5a5;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:'PRO';text-align:center;font-size:8px}.spftestimonial-field-subheading.pro_heading{opacity:.7}.pro_only_field,.sp-field-icon-select.spftestimonial-pro-only,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only,.spftestimonial-field-checkbox.pro_only_field,.spftestimonial-field-color.pro_only_field,.spftestimonial-field-image_select .spftestimonial--image.spftestimonial-pro-only,.spftestimonial-field.spftestimonial-field-text.pro_only_field{pointer-events:none;opacity:.8}.sp-field-icon-select.spftestimonial-pro-only{opacity:.5}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-wrapper .spftestimonial-repeater-item{display:grid;grid-template-columns:9fr 1fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-content{display:grid;grid-template-columns:1fr 5fr}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-item{max-width:600px}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper{border-left:0;background-color:transparent}.spftestimonial-field-repeater.social-profile-repeater .spftestimonial-repeater-helper-inner{width:100px;line-height:4em}.spftestimonial-field.spftestimonial-field-image_select.theme_style img{width:400px}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-fieldset{margin-left:0}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial-title{width:100%;margin-bottom:30px;float:none}.spftestimonial-field.spftestimonial-field-image_select.theme_style .spftestimonial--image{margin:0 24px 24px 0}.spftestimonial-field-switcher.pro_switcher .spftestimonial--ball::after{content:"PRO";position:relative;text-align:center;width:24px;float:right;font-weight:600;font-size:8px;color:#a5a5a5;opacity:1;line-height:18px}.pro_switcher .spftestimonial--switcher{background-color:#cbcfd0;pointer-events:none}.sp-field-icon-select.spftestimonial-pro-only:last-child:after,.spftestimonial-field-button_set .spftestimonial--button.spftestimonial-pro-only:after{position:absolute;content:'';top:0;right:0;color:#999;background-color:#e0e0e0;font-weight:500;padding:0 4px;content:"PRO";text-align:center;font-size:8px;line-height:11px;opacity:1}.client_image_style.spftestimonial-field-image_select img{width:70px}.sp-field-icon-select.spftestimonial-pro-only:last-child:after{content:"PRO";color:#444}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help{bottom:15px;right:auto;top:auto}.spftestimonial-field.spftestimonial-field-checkbox .spftestimonial-help.spftestimonial-title-help{position:relative;bottom:0}.spftestimonial-field.spftestimonial-field-submessage.pro_only_field{opacity:.7}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable .spftestimonial--sortable-item{margin:0;border:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field{padding:0}.spftestimonial-field-sortable.form_fields .spftestimonial--sortable-helper{display:none}.form_fields .spftestimonial-accordion-items{position:relative}.form_fields .spftestimonial-accordion-item::after{position:absolute;top:18px;right:16px;content:"\f0b2";display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.spftestimonial-metabox .spftestimonial-field-form_upper_section{background:#f5fcff;padding:50px 15px 70px}.spftestimonial-field-form_upper_section .sp-testimonial-help .sp-testimonial-features .feature-section span.dashicons{height:22px;width:22px;font-size:16px;line-height:22px}.spftestimonial-field-form_upper_section div.sp-testimonial-help .sp-testimonial-features .feature-section{margin-bottom:40px;margin-left:auto;margin-right:auto;text-align:center;max-width:1200px}.spftestimonial-field-form_upper_section div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature{box-shadow:none;margin:0;border:0 solid;background-color:transparent}div.sp-testimonial-help .sp-testimonial-features h1{font-size:30px;font-weight:500;color:#444}div.sp-testimonial-help .sp-testimonial-features .sp-testimonial-subtitle{font-size:18px;font-weight:400}.spftestimonial-field-form_upper_section .sp-testimonial-upgrade a.sp-testimonial-upgrade-btn:hover{background:#0a73a7}.spftestimonial-field-form_upper_section .sp-testimonial-upgrade a.sp-testimonial-upgrade-btn{transition:all .5s;background:#1595ce;padding:0 25px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:600;display:inline-block;text-align:center}.spftestimonial-field-form_upper_section .sp-testimonial-features .feature-section .sp-testimonial-feature h3{color:#2d4d5b}.spftestimonial-field-form_upper_section .sp-testimonial-help .feature-section .sp-testimonial-feature{padding:0 0 10px;text-align:left}#sp_tpro_form_elements_options .handle-actions.hide-if-no-js,#sp_tpro_form_options .postbox-header,div#sp_tfree_form_upper_section .postbox-header,div#sp_tpro_form_elements_options .handle-actions.hide-if-no-js{display:none}#sp_tpro_form_options .spftestimonial-nav-metabox .spftestimonial--sortable-item .spftestimonial-accordion-title{pointer-events:none}#sp_tpro_form_options .spftestimonial-field-accordion .spftestimonial-accordion-title,#sp_tpro_form_options .spftestimonial-field-sortable.form_fields .spftestimonial--sortable-content>.spftestimonial-field,#sp_tpro_form_options .spftestimonial-nav-metabox,#sp_tpro_form_options .spftestimonial-nav-metabox li a{pointer-events:none}div#spftestimonial-section-sp_tpro_form_elements_options_1 .spftestimonial-field-checkbox ul{max-height:100%}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav{display:block;position:relative;z-index:10;float:left;width:225px}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-content{position:relative;margin-left:225px;background-color:#fff;-moz-transition:opacity .2s;-o-transition:opacity .2s;-webkit-transition:opacity .2s;transition:opacity .2s}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li{display:list-item}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4;margin-bottom:0;padding:15px 15px;text-transform:uppercase;font-weight:600}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}#sp_tpro_form_options .spftestimonial-metabox .spftestimonial-nav-background{background-color:#f5f5f5;border-right:1px solid #ccd0d4;display:block}#sp_tpro_form_options .spftestimonial-field-sortable .spftestimonial-field-text input{max-width:400px}#sp_tpro-preview-box{overflow-x:auto;padding:0 20px;resize:vertical;min-height:150px}#sp_tpro_live_preview .postbox-header .handle-actions .handle-order-higher,#sp_tpro_live_preview .postbox-header .handle-actions .handle-order-lower{display:none}
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/1.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/10.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/2.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/3.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/4.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/5.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/6.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/7.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/8.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/9.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/checkerboard.png
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/copy.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/export-icon.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/file-export-icon1.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/file-import-icon1.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/image-shape/circle.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/image-shape/rounded.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/image-shape/square.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/import.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/filter-even.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/filter-masonry.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/filter.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/grid.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/list.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/masonry.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/layout/slider.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/wp-logo.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/images/wp-plugin-logo.svg
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial-plugins.js
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial-plugins.min.js
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial.js
RENAMED
@@ -1888,7 +1888,7 @@
|
|
1888 |
// var nonce = $('#spftestimonial_metabox_noncesp_tpro_form_live_preview').val();
|
1889 |
|
1890 |
// }
|
1891 |
-
$(document).on('click', '#
|
1892 |
e.preventDefault();
|
1893 |
var _this = $(this);
|
1894 |
_this.html('<i class="fa fa-eye" aria-hidden="true"></i> Show Preview');
|
@@ -1899,9 +1899,9 @@
|
|
1899 |
var preview_display = $('#sp_tpro_live_preview').hide();
|
1900 |
var action = 'sp_tpro_preview_meta_box';
|
1901 |
var nonce = $('#spftestimonial_metabox_noncesp_tpro_shortcode_options').val();
|
1902 |
-
|
1903 |
-
$(document).on('click', '#sp_tpro-show-preview:not(:contains(Hide))', function (e) {
|
1904 |
e.preventDefault();
|
|
|
1905 |
var _data = $('form#post').serialize();
|
1906 |
var _this = $(this);
|
1907 |
var data = {
|
@@ -1928,26 +1928,26 @@
|
|
1928 |
});
|
1929 |
$("html, body").animate({ scrollTop: preview_display.offset().top - 50 }, "slow");
|
1930 |
});
|
1931 |
-
$('.
|
1932 |
}
|
1933 |
})
|
1934 |
});
|
1935 |
|
1936 |
/* Copy to clipboard */
|
1937 |
-
$('.
|
1938 |
e.preventDefault();
|
1939 |
spftestimonial_copyToClipboard($(this));
|
1940 |
spftestimonial_SelectText($(this));
|
1941 |
$(this).focus().select();
|
1942 |
-
$('.
|
1943 |
opacity: 1,
|
1944 |
bottom: 25
|
1945 |
}, 300);
|
1946 |
setTimeout(function () {
|
1947 |
-
jQuery(".
|
1948 |
opacity: 0,
|
1949 |
}, 200);
|
1950 |
-
jQuery(".
|
1951 |
bottom: 0
|
1952 |
}, 0);
|
1953 |
}, 2000);
|
@@ -1959,15 +1959,15 @@
|
|
1959 |
/* Select the text field */
|
1960 |
copyText.select();
|
1961 |
document.execCommand("copy");
|
1962 |
-
$('.
|
1963 |
opacity: 1,
|
1964 |
bottom: 25
|
1965 |
}, 300);
|
1966 |
setTimeout(function () {
|
1967 |
-
jQuery(".
|
1968 |
opacity: 0,
|
1969 |
}, 200);
|
1970 |
-
jQuery(".
|
1971 |
bottom: 0
|
1972 |
}, 0);
|
1973 |
}, 2000);
|
1888 |
// var nonce = $('#spftestimonial_metabox_noncesp_tpro_form_live_preview').val();
|
1889 |
|
1890 |
// }
|
1891 |
+
$(document).on('click', '#sp-testimonial-show-preview:contains(Hide)', function (e) {
|
1892 |
e.preventDefault();
|
1893 |
var _this = $(this);
|
1894 |
_this.html('<i class="fa fa-eye" aria-hidden="true"></i> Show Preview');
|
1899 |
var preview_display = $('#sp_tpro_live_preview').hide();
|
1900 |
var action = 'sp_tpro_preview_meta_box';
|
1901 |
var nonce = $('#spftestimonial_metabox_noncesp_tpro_shortcode_options').val();
|
1902 |
+
$(document).on('click', '#sp-testimonial-show-preview:not(:contains(Hide))', function (e) {
|
|
|
1903 |
e.preventDefault();
|
1904 |
+
var previewJS = window.spftestimonial_vars.previewJS;
|
1905 |
var _data = $('form#post').serialize();
|
1906 |
var _this = $(this);
|
1907 |
var data = {
|
1928 |
});
|
1929 |
$("html, body").animate({ scrollTop: preview_display.offset().top - 50 }, "slow");
|
1930 |
});
|
1931 |
+
$('.sp-testimonial-preloader').animate({ opacity: 1 }, 600).hide();
|
1932 |
}
|
1933 |
})
|
1934 |
});
|
1935 |
|
1936 |
/* Copy to clipboard */
|
1937 |
+
$('.sp-testimonial-copy-btn,.tpro-sc-code,.spftestimonial-shortcode-selectable').click(function (e) {
|
1938 |
e.preventDefault();
|
1939 |
spftestimonial_copyToClipboard($(this));
|
1940 |
spftestimonial_SelectText($(this));
|
1941 |
$(this).focus().select();
|
1942 |
+
$('.sp-testimonial-after-copy-text').animate({
|
1943 |
opacity: 1,
|
1944 |
bottom: 25
|
1945 |
}, 300);
|
1946 |
setTimeout(function () {
|
1947 |
+
jQuery(".sp-testimonial-after-copy-text").animate({
|
1948 |
opacity: 0,
|
1949 |
}, 200);
|
1950 |
+
jQuery(".sp-testimonial-after-copy-text").animate({
|
1951 |
bottom: 0
|
1952 |
}, 0);
|
1953 |
}, 2000);
|
1959 |
/* Select the text field */
|
1960 |
copyText.select();
|
1961 |
document.execCommand("copy");
|
1962 |
+
$('.sp-testimonial-after-copy-text').animate({
|
1963 |
opacity: 1,
|
1964 |
bottom: 25
|
1965 |
}, 300);
|
1966 |
setTimeout(function () {
|
1967 |
+
jQuery(".sp-testimonial-after-copy-text").animate({
|
1968 |
opacity: 0,
|
1969 |
}, 200);
|
1970 |
+
jQuery(".sp-testimonial-after-copy-text").animate({
|
1971 |
bottom: 0
|
1972 |
}, 0);
|
1973 |
}, 2000);
|
{admin/views/framework → src/Admin/Views/Framework}/assets/js/spftestimonial.min.js
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function($,window,document,undefined){"use strict";var SPFTESTIMONIAL=SPFTESTIMONIAL||{};SPFTESTIMONIAL.funcs={},SPFTESTIMONIAL.vars={onloaded:!1,$body:$("body"),$window:$(window),$document:$(document),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:$("body").hasClass("rtl")},SPFTESTIMONIAL.helper={uid:function(prefix){return(prefix||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(str){return(str+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function($selector,field_id){var checks=[],regex=new RegExp(SPFTESTIMONIAL.helper.preg_quote(field_id+"[\\d+]"),"g");$selector.find(":radio").each((function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)})),$selector.each((function(index){$(this).find(":input").each((function(){this.name=this.name.replace(regex,field_id+"["+index+"]"),this.orginal_checked&&(this.checked=!0)}))}))},debounce:function(callback,threshold,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||callback.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,threshold),callNow&&callback.apply(context,args)}},get_cookie:function(name){var e,b,cookie=document.cookie,p=name+"=";if(cookie){if(-1===(b=cookie.indexOf("; "+p))){if(0!==(b=cookie.indexOf(p)))return null}else b+=2;return-1===(e=cookie.indexOf(";",b))&&(e=cookie.length),decodeURIComponent(cookie.substring(b+p.length,e))}},set_cookie:function(name,value,expires,path,domain,secure){var d=new Date;"object"==typeof expires&&expires.toGMTString?expires=expires.toGMTString():parseInt(expires,10)?(d.setTime(d.getTime()+1e3*parseInt(expires,10)),expires=d.toGMTString()):expires="",document.cookie=name+"="+encodeURIComponent(value)+(expires?"; expires="+expires:"")+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"")},remove_cookie:function(name,path,domain,secure){SPFTESTIMONIAL.helper.set_cookie(name,"",-1e3,path,domain,secure)}},$.fn.spftestimonial_clone=function(){for(var base=$.fn.clone.apply(this,arguments),clone=this.find("select").add(this.filter("select")),cloned=base.find("select").add(base.filter("select")),i=0;i<clone.length;++i)for(var j=0;j<clone[i].options.length;++j)!0===clone[i].options[j].selected&&(cloned[i].options[j].selected=!0);return this.find(":radio").each((function(){this.orginal_checked=this.checked})),base},$.fn.spftestimonial_expand_all=function(){return this.each((function(){$(this).on("click",(function(e){e.preventDefault(),$(".spftestimonial-wrapper").toggleClass("spftestimonial-show-all"),$(".spftestimonial-section").spftestimonial_reload_script(),$(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")}))}))},$.fn.spftestimonial_nav_options=function(){return this.each((function(){var $nav=$(this),$window=$(window),$wpwrap=$("#wpwrap"),$links=$nav.find("a"),$last;$window.on("hashchange spftestimonial.hashchange",(function(){var hash=window.location.hash.replace("#tab=",""),slug=hash||$links.first().attr("href").replace("#tab=",""),$link=$('[data-tab-id="'+slug+'"]');if($link.length){$link.closest(".spftestimonial-tab-item").addClass("spftestimonial-tab-expanded").siblings().removeClass("spftestimonial-tab-expanded"),$link.next().is("ul")&&(slug=($link=$link.next().find("li").first().find("a")).data("tab-id")),$links.removeClass("spftestimonial-active"),$link.addClass("spftestimonial-active"),$last&&$last.addClass("hidden");var $section=$('[data-section-id="'+slug+'"]');$section.removeClass("hidden"),$section.spftestimonial_reload_script(),$(".spftestimonial-section-id").val($section.index()+1),$last=$section,$wpwrap.hasClass("wp-responsive-open")&&($("html, body").animate({scrollTop:$section.offset().top-50},200),$wpwrap.removeClass("wp-responsive-open"))}})).trigger("spftestimonial.hashchange")}))},$.fn.spftestimonial_nav_metabox=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),$sections=$nav.parent().find(".spftestimonial-section"),unique_id=$nav.data("unique"),post_id=$("#post_ID").val()||"global",$last;$links.each((function(index){$(this).on("click",(function(e){e.preventDefault();var $link=$(this),section_id=$link.data("section");$links.removeClass("spftestimonial-active"),$link.addClass("spftestimonial-active"),void 0!==$last&&$last.addClass("hidden");var $section=$sections.eq(index);$section.removeClass("hidden"),$section.spftestimonial_reload_script(),SPFTESTIMONIAL.helper.set_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id,section_id),$last=$section}))}));var get_cookie=SPFTESTIMONIAL.helper.get_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id);get_cookie?$nav.find('a[data-section="'+get_cookie+'"]').trigger("click"):$links.first("a").trigger("click")}))},$.fn.spftestimonial_search=function(){return this.each((function(){var $this,$input;$(this).find("input").on("change keyup",(function(){var value=$(this).val(),$wrapper=$(".spftestimonial-wrapper"),$section,$fields=$wrapper.find(".spftestimonial-section").find("> .spftestimonial-field:not(.spftestimonial-depend-on)"),$titles=$fields.find("> .spftestimonial-title, .spftestimonial-search-tags");value.length>3?($fields.addClass("spftestimonial-metabox-hide"),$wrapper.addClass("spftestimonial-search-all"),$titles.each((function(){var $title=$(this);if($title.text().match(new RegExp(".*?"+value+".*?","i"))){var $field=$title.closest(".spftestimonial-field");$field.removeClass("spftestimonial-metabox-hide"),$field.parent().spftestimonial_reload_script()}}))):($fields.removeClass("spftestimonial-metabox-hide"),$wrapper.removeClass("spftestimonial-search-all"))}))}))},$.fn.spftestimonial_sticky=function(){return this.each((function(){var $this=$(this),$window=$(window),$inner=$this.find(".spftestimonial-header-inner"),padding=parseInt($inner.css("padding-left"))+parseInt($inner.css("padding-right")),offset=32,scrollTop=0,lastTop=0,ticking=!1,stickyUpdate=function(){var offsetTop=$this.offset().top,stickyTop=Math.max(32,offsetTop-scrollTop),winWidth=$window.innerWidth();stickyTop<=32&&winWidth>782?($inner.css({width:$this.outerWidth()-padding}),$this.css({height:$this.outerHeight()}).addClass("spftestimonial-sticky")):($inner.removeAttr("style"),$this.removeAttr("style").removeClass("spftestimonial-sticky"))},requestTick=function(){ticking||requestAnimationFrame((function(){stickyUpdate(),ticking=!1})),ticking=!0},onSticky=function(){scrollTop=$window.scrollTop(),requestTick()};$window.on("scroll resize",onSticky),onSticky()}))},$.fn.spftestimonial_dependency=function(){return this.each((function(){var $this=$(this),$fields=$this.children("[data-controller]");if($fields.length){var normal_ruleset=$.spftestimonial_deps.createRuleset(),global_ruleset=$.spftestimonial_deps.createRuleset(),normal_depends=[],global_depends=[];$fields.each((function(){var $field=$(this),controllers=$field.data("controller").split("|"),conditions=$field.data("condition").split("|"),values=$field.data("value").toString().split("|"),is_global=!!$field.data("depend-global"),ruleset=is_global?global_ruleset:normal_ruleset;$.each(controllers,(function(index,depend_id){var value=values[index]||"",condition=conditions[index]||conditions[0];(ruleset=ruleset.createRule('[data-depend-id="'+depend_id+'"]',condition,value)).include($field),is_global?global_depends.push(depend_id):normal_depends.push(depend_id)}))})),normal_depends.length&&$.spftestimonial_deps.enable($this,normal_ruleset,normal_depends),global_depends.length&&$.spftestimonial_deps.enable(SPFTESTIMONIAL.vars.$body,global_ruleset,global_depends)}}))},$.fn.spftestimonial_field_accordion=function(){return this.each((function(){var $titles=$(this).find(".spftestimonial-accordion-title");$titles.on("click",(function(){var $title=$(this),$icon=$title.find(".spftestimonial-accordion-icon"),$content=$title.next();$icon.hasClass("fa-angle-right")?$icon.removeClass("fa-angle-right").addClass("fa-angle-down"):$icon.removeClass("fa-angle-down").addClass("fa-angle-right"),$content.data("opened")||($content.spftestimonial_reload_script(),$content.data("opened",!0)),$content.toggleClass("spftestimonial-accordion-open")})),$(this).hasClass("opened_accordion")&&$titles.trigger("click")}))},$.fn.spftestimonial_field_code_editor=function(){return this.each((function(){if("function"==typeof CodeMirror){var $this=$(this),$textarea=$this.find("textarea"),$inited=$this.find(".CodeMirror"),data_editor=$textarea.data("editor");$inited.length&&$inited.remove();var interval=setInterval((function(){if($this.is(":visible")){var code_editor=CodeMirror.fromTextArea($textarea[0],data_editor);if("default"!==data_editor.theme&&-1===SPFTESTIMONIAL.vars.code_themes.indexOf(data_editor.theme)){var $cssLink=$("<link>");$("#spftestimonial-codemirror-css").after($cssLink),$cssLink.attr({rel:"stylesheet",id:"spftestimonial-codemirror-"+data_editor.theme+"-css",href:data_editor.cdnURL+"/theme/"+data_editor.theme+".min.css",type:"text/css",media:"all"}),SPFTESTIMONIAL.vars.code_themes.push(data_editor.theme)}CodeMirror.modeURL=data_editor.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(code_editor,data_editor.mode),code_editor.on("change",(function(editor,event){$textarea.val(code_editor.getValue()).trigger("change")})),clearInterval(interval)}}))}}))},$.fn.spftestimonial_field_fieldset=function(){return this.each((function(){$(this).find(".spftestimonial-fieldset-content").spftestimonial_reload_script()}))},$.fn.spftestimonial_field_repeater=function(){return this.each((function(){var $this=$(this),$fieldset=$this.children(".spftestimonial-fieldset"),$repeater=$fieldset.length?$fieldset:$this,$wrapper=$repeater.children(".spftestimonial-repeater-wrapper"),$hidden=$repeater.children(".spftestimonial-repeater-hidden"),$max=$repeater.children(".spftestimonial-repeater-max"),$min=$repeater.children(".spftestimonial-repeater-min"),field_id=$wrapper.data("field-id"),max=parseInt($wrapper.data("max")),min=parseInt($wrapper.data("min"));$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-content").spftestimonial_reload_script(),$wrapper.sortable({axis:"y",handle:".spftestimonial-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id)}}),$repeater.children(".spftestimonial-repeater-add").on("click",(function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $cloned_item=$hidden.spftestimonial_clone(!0);$cloned_item.removeClass("spftestimonial-repeater-hidden"),$cloned_item.find(':input[name!="_pseudo"]').each((function(){this.name=this.name.replace("___","").replace(field_id+"[0]",field_id+"["+count+"]")})),$wrapper.append($cloned_item),$cloned_item.children(".spftestimonial-repeater-content").spftestimonial_reload_script()}}));var event_clone=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $this,$parent=$(this).parent().parent().parent(),$cloned_content=$parent.children(".spftestimonial-repeater-content").spftestimonial_clone(),$cloned_helper=$parent.children(".spftestimonial-repeater-helper").spftestimonial_clone(!0),$cloned_item=$('<div class="spftestimonial-repeater-item" />');$cloned_item.append($cloned_content),$cloned_item.append($cloned_helper),$wrapper.children().eq($parent.index()).after($cloned_item),$cloned_item.children(".spftestimonial-repeater-content").spftestimonial_reload_script(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id)}};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone);var event_remove=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;$max.hide(),$min.hide(),min&&count-1<min?$min.show():($(this).closest(".spftestimonial-repeater-item").remove(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id))};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove)}))},$.fn.spftestimonial_field_sortable=function(){return this.each((function(){var $sortable=$(this).find(".spftestimonial-sortable");$sortable.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){}}),$sortable.find(".spftestimonial-sortable-content").spftestimonial_reload_script(),$(".form_fields").find(".spftestimonial-sortable").sortable("disable")}))},$.fn.spftestimonial_field_sorter=function(){return this.each((function(){var $this=$(this),$enabled=$this.find(".spftestimonial-enabled"),$has_disabled=$this.find(".spftestimonial-disabled"),$disabled=!!$has_disabled.length&&$has_disabled;$enabled.sortable({connectWith:$disabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){var $el=ui.item.find("input");ui.item.parent().hasClass("spftestimonial-enabled")?$el.attr("name",$el.attr("name").replace("disabled","enabled")):$el.attr("name",$el.attr("name").replace("enabled","disabled"))}}),$disabled&&$disabled.sortable({connectWith:$enabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){}})}))},$.fn.spftestimonial_field_spinner=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$inited=$this.find(".ui-button"),data=$input.data();$inited.length&&$inited.remove(),$input.spinner({min:data.min||0,max:data.max||100,step:data.step||1,create:function(event,ui){data.unit&&$input.after('<span class="ui-button spftestimonial--unit">'+data.unit+"</span>")},spin:function(event,ui){$input.val(ui.value).trigger("change")}})}))},$.fn.spftestimonial_field_switcher=function(){return this.each((function(){var $switcher=$(this).find(".spftestimonial--switcher");$switcher.on("click",(function(){var value=0,$input=$switcher.find("input");$switcher.hasClass("spftestimonial--active")?$switcher.removeClass("spftestimonial--active"):(value=1,$switcher.addClass("spftestimonial--active")),$input.val(value).trigger("change")}))}))},$.fn.spftestimonial_field_typography=function(){return this.each((function(){var base=this,$this=$(this),loaded_fonts=[],webfonts=spftestimonial_typography_json.webfonts,googlestyles=spftestimonial_typography_json.googlestyles,defaultstyles=spftestimonial_typography_json.defaultstyles;base.sanitize_subset=function(subset){return subset=(subset=subset.replace("-ext"," Extended")).charAt(0).toUpperCase()+subset.slice(1)},base.sanitize_style=function(style){return googlestyles[style]?googlestyles[style]:style},base.load_google_font=function(font_family,weight,style){font_family&&"object"==typeof WebFont&&(weight=weight?weight.replace("normal",""):"",style=style?style.replace("normal",""):"",(weight||style)&&(font_family=font_family+":"+weight+style),-1===loaded_fonts.indexOf(font_family)&&WebFont.load({google:{families:[font_family]}}),loaded_fonts.push(font_family))},base.append_select_options=function($select,options,condition,type,is_multi){$select.find("option").not(":first").remove();var opts="";$.each(options,(function(key,value){var selected,name=value;selected=is_multi?condition&&-1!==condition.indexOf(value)?" selected":"":condition&&condition===value?" selected":"","subset"===type?name=base.sanitize_subset(value):"style"===type&&(name=base.sanitize_style(value)),opts+='<option value="'+value+'"'+selected+">"+name+"</option>"})),$select.append(opts).trigger("spftestimonial.change").trigger("chosen:updated")},base.init=function(){var selected_styles=[],$typography=$this.find(".spftestimonial--typography"),$type=$this.find(".spftestimonial--type"),$styles=$this.find(".spftestimonial--block-font-style"),unit=$typography.data("unit"),line_height_unit=$typography.data("line-height-unit"),exclude_fonts=$typography.data("exclude")?$typography.data("exclude").split(","):[],$chosen_selects;$this.find(".spftestimonial--chosen").length&&$this.find("select").each((function(){var $chosen_select=$(this),$chosen_inited=$chosen_select.parent().find(".chosen-container");$chosen_inited.length&&$chosen_inited.remove(),$chosen_select.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})}));var $font_family_select=$this.find(".spftestimonial--font-family"),first_font_family=$font_family_select.val();$font_family_select.find("option").not(":first-child").remove();var opts="";$.each(webfonts,(function(type,group){exclude_fonts&&-1!==exclude_fonts.indexOf(type)||(opts+='<optgroup label="'+group.label+'">',$.each(group.fonts,(function(key,value){var selected;opts+='<option value="'+(value="object"==typeof value?key:value)+'" data-type="'+type+'"'+(value===first_font_family?" selected":"")+">"+value+"</option>"})),opts+="</optgroup>")})),$font_family_select.append(opts).trigger("chosen:updated");var $font_style_block=$this.find(".spftestimonial--block-font-style");if($font_style_block.length){var $font_style_select=$this.find(".spftestimonial--font-style-select"),first_style_value=$font_style_select.val()?$font_style_select.val().replace(/normal/g,""):"";$font_style_select.on("change spftestimonial.change",(function(event){var style_value=$font_style_select.val();!style_value&&selected_styles&&-1===selected_styles.indexOf("normal")&&(style_value=selected_styles[0]);var font_normal=style_value&&"italic"!==style_value&&"normal"===style_value?"normal":"",font_weight=style_value&&"italic"!==style_value&&"normal"!==style_value?style_value.replace("italic",""):font_normal,font_style=style_value&&"italic"===style_value.substr(-6)?"italic":"";$this.find(".spftestimonial--font-weight").val(font_weight),$this.find(".spftestimonial--font-style").val(font_style)}));var $extra_font_style_block=$this.find(".spftestimonial--block-extra-styles");if($extra_font_style_block.length)var $extra_font_style_select=$this.find(".spftestimonial--extra-styles"),first_extra_style_value=$extra_font_style_select.val()}var $subset_block=$this.find(".spftestimonial--block-subset");if($subset_block.length)var $subset_select=$this.find(".spftestimonial--subset"),first_subset_select_value=$subset_select.val(),subset_multi_select=$subset_select.data("multiple")||!1;var $backup_font_family_block=$this.find(".spftestimonial--block-backup-font-family");$font_family_select.on("change spftestimonial.change",(function(event){$subset_block.length&&$subset_block.addClass("hidden"),$extra_font_style_block.length&&$extra_font_style_block.addClass("hidden"),$backup_font_family_block.length&&$backup_font_family_block.addClass("hidden");var $selected=$font_family_select.find(":selected"),value=$selected.val(),type=$selected.data("type");if(type&&value){if("google"!==type&&"custom"!==type||!$backup_font_family_block.length||$backup_font_family_block.removeClass("hidden"),$font_style_block.length){var styles=defaultstyles;"google"===type&&webfonts[type].fonts[value][0]?styles=webfonts[type].fonts[value][0]:"custom"===type&&webfonts[type].fonts[value]&&(styles=webfonts[type].fonts[value]),selected_styles=styles;var set_auto_style=-1!==styles.indexOf("normal")?"normal":styles[0],set_style_value=first_style_value&&-1!==styles.indexOf(first_style_value)?first_style_value:set_auto_style;base.append_select_options($font_style_select,styles,set_style_value,"style"),first_style_value=!1,$font_style_block.removeClass("hidden"),"google"===type&&$extra_font_style_block.length&&styles.length>1&&(base.append_select_options($extra_font_style_select,styles,first_extra_style_value,"style",!0),first_extra_style_value=!1,$extra_font_style_block.removeClass("hidden"))}if("google"===type&&$subset_block.length&&webfonts[type].fonts[value][1]){var subsets=webfonts[type].fonts[value][1],set_auto_subset=subsets.length<2&&"latin"!==subsets[0]?subsets[0]:"",set_subset_value=first_subset_select_value&&-1!==subsets.indexOf(first_subset_select_value)?first_subset_select_value:set_auto_subset;set_subset_value=subset_multi_select&&first_subset_select_value?first_subset_select_value:set_subset_value,base.append_select_options($subset_select,subsets,set_subset_value,"subset",subset_multi_select),first_subset_select_value=!1,$subset_block.removeClass("hidden")}}else $styles.find(":input").val(""),$subset_block.length&&($subset_select.find("option").not(":first-child").remove(),$subset_select.trigger("chosen:updated")),$font_style_block.length&&($font_style_select.find("option").not(":first-child").remove(),$font_style_select.trigger("chosen:updated"));$type.val(type)})).trigger("spftestimonial.change");var $preview_block=$this.find(".spftestimonial--block-preview");if($preview_block.length){var $preview=$this.find(".spftestimonial--preview");$this.on("change",SPFTESTIMONIAL.helper.debounce((function(event){$preview_block.removeClass("hidden");var font_family=$font_family_select.val(),font_weight=$this.find(".spftestimonial--font-weight").val(),font_style=$this.find(".spftestimonial--font-style").val(),font_size=$this.find(".spftestimonial--font-size").val(),font_variant=$this.find(".spftestimonial--font-variant").val(),line_height=$this.find(".spftestimonial--line-height").val(),text_align=$this.find(".spftestimonial--text-align").val(),text_transform=$this.find(".spftestimonial--text-transform").val(),text_decoration=$this.find(".spftestimonial--text-decoration").val(),text_color=$this.find(".spftestimonial--color").val(),word_spacing=$this.find(".spftestimonial--word-spacing").val(),letter_spacing=$this.find(".spftestimonial--letter-spacing").val(),custom_style=$this.find(".spftestimonial--custom-style").val(),type;"google"===$this.find(".spftestimonial--type").val()&&base.load_google_font(font_family,font_weight,font_style);var properties={};font_family&&(properties.fontFamily=font_family),font_weight&&(properties.fontWeight=font_weight),font_style&&(properties.fontStyle=font_style),font_variant&&(properties.fontVariant=font_variant),font_size&&(properties.fontSize=font_size+unit),line_height&&(properties.lineHeight=line_height+line_height_unit),letter_spacing&&(properties.letterSpacing=letter_spacing+unit),word_spacing&&(properties.wordSpacing=word_spacing+unit),text_align&&(properties.textAlign=text_align),text_transform&&(properties.textTransform=text_transform),text_decoration&&(properties.textDecoration=text_decoration),text_color&&(properties.color=text_color),$preview.removeAttr("style"),custom_style&&$preview.attr("style",custom_style),$preview.css(properties)}),100)),$preview_block.on("click",(function(){$preview.toggleClass("spftestimonial--black-background");var $toggle=$preview_block.find(".spftestimonial--toggle");$toggle.hasClass("fa-toggle-off")?$toggle.removeClass("fa-toggle-off").addClass("fa-toggle-on"):$toggle.removeClass("fa-toggle-on").addClass("fa-toggle-off")})),$preview_block.hasClass("hidden")||$this.trigger("change")}},base.init()}))},$.fn.spftestimonial_confirm=function(){return this.each((function(){$(this).on("click",(function(e){var confirm_text=$(this).data("confirm")||window.spftestimonial_vars.i18n.confirm,confirm_answer;if(!confirm(confirm_text))return e.preventDefault(),!1;SPFTESTIMONIAL.vars.is_confirm=!0,SPFTESTIMONIAL.vars.form_modified=!1}))}))},$.fn.serializeObject=function(){var obj={};return $.each(this.serializeArray(),(function(i,o){var n=o.name,v=o.value;obj[n]=void 0===obj[n]?v:$.isArray(obj[n])?obj[n].concat(v):[obj[n],v]})),obj},$.fn.spftestimonial_save=function(){return this.each((function(){var $this=$(this),$buttons=$(".spftestimonial-save"),$panel=$(".spftestimonial-options"),flooding=!1,timeout;$this.on("click",(function(e){if(!flooding){var $text=$this.data("save"),$value=$this.val();$buttons.attr("value",$text),$this.hasClass("spftestimonial-save-ajax")?(e.preventDefault(),$panel.addClass("spftestimonial-saving"),$buttons.prop("disabled",!0),window.wp.ajax.post("spftestimonial_"+$panel.data("unique")+"_ajax_save",{data:$("#spftestimonial-form").serializeJSONSPFTESTIMONIAL()}).done((function(response){if($(".spftestimonial-error").remove(),Object.keys(response.errors).length){var error_icon='<i class="spftestimonial-label-error spftestimonial-error">!</i>';$.each(response.errors,(function(key,error_message){var $field=$('[data-depend-id="'+key+'"]'),$link=$('a[href="#tab='+$field.closest(".spftestimonial-section").data("section-id")+'"]'),$tab=$link.closest(".spftestimonial-tab-item");$field.closest(".spftestimonial-fieldset").append('<p class="spftestimonial-error spftestimonial-error-text">'+error_message+"</p>"),$link.find(".spftestimonial-error").length||$link.append(error_icon),$tab.find(".spftestimonial-arrow .spftestimonial-error").length||$tab.find(".spftestimonial-arrow").append(error_icon)}))}$panel.removeClass("spftestimonial-saving"),$buttons.prop("disabled",!0).attr("value","Changes Saved"),flooding=!1,SPFTESTIMONIAL.vars.form_modified=!1,SPFTESTIMONIAL.vars.$form_warning.hide(),clearTimeout(timeout);var $result_success=$(".spftestimonial-form-success");$result_success.empty().append(response.notice).fadeIn("fast",(function(){timeout=setTimeout((function(){$result_success.fadeOut("fast")}),1e3)}))})).fail((function(response){alert(response.error)}))):SPFTESTIMONIAL.vars.form_modified=!1}flooding=!0}))}))},$.fn.spftestimonial_options=function(){return this.each((function(){var $this=$(this),$content=$this.find(".spftestimonial-content"),$form_success=$this.find(".spftestimonial-form-success"),$form_warning=$this.find(".spftestimonial-form-warning"),$save_button=$this.find(".spftestimonial-header .spftestimonial-save");SPFTESTIMONIAL.vars.$form_warning=$form_warning,$form_warning.length&&(window.onbeforeunload=function(){return!!SPFTESTIMONIAL.vars.form_modified||void 0},$content.on("change keypress",":input",(function(){SPFTESTIMONIAL.vars.form_modified||($form_success.hide(),$form_warning.fadeIn("fast"),SPFTESTIMONIAL.vars.form_modified=!0)}))),$form_success.hasClass("spftestimonial-form-show")&&setTimeout((function(){$form_success.fadeOut("fast")}),1e3),$(document).keydown((function(event){if((event.ctrlKey||event.metaKey)&&83===event.which)return $save_button.trigger("click"),event.preventDefault(),!1}))}))},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var hex=parseInt(this._color,10).toString(16);if(this.error)return"";if(hex.length<6)for(var i=6-hex.length-1;i>=0;i--)hex="0"+hex;return"#"+hex}),SPFTESTIMONIAL.funcs.parse_color=function(color){var value=color.replace(/\s+/g,""),trans=-1!==value.indexOf("rgba")?parseFloat(100*value.replace(/^.*,(.+)\)/,"$1")):100,rgba;return{value:value,transparent:trans,rgba:trans<100}},$.fn.spftestimonial_color=function(){return this.each((function(){var $input=$(this),picker_color=SPFTESTIMONIAL.funcs.parse_color($input.val()),palette_color=!window.spftestimonial_vars.color_palette.length||window.spftestimonial_vars.color_palette,$container;$input.hasClass("wp-color-picker")&&$input.closest(".wp-picker-container").after($input).remove(),$input.wpColorPicker({palettes:palette_color,change:function(event,ui){var ui_color_value=ui.color.toString();$container.removeClass("spftestimonial--transparent-active"),$container.find(".spftestimonial--transparent-offset").css("background-color",ui_color_value),$input.val(ui_color_value).trigger("change")},create:function(){$container=$input.closest(".wp-picker-container");var a8cIris=$input.data("a8cIris"),$transparent_wrap=$('<div class="spftestimonial--transparent-wrap"><div class="spftestimonial--transparent-slider"></div><div class="spftestimonial--transparent-offset"></div><div class="spftestimonial--transparent-text"></div><div class="spftestimonial--transparent-button">transparent <i class="fa fa-toggle-off"></i></div></div>').appendTo($container.find(".wp-picker-holder")),$transparent_slider=$transparent_wrap.find(".spftestimonial--transparent-slider"),$transparent_text=$transparent_wrap.find(".spftestimonial--transparent-text"),$transparent_offset=$transparent_wrap.find(".spftestimonial--transparent-offset"),$transparent_button=$transparent_wrap.find(".spftestimonial--transparent-button");"transparent"===$input.val()&&$container.addClass("spftestimonial--transparent-active"),$transparent_button.on("click",(function(){"transparent"!==$input.val()?($input.val("transparent").trigger("change").removeClass("iris-error"),$container.addClass("spftestimonial--transparent-active")):($input.val(a8cIris._color.toString()).trigger("change"),$container.removeClass("spftestimonial--transparent-active"))})),$transparent_slider.slider({value:picker_color.transparent,step:1,min:0,max:100,slide:function(event,ui){var slide_value=parseFloat(ui.value/100);a8cIris._color._alpha=slide_value,$input.wpColorPicker("color",a8cIris._color.toString()),$transparent_text.text(1===slide_value||0===slide_value?"":slide_value)},create:function(){var slide_value=parseFloat(picker_color.transparent/100),text_value=slide_value<1?slide_value:"";$transparent_text.text(text_value),$transparent_offset.css("background-color",picker_color.value),$container.on("click",".wp-picker-clear",(function(){a8cIris._color._alpha=1,$transparent_text.text(""),$transparent_slider.slider("option","value",100),$container.removeClass("spftestimonial--transparent-active"),$input.trigger("change")})),$container.on("click",".wp-picker-default",(function(){var default_color=SPFTESTIMONIAL.funcs.parse_color($input.data("default-color")),default_value=parseFloat(default_color.transparent/100),default_text=default_value<1?default_value:"";a8cIris._color._alpha=default_value,$transparent_text.text(default_text),$transparent_slider.slider("option","value",default_color.transparent),"transparent"===default_color.value&&($input.removeClass("iris-error"),$container.addClass("spftestimonial--transparent-active"))}))}})}})}))},$.fn.spftestimonial_chosen=function(){return this.each((function(){var $this=$(this),$inited=$this.parent().find(".chosen-container"),is_sortable=$this.hasClass("spftestimonial-chosen-sortable")||!1,is_ajax=$this.hasClass("spftestimonial-chosen-ajax")||!1,is_multiple=$this.attr("multiple")||!1,set_width=is_multiple?"100%":"auto",set_options=$.extend({allow_single_deselect:!0,disable_search_threshold:10,width:set_width,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));if($inited.length&&$inited.remove(),is_ajax){var set_ajax_options=$.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:window.spftestimonial_vars.i18n.typing_text,searching_text:window.spftestimonial_vars.i18n.searching_text,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));$this.SPFTESTIMONIALAjaxChosen(set_ajax_options)}else $this.chosen(set_options);if(is_multiple){var $hidden_select=$this.parent().find(".spftestimonial-hide-select"),$hidden_value=$hidden_select.val()||[];$this.on("change",(function(obj,result){result&&result.selected?$hidden_select.append('<option value="'+result.selected+'" selected="selected">'+result.selected+"</option>"):result&&result.deselected&&$hidden_select.find('option[value="'+result.deselected+'"]').remove(),void 0!==window.wp.customize&&0===$hidden_select.children().length&&$hidden_select.data("customize-setting-link")&&window.wp.customize.control($hidden_select.data("customize-setting-link")).setting.set(""),$hidden_select.trigger("change")})),$this.SPFTESTIMONIALChosenOrder($hidden_value,!0)}if(is_sortable){var $chosen_container,$chosen_choices=$this.parent().find(".chosen-container").find(".chosen-choices");$chosen_choices.bind("mousedown",(function(event){$(event.target).is("span")&&event.stopPropagation()})),$chosen_choices.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,ui){ui.placeholder.width(ui.item.innerWidth()),ui.placeholder.height(ui.item.innerHeight())},update:function(e,ui){var select_options="",chosen_object=$this.data("chosen"),$prev_select=$this.parent().find(".spftestimonial-hide-select");$chosen_choices.find(".search-choice-close").each((function(){var option_array_index=$(this).data("option-array-index");$.each(chosen_object.results_data,(function(index,data){data.array_index===option_array_index&&(select_options+='<option value="'+data.value+'" selected>'+data.value+"</option>")}))})),$prev_select.children().remove(),$prev_select.append(select_options),$prev_select.trigger("change")}})}}))},$.fn.spftestimonial_checkbox=function(){return this.each((function(){var $this=$(this),$input=$this.find(".spftestimonial--input"),$checkbox=$this.find(".spftestimonial--checkbox");$checkbox.on("click",(function(){$input.val(Number($checkbox.prop("checked"))).trigger("change")}))}))},$.fn.spftestimonial_siblings=function(){return this.each((function(){var $this=$(this),$siblings=$this.find(".spftestimonial--sibling"),multiple=$this.data("multiple")||!1;$siblings.on("click",(function(){var $sibling=$(this);multiple?$sibling.hasClass("spftestimonial--active")?($sibling.removeClass("spftestimonial--active"),$sibling.find("input").prop("checked",!1).trigger("change")):($sibling.addClass("spftestimonial--active"),$sibling.find("input").prop("checked",!0).trigger("change")):($this.find("input").prop("checked",!1),$sibling.find("input").prop("checked",!0).trigger("change"),$sibling.addClass("spftestimonial--active").siblings().removeClass("spftestimonial--active"))}))}))},$.fn.spftestimonial_help=function(){return this.each((function(){var $this=$(this),$tooltip,offset_left;$this.on({mouseenter:function(){$tooltip=$('<div class="spftestimonial-tooltip"></div>').html($this.find(".spftestimonial-help-text").html()).appendTo("body"),offset_left=SPFTESTIMONIAL.vars.is_rtl?$this.offset().left-$tooltip.outerWidth():$this.offset().left+24,$tooltip.css({top:$this.offset().top-($tooltip.outerHeight()/2-14),left:offset_left})},mouseleave:function(){void 0!==$tooltip&&$tooltip.remove()}})}))},SPFTESTIMONIAL.vars.$window.on("resize spftestimonial.resize",SPFTESTIMONIAL.helper.debounce((function(event){var window_width;(navigator.userAgent.indexOf("AppleWebKit/")>-1?SPFTESTIMONIAL.vars.$window.width():window.innerWidth)<=782&&!SPFTESTIMONIAL.vars.onloaded&&($(".spftestimonial-section").spftestimonial_reload_script(),SPFTESTIMONIAL.vars.onloaded=!0)}),200)).trigger("spftestimonial.resize"),$.fn.spftestimonial_reload_script=function(options){var settings=$.extend({dependency:!0},options);return this.each((function(){var $this=$(this);$this.data("inited")||($this.children(".spftestimonial-field-accordion:not(.tfree_pro_only)").spftestimonial_field_accordion(),$this.children(".spftestimonial-field-code_editor").spftestimonial_field_code_editor(),$this.children(".spftestimonial-field-fieldset").spftestimonial_field_fieldset(),$this.children(".spftestimonial-field-repeater").spftestimonial_field_repeater(),$this.children(".spftestimonial-field-sortable").spftestimonial_field_sortable(),$this.children(".spftestimonial-field-sorter").spftestimonial_field_sorter(),$this.children(".spftestimonial-field-spinner").spftestimonial_field_spinner(),$this.children(".spftestimonial-field-switcher").spftestimonial_field_switcher(),$this.children(".spftestimonial-field-typography").spftestimonial_field_typography(),$this.children(".spftestimonial-field-border").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-background").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color_group").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-link_color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-typography").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-select").find(".spftestimonial-chosen").spftestimonial_chosen(),$this.children(".spftestimonial-field-checkbox").find(".spftestimonial-checkbox").spftestimonial_checkbox(),$this.children(".spftestimonial-field-button_set").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-image_select, .spftestimonial-field-icon_select").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-palette").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field").find(".spftestimonial-help").spftestimonial_help(),settings.dependency&&$this.spftestimonial_dependency(),$this.data("inited",!0),$(document).trigger("spftestimonial-reload-script",$this))}))},$(document).ready((function(){$(".spftestimonial-save").spftestimonial_save(),$(".spftestimonial-options").spftestimonial_options(),$(".spftestimonial-sticky-header").spftestimonial_sticky(),$(".spftestimonial-nav-options").spftestimonial_nav_options(),$(".spftestimonial-nav-metabox").spftestimonial_nav_metabox(),$(".spftestimonial-search").spftestimonial_search(),$(".spftestimonial-confirm").spftestimonial_confirm(),$(".spftestimonial-expand-all").spftestimonial_expand_all(),$(".spftestimonial-onload").spftestimonial_reload_script()})),$(document).on("click","#sp_tpro-show-preview:contains(Hide)",(function(e){var _this;e.preventDefault(),$(this).html('<i class="fa fa-eye" aria-hidden="true"></i> Show Preview'),preview_box.html(""),preview_display.hide()}));var preview_box=$("#sp_tpro-preview-box"),preview_display=$("#sp_tpro_live_preview").hide(),action="sp_tpro_preview_meta_box",nonce=$("#spftestimonial_metabox_noncesp_tpro_shortcode_options").val(),previewJS=window.spftestimonial_vars.previewJS;function spftestimonial_copyToClipboard(element){var $temp=$("<input>");$("body").append($temp),$temp.val($(element).text()).select(),document.execCommand("copy"),$temp.remove()}function spftestimonial_SelectText(element){var r=document.createRange(),w=element.get(0);r.selectNodeContents(w);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(r)}$(document).on("click","#sp_tpro-show-preview:not(:contains(Hide))",(function(e){e.preventDefault();var _data=$("form#post").serialize(),_this=$(this),data={action:action,data:_data,ajax_nonce:nonce};$.ajax({type:"POST",url:ajaxurl,data:data,error:function(response){console.log(response)},success:function(response){preview_display.show(),preview_box.html(response),$.getScript(previewJS,(function(){_this.html('<i class="fa fa-eye-slash" aria-hidden="true"></i> Hide Preview'),$(document).on("keyup change",(function(e){e.preventDefault(),_this.html('<i class="fa fa-refresh" aria-hidden="true"></i> Update Preview')})),$("html, body").animate({scrollTop:preview_display.offset().top-50},"slow")})),$(".tfree-preloader").animate({opacity:1},600).hide()}})})),$(".trpo-copy-btn,.tpro-sc-code,.spftestimonial-shortcode-selectable").click((function(e){e.preventDefault(),spftestimonial_copyToClipboard($(this)),spftestimonial_SelectText($(this)),$(this).focus().select(),$(".sptpro-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sptpro-after-copy-text").animate({opacity:0},200),jQuery(".sptpro-after-copy-text").animate({bottom:0},0)}),2e3)})),$(".stpro_input").click((function(e){var copyText;e.preventDefault(),$(this).select(),document.execCommand("copy"),$(".sptpro-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sptpro-after-copy-text").animate({opacity:0},200),jQuery(".sptpro-after-copy-text").animate({bottom:0},0)}),2e3)}));var $export_type=$(".spt_what_export").find("input:checked").val();function isValidJSONString(str){try{JSON.parse(str)}catch(e){return!1}return!0}$(".spt_what_export").on("change",(function(){$export_type=$(this).find("input:checked").val()})),$(".spt_export .spftestimonial--button").click((function(event){event.preventDefault();var $shortcode_ids=$(".spt_post_id select").val(),$forms_ids=$(".spt_post_forms_id select").val(),$ex_nonce=$("#spftestimonial_options_noncesp_testimonial_pro_tools").val();if("all_testimonial"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:"all_testimonial",nonce:$ex_nonce};else if("all_spt_shortcodes"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:"all_spt_shortcodes",nonce:$ex_nonce};else if("all_spt_form"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:"all_spt_form",nonce:$ex_nonce};else if("selected_spt_shortcodes"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:$shortcode_ids,text_ids:"select_shortcodes",nonce:$ex_nonce};else if("selected_spt_form"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:$forms_ids,text_ids:"select_forms",nonce:$ex_nonce};else $(".spftestimonial-form-result.spftestimonial-form-success").text("No group selected.").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text("")}),3e3);$.post(ajaxurl,data,(function(resp){if(resp){if(isValidJSONString(resp))var json=JSON.stringify(JSON.parse(resp));else var json=JSON.stringify(resp);json=[json];var blob=new Blob(json),link=document.createElement("a"),lcp_time=$.now();link.href=window.URL.createObjectURL(blob),link.download="testtimonial-pro-export-"+lcp_time+".json",link.click(),$(".spftestimonial-form-result.spftestimonial-form-success").text("Exported successfully!").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text(""),$(".spt_post_id select").val("").trigger("chosen:updated"),$(".spt_post_forms_id select").val("").trigger("chosen:updated")}),3e3)}}))})),$(".spt_import button.import").click((function(event){event.preventDefault();var lcp_shortcodes=$("#import").prop("files")[0];if(""!=$("#import").val()){var $im_nonce=$("#spftestimonial_options_noncesp_testimonial_pro_tools").val(),reader=new FileReader;reader.readAsText(lcp_shortcodes),reader.onload=function(event){var jsonObj=JSON.stringify(event.target.result);$.ajax({url:ajaxurl,type:"POST",data:{shortcode:jsonObj,action:"spt_import_shortcodes",nonce:$im_nonce},success:function(resp){$(".spftestimonial-form-result.spftestimonial-form-success").text("Imported successfully!").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text(""),$("#import").val(""),"spt_testimonial"===resp.data?window.location.replace($("#spt_testimonial_link_redirect").attr("href")):"spt_testimonial_form"===resp.data?window.location.replace($("#spt_forms_link_redirect").attr("href")):window.location.replace($("#spt_shortcode_link_redirect").attr("href"))}),2e3)}})}}else $(".spftestimonial-form-result.spftestimonial-form-success").text("No exported json file chosen.").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text("")}),3e3)})),$(document).on("keyup change",".spftestimonial-options #spftestimonial-form",(function(e){e.preventDefault(),$(this).find(".spftestimonial-save.spftestimonial-save-ajax").attr("value","Save Settings").attr("disabled",!1)})),$("select option:contains((Pro))").attr("disabled",!0).css("opacity","0.8"),$("label:contains((Pro))").css({"pointer-events":"none"}).css("opacity","0.8")}(jQuery,window,document);
|
1 |
+
!function($,window,document,undefined){"use strict";var SPFTESTIMONIAL=SPFTESTIMONIAL||{};SPFTESTIMONIAL.funcs={},SPFTESTIMONIAL.vars={onloaded:!1,$body:$("body"),$window:$(window),$document:$(document),$form_warning:null,is_confirm:!1,form_modified:!1,code_themes:[],is_rtl:$("body").hasClass("rtl")},SPFTESTIMONIAL.helper={uid:function(prefix){return(prefix||"")+Math.random().toString(36).substr(2,9)},preg_quote:function(str){return(str+"").replace(/(\[|\])/g,"\\$1")},name_nested_replace:function($selector,field_id){var checks=[],regex=new RegExp(SPFTESTIMONIAL.helper.preg_quote(field_id+"[\\d+]"),"g");$selector.find(":radio").each((function(){(this.checked||this.orginal_checked)&&(this.orginal_checked=!0)})),$selector.each((function(index){$(this).find(":input").each((function(){this.name=this.name.replace(regex,field_id+"["+index+"]"),this.orginal_checked&&(this.checked=!0)}))}))},debounce:function(callback,threshold,immediate){var timeout;return function(){var context=this,args=arguments,later=function(){timeout=null,immediate||callback.apply(context,args)},callNow=immediate&&!timeout;clearTimeout(timeout),timeout=setTimeout(later,threshold),callNow&&callback.apply(context,args)}},get_cookie:function(name){var e,b,cookie=document.cookie,p=name+"=";if(cookie){if(-1===(b=cookie.indexOf("; "+p))){if(0!==(b=cookie.indexOf(p)))return null}else b+=2;return-1===(e=cookie.indexOf(";",b))&&(e=cookie.length),decodeURIComponent(cookie.substring(b+p.length,e))}},set_cookie:function(name,value,expires,path,domain,secure){var d=new Date;"object"==typeof expires&&expires.toGMTString?expires=expires.toGMTString():parseInt(expires,10)?(d.setTime(d.getTime()+1e3*parseInt(expires,10)),expires=d.toGMTString()):expires="",document.cookie=name+"="+encodeURIComponent(value)+(expires?"; expires="+expires:"")+(path?"; path="+path:"")+(domain?"; domain="+domain:"")+(secure?"; secure":"")},remove_cookie:function(name,path,domain,secure){SPFTESTIMONIAL.helper.set_cookie(name,"",-1e3,path,domain,secure)}},$.fn.spftestimonial_clone=function(){for(var base=$.fn.clone.apply(this,arguments),clone=this.find("select").add(this.filter("select")),cloned=base.find("select").add(base.filter("select")),i=0;i<clone.length;++i)for(var j=0;j<clone[i].options.length;++j)!0===clone[i].options[j].selected&&(cloned[i].options[j].selected=!0);return this.find(":radio").each((function(){this.orginal_checked=this.checked})),base},$.fn.spftestimonial_expand_all=function(){return this.each((function(){$(this).on("click",(function(e){e.preventDefault(),$(".spftestimonial-wrapper").toggleClass("spftestimonial-show-all"),$(".spftestimonial-section").spftestimonial_reload_script(),$(this).find(".fa").toggleClass("fa-indent").toggleClass("fa-outdent")}))}))},$.fn.spftestimonial_nav_options=function(){return this.each((function(){var $nav=$(this),$window=$(window),$wpwrap=$("#wpwrap"),$links=$nav.find("a"),$last;$window.on("hashchange spftestimonial.hashchange",(function(){var hash=window.location.hash.replace("#tab=",""),slug=hash||$links.first().attr("href").replace("#tab=",""),$link=$('[data-tab-id="'+slug+'"]');if($link.length){$link.closest(".spftestimonial-tab-item").addClass("spftestimonial-tab-expanded").siblings().removeClass("spftestimonial-tab-expanded"),$link.next().is("ul")&&(slug=($link=$link.next().find("li").first().find("a")).data("tab-id")),$links.removeClass("spftestimonial-active"),$link.addClass("spftestimonial-active"),$last&&$last.addClass("hidden");var $section=$('[data-section-id="'+slug+'"]');$section.removeClass("hidden"),$section.spftestimonial_reload_script(),$(".spftestimonial-section-id").val($section.index()+1),$last=$section,$wpwrap.hasClass("wp-responsive-open")&&($("html, body").animate({scrollTop:$section.offset().top-50},200),$wpwrap.removeClass("wp-responsive-open"))}})).trigger("spftestimonial.hashchange")}))},$.fn.spftestimonial_nav_metabox=function(){return this.each((function(){var $nav=$(this),$links=$nav.find("a"),$sections=$nav.parent().find(".spftestimonial-section"),unique_id=$nav.data("unique"),post_id=$("#post_ID").val()||"global",$last;$links.each((function(index){$(this).on("click",(function(e){e.preventDefault();var $link=$(this),section_id=$link.data("section");$links.removeClass("spftestimonial-active"),$link.addClass("spftestimonial-active"),void 0!==$last&&$last.addClass("hidden");var $section=$sections.eq(index);$section.removeClass("hidden"),$section.spftestimonial_reload_script(),SPFTESTIMONIAL.helper.set_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id,section_id),$last=$section}))}));var get_cookie=SPFTESTIMONIAL.helper.get_cookie("spftestimonial-last-metabox-tab-"+post_id+"-"+unique_id);get_cookie?$nav.find('a[data-section="'+get_cookie+'"]').trigger("click"):$links.first("a").trigger("click")}))},$.fn.spftestimonial_search=function(){return this.each((function(){var $this,$input;$(this).find("input").on("change keyup",(function(){var value=$(this).val(),$wrapper=$(".spftestimonial-wrapper"),$section,$fields=$wrapper.find(".spftestimonial-section").find("> .spftestimonial-field:not(.spftestimonial-depend-on)"),$titles=$fields.find("> .spftestimonial-title, .spftestimonial-search-tags");value.length>3?($fields.addClass("spftestimonial-metabox-hide"),$wrapper.addClass("spftestimonial-search-all"),$titles.each((function(){var $title=$(this);if($title.text().match(new RegExp(".*?"+value+".*?","i"))){var $field=$title.closest(".spftestimonial-field");$field.removeClass("spftestimonial-metabox-hide"),$field.parent().spftestimonial_reload_script()}}))):($fields.removeClass("spftestimonial-metabox-hide"),$wrapper.removeClass("spftestimonial-search-all"))}))}))},$.fn.spftestimonial_sticky=function(){return this.each((function(){var $this=$(this),$window=$(window),$inner=$this.find(".spftestimonial-header-inner"),padding=parseInt($inner.css("padding-left"))+parseInt($inner.css("padding-right")),offset=32,scrollTop=0,lastTop=0,ticking=!1,stickyUpdate=function(){var offsetTop=$this.offset().top,stickyTop=Math.max(32,offsetTop-scrollTop),winWidth=$window.innerWidth();stickyTop<=32&&winWidth>782?($inner.css({width:$this.outerWidth()-padding}),$this.css({height:$this.outerHeight()}).addClass("spftestimonial-sticky")):($inner.removeAttr("style"),$this.removeAttr("style").removeClass("spftestimonial-sticky"))},requestTick=function(){ticking||requestAnimationFrame((function(){stickyUpdate(),ticking=!1})),ticking=!0},onSticky=function(){scrollTop=$window.scrollTop(),requestTick()};$window.on("scroll resize",onSticky),onSticky()}))},$.fn.spftestimonial_dependency=function(){return this.each((function(){var $this=$(this),$fields=$this.children("[data-controller]");if($fields.length){var normal_ruleset=$.spftestimonial_deps.createRuleset(),global_ruleset=$.spftestimonial_deps.createRuleset(),normal_depends=[],global_depends=[];$fields.each((function(){var $field=$(this),controllers=$field.data("controller").split("|"),conditions=$field.data("condition").split("|"),values=$field.data("value").toString().split("|"),is_global=!!$field.data("depend-global"),ruleset=is_global?global_ruleset:normal_ruleset;$.each(controllers,(function(index,depend_id){var value=values[index]||"",condition=conditions[index]||conditions[0];(ruleset=ruleset.createRule('[data-depend-id="'+depend_id+'"]',condition,value)).include($field),is_global?global_depends.push(depend_id):normal_depends.push(depend_id)}))})),normal_depends.length&&$.spftestimonial_deps.enable($this,normal_ruleset,normal_depends),global_depends.length&&$.spftestimonial_deps.enable(SPFTESTIMONIAL.vars.$body,global_ruleset,global_depends)}}))},$.fn.spftestimonial_field_accordion=function(){return this.each((function(){var $titles=$(this).find(".spftestimonial-accordion-title");$titles.on("click",(function(){var $title=$(this),$icon=$title.find(".spftestimonial-accordion-icon"),$content=$title.next();$icon.hasClass("fa-angle-right")?$icon.removeClass("fa-angle-right").addClass("fa-angle-down"):$icon.removeClass("fa-angle-down").addClass("fa-angle-right"),$content.data("opened")||($content.spftestimonial_reload_script(),$content.data("opened",!0)),$content.toggleClass("spftestimonial-accordion-open")})),$(this).hasClass("opened_accordion")&&$titles.trigger("click")}))},$.fn.spftestimonial_field_code_editor=function(){return this.each((function(){if("function"==typeof CodeMirror){var $this=$(this),$textarea=$this.find("textarea"),$inited=$this.find(".CodeMirror"),data_editor=$textarea.data("editor");$inited.length&&$inited.remove();var interval=setInterval((function(){if($this.is(":visible")){var code_editor=CodeMirror.fromTextArea($textarea[0],data_editor);if("default"!==data_editor.theme&&-1===SPFTESTIMONIAL.vars.code_themes.indexOf(data_editor.theme)){var $cssLink=$("<link>");$("#spftestimonial-codemirror-css").after($cssLink),$cssLink.attr({rel:"stylesheet",id:"spftestimonial-codemirror-"+data_editor.theme+"-css",href:data_editor.cdnURL+"/theme/"+data_editor.theme+".min.css",type:"text/css",media:"all"}),SPFTESTIMONIAL.vars.code_themes.push(data_editor.theme)}CodeMirror.modeURL=data_editor.cdnURL+"/mode/%N/%N.min.js",CodeMirror.autoLoadMode(code_editor,data_editor.mode),code_editor.on("change",(function(editor,event){$textarea.val(code_editor.getValue()).trigger("change")})),clearInterval(interval)}}))}}))},$.fn.spftestimonial_field_fieldset=function(){return this.each((function(){$(this).find(".spftestimonial-fieldset-content").spftestimonial_reload_script()}))},$.fn.spftestimonial_field_repeater=function(){return this.each((function(){var $this=$(this),$fieldset=$this.children(".spftestimonial-fieldset"),$repeater=$fieldset.length?$fieldset:$this,$wrapper=$repeater.children(".spftestimonial-repeater-wrapper"),$hidden=$repeater.children(".spftestimonial-repeater-hidden"),$max=$repeater.children(".spftestimonial-repeater-max"),$min=$repeater.children(".spftestimonial-repeater-min"),field_id=$wrapper.data("field-id"),max=parseInt($wrapper.data("max")),min=parseInt($wrapper.data("min"));$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-content").spftestimonial_reload_script(),$wrapper.sortable({axis:"y",handle:".spftestimonial-repeater-sort",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id)}}),$repeater.children(".spftestimonial-repeater-add").on("click",(function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $cloned_item=$hidden.spftestimonial_clone(!0);$cloned_item.removeClass("spftestimonial-repeater-hidden"),$cloned_item.find(':input[name!="_pseudo"]').each((function(){this.name=this.name.replace("___","").replace(field_id+"[0]",field_id+"["+count+"]")})),$wrapper.append($cloned_item),$cloned_item.children(".spftestimonial-repeater-content").spftestimonial_reload_script()}}));var event_clone=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;if($min.hide(),max&&count+1>max)$max.show();else{var $this,$parent=$(this).parent().parent().parent(),$cloned_content=$parent.children(".spftestimonial-repeater-content").spftestimonial_clone(),$cloned_helper=$parent.children(".spftestimonial-repeater-helper").spftestimonial_clone(!0),$cloned_item=$('<div class="spftestimonial-repeater-item" />');$cloned_item.append($cloned_content),$cloned_item.append($cloned_helper),$wrapper.children().eq($parent.index()).after($cloned_item),$cloned_item.children(".spftestimonial-repeater-content").spftestimonial_reload_script(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id)}};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-clone",event_clone);var event_remove=function(e){e.preventDefault();var count=$wrapper.children(".spftestimonial-repeater-item").length;$max.hide(),$min.hide(),min&&count-1<min?$min.show():($(this).closest(".spftestimonial-repeater-item").remove(),SPFTESTIMONIAL.helper.name_nested_replace($wrapper.children(".spftestimonial-repeater-item"),field_id))};$wrapper.children(".spftestimonial-repeater-item").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove),$repeater.children(".spftestimonial-repeater-hidden").children(".spftestimonial-repeater-helper").on("click",".spftestimonial-repeater-remove",event_remove)}))},$.fn.spftestimonial_field_sortable=function(){return this.each((function(){var $sortable=$(this).find(".spftestimonial-sortable");$sortable.sortable({axis:"y",helper:"original",cursor:"move",placeholder:"widget-placeholder",update:function(event,ui){}}),$sortable.find(".spftestimonial-sortable-content").spftestimonial_reload_script(),$(".form_fields").find(".spftestimonial-sortable").sortable("disable")}))},$.fn.spftestimonial_field_sorter=function(){return this.each((function(){var $this=$(this),$enabled=$this.find(".spftestimonial-enabled"),$has_disabled=$this.find(".spftestimonial-disabled"),$disabled=!!$has_disabled.length&&$has_disabled;$enabled.sortable({connectWith:$disabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){var $el=ui.item.find("input");ui.item.parent().hasClass("spftestimonial-enabled")?$el.attr("name",$el.attr("name").replace("disabled","enabled")):$el.attr("name",$el.attr("name").replace("enabled","disabled"))}}),$disabled&&$disabled.sortable({connectWith:$enabled,placeholder:"ui-sortable-placeholder",update:function(event,ui){}})}))},$.fn.spftestimonial_field_spinner=function(){return this.each((function(){var $this=$(this),$input=$this.find("input"),$inited=$this.find(".ui-button"),data=$input.data();$inited.length&&$inited.remove(),$input.spinner({min:data.min||0,max:data.max||100,step:data.step||1,create:function(event,ui){data.unit&&$input.after('<span class="ui-button spftestimonial--unit">'+data.unit+"</span>")},spin:function(event,ui){$input.val(ui.value).trigger("change")}})}))},$.fn.spftestimonial_field_switcher=function(){return this.each((function(){var $switcher=$(this).find(".spftestimonial--switcher");$switcher.on("click",(function(){var value=0,$input=$switcher.find("input");$switcher.hasClass("spftestimonial--active")?$switcher.removeClass("spftestimonial--active"):(value=1,$switcher.addClass("spftestimonial--active")),$input.val(value).trigger("change")}))}))},$.fn.spftestimonial_field_typography=function(){return this.each((function(){var base=this,$this=$(this),loaded_fonts=[],webfonts=spftestimonial_typography_json.webfonts,googlestyles=spftestimonial_typography_json.googlestyles,defaultstyles=spftestimonial_typography_json.defaultstyles;base.sanitize_subset=function(subset){return subset=(subset=subset.replace("-ext"," Extended")).charAt(0).toUpperCase()+subset.slice(1)},base.sanitize_style=function(style){return googlestyles[style]?googlestyles[style]:style},base.load_google_font=function(font_family,weight,style){font_family&&"object"==typeof WebFont&&(weight=weight?weight.replace("normal",""):"",style=style?style.replace("normal",""):"",(weight||style)&&(font_family=font_family+":"+weight+style),-1===loaded_fonts.indexOf(font_family)&&WebFont.load({google:{families:[font_family]}}),loaded_fonts.push(font_family))},base.append_select_options=function($select,options,condition,type,is_multi){$select.find("option").not(":first").remove();var opts="";$.each(options,(function(key,value){var selected,name=value;selected=is_multi?condition&&-1!==condition.indexOf(value)?" selected":"":condition&&condition===value?" selected":"","subset"===type?name=base.sanitize_subset(value):"style"===type&&(name=base.sanitize_style(value)),opts+='<option value="'+value+'"'+selected+">"+name+"</option>"})),$select.append(opts).trigger("spftestimonial.change").trigger("chosen:updated")},base.init=function(){var selected_styles=[],$typography=$this.find(".spftestimonial--typography"),$type=$this.find(".spftestimonial--type"),$styles=$this.find(".spftestimonial--block-font-style"),unit=$typography.data("unit"),line_height_unit=$typography.data("line-height-unit"),exclude_fonts=$typography.data("exclude")?$typography.data("exclude").split(","):[],$chosen_selects;$this.find(".spftestimonial--chosen").length&&$this.find("select").each((function(){var $chosen_select=$(this),$chosen_inited=$chosen_select.parent().find(".chosen-container");$chosen_inited.length&&$chosen_inited.remove(),$chosen_select.chosen({allow_single_deselect:!0,disable_search_threshold:15,width:"100%"})}));var $font_family_select=$this.find(".spftestimonial--font-family"),first_font_family=$font_family_select.val();$font_family_select.find("option").not(":first-child").remove();var opts="";$.each(webfonts,(function(type,group){exclude_fonts&&-1!==exclude_fonts.indexOf(type)||(opts+='<optgroup label="'+group.label+'">',$.each(group.fonts,(function(key,value){var selected;opts+='<option value="'+(value="object"==typeof value?key:value)+'" data-type="'+type+'"'+(value===first_font_family?" selected":"")+">"+value+"</option>"})),opts+="</optgroup>")})),$font_family_select.append(opts).trigger("chosen:updated");var $font_style_block=$this.find(".spftestimonial--block-font-style");if($font_style_block.length){var $font_style_select=$this.find(".spftestimonial--font-style-select"),first_style_value=$font_style_select.val()?$font_style_select.val().replace(/normal/g,""):"";$font_style_select.on("change spftestimonial.change",(function(event){var style_value=$font_style_select.val();!style_value&&selected_styles&&-1===selected_styles.indexOf("normal")&&(style_value=selected_styles[0]);var font_normal=style_value&&"italic"!==style_value&&"normal"===style_value?"normal":"",font_weight=style_value&&"italic"!==style_value&&"normal"!==style_value?style_value.replace("italic",""):font_normal,font_style=style_value&&"italic"===style_value.substr(-6)?"italic":"";$this.find(".spftestimonial--font-weight").val(font_weight),$this.find(".spftestimonial--font-style").val(font_style)}));var $extra_font_style_block=$this.find(".spftestimonial--block-extra-styles");if($extra_font_style_block.length)var $extra_font_style_select=$this.find(".spftestimonial--extra-styles"),first_extra_style_value=$extra_font_style_select.val()}var $subset_block=$this.find(".spftestimonial--block-subset");if($subset_block.length)var $subset_select=$this.find(".spftestimonial--subset"),first_subset_select_value=$subset_select.val(),subset_multi_select=$subset_select.data("multiple")||!1;var $backup_font_family_block=$this.find(".spftestimonial--block-backup-font-family");$font_family_select.on("change spftestimonial.change",(function(event){$subset_block.length&&$subset_block.addClass("hidden"),$extra_font_style_block.length&&$extra_font_style_block.addClass("hidden"),$backup_font_family_block.length&&$backup_font_family_block.addClass("hidden");var $selected=$font_family_select.find(":selected"),value=$selected.val(),type=$selected.data("type");if(type&&value){if("google"!==type&&"custom"!==type||!$backup_font_family_block.length||$backup_font_family_block.removeClass("hidden"),$font_style_block.length){var styles=defaultstyles;"google"===type&&webfonts[type].fonts[value][0]?styles=webfonts[type].fonts[value][0]:"custom"===type&&webfonts[type].fonts[value]&&(styles=webfonts[type].fonts[value]),selected_styles=styles;var set_auto_style=-1!==styles.indexOf("normal")?"normal":styles[0],set_style_value=first_style_value&&-1!==styles.indexOf(first_style_value)?first_style_value:set_auto_style;base.append_select_options($font_style_select,styles,set_style_value,"style"),first_style_value=!1,$font_style_block.removeClass("hidden"),"google"===type&&$extra_font_style_block.length&&styles.length>1&&(base.append_select_options($extra_font_style_select,styles,first_extra_style_value,"style",!0),first_extra_style_value=!1,$extra_font_style_block.removeClass("hidden"))}if("google"===type&&$subset_block.length&&webfonts[type].fonts[value][1]){var subsets=webfonts[type].fonts[value][1],set_auto_subset=subsets.length<2&&"latin"!==subsets[0]?subsets[0]:"",set_subset_value=first_subset_select_value&&-1!==subsets.indexOf(first_subset_select_value)?first_subset_select_value:set_auto_subset;set_subset_value=subset_multi_select&&first_subset_select_value?first_subset_select_value:set_subset_value,base.append_select_options($subset_select,subsets,set_subset_value,"subset",subset_multi_select),first_subset_select_value=!1,$subset_block.removeClass("hidden")}}else $styles.find(":input").val(""),$subset_block.length&&($subset_select.find("option").not(":first-child").remove(),$subset_select.trigger("chosen:updated")),$font_style_block.length&&($font_style_select.find("option").not(":first-child").remove(),$font_style_select.trigger("chosen:updated"));$type.val(type)})).trigger("spftestimonial.change");var $preview_block=$this.find(".spftestimonial--block-preview");if($preview_block.length){var $preview=$this.find(".spftestimonial--preview");$this.on("change",SPFTESTIMONIAL.helper.debounce((function(event){$preview_block.removeClass("hidden");var font_family=$font_family_select.val(),font_weight=$this.find(".spftestimonial--font-weight").val(),font_style=$this.find(".spftestimonial--font-style").val(),font_size=$this.find(".spftestimonial--font-size").val(),font_variant=$this.find(".spftestimonial--font-variant").val(),line_height=$this.find(".spftestimonial--line-height").val(),text_align=$this.find(".spftestimonial--text-align").val(),text_transform=$this.find(".spftestimonial--text-transform").val(),text_decoration=$this.find(".spftestimonial--text-decoration").val(),text_color=$this.find(".spftestimonial--color").val(),word_spacing=$this.find(".spftestimonial--word-spacing").val(),letter_spacing=$this.find(".spftestimonial--letter-spacing").val(),custom_style=$this.find(".spftestimonial--custom-style").val(),type;"google"===$this.find(".spftestimonial--type").val()&&base.load_google_font(font_family,font_weight,font_style);var properties={};font_family&&(properties.fontFamily=font_family),font_weight&&(properties.fontWeight=font_weight),font_style&&(properties.fontStyle=font_style),font_variant&&(properties.fontVariant=font_variant),font_size&&(properties.fontSize=font_size+unit),line_height&&(properties.lineHeight=line_height+line_height_unit),letter_spacing&&(properties.letterSpacing=letter_spacing+unit),word_spacing&&(properties.wordSpacing=word_spacing+unit),text_align&&(properties.textAlign=text_align),text_transform&&(properties.textTransform=text_transform),text_decoration&&(properties.textDecoration=text_decoration),text_color&&(properties.color=text_color),$preview.removeAttr("style"),custom_style&&$preview.attr("style",custom_style),$preview.css(properties)}),100)),$preview_block.on("click",(function(){$preview.toggleClass("spftestimonial--black-background");var $toggle=$preview_block.find(".spftestimonial--toggle");$toggle.hasClass("fa-toggle-off")?$toggle.removeClass("fa-toggle-off").addClass("fa-toggle-on"):$toggle.removeClass("fa-toggle-on").addClass("fa-toggle-off")})),$preview_block.hasClass("hidden")||$this.trigger("change")}},base.init()}))},$.fn.spftestimonial_confirm=function(){return this.each((function(){$(this).on("click",(function(e){var confirm_text=$(this).data("confirm")||window.spftestimonial_vars.i18n.confirm,confirm_answer;if(!confirm(confirm_text))return e.preventDefault(),!1;SPFTESTIMONIAL.vars.is_confirm=!0,SPFTESTIMONIAL.vars.form_modified=!1}))}))},$.fn.serializeObject=function(){var obj={};return $.each(this.serializeArray(),(function(i,o){var n=o.name,v=o.value;obj[n]=void 0===obj[n]?v:$.isArray(obj[n])?obj[n].concat(v):[obj[n],v]})),obj},$.fn.spftestimonial_save=function(){return this.each((function(){var $this=$(this),$buttons=$(".spftestimonial-save"),$panel=$(".spftestimonial-options"),flooding=!1,timeout;$this.on("click",(function(e){if(!flooding){var $text=$this.data("save"),$value=$this.val();$buttons.attr("value",$text),$this.hasClass("spftestimonial-save-ajax")?(e.preventDefault(),$panel.addClass("spftestimonial-saving"),$buttons.prop("disabled",!0),window.wp.ajax.post("spftestimonial_"+$panel.data("unique")+"_ajax_save",{data:$("#spftestimonial-form").serializeJSONSPFTESTIMONIAL()}).done((function(response){if($(".spftestimonial-error").remove(),Object.keys(response.errors).length){var error_icon='<i class="spftestimonial-label-error spftestimonial-error">!</i>';$.each(response.errors,(function(key,error_message){var $field=$('[data-depend-id="'+key+'"]'),$link=$('a[href="#tab='+$field.closest(".spftestimonial-section").data("section-id")+'"]'),$tab=$link.closest(".spftestimonial-tab-item");$field.closest(".spftestimonial-fieldset").append('<p class="spftestimonial-error spftestimonial-error-text">'+error_message+"</p>"),$link.find(".spftestimonial-error").length||$link.append(error_icon),$tab.find(".spftestimonial-arrow .spftestimonial-error").length||$tab.find(".spftestimonial-arrow").append(error_icon)}))}$panel.removeClass("spftestimonial-saving"),$buttons.prop("disabled",!0).attr("value","Changes Saved"),flooding=!1,SPFTESTIMONIAL.vars.form_modified=!1,SPFTESTIMONIAL.vars.$form_warning.hide(),clearTimeout(timeout);var $result_success=$(".spftestimonial-form-success");$result_success.empty().append(response.notice).fadeIn("fast",(function(){timeout=setTimeout((function(){$result_success.fadeOut("fast")}),1e3)}))})).fail((function(response){alert(response.error)}))):SPFTESTIMONIAL.vars.form_modified=!1}flooding=!0}))}))},$.fn.spftestimonial_options=function(){return this.each((function(){var $this=$(this),$content=$this.find(".spftestimonial-content"),$form_success=$this.find(".spftestimonial-form-success"),$form_warning=$this.find(".spftestimonial-form-warning"),$save_button=$this.find(".spftestimonial-header .spftestimonial-save");SPFTESTIMONIAL.vars.$form_warning=$form_warning,$form_warning.length&&(window.onbeforeunload=function(){return!!SPFTESTIMONIAL.vars.form_modified||void 0},$content.on("change keypress",":input",(function(){SPFTESTIMONIAL.vars.form_modified||($form_success.hide(),$form_warning.fadeIn("fast"),SPFTESTIMONIAL.vars.form_modified=!0)}))),$form_success.hasClass("spftestimonial-form-show")&&setTimeout((function(){$form_success.fadeOut("fast")}),1e3),$(document).keydown((function(event){if((event.ctrlKey||event.metaKey)&&83===event.which)return $save_button.trigger("click"),event.preventDefault(),!1}))}))},"function"==typeof Color&&(Color.prototype.toString=function(){if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var hex=parseInt(this._color,10).toString(16);if(this.error)return"";if(hex.length<6)for(var i=6-hex.length-1;i>=0;i--)hex="0"+hex;return"#"+hex}),SPFTESTIMONIAL.funcs.parse_color=function(color){var value=color.replace(/\s+/g,""),trans=-1!==value.indexOf("rgba")?parseFloat(100*value.replace(/^.*,(.+)\)/,"$1")):100,rgba;return{value:value,transparent:trans,rgba:trans<100}},$.fn.spftestimonial_color=function(){return this.each((function(){var $input=$(this),picker_color=SPFTESTIMONIAL.funcs.parse_color($input.val()),palette_color=!window.spftestimonial_vars.color_palette.length||window.spftestimonial_vars.color_palette,$container;$input.hasClass("wp-color-picker")&&$input.closest(".wp-picker-container").after($input).remove(),$input.wpColorPicker({palettes:palette_color,change:function(event,ui){var ui_color_value=ui.color.toString();$container.removeClass("spftestimonial--transparent-active"),$container.find(".spftestimonial--transparent-offset").css("background-color",ui_color_value),$input.val(ui_color_value).trigger("change")},create:function(){$container=$input.closest(".wp-picker-container");var a8cIris=$input.data("a8cIris"),$transparent_wrap=$('<div class="spftestimonial--transparent-wrap"><div class="spftestimonial--transparent-slider"></div><div class="spftestimonial--transparent-offset"></div><div class="spftestimonial--transparent-text"></div><div class="spftestimonial--transparent-button">transparent <i class="fa fa-toggle-off"></i></div></div>').appendTo($container.find(".wp-picker-holder")),$transparent_slider=$transparent_wrap.find(".spftestimonial--transparent-slider"),$transparent_text=$transparent_wrap.find(".spftestimonial--transparent-text"),$transparent_offset=$transparent_wrap.find(".spftestimonial--transparent-offset"),$transparent_button=$transparent_wrap.find(".spftestimonial--transparent-button");"transparent"===$input.val()&&$container.addClass("spftestimonial--transparent-active"),$transparent_button.on("click",(function(){"transparent"!==$input.val()?($input.val("transparent").trigger("change").removeClass("iris-error"),$container.addClass("spftestimonial--transparent-active")):($input.val(a8cIris._color.toString()).trigger("change"),$container.removeClass("spftestimonial--transparent-active"))})),$transparent_slider.slider({value:picker_color.transparent,step:1,min:0,max:100,slide:function(event,ui){var slide_value=parseFloat(ui.value/100);a8cIris._color._alpha=slide_value,$input.wpColorPicker("color",a8cIris._color.toString()),$transparent_text.text(1===slide_value||0===slide_value?"":slide_value)},create:function(){var slide_value=parseFloat(picker_color.transparent/100),text_value=slide_value<1?slide_value:"";$transparent_text.text(text_value),$transparent_offset.css("background-color",picker_color.value),$container.on("click",".wp-picker-clear",(function(){a8cIris._color._alpha=1,$transparent_text.text(""),$transparent_slider.slider("option","value",100),$container.removeClass("spftestimonial--transparent-active"),$input.trigger("change")})),$container.on("click",".wp-picker-default",(function(){var default_color=SPFTESTIMONIAL.funcs.parse_color($input.data("default-color")),default_value=parseFloat(default_color.transparent/100),default_text=default_value<1?default_value:"";a8cIris._color._alpha=default_value,$transparent_text.text(default_text),$transparent_slider.slider("option","value",default_color.transparent),"transparent"===default_color.value&&($input.removeClass("iris-error"),$container.addClass("spftestimonial--transparent-active"))}))}})}})}))},$.fn.spftestimonial_chosen=function(){return this.each((function(){var $this=$(this),$inited=$this.parent().find(".chosen-container"),is_sortable=$this.hasClass("spftestimonial-chosen-sortable")||!1,is_ajax=$this.hasClass("spftestimonial-chosen-ajax")||!1,is_multiple=$this.attr("multiple")||!1,set_width=is_multiple?"100%":"auto",set_options=$.extend({allow_single_deselect:!0,disable_search_threshold:10,width:set_width,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));if($inited.length&&$inited.remove(),is_ajax){var set_ajax_options=$.extend({data:{type:"post",nonce:""},allow_single_deselect:!0,disable_search_threshold:-1,width:"100%",min_length:3,type_delay:500,typing_text:window.spftestimonial_vars.i18n.typing_text,searching_text:window.spftestimonial_vars.i18n.searching_text,no_results_text:window.spftestimonial_vars.i18n.no_results_text},$this.data("chosen-settings"));$this.SPFTESTIMONIALAjaxChosen(set_ajax_options)}else $this.chosen(set_options);if(is_multiple){var $hidden_select=$this.parent().find(".spftestimonial-hide-select"),$hidden_value=$hidden_select.val()||[];$this.on("change",(function(obj,result){result&&result.selected?$hidden_select.append('<option value="'+result.selected+'" selected="selected">'+result.selected+"</option>"):result&&result.deselected&&$hidden_select.find('option[value="'+result.deselected+'"]').remove(),void 0!==window.wp.customize&&0===$hidden_select.children().length&&$hidden_select.data("customize-setting-link")&&window.wp.customize.control($hidden_select.data("customize-setting-link")).setting.set(""),$hidden_select.trigger("change")})),$this.SPFTESTIMONIALChosenOrder($hidden_value,!0)}if(is_sortable){var $chosen_container,$chosen_choices=$this.parent().find(".chosen-container").find(".chosen-choices");$chosen_choices.bind("mousedown",(function(event){$(event.target).is("span")&&event.stopPropagation()})),$chosen_choices.sortable({items:"li:not(.search-field)",helper:"orginal",cursor:"move",placeholder:"search-choice-placeholder",start:function(e,ui){ui.placeholder.width(ui.item.innerWidth()),ui.placeholder.height(ui.item.innerHeight())},update:function(e,ui){var select_options="",chosen_object=$this.data("chosen"),$prev_select=$this.parent().find(".spftestimonial-hide-select");$chosen_choices.find(".search-choice-close").each((function(){var option_array_index=$(this).data("option-array-index");$.each(chosen_object.results_data,(function(index,data){data.array_index===option_array_index&&(select_options+='<option value="'+data.value+'" selected>'+data.value+"</option>")}))})),$prev_select.children().remove(),$prev_select.append(select_options),$prev_select.trigger("change")}})}}))},$.fn.spftestimonial_checkbox=function(){return this.each((function(){var $this=$(this),$input=$this.find(".spftestimonial--input"),$checkbox=$this.find(".spftestimonial--checkbox");$checkbox.on("click",(function(){$input.val(Number($checkbox.prop("checked"))).trigger("change")}))}))},$.fn.spftestimonial_siblings=function(){return this.each((function(){var $this=$(this),$siblings=$this.find(".spftestimonial--sibling"),multiple=$this.data("multiple")||!1;$siblings.on("click",(function(){var $sibling=$(this);multiple?$sibling.hasClass("spftestimonial--active")?($sibling.removeClass("spftestimonial--active"),$sibling.find("input").prop("checked",!1).trigger("change")):($sibling.addClass("spftestimonial--active"),$sibling.find("input").prop("checked",!0).trigger("change")):($this.find("input").prop("checked",!1),$sibling.find("input").prop("checked",!0).trigger("change"),$sibling.addClass("spftestimonial--active").siblings().removeClass("spftestimonial--active"))}))}))},$.fn.spftestimonial_help=function(){return this.each((function(){var $this=$(this),$tooltip,offset_left;$this.on({mouseenter:function(){$tooltip=$('<div class="spftestimonial-tooltip"></div>').html($this.find(".spftestimonial-help-text").html()).appendTo("body"),offset_left=SPFTESTIMONIAL.vars.is_rtl?$this.offset().left-$tooltip.outerWidth():$this.offset().left+24,$tooltip.css({top:$this.offset().top-($tooltip.outerHeight()/2-14),left:offset_left})},mouseleave:function(){void 0!==$tooltip&&$tooltip.remove()}})}))},SPFTESTIMONIAL.vars.$window.on("resize spftestimonial.resize",SPFTESTIMONIAL.helper.debounce((function(event){var window_width;(navigator.userAgent.indexOf("AppleWebKit/")>-1?SPFTESTIMONIAL.vars.$window.width():window.innerWidth)<=782&&!SPFTESTIMONIAL.vars.onloaded&&($(".spftestimonial-section").spftestimonial_reload_script(),SPFTESTIMONIAL.vars.onloaded=!0)}),200)).trigger("spftestimonial.resize"),$.fn.spftestimonial_reload_script=function(options){var settings=$.extend({dependency:!0},options);return this.each((function(){var $this=$(this);$this.data("inited")||($this.children(".spftestimonial-field-accordion:not(.tfree_pro_only)").spftestimonial_field_accordion(),$this.children(".spftestimonial-field-code_editor").spftestimonial_field_code_editor(),$this.children(".spftestimonial-field-fieldset").spftestimonial_field_fieldset(),$this.children(".spftestimonial-field-repeater").spftestimonial_field_repeater(),$this.children(".spftestimonial-field-sortable").spftestimonial_field_sortable(),$this.children(".spftestimonial-field-sorter").spftestimonial_field_sorter(),$this.children(".spftestimonial-field-spinner").spftestimonial_field_spinner(),$this.children(".spftestimonial-field-switcher").spftestimonial_field_switcher(),$this.children(".spftestimonial-field-typography").spftestimonial_field_typography(),$this.children(".spftestimonial-field-border").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-background").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-color_group").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-link_color").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-typography").find(".spftestimonial-color").spftestimonial_color(),$this.children(".spftestimonial-field-select").find(".spftestimonial-chosen").spftestimonial_chosen(),$this.children(".spftestimonial-field-checkbox").find(".spftestimonial-checkbox").spftestimonial_checkbox(),$this.children(".spftestimonial-field-button_set").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-image_select, .spftestimonial-field-icon_select").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field-palette").find(".spftestimonial-siblings").spftestimonial_siblings(),$this.children(".spftestimonial-field").find(".spftestimonial-help").spftestimonial_help(),settings.dependency&&$this.spftestimonial_dependency(),$this.data("inited",!0),$(document).trigger("spftestimonial-reload-script",$this))}))},$(document).ready((function(){$(".spftestimonial-save").spftestimonial_save(),$(".spftestimonial-options").spftestimonial_options(),$(".spftestimonial-sticky-header").spftestimonial_sticky(),$(".spftestimonial-nav-options").spftestimonial_nav_options(),$(".spftestimonial-nav-metabox").spftestimonial_nav_metabox(),$(".spftestimonial-search").spftestimonial_search(),$(".spftestimonial-confirm").spftestimonial_confirm(),$(".spftestimonial-expand-all").spftestimonial_expand_all(),$(".spftestimonial-onload").spftestimonial_reload_script()})),$(document).on("click","#sp-testimonial-show-preview:contains(Hide)",(function(e){var _this;e.preventDefault(),$(this).html('<i class="fa fa-eye" aria-hidden="true"></i> Show Preview'),preview_box.html(""),preview_display.hide()}));var preview_box=$("#sp_tpro-preview-box"),preview_display=$("#sp_tpro_live_preview").hide(),action="sp_tpro_preview_meta_box",nonce=$("#spftestimonial_metabox_noncesp_tpro_shortcode_options").val();function spftestimonial_copyToClipboard(element){var $temp=$("<input>");$("body").append($temp),$temp.val($(element).text()).select(),document.execCommand("copy"),$temp.remove()}function spftestimonial_SelectText(element){var r=document.createRange(),w=element.get(0);r.selectNodeContents(w);var sel=window.getSelection();sel.removeAllRanges(),sel.addRange(r)}$(document).on("click","#sp-testimonial-show-preview:not(:contains(Hide))",(function(e){e.preventDefault();var previewJS=window.spftestimonial_vars.previewJS,_data=$("form#post").serialize(),_this=$(this),data={action:action,data:_data,ajax_nonce:nonce};$.ajax({type:"POST",url:ajaxurl,data:data,error:function(response){console.log(response)},success:function(response){preview_display.show(),preview_box.html(response),$.getScript(previewJS,(function(){_this.html('<i class="fa fa-eye-slash" aria-hidden="true"></i> Hide Preview'),$(document).on("keyup change",(function(e){e.preventDefault(),_this.html('<i class="fa fa-refresh" aria-hidden="true"></i> Update Preview')})),$("html, body").animate({scrollTop:preview_display.offset().top-50},"slow")})),$(".sp-testimonial-preloader").animate({opacity:1},600).hide()}})})),$(".sp-testimonial-copy-btn,.tpro-sc-code,.spftestimonial-shortcode-selectable").click((function(e){e.preventDefault(),spftestimonial_copyToClipboard($(this)),spftestimonial_SelectText($(this)),$(this).focus().select(),$(".sp-testimonial-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sp-testimonial-after-copy-text").animate({opacity:0},200),jQuery(".sp-testimonial-after-copy-text").animate({bottom:0},0)}),2e3)})),$(".stpro_input").click((function(e){var copyText;e.preventDefault(),$(this).select(),document.execCommand("copy"),$(".sp-testimonial-after-copy-text").animate({opacity:1,bottom:25},300),setTimeout((function(){jQuery(".sp-testimonial-after-copy-text").animate({opacity:0},200),jQuery(".sp-testimonial-after-copy-text").animate({bottom:0},0)}),2e3)}));var $export_type=$(".spt_what_export").find("input:checked").val();function isValidJSONString(str){try{JSON.parse(str)}catch(e){return!1}return!0}$(".spt_what_export").on("change",(function(){$export_type=$(this).find("input:checked").val()})),$(".spt_export .spftestimonial--button").click((function(event){event.preventDefault();var $shortcode_ids=$(".spt_post_id select").val(),$forms_ids=$(".spt_post_forms_id select").val(),$ex_nonce=$("#spftestimonial_options_noncesp_testimonial_pro_tools").val();if("all_testimonial"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:"all_testimonial",nonce:$ex_nonce};else if("all_spt_shortcodes"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:"all_spt_shortcodes",nonce:$ex_nonce};else if("all_spt_form"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:"all_spt_form",nonce:$ex_nonce};else if("selected_spt_shortcodes"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:$shortcode_ids,text_ids:"select_shortcodes",nonce:$ex_nonce};else if("selected_spt_form"===$export_type)var data={action:"spt_export_shortcodes",lcp_ids:$forms_ids,text_ids:"select_forms",nonce:$ex_nonce};else $(".spftestimonial-form-result.spftestimonial-form-success").text("No group selected.").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text("")}),3e3);$.post(ajaxurl,data,(function(resp){if(resp){if(isValidJSONString(resp))var json=JSON.stringify(JSON.parse(resp));else var json=JSON.stringify(resp);json=[json];var blob=new Blob(json),link=document.createElement("a"),lcp_time=$.now();link.href=window.URL.createObjectURL(blob),link.download="testtimonial-pro-export-"+lcp_time+".json",link.click(),$(".spftestimonial-form-result.spftestimonial-form-success").text("Exported successfully!").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text(""),$(".spt_post_id select").val("").trigger("chosen:updated"),$(".spt_post_forms_id select").val("").trigger("chosen:updated")}),3e3)}}))})),$(".spt_import button.import").click((function(event){event.preventDefault();var lcp_shortcodes=$("#import").prop("files")[0];if(""!=$("#import").val()){var $im_nonce=$("#spftestimonial_options_noncesp_testimonial_pro_tools").val(),reader=new FileReader;reader.readAsText(lcp_shortcodes),reader.onload=function(event){var jsonObj=JSON.stringify(event.target.result);$.ajax({url:ajaxurl,type:"POST",data:{shortcode:jsonObj,action:"spt_import_shortcodes",nonce:$im_nonce},success:function(resp){$(".spftestimonial-form-result.spftestimonial-form-success").text("Imported successfully!").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text(""),$("#import").val(""),"spt_testimonial"===resp.data?window.location.replace($("#spt_testimonial_link_redirect").attr("href")):"spt_testimonial_form"===resp.data?window.location.replace($("#spt_forms_link_redirect").attr("href")):window.location.replace($("#spt_shortcode_link_redirect").attr("href"))}),2e3)}})}}else $(".spftestimonial-form-result.spftestimonial-form-success").text("No exported json file chosen.").show(),setTimeout((function(){$(".spftestimonial-form-result.spftestimonial-form-success").hide().text("")}),3e3)})),$(document).on("keyup change",".spftestimonial-options #spftestimonial-form",(function(e){e.preventDefault(),$(this).find(".spftestimonial-save.spftestimonial-save-ajax").attr("value","Save Settings").attr("disabled",!1)})),$("select option:contains((Pro))").attr("disabled",!0).css("opacity","0.8"),$("label:contains((Pro))").css({"pointer-events":"none"}).css("opacity","0.8")}(jQuery,window,document);
|
admin/views/testimonial-form.php → src/Admin/Views/Framework/configs/form.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die; } // Cannot access directly.
|
14 |
//
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
12 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die; } // Cannot access directly.
|
16 |
//
|
admin/views/testimonial-metaboxs.php → src/Admin/Views/Framework/configs/metaboxs.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die; } // Cannot access directly.
|
14 |
|
@@ -52,27 +54,27 @@ SPFTESTIMONIAL::createSection(
|
|
52 |
'sanitize' => 'sanitize_text_field',
|
53 |
'options' => array(
|
54 |
'slider' => array(
|
55 |
-
'image' =>
|
56 |
'name' => __( 'Slider', 'testimonial-free' ),
|
57 |
'class' => 'free-feature',
|
58 |
),
|
59 |
'grid' => array(
|
60 |
-
'image' =>
|
61 |
'name' => __( 'Grid', 'testimonial-free' ),
|
62 |
'class' => 'pro-feature',
|
63 |
),
|
64 |
'masonry' => array(
|
65 |
-
'image' =>
|
66 |
'name' => __( 'Masonry', 'testimonial-free' ),
|
67 |
'class' => 'pro-feature',
|
68 |
),
|
69 |
'list' => array(
|
70 |
-
'image' =>
|
71 |
'name' => __( 'List', 'testimonial-free' ),
|
72 |
'class' => 'pro-feature',
|
73 |
),
|
74 |
'filter' => array(
|
75 |
-
'image' =>
|
76 |
'name' => __( 'Isotope', 'testimonial-free' ),
|
77 |
'class' => 'pro-feature',
|
78 |
),
|
@@ -130,24 +132,43 @@ SPFTESTIMONIAL::createSection(
|
|
130 |
),
|
131 |
array(
|
132 |
'id' => 'random_order',
|
133 |
-
'
|
|
|
134 |
'attributes' => array( 'disabled' => 'disabled' ),
|
135 |
-
'type' => 'checkbox',
|
136 |
'title' => __( 'Random Order', 'testimonial-free' ),
|
137 |
-
'subtitle' => __( '
|
|
|
|
|
|
|
138 |
'default' => false,
|
139 |
'sanitize' => 'rest_sanitize_boolean',
|
140 |
),
|
141 |
array(
|
142 |
'id' => 'testimonial_order_by',
|
143 |
-
'type' => '
|
144 |
'title' => __( 'Order By', 'testimonial-free' ),
|
145 |
'subtitle' => __( 'Select an order by option.', 'testimonial-free' ),
|
146 |
'options' => array(
|
147 |
-
'ID'
|
148 |
-
|
149 |
-
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
),
|
152 |
'sanitize' => 'sanitize_text_field',
|
153 |
'default' => 'date',
|
@@ -206,52 +227,52 @@ SPFTESTIMONIAL::createSection(
|
|
206 |
'sanitize' => 'sanitize_text_field',
|
207 |
'options' => array(
|
208 |
'theme-one' => array(
|
209 |
-
'image' =>
|
210 |
'name' => __( 'Theme One', 'testimonial-free' ),
|
211 |
),
|
212 |
'theme-two' => array(
|
213 |
-
'image' =>
|
214 |
'name' => __( 'Theme Two', 'testimonial-free' ),
|
215 |
'class' => 'pro-feature',
|
216 |
),
|
217 |
|
218 |
'theme-three' => array(
|
219 |
-
'image' =>
|
220 |
'name' => __( 'Theme Three', 'testimonial-free' ),
|
221 |
'class' => 'pro-feature',
|
222 |
),
|
223 |
'theme-four' => array(
|
224 |
-
'image' =>
|
225 |
'name' => __( 'Theme Four', 'testimonial-free' ),
|
226 |
'class' => 'pro-feature',
|
227 |
),
|
228 |
'theme-five' => array(
|
229 |
-
'image' =>
|
230 |
'name' => __( 'Theme Five', 'testimonial-free' ),
|
231 |
'class' => 'pro-feature',
|
232 |
),
|
233 |
'theme-six' => array(
|
234 |
-
'image' =>
|
235 |
'name' => __( 'Theme Six', 'testimonial-free' ),
|
236 |
'class' => 'pro-feature',
|
237 |
),
|
238 |
'theme-seven' => array(
|
239 |
-
'image' =>
|
240 |
'name' => __( 'Theme Seven', 'testimonial-free' ),
|
241 |
'class' => 'pro-feature',
|
242 |
),
|
243 |
'theme-eight' => array(
|
244 |
-
'image' =>
|
245 |
'name' => __( 'Theme Eight', 'testimonial-free' ),
|
246 |
'class' => 'pro-feature',
|
247 |
),
|
248 |
'theme-nine' => array(
|
249 |
-
'image' =>
|
250 |
'name' => __( 'Theme Nine', 'testimonial-free' ),
|
251 |
'class' => 'pro-feature',
|
252 |
),
|
253 |
'theme-ten' => array(
|
254 |
-
'image' =>
|
255 |
'name' => __( 'Theme Ten', 'testimonial-free' ),
|
256 |
'class' => 'pro-feature',
|
257 |
),
|
@@ -278,7 +299,7 @@ SPFTESTIMONIAL::createSection(
|
|
278 |
'class' => 'pro_only_field',
|
279 |
'attributes' => array( 'disabled' => 'disabled' ),
|
280 |
'type' => 'border',
|
281 |
-
'title' => __( '
|
282 |
'subtitle' => __( 'Set testimonial border.', 'testimonial-free' ),
|
283 |
'sanitize' => 'spftestimonial_sanitize_border_field',
|
284 |
'all' => true,
|
@@ -288,13 +309,22 @@ SPFTESTIMONIAL::createSection(
|
|
288 |
'color' => '#e3e3e3',
|
289 |
),
|
290 |
),
|
291 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
array(
|
293 |
'id' => 'testimonial_bg_three',
|
294 |
'type' => 'color',
|
295 |
'class' => 'pro_only_field',
|
296 |
'attributes' => array( 'disabled' => 'disabled' ),
|
297 |
-
'title' => __( '
|
298 |
'subtitle' => __( 'Set testimonial background color.', 'testimonial-free' ),
|
299 |
'default' => '#e57373',
|
300 |
'sanitize' => 'sanitize_text_field',
|
@@ -322,7 +352,7 @@ SPFTESTIMONIAL::createSection(
|
|
322 |
'type' => 'button_set',
|
323 |
'class' => 'pro_only_field',
|
324 |
'attributes' => array( 'disabled' => 'disabled' ),
|
325 |
-
'title' => __( '
|
326 |
'subtitle' => __( 'Select testimonial info position.', 'testimonial-free' ),
|
327 |
'options' => array(
|
328 |
'top' => __( 'Top', 'testimonial-free' ),
|
@@ -337,7 +367,7 @@ SPFTESTIMONIAL::createSection(
|
|
337 |
'type' => 'border',
|
338 |
'class' => 'pro_only_field',
|
339 |
'attributes' => array( 'disabled' => 'disabled' ),
|
340 |
-
'title' => __( '
|
341 |
'subtitle' => __( 'Set testimonial info border.', 'testimonial-free' ),
|
342 |
'sanitize' => 'spftestimonial_sanitize_border_field',
|
343 |
'all' => true,
|
@@ -352,7 +382,7 @@ SPFTESTIMONIAL::createSection(
|
|
352 |
'type' => 'color',
|
353 |
'class' => 'pro_only_field',
|
354 |
'attributes' => array( 'disabled' => 'disabled' ),
|
355 |
-
'title' => __( '
|
356 |
'subtitle' => __( 'Set background color for testimonial information.', 'testimonial-free' ),
|
357 |
'default' => '#f1e9e0',
|
358 |
'sanitize' => 'sanitize_text_field',
|
@@ -362,7 +392,7 @@ SPFTESTIMONIAL::createSection(
|
|
362 |
'type' => 'spacing',
|
363 |
'class' => 'pro_only_field',
|
364 |
'attributes' => array( 'disabled' => 'disabled' ),
|
365 |
-
'title' => __( 'Inner Padding
|
366 |
'subtitle' => __( 'Set inner padding for testimonial information.', 'testimonial-free' ),
|
367 |
'sanitize' => 'spftestimonial_sanitize_number_array_field',
|
368 |
'default' => array(
|
@@ -649,14 +679,13 @@ SPFTESTIMONIAL::createSection(
|
|
649 |
'sanitize' => 'sanitize_text_field',
|
650 |
),
|
651 |
array(
|
652 |
-
'id'
|
653 |
-
'type'
|
654 |
-
'class'
|
655 |
-
'
|
656 |
-
'
|
657 |
-
'
|
658 |
-
'
|
659 |
-
'default' => 12,
|
660 |
),
|
661 |
array(
|
662 |
'id' => 'load_more_label',
|
@@ -780,16 +809,16 @@ SPFTESTIMONIAL::createSection(
|
|
780 |
'sanitize' => 'sanitize_text_field',
|
781 |
'options' => array(
|
782 |
'three' => array(
|
783 |
-
'image' =>
|
784 |
'name' => __( 'Circle', 'testimonial-free' ),
|
785 |
),
|
786 |
'two' => array(
|
787 |
-
'image' =>
|
788 |
'name' => __( 'Rounded', 'testimonial-free' ),
|
789 |
'class' => 'pro-feature',
|
790 |
),
|
791 |
'one' => array(
|
792 |
-
'image' =>
|
793 |
'name' => __( 'Square', 'testimonial-free' ),
|
794 |
'class' => 'pro-feature',
|
795 |
),
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
12 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die; } // Cannot access directly.
|
16 |
|
54 |
'sanitize' => 'sanitize_text_field',
|
55 |
'options' => array(
|
56 |
'slider' => array(
|
57 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/layout/slider.svg',
|
58 |
'name' => __( 'Slider', 'testimonial-free' ),
|
59 |
'class' => 'free-feature',
|
60 |
),
|
61 |
'grid' => array(
|
62 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/layout/grid.svg',
|
63 |
'name' => __( 'Grid', 'testimonial-free' ),
|
64 |
'class' => 'pro-feature',
|
65 |
),
|
66 |
'masonry' => array(
|
67 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/layout/masonry.svg',
|
68 |
'name' => __( 'Masonry', 'testimonial-free' ),
|
69 |
'class' => 'pro-feature',
|
70 |
),
|
71 |
'list' => array(
|
72 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/layout/list.svg',
|
73 |
'name' => __( 'List', 'testimonial-free' ),
|
74 |
'class' => 'pro-feature',
|
75 |
),
|
76 |
'filter' => array(
|
77 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/layout/filter.svg',
|
78 |
'name' => __( 'Isotope', 'testimonial-free' ),
|
79 |
'class' => 'pro-feature',
|
80 |
),
|
132 |
),
|
133 |
array(
|
134 |
'id' => 'random_order',
|
135 |
+
'type' => 'switcher',
|
136 |
+
'class' => 'pro_switcher',
|
137 |
'attributes' => array( 'disabled' => 'disabled' ),
|
|
|
138 |
'title' => __( 'Random Order', 'testimonial-free' ),
|
139 |
+
'subtitle' => __( 'Enable/Disable to display testimonials in random order.', 'testimonial-free' ),
|
140 |
+
'text_on' => __( 'Enabled', 'testimonial-free' ),
|
141 |
+
'text_off' => __( 'Disabled', 'testimonial-free' ),
|
142 |
+
'text_width' => 95,
|
143 |
'default' => false,
|
144 |
'sanitize' => 'rest_sanitize_boolean',
|
145 |
),
|
146 |
array(
|
147 |
'id' => 'testimonial_order_by',
|
148 |
+
'type' => 'select_f',
|
149 |
'title' => __( 'Order By', 'testimonial-free' ),
|
150 |
'subtitle' => __( 'Select an order by option.', 'testimonial-free' ),
|
151 |
'options' => array(
|
152 |
+
'ID' => array(
|
153 |
+
'name' => __( 'Testimonial ID', 'testimonial-free' ),
|
154 |
+
'pro_only' => false,
|
155 |
+
),
|
156 |
+
'date' => array(
|
157 |
+
'name' => __( 'Date', 'testimonial-free' ),
|
158 |
+
'pro_only' => false,
|
159 |
+
),
|
160 |
+
'title' => array(
|
161 |
+
'name' => __( 'Title', 'testimonial-free' ),
|
162 |
+
'pro_only' => false,
|
163 |
+
),
|
164 |
+
'modified' => array(
|
165 |
+
'name' => __( 'Modified', 'testimonial-free' ),
|
166 |
+
'pro_only' => false,
|
167 |
+
),
|
168 |
+
'menu_order' => array(
|
169 |
+
'name' => __( 'Drag & Drop (Pro)', 'testimonial-free' ),
|
170 |
+
'pro_only' => true,
|
171 |
+
),
|
172 |
),
|
173 |
'sanitize' => 'sanitize_text_field',
|
174 |
'default' => 'date',
|
227 |
'sanitize' => 'sanitize_text_field',
|
228 |
'options' => array(
|
229 |
'theme-one' => array(
|
230 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/1.svg',
|
231 |
'name' => __( 'Theme One', 'testimonial-free' ),
|
232 |
),
|
233 |
'theme-two' => array(
|
234 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/2.svg',
|
235 |
'name' => __( 'Theme Two', 'testimonial-free' ),
|
236 |
'class' => 'pro-feature',
|
237 |
),
|
238 |
|
239 |
'theme-three' => array(
|
240 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/3.svg',
|
241 |
'name' => __( 'Theme Three', 'testimonial-free' ),
|
242 |
'class' => 'pro-feature',
|
243 |
),
|
244 |
'theme-four' => array(
|
245 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/4.svg',
|
246 |
'name' => __( 'Theme Four', 'testimonial-free' ),
|
247 |
'class' => 'pro-feature',
|
248 |
),
|
249 |
'theme-five' => array(
|
250 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/5.svg',
|
251 |
'name' => __( 'Theme Five', 'testimonial-free' ),
|
252 |
'class' => 'pro-feature',
|
253 |
),
|
254 |
'theme-six' => array(
|
255 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/6.svg',
|
256 |
'name' => __( 'Theme Six', 'testimonial-free' ),
|
257 |
'class' => 'pro-feature',
|
258 |
),
|
259 |
'theme-seven' => array(
|
260 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/7.svg',
|
261 |
'name' => __( 'Theme Seven', 'testimonial-free' ),
|
262 |
'class' => 'pro-feature',
|
263 |
),
|
264 |
'theme-eight' => array(
|
265 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/8.svg',
|
266 |
'name' => __( 'Theme Eight', 'testimonial-free' ),
|
267 |
'class' => 'pro-feature',
|
268 |
),
|
269 |
'theme-nine' => array(
|
270 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/9.svg',
|
271 |
'name' => __( 'Theme Nine', 'testimonial-free' ),
|
272 |
'class' => 'pro-feature',
|
273 |
),
|
274 |
'theme-ten' => array(
|
275 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/10.svg',
|
276 |
'name' => __( 'Theme Ten', 'testimonial-free' ),
|
277 |
'class' => 'pro-feature',
|
278 |
),
|
299 |
'class' => 'pro_only_field',
|
300 |
'attributes' => array( 'disabled' => 'disabled' ),
|
301 |
'type' => 'border',
|
302 |
+
'title' => __( 'Border', 'testimonial-free' ),
|
303 |
'subtitle' => __( 'Set testimonial border.', 'testimonial-free' ),
|
304 |
'sanitize' => 'spftestimonial_sanitize_border_field',
|
305 |
'all' => true,
|
309 |
'color' => '#e3e3e3',
|
310 |
),
|
311 |
),
|
312 |
+
array(
|
313 |
+
'id' => 'testimonial_border_radius_for_thumbnail',
|
314 |
+
'class' => 'pro_only_field',
|
315 |
+
'type' => 'spinner',
|
316 |
+
'title' => __( 'Border Radius', 'testimonial-free' ),
|
317 |
+
'subtitle' => __( 'Set border radius for testimonial.', 'testimonial-free' ),
|
318 |
+
'unit' => __( 'px', 'testimonial-free' ),
|
319 |
+
'default' => 0,
|
320 |
+
'sanitize' => 'spftestimonial_sanitize_number_field',
|
321 |
+
),
|
322 |
array(
|
323 |
'id' => 'testimonial_bg_three',
|
324 |
'type' => 'color',
|
325 |
'class' => 'pro_only_field',
|
326 |
'attributes' => array( 'disabled' => 'disabled' ),
|
327 |
+
'title' => __( 'Background', 'testimonial-free' ),
|
328 |
'subtitle' => __( 'Set testimonial background color.', 'testimonial-free' ),
|
329 |
'default' => '#e57373',
|
330 |
'sanitize' => 'sanitize_text_field',
|
352 |
'type' => 'button_set',
|
353 |
'class' => 'pro_only_field',
|
354 |
'attributes' => array( 'disabled' => 'disabled' ),
|
355 |
+
'title' => __( 'Info Position', 'testimonial-free' ),
|
356 |
'subtitle' => __( 'Select testimonial info position.', 'testimonial-free' ),
|
357 |
'options' => array(
|
358 |
'top' => __( 'Top', 'testimonial-free' ),
|
367 |
'type' => 'border',
|
368 |
'class' => 'pro_only_field',
|
369 |
'attributes' => array( 'disabled' => 'disabled' ),
|
370 |
+
'title' => __( 'Info Border', 'testimonial-free' ),
|
371 |
'subtitle' => __( 'Set testimonial info border.', 'testimonial-free' ),
|
372 |
'sanitize' => 'spftestimonial_sanitize_border_field',
|
373 |
'all' => true,
|
382 |
'type' => 'color',
|
383 |
'class' => 'pro_only_field',
|
384 |
'attributes' => array( 'disabled' => 'disabled' ),
|
385 |
+
'title' => __( 'Testimonial Info Background', 'testimonial-free' ),
|
386 |
'subtitle' => __( 'Set background color for testimonial information.', 'testimonial-free' ),
|
387 |
'default' => '#f1e9e0',
|
388 |
'sanitize' => 'sanitize_text_field',
|
392 |
'type' => 'spacing',
|
393 |
'class' => 'pro_only_field',
|
394 |
'attributes' => array( 'disabled' => 'disabled' ),
|
395 |
+
'title' => __( 'Testimonial Info Inner Padding', 'testimonial-free' ),
|
396 |
'subtitle' => __( 'Set inner padding for testimonial information.', 'testimonial-free' ),
|
397 |
'sanitize' => 'spftestimonial_sanitize_number_array_field',
|
398 |
'default' => array(
|
679 |
'sanitize' => 'sanitize_text_field',
|
680 |
),
|
681 |
array(
|
682 |
+
'id' => 'tp_per_page',
|
683 |
+
'type' => 'spinner',
|
684 |
+
'class' => 'pro_only_field',
|
685 |
+
'title' => __( 'Testimonial(s) to Show Per Page', 'testimonial-free' ),
|
686 |
+
'subtitle' => __( 'Set number of testimonial(s) to show per page.', 'testimonial-free' ),
|
687 |
+
'sanitize' => 'spftestimonial_sanitize_number_field',
|
688 |
+
'default' => 12,
|
|
|
689 |
),
|
690 |
array(
|
691 |
'id' => 'load_more_label',
|
809 |
'sanitize' => 'sanitize_text_field',
|
810 |
'options' => array(
|
811 |
'three' => array(
|
812 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/image-shape/circle.svg',
|
813 |
'name' => __( 'Circle', 'testimonial-free' ),
|
814 |
),
|
815 |
'two' => array(
|
816 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/image-shape/rounded.svg',
|
817 |
'name' => __( 'Rounded', 'testimonial-free' ),
|
818 |
'class' => 'pro-feature',
|
819 |
),
|
820 |
'one' => array(
|
821 |
+
'image' => SP_TFREE_URL . 'Admin/Views/Framework/assets/images/image-shape/square.svg',
|
822 |
'name' => __( 'Square', 'testimonial-free' ),
|
823 |
'class' => 'pro-feature',
|
824 |
),
|
admin/views/testimonial-settings.php → src/Admin/Views/Framework/configs/settings.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die; } // Cannot access directly.
|
14 |
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
12 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die; } // Cannot access directly.
|
16 |
|
admin/views/testimonial-tools.php → src/Admin/Views/Framework/configs/tools.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die; } // Cannot access directly.
|
14 |
//
|
9 |
* @subpackage Testimonial_free/admin/views
|
10 |
*/
|
11 |
|
12 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die; } // Cannot access directly.
|
16 |
//
|
{admin/views/framework → src/Admin/Views/Framework}/fields/accordion/accordion.php
RENAMED
@@ -10,8 +10,10 @@
|
|
10 |
*/
|
11 |
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
die;
|
|
|
14 |
|
|
|
15 |
if ( ! class_exists( 'SPFTESTIMONIAL_Field_accordion' ) ) {
|
16 |
/**
|
17 |
*
|
10 |
*/
|
11 |
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
+
die;
|
14 |
+
} // Cannot access directly.
|
15 |
|
16 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
17 |
if ( ! class_exists( 'SPFTESTIMONIAL_Field_accordion' ) ) {
|
18 |
/**
|
19 |
*
|
{admin/views/framework → src/Admin/Views/Framework}/fields/border/border.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/button_set/button_set.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/checkbox/checkbox.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/code_editor/code_editor.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/color/color.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/color_group/color_group.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/column/column.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/content/content.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/custom_import/custom_import.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/custom_size/custom_size.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/fieldset/fieldset.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/form_upper_section/form_upper_section.php
RENAMED
@@ -43,14 +43,14 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Field_form_upper_section' ) ) {
|
|
43 |
* @return void
|
44 |
*/
|
45 |
public function render() { ?>
|
46 |
-
<div class="sp-
|
47 |
-
<div class="sp-
|
48 |
-
<h1 class="sp-
|
49 |
-
<p class="sp-
|
50 |
|
51 |
<div class="feature-section three-col">
|
52 |
<div class="col">
|
53 |
-
<div class="sp-
|
54 |
<h3><span class="dashicons dashicons-yes"></span>Collect New Testimonials Automatically</h3>
|
55 |
<h3><span class="dashicons dashicons-yes"></span>Create Unlimited Real Testimonial Forms</h3>
|
56 |
<h3><span class="dashicons dashicons-yes"></span>Email Notifications for New Testimonials</h3>
|
@@ -58,7 +58,7 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Field_form_upper_section' ) ) {
|
|
58 |
</div>
|
59 |
</div>
|
60 |
<div class="col">
|
61 |
-
<div class="sp-
|
62 |
<h3><span class="dashicons dashicons-yes"></span>Protect your Form against Spam</h3>
|
63 |
<h3><span class="dashicons dashicons-yes"></span>Drag-and-Drop Real Testimonials Form Builder</h3>
|
64 |
<h3><span class="dashicons dashicons-yes"></span>5+ Beautiful Layouts to Display Testimonials</h3>
|
@@ -66,7 +66,7 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Field_form_upper_section' ) ) {
|
|
66 |
</div>
|
67 |
</div>
|
68 |
<div class="col">
|
69 |
-
<div class="sp-
|
70 |
<h3><span class="dashicons dashicons-yes"></span>Collect and Display Video Testimonials </h3>
|
71 |
<h3><span class="dashicons dashicons-yes"></span>Add Testimonial Forms To Any Page or Post</h3>
|
72 |
<h3><span class="dashicons dashicons-yes"></span>Rich Snippets or Structured Data compatible</h3>
|
@@ -74,8 +74,8 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Field_form_upper_section' ) ) {
|
|
74 |
</div>
|
75 |
</div>
|
76 |
</div>
|
77 |
-
<p class="sp-
|
78 |
-
<p class="sp-
|
79 |
|
80 |
</div>
|
81 |
</div>
|
43 |
* @return void
|
44 |
*/
|
45 |
public function render() { ?>
|
46 |
+
<div class="sp-testimonial-help sp-testimonial-upgrade sp-testimonial-upper-box-area">
|
47 |
+
<div class="sp-testimonial-features">
|
48 |
+
<h1 class="sp-testimonial-text-center">Easily Collect and Display Testimonials on Your Website, Boost Sales!</h1>
|
49 |
+
<p class="sp-testimonial-text-center sp-testimonial-subtitle"> With this Real Testimonials Pro, you can quickly create multiple forms to collect Testimonials or Feedbacks from your website visitors and customers.</p>
|
50 |
|
51 |
<div class="feature-section three-col">
|
52 |
<div class="col">
|
53 |
+
<div class="sp-testimonial-feature">
|
54 |
<h3><span class="dashicons dashicons-yes"></span>Collect New Testimonials Automatically</h3>
|
55 |
<h3><span class="dashicons dashicons-yes"></span>Create Unlimited Real Testimonial Forms</h3>
|
56 |
<h3><span class="dashicons dashicons-yes"></span>Email Notifications for New Testimonials</h3>
|
58 |
</div>
|
59 |
</div>
|
60 |
<div class="col">
|
61 |
+
<div class="sp-testimonial-feature">
|
62 |
<h3><span class="dashicons dashicons-yes"></span>Protect your Form against Spam</h3>
|
63 |
<h3><span class="dashicons dashicons-yes"></span>Drag-and-Drop Real Testimonials Form Builder</h3>
|
64 |
<h3><span class="dashicons dashicons-yes"></span>5+ Beautiful Layouts to Display Testimonials</h3>
|
66 |
</div>
|
67 |
</div>
|
68 |
<div class="col">
|
69 |
+
<div class="sp-testimonial-feature">
|
70 |
<h3><span class="dashicons dashicons-yes"></span>Collect and Display Video Testimonials </h3>
|
71 |
<h3><span class="dashicons dashicons-yes"></span>Add Testimonial Forms To Any Page or Post</h3>
|
72 |
<h3><span class="dashicons dashicons-yes"></span>Rich Snippets or Structured Data compatible</h3>
|
74 |
</div>
|
75 |
</div>
|
76 |
</div>
|
77 |
+
<p class="sp-testimonial-text-center sp-testimonial-subtitle">Get access to all robust features and start collecting fresh testimonials right now.</p>
|
78 |
+
<p class="sp-testimonial-text-center"><a class="sp-testimonial-upgrade-btn" target="_blank" href="https://shapedplugin.com/real-testimonials/?ref=1">Upgrade To Real Testimonials Pro Now!</a></p>
|
79 |
|
80 |
</div>
|
81 |
</div>
|
{admin/views/framework → src/Admin/Views/Framework}/fields/heading/heading.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/icon_select/icon_select.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/image_select/image_select.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/image_sizes/image_sizes.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/index.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/notice/notice.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/preview/preview.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/radio/radio.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/rating/rating.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/repeater/repeater.php
RENAMED
@@ -10,8 +10,10 @@
|
|
10 |
*/
|
11 |
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
die;
|
|
|
14 |
|
|
|
15 |
if ( ! class_exists( 'SPFTESTIMONIAL_Field_repeater' ) ) {
|
16 |
/**
|
17 |
*
|
@@ -20,7 +22,6 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Field_repeater' ) ) {
|
|
20 |
* @since 1.0.0
|
21 |
* @version 1.0.0
|
22 |
*/
|
23 |
-
|
24 |
class SPFTESTIMONIAL_Field_repeater extends SPFTESTIMONIAL_Fields {
|
25 |
|
26 |
/**
|
10 |
*/
|
11 |
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
+
die;
|
14 |
+
} // Cannot access directly.
|
15 |
|
16 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
17 |
if ( ! class_exists( 'SPFTESTIMONIAL_Field_repeater' ) ) {
|
18 |
/**
|
19 |
*
|
22 |
* @since 1.0.0
|
23 |
* @version 1.0.0
|
24 |
*/
|
|
|
25 |
class SPFTESTIMONIAL_Field_repeater extends SPFTESTIMONIAL_Fields {
|
26 |
|
27 |
/**
|
{admin/views/framework → src/Admin/Views/Framework}/fields/select/select.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/select_f/select_f.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/shortcode/shortcode.php
RENAMED
@@ -46,7 +46,7 @@ if ( ! class_exists( 'SPFTESTIMONIAL_Field_shortcode' ) ) {
|
|
46 |
public function render() {
|
47 |
|
48 |
$post_id = get_the_ID();
|
49 |
-
echo ( ! empty( $post_id ) ) ? '<div class="spftestimonial-scode-wrap-side"><p>To display your testimonial form, add the following shortcode into your post, custom post types, page, widget or block editor. If adding the form to your theme files, additionally include the surrounding PHP code, <a href="https://docs.shapedplugin.com/docs/testimonial-pro/create-a-front-end-forma-z/" target="_blank">see how</a>.</p><span class="spftestimonial-shortcode-selectable">[sp_testimonial_form id="' . esc_attr( $post_id ) . '"]</span></div><div class="
|
50 |
}
|
51 |
|
52 |
}
|
46 |
public function render() {
|
47 |
|
48 |
$post_id = get_the_ID();
|
49 |
+
echo ( ! empty( $post_id ) ) ? '<div class="spftestimonial-scode-wrap-side"><p>To display your testimonial form, add the following shortcode into your post, custom post types, page, widget or block editor. If adding the form to your theme files, additionally include the surrounding PHP code, <a href="https://docs.shapedplugin.com/docs/testimonial-pro/create-a-front-end-forma-z/" target="_blank">see how</a>.</p><span class="spftestimonial-shortcode-selectable">[sp_testimonial_form id="' . esc_attr( $post_id ) . '"]</span></div><div class="sp-testimonial-after-copy-text"><i class="fa fa-check-circle"></i> Shortcode Copied to Clipboard!</div>' : '';
|
50 |
}
|
51 |
|
52 |
}
|
{admin/views/framework → src/Admin/Views/Framework}/fields/sortable/sortable.php
RENAMED
@@ -10,7 +10,10 @@
|
|
10 |
*/
|
11 |
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
die;
|
|
|
|
|
|
|
14 |
|
15 |
if ( ! class_exists( 'SPFTESTIMONIAL_Field_sortable' ) ) {
|
16 |
/**
|
10 |
*/
|
11 |
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
+
die;
|
14 |
+
} // Cannot access directly.
|
15 |
+
|
16 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
17 |
|
18 |
if ( ! class_exists( 'SPFTESTIMONIAL_Field_sortable' ) ) {
|
19 |
/**
|
{admin/views/framework → src/Admin/Views/Framework}/fields/sorter/sorter.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/spacing/spacing.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/spinner/spinner.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/subheading/subheading.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/submessage/submessage.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/switcher/switcher.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/text/text.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/fields/typography/typography.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_free/framework
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
die; } // Cannot access directly.
|
14 |
|
9 |
* @subpackage Testimonial_free/framework
|
10 |
*/
|
11 |
|
12 |
+
use ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
die; } // Cannot access directly.
|
16 |
|
{admin/views/framework → src/Admin/Views/Framework}/functions/actions.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/functions/helpers.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/functions/sanitize.php
RENAMED
File without changes
|
{admin/views/framework → src/Admin/Views/Framework}/functions/validate.php
RENAMED
File without changes
|
admin/views/notices/review.php → src/Admin/Views/Notices/Testimonial_Review.php
RENAMED
@@ -10,6 +10,8 @@
|
|
10 |
* @author ShapedPlugin<support@shapedplugin.com>
|
11 |
*/
|
12 |
|
|
|
|
|
13 |
/**
|
14 |
* Admin review notice class.
|
15 |
*/
|
@@ -60,16 +62,16 @@ class Testimonial_Review {
|
|
60 |
return;
|
61 |
}
|
62 |
?>
|
63 |
-
<div id="sp-
|
64 |
-
<div class="sp-
|
65 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
66 |
</div>
|
67 |
-
<div class="sp-
|
68 |
<h3>Enjoying <strong>Real Testimonials</strong>?</h3>
|
69 |
<p>Hope that you had a good experience with the <strong>Real Testimonials</strong>. Would you please show us a little love by rating us in the <a href="https://wordpress.org/support/plugin/testimonial-free/reviews/?filter=5#new-post" target="_blank"><strong>WordPress.org</strong></a>?
|
70 |
Just a minute to rate it. Thank you!</p>
|
71 |
|
72 |
-
<p class="sp-
|
73 |
<a href="https://wordpress.org/support/plugin/testimonial-free/reviews/?filter=5#new-post" target="_blank" class="button button-primary notice-dismissed rate-testimonial">Rate Real Testimonials</a>
|
74 |
<a href="#" class="notice-dismissed remind-me-later"><span class="dashicons dashicons-clock"></span>Nope, maybe later
|
75 |
</a>
|
@@ -81,7 +83,7 @@ class Testimonial_Review {
|
|
81 |
<script type='text/javascript'>
|
82 |
|
83 |
jQuery(document).ready( function($) {
|
84 |
-
$(document).on('click', '#sp-
|
85 |
if ( $(this).hasClass('rate-testimonial') ) {
|
86 |
var notice_dismissed_value = "1";
|
87 |
}
|
@@ -100,7 +102,7 @@ class Testimonial_Review {
|
|
100 |
nonce: '<?php echo esc_attr( wp_create_nonce( 'sp_tfree_review_notice' ) ); ?>'
|
101 |
});
|
102 |
|
103 |
-
$('#sp-
|
104 |
});
|
105 |
});
|
106 |
|
@@ -121,7 +123,8 @@ class Testimonial_Review {
|
|
121 |
if ( ! isset( $post_data['nonce'] ) || ! wp_verify_nonce( sanitize_key( $post_data['nonce'] ), 'sp_tfree_review_notice' ) ) {
|
122 |
return;
|
123 |
}
|
124 |
-
|
|
|
125 |
if ( ! $review ) {
|
126 |
$review = array();
|
127 |
}
|
@@ -143,5 +146,3 @@ class Testimonial_Review {
|
|
143 |
die;
|
144 |
}
|
145 |
}
|
146 |
-
|
147 |
-
new Testimonial_Review();
|
10 |
* @author ShapedPlugin<support@shapedplugin.com>
|
11 |
*/
|
12 |
|
13 |
+
namespace ShapedPlugin\TestimonialFree\Admin\Views\Notices;
|
14 |
+
|
15 |
/**
|
16 |
* Admin review notice class.
|
17 |
*/
|
62 |
return;
|
63 |
}
|
64 |
?>
|
65 |
+
<div id="sp-testimonial-review-notice" class="sp-testimonial-review-notice">
|
66 |
+
<div class="sp-testimonial-plugin-icon">
|
67 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/testimonial-icon1.svg' ); ?>" alt="Testimonial">
|
68 |
</div>
|
69 |
+
<div class="sp-testimonial-notice-text">
|
70 |
<h3>Enjoying <strong>Real Testimonials</strong>?</h3>
|
71 |
<p>Hope that you had a good experience with the <strong>Real Testimonials</strong>. Would you please show us a little love by rating us in the <a href="https://wordpress.org/support/plugin/testimonial-free/reviews/?filter=5#new-post" target="_blank"><strong>WordPress.org</strong></a>?
|
72 |
Just a minute to rate it. Thank you!</p>
|
73 |
|
74 |
+
<p class="sp-testimonial-review-actions">
|
75 |
<a href="https://wordpress.org/support/plugin/testimonial-free/reviews/?filter=5#new-post" target="_blank" class="button button-primary notice-dismissed rate-testimonial">Rate Real Testimonials</a>
|
76 |
<a href="#" class="notice-dismissed remind-me-later"><span class="dashicons dashicons-clock"></span>Nope, maybe later
|
77 |
</a>
|
83 |
<script type='text/javascript'>
|
84 |
|
85 |
jQuery(document).ready( function($) {
|
86 |
+
$(document).on('click', '#sp-testimonial-review-notice.sp-testimonial-review-notice .notice-dismissed', function( event ) {
|
87 |
if ( $(this).hasClass('rate-testimonial') ) {
|
88 |
var notice_dismissed_value = "1";
|
89 |
}
|
102 |
nonce: '<?php echo esc_attr( wp_create_nonce( 'sp_tfree_review_notice' ) ); ?>'
|
103 |
});
|
104 |
|
105 |
+
$('#sp-testimonial-review-notice.sp-testimonial-review-notice').hide();
|
106 |
});
|
107 |
});
|
108 |
|
123 |
if ( ! isset( $post_data['nonce'] ) || ! wp_verify_nonce( sanitize_key( $post_data['nonce'] ), 'sp_tfree_review_notice' ) ) {
|
124 |
return;
|
125 |
}
|
126 |
+
// Variable default value.
|
127 |
+
$review = get_option( 'sp_testimonial_review_notice_dismiss' );
|
128 |
if ( ! $review ) {
|
129 |
$review = array();
|
130 |
}
|
146 |
die;
|
147 |
}
|
148 |
}
|
|
|
|
admin/views/widget.php → src/Admin/Views/TFREE_Widget.php
RENAMED
@@ -9,22 +9,14 @@
|
|
9 |
* @subpackage Testimonial_free/admin
|
10 |
*/
|
11 |
|
12 |
-
|
13 |
-
* Real Testimonials Widget register
|
14 |
-
*
|
15 |
-
* @since 2.0
|
16 |
-
*/
|
17 |
-
function sp_testimonial_free_widget() {
|
18 |
-
register_widget( 'TFREE_Widget_Content' );
|
19 |
-
}
|
20 |
-
add_action( 'widgets_init', 'sp_testimonial_free_widget' );
|
21 |
|
22 |
/**
|
23 |
* Real Testimonials Widget class
|
24 |
*
|
25 |
* @since 2.0
|
26 |
*/
|
27 |
-
class
|
28 |
|
29 |
/**
|
30 |
* Constructor of the class.
|
@@ -33,7 +25,7 @@ class TFREE_Widget_Content extends WP_Widget {
|
|
33 |
*/
|
34 |
public function __construct() {
|
35 |
parent::__construct(
|
36 |
-
'
|
37 |
__( 'Real Testimonials', 'testimonial-free' ),
|
38 |
array(
|
39 |
'description' => __( 'Display Real Testimonials.', 'testimonial-free' ),
|
9 |
* @subpackage Testimonial_free/admin
|
10 |
*/
|
11 |
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Admin\Views;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
/**
|
15 |
* Real Testimonials Widget class
|
16 |
*
|
17 |
* @since 2.0
|
18 |
*/
|
19 |
+
class TFREE_Widget extends \WP_Widget {
|
20 |
|
21 |
/**
|
22 |
* Constructor of the class.
|
25 |
*/
|
26 |
public function __construct() {
|
27 |
parent::__construct(
|
28 |
+
'TFREE_Widget',
|
29 |
__( 'Real Testimonials', 'testimonial-free' ),
|
30 |
array(
|
31 |
'description' => __( 'Display Real Testimonials.', 'testimonial-free' ),
|
src/Admin/assets/css/admin.css
ADDED
@@ -0,0 +1,757 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.text-center {
|
2 |
+
text-align: center;
|
3 |
+
}
|
4 |
+
|
5 |
+
/**
|
6 |
+
* 01. 01. Header
|
7 |
+
*/
|
8 |
+
.spt-main-class .spftestimonial-header-inner h1 {
|
9 |
+
color: #444444;
|
10 |
+
font-size: 22px;
|
11 |
+
font-weight: 600;
|
12 |
+
}
|
13 |
+
|
14 |
+
/**
|
15 |
+
* 01. 02. Sticky
|
16 |
+
*/
|
17 |
+
.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner {
|
18 |
+
z-index: 20;
|
19 |
+
}
|
20 |
+
|
21 |
+
/**
|
22 |
+
* 01. 04. Navigation
|
23 |
+
*/
|
24 |
+
|
25 |
+
.spt-main-class .spftestimonial-metabox .spftestimonial-nav {
|
26 |
+
position: inherit;
|
27 |
+
float: none;
|
28 |
+
width: 100%;
|
29 |
+
background: #f1f1f1;
|
30 |
+
}
|
31 |
+
|
32 |
+
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li {
|
33 |
+
display: inline-block;
|
34 |
+
}
|
35 |
+
|
36 |
+
.spt-main-class .spftestimonial-nav ul li a {
|
37 |
+
text-transform: uppercase;
|
38 |
+
font-weight: 600;
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* 01. 06. Content
|
43 |
+
*/
|
44 |
+
.spt-main-class .spftestimonial-metabox .spftestimonial-content {
|
45 |
+
margin-left: 0;
|
46 |
+
}
|
47 |
+
|
48 |
+
/**
|
49 |
+
* 01. 12. Metabox
|
50 |
+
*/
|
51 |
+
.spt-main-class .spftestimonial-metabox {
|
52 |
+
margin: -6px -12px -12px -12px;
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* 02. Themes
|
57 |
+
*/
|
58 |
+
/**
|
59 |
+
* 02. 01. Theme Dark
|
60 |
+
*/
|
61 |
+
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a {
|
62 |
+
background-color: #1595ce;
|
63 |
+
font-size: 14px;
|
64 |
+
padding: 15px 15px;
|
65 |
+
line-height: 1.4;
|
66 |
+
color: #ffffff;
|
67 |
+
border-right: 1px solid #E2E2E1;
|
68 |
+
font-weight: 600;
|
69 |
+
border-bottom: 0;
|
70 |
+
}
|
71 |
+
|
72 |
+
#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a {
|
73 |
+
font-size: 13px;
|
74 |
+
text-transform: uppercase;
|
75 |
+
padding: 16px 15px;
|
76 |
+
}
|
77 |
+
|
78 |
+
.spt-main-class .spftestimonial-nav ul li .spftestimonial-active:after {
|
79 |
+
display: none;
|
80 |
+
}
|
81 |
+
|
82 |
+
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active {
|
83 |
+
color: #444;
|
84 |
+
background-color: #fff;
|
85 |
+
box-shadow: 0 3px 0 0 #1595ce inset;
|
86 |
+
}
|
87 |
+
|
88 |
+
.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active .fa {
|
89 |
+
color: #1595ce;
|
90 |
+
}
|
91 |
+
|
92 |
+
.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background {
|
93 |
+
display: none;
|
94 |
+
}
|
95 |
+
|
96 |
+
|
97 |
+
/**
|
98 |
+
* 02. 02. Theme Light
|
99 |
+
*/
|
100 |
+
.spt-main-class.spftestimonial-theme-light .spftestimonial-container {
|
101 |
+
border: 1px solid #ccd0d4;
|
102 |
+
}
|
103 |
+
|
104 |
+
.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner {
|
105 |
+
border-bottom: 1px solid #ccd0d4;
|
106 |
+
}
|
107 |
+
|
108 |
+
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a {
|
109 |
+
color: #464646;
|
110 |
+
background-color: #f5f5f5;
|
111 |
+
border-top: 0;
|
112 |
+
border-right: 0;
|
113 |
+
border-bottom: 1px solid #ccd0d4 !important;
|
114 |
+
margin-bottom: 0;
|
115 |
+
padding: 15px 15px;
|
116 |
+
}
|
117 |
+
|
118 |
+
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active {
|
119 |
+
box-shadow: 3px 0 0 0 #1595ce inset;
|
120 |
+
background-color: #ffffff;
|
121 |
+
color: #1595ce;
|
122 |
+
}
|
123 |
+
|
124 |
+
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a {
|
125 |
+
background-color: #f8fdff;
|
126 |
+
padding: 13px 15px 13px 24px;
|
127 |
+
}
|
128 |
+
|
129 |
+
.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background {
|
130 |
+
border-right: 1px solid #ccd0d4;
|
131 |
+
}
|
132 |
+
|
133 |
+
/**
|
134 |
+
* 08. Helper
|
135 |
+
*/
|
136 |
+
.spt-main-class .spftestimonial-desc-text,
|
137 |
+
.spt-main-class .spftestimonial-text-subtitle {
|
138 |
+
font-style: italic;
|
139 |
+
}
|
140 |
+
|
141 |
+
/*ShortCode Area*/
|
142 |
+
.spftestimonial-metabox .sp-tpro-banner {
|
143 |
+
background-color: #0a73a7;
|
144 |
+
padding: 22px 28px;
|
145 |
+
overflow: hidden;
|
146 |
+
background-image: -webkit-gradient(linear, left top, right top, from(#0a73a7), to(#1595ce));
|
147 |
+
background-image: linear-gradient(to right, #0a73a7, #1595ce);
|
148 |
+
}
|
149 |
+
|
150 |
+
.spftestimonial-metabox .sp-tpro-logo {
|
151 |
+
float: left;
|
152 |
+
}
|
153 |
+
|
154 |
+
.spftestimonial-metabox .sp-tpro-logo img {
|
155 |
+
display: block;
|
156 |
+
width: 182px;
|
157 |
+
}
|
158 |
+
|
159 |
+
.spftestimonial-metabox .sp-tpro-short-links {
|
160 |
+
float: right;
|
161 |
+
line-height: 30px;
|
162 |
+
}
|
163 |
+
|
164 |
+
.spftestimonial-metabox .sp-tpro-short-links a {
|
165 |
+
color: #ffffff;
|
166 |
+
text-decoration: none;
|
167 |
+
margin-left: 16px;
|
168 |
+
font-size: 15px;
|
169 |
+
font-weight: 600;
|
170 |
+
}
|
171 |
+
|
172 |
+
.spftestimonial-metabox .sp-tpro-short-links a i.fa {
|
173 |
+
margin-right: 7px;
|
174 |
+
}
|
175 |
+
|
176 |
+
.sp-testimonial-shortcode-divider {
|
177 |
+
height: 20px;
|
178 |
+
background: #f1f1f1;
|
179 |
+
border-top: 1px solid #dddddd;
|
180 |
+
}
|
181 |
+
|
182 |
+
.spftestimonial-metabox .tpro_shortcode {
|
183 |
+
display: inline-flex;
|
184 |
+
width: 100%;
|
185 |
+
background-color: #fffdfd;
|
186 |
+
}
|
187 |
+
|
188 |
+
.tpro_shortcode .tpro-col-lg-6 {
|
189 |
+
border-right: 1px solid #dddddd;
|
190 |
+
width: 50%;
|
191 |
+
}
|
192 |
+
|
193 |
+
.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content {
|
194 |
+
padding: 42px 16px;
|
195 |
+
}
|
196 |
+
|
197 |
+
.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content {
|
198 |
+
padding: 42px 16px 0 16px;
|
199 |
+
}
|
200 |
+
|
201 |
+
.shortcode.column-shortcode .sp_tfree_input {
|
202 |
+
border: 1px solid #cbcbcb;
|
203 |
+
cursor: pointer;
|
204 |
+
}
|
205 |
+
|
206 |
+
.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code {
|
207 |
+
background-color: rgba(82, 179, 217, .11);
|
208 |
+
padding: 10px 15px 10px 30px;
|
209 |
+
display: inline-block;
|
210 |
+
border: 1px solid #d1e4ef;
|
211 |
+
border-radius: 2px;
|
212 |
+
cursor: pointer;
|
213 |
+
background-image: url(../images/copy.svg);
|
214 |
+
background-size: 16px;
|
215 |
+
background-position: 10px center;
|
216 |
+
background-repeat: no-repeat;
|
217 |
+
}
|
218 |
+
|
219 |
+
.tpro_shortcode .tpro-col-lg-6:last-child {
|
220 |
+
border-right: none;
|
221 |
+
}
|
222 |
+
|
223 |
+
.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title {
|
224 |
+
font-weight: 500;
|
225 |
+
font-size: 17px !important;
|
226 |
+
padding-top: 0 !important;
|
227 |
+
color: #4c5158;
|
228 |
+
}
|
229 |
+
|
230 |
+
.tpro_shortcode .tpro-col-lg-6 p {
|
231 |
+
margin-top: 2px;
|
232 |
+
color: #4c5158;
|
233 |
+
}
|
234 |
+
|
235 |
+
.tpro_shortcode .tpro-col-lg-6 .back-image {
|
236 |
+
max-width: 100%;
|
237 |
+
display: block;
|
238 |
+
margin: 0 auto;
|
239 |
+
}
|
240 |
+
|
241 |
+
.tpro_shortcode .tpro-col-lg-6 textarea {
|
242 |
+
border-color: transparent;
|
243 |
+
box-shadow: none;
|
244 |
+
background-color: #eee;
|
245 |
+
padding: 4px 6px;
|
246 |
+
resize: none;
|
247 |
+
text-align: center;
|
248 |
+
max-width: 100%;
|
249 |
+
}
|
250 |
+
|
251 |
+
.post-type-spt_shortcodes td.shortcode.column-shortcode input {
|
252 |
+
border-width: 1px;
|
253 |
+
border-style: solid;
|
254 |
+
border-color: rgb(203, 203, 203);
|
255 |
+
cursor: pointer;
|
256 |
+
}
|
257 |
+
|
258 |
+
/* Responsive */
|
259 |
+
|
260 |
+
@media (max-width: 1200px) {
|
261 |
+
|
262 |
+
.spftestimonial-metabox .tpro_shortcode {
|
263 |
+
display: block;
|
264 |
+
}
|
265 |
+
|
266 |
+
.tpro_shortcode .tpro-col-lg-6 {
|
267 |
+
width: 100%;
|
268 |
+
display: block;
|
269 |
+
border-bottom: 1px solid #ddd;
|
270 |
+
border-right: none;
|
271 |
+
}
|
272 |
+
|
273 |
+
.tpro_shortcode .tpro-col-lg-6:last-child {
|
274 |
+
padding-bottom: 42px;
|
275 |
+
}
|
276 |
+
}
|
277 |
+
|
278 |
+
|
279 |
+
|
280 |
+
/* Custom */
|
281 |
+
.sp-testimonial-shortcode {
|
282 |
+
background-color: rgba(82, 179, 217, 0.11);
|
283 |
+
padding: 8px 12px;
|
284 |
+
display: inline-block;
|
285 |
+
margin-left: 8px;
|
286 |
+
}
|
287 |
+
|
288 |
+
.selectable {
|
289 |
+
-webkit-touch-callout: all;
|
290 |
+
-webkit-user-select: all;
|
291 |
+
-khtml-user-select: all;
|
292 |
+
-moz-user-select: all;
|
293 |
+
-ms-user-select: all;
|
294 |
+
user-select: all;
|
295 |
+
}
|
296 |
+
|
297 |
+
.js #sp_tpro_meta_options.postbox .postbox-header,
|
298 |
+
.js #sp_tpro_shortcode_options.postbox .postbox-header,
|
299 |
+
.js #sp_tpro_shortcode_options.postbox .handlediv,
|
300 |
+
.js #sp_tpro_shortcode_options.postbox .hndle,
|
301 |
+
.js #sp_tpro_meta_options.postbox .handlediv,
|
302 |
+
.js #sp_tpro_meta_options.postbox .hndle {
|
303 |
+
display: none;
|
304 |
+
}
|
305 |
+
|
306 |
+
.sp-testimonial-font-load .spftestimonial--switcher,
|
307 |
+
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,
|
308 |
+
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,
|
309 |
+
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,
|
310 |
+
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top,
|
311 |
+
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,
|
312 |
+
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,
|
313 |
+
.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,
|
314 |
+
.spftestimonial-field-typography .spftestimonial--block .chosen-container,
|
315 |
+
.sp-testimonial-font-color .wp-picker-container {
|
316 |
+
pointer-events: none;
|
317 |
+
opacity: .6;
|
318 |
+
}
|
319 |
+
|
320 |
+
/* Help Page */
|
321 |
+
.sp-testimonial-text-center {
|
322 |
+
text-align: center;
|
323 |
+
}
|
324 |
+
|
325 |
+
div.sp-testimonial-help .wp-badge {
|
326 |
+
border: none;
|
327 |
+
background: url(../images/icon-256.png) right no-repeat;
|
328 |
+
background-size: 128px 128px;
|
329 |
+
box-shadow: none;
|
330 |
+
height: auto;
|
331 |
+
padding-top: 128px;
|
332 |
+
}
|
333 |
+
|
334 |
+
.about-wrap.sp-testimonial-help [class$="-col"] {
|
335 |
+
display: flex;
|
336 |
+
justify-content: space-between;
|
337 |
+
flex-wrap: wrap;
|
338 |
+
}
|
339 |
+
|
340 |
+
.about-wrap [class$="-col"] {
|
341 |
+
display: flex;
|
342 |
+
justify-content: space-between;
|
343 |
+
flex-wrap: wrap;
|
344 |
+
}
|
345 |
+
|
346 |
+
.sp-testimonial-help [class$="-col"] .col {
|
347 |
+
flex: 1;
|
348 |
+
align-self: flex-start;
|
349 |
+
}
|
350 |
+
|
351 |
+
.sp-testimonial-help .col {
|
352 |
+
margin-top: 40px;
|
353 |
+
}
|
354 |
+
|
355 |
+
.sp-testimonial-help.about-wrap [class$="-col"] .col+.col {
|
356 |
+
margin-left: 0;
|
357 |
+
}
|
358 |
+
|
359 |
+
.sp-testimonial-help.about-wrap .help-section[class$="-col"] .col+.col {
|
360 |
+
margin-left: 20px;
|
361 |
+
}
|
362 |
+
|
363 |
+
div.sp-testimonial-help .headline-feature.feature-video {
|
364 |
+
position: relative;
|
365 |
+
margin: 40px 0;
|
366 |
+
padding-bottom: 56.25%;
|
367 |
+
width: 100%;
|
368 |
+
max-width: 100%;
|
369 |
+
height: 0;
|
370 |
+
text-align: center;
|
371 |
+
}
|
372 |
+
|
373 |
+
div.sp-testimonial-help .headline-feature.feature-video iframe {
|
374 |
+
position: absolute;
|
375 |
+
top: 0;
|
376 |
+
left: 0;
|
377 |
+
width: 100%;
|
378 |
+
height: 100%;
|
379 |
+
}
|
380 |
+
|
381 |
+
div.sp-testimonial-help .feature-section .sp-testimonial-feature {
|
382 |
+
background-color: #fff;
|
383 |
+
padding: 20px 20px;
|
384 |
+
border: 1px solid #ddd;
|
385 |
+
}
|
386 |
+
|
387 |
+
div.sp-testimonial-help .feature-section .sp-testimonial-feature h3 {
|
388 |
+
font-size: 16px;
|
389 |
+
margin-top: 18px;
|
390 |
+
}
|
391 |
+
|
392 |
+
div.sp-testimonial-help .feature-section i.sp-testimonial-font-icon {
|
393 |
+
font-size: 30px;
|
394 |
+
display: block;
|
395 |
+
color: #1595ce;
|
396 |
+
}
|
397 |
+
|
398 |
+
div.sp-testimonial-help .sp-testimonial-features .feature-section span.dashicons {
|
399 |
+
font-size: 22px;
|
400 |
+
color: #fff;
|
401 |
+
background-color: #1595ce;
|
402 |
+
width: 28px;
|
403 |
+
height: 28px;
|
404 |
+
line-height: 28px;
|
405 |
+
border-radius: 50%;
|
406 |
+
margin-right: 10px;
|
407 |
+
}
|
408 |
+
|
409 |
+
div.sp-testimonial-help .sp-testimonial-features .feature-section {
|
410 |
+
margin-bottom: 40px;
|
411 |
+
margin-left: -2%;
|
412 |
+
}
|
413 |
+
|
414 |
+
div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature h3 {
|
415 |
+
margin-top: 0;
|
416 |
+
}
|
417 |
+
|
418 |
+
div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature p {
|
419 |
+
margin-bottom: 0;
|
420 |
+
}
|
421 |
+
|
422 |
+
div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature {
|
423 |
+
box-shadow: 0 0 10px 0 #dddddd;
|
424 |
+
margin: 4px;
|
425 |
+
border: 0 solid;
|
426 |
+
}
|
427 |
+
|
428 |
+
div.sp-testimonial-help .sp-testimonial-features .feature-section.three-col .col {
|
429 |
+
min-width: 31.3%;
|
430 |
+
max-width: 31.3%;
|
431 |
+
margin-top: 20px;
|
432 |
+
padding-left: 2%;
|
433 |
+
}
|
434 |
+
|
435 |
+
div.sp-testimonial-help .sp-testimonial-features .sp-testimonial-subtitle {
|
436 |
+
font-size: 1.2em;
|
437 |
+
margin-bottom: 26px;
|
438 |
+
}
|
439 |
+
|
440 |
+
div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer {
|
441 |
+
position: fixed;
|
442 |
+
bottom: 0;
|
443 |
+
background: #fff;
|
444 |
+
width: calc(100% - 195px);
|
445 |
+
z-index: 9;
|
446 |
+
margin-left: -25px;
|
447 |
+
text-align: center;
|
448 |
+
border: 1px solid #dfdfdf;
|
449 |
+
padding: 15px 0;
|
450 |
+
border-bottom: none;
|
451 |
+
}
|
452 |
+
|
453 |
+
div.sp-testimonial-help .sp-testimonial-features h2 {
|
454 |
+
font-size: 2.5em;
|
455 |
+
font-weight: 400;
|
456 |
+
}
|
457 |
+
|
458 |
+
div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer h3 {
|
459 |
+
margin-top: 17px;
|
460 |
+
margin-bottom: 20px;
|
461 |
+
}
|
462 |
+
|
463 |
+
div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer a.button {
|
464 |
+
margin: 0 8px;
|
465 |
+
}
|
466 |
+
|
467 |
+
/* Upgrade Page */
|
468 |
+
.sp-testimonial-upgrade>h1 {
|
469 |
+
font-size: 2.5em;
|
470 |
+
color: #444;
|
471 |
+
font-weight: 300;
|
472 |
+
}
|
473 |
+
|
474 |
+
.sp-testimonial-upgrade>h1 span {
|
475 |
+
font-weight: 400;
|
476 |
+
}
|
477 |
+
|
478 |
+
.sp-testimonial-upgrade .about-text {
|
479 |
+
margin-bottom: 0;
|
480 |
+
}
|
481 |
+
|
482 |
+
.sp-testimonial-upgrade ul {
|
483 |
+
margin-top: 0;
|
484 |
+
}
|
485 |
+
|
486 |
+
.about-wrap.sp-testimonial-upgrade .about-text {
|
487 |
+
min-height: 60px;
|
488 |
+
}
|
489 |
+
|
490 |
+
.about-wrap.sp-testimonial-upgrade hr {
|
491 |
+
order: 0;
|
492 |
+
height: 0;
|
493 |
+
margin: 0;
|
494 |
+
border-top: 1px solid rgba(0, 0, 0, .1);
|
495 |
+
}
|
496 |
+
|
497 |
+
.sp-testimonial-upgrade .sp-testimonial-features .feature-section {
|
498 |
+
margin-bottom: 40px;
|
499 |
+
display: flex;
|
500 |
+
flex-wrap: wrap;
|
501 |
+
}
|
502 |
+
|
503 |
+
.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature h3 {
|
504 |
+
margin-top: 0;
|
505 |
+
}
|
506 |
+
|
507 |
+
.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature p {
|
508 |
+
margin-bottom: 0;
|
509 |
+
}
|
510 |
+
|
511 |
+
.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature {
|
512 |
+
box-shadow: 0 0 10px 0 #ddd;
|
513 |
+
margin: 4px;
|
514 |
+
border: 0 solid;
|
515 |
+
}
|
516 |
+
|
517 |
+
.sp-testimonial-upgrade .sp-testimonial-features .feature-section.three-col .col {
|
518 |
+
min-width: 32%;
|
519 |
+
max-width: 32%;
|
520 |
+
margin-top: 20px;
|
521 |
+
display: flex;
|
522 |
+
align-self: auto;
|
523 |
+
}
|
524 |
+
|
525 |
+
.sp-testimonial-upgrade .sp-testimonial-features .sp-testimonial-subtitle {
|
526 |
+
font-size: 1.2em;
|
527 |
+
margin-bottom: 26px;
|
528 |
+
}
|
529 |
+
|
530 |
+
.sp-testimonial-upgrade .sp-testimonial-features h2,
|
531 |
+
.sp-testimonial-upgrade .sp-tfree-promo-video-title {
|
532 |
+
font-size: 2.2em;
|
533 |
+
font-weight: 400;
|
534 |
+
}
|
535 |
+
|
536 |
+
.sp-testimonial-join-community h2 {
|
537 |
+
font-size: 2em;
|
538 |
+
}
|
539 |
+
|
540 |
+
.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer h3 {
|
541 |
+
margin-top: 17px;
|
542 |
+
margin-bottom: 20px;
|
543 |
+
}
|
544 |
+
|
545 |
+
.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer a.button {
|
546 |
+
margin: 0 8px;
|
547 |
+
}
|
548 |
+
|
549 |
+
.sp-testimonial-upgrade .sp-testimonial-upgrade-btn {
|
550 |
+
display: inline-block;
|
551 |
+
padding: 0 20px 0 0;
|
552 |
+
}
|
553 |
+
|
554 |
+
.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a,
|
555 |
+
.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn {
|
556 |
+
text-decoration: none;
|
557 |
+
text-align: center;
|
558 |
+
font-size: 16px;
|
559 |
+
}
|
560 |
+
|
561 |
+
.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a:focus {
|
562 |
+
outline: 0;
|
563 |
+
}
|
564 |
+
|
565 |
+
.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn,
|
566 |
+
.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:first-child a {
|
567 |
+
background: #1595ce;
|
568 |
+
padding: 0 15px;
|
569 |
+
line-height: 46px;
|
570 |
+
display: block;
|
571 |
+
color: #fff;
|
572 |
+
border-radius: 3px;
|
573 |
+
font-weight: 500;
|
574 |
+
}
|
575 |
+
|
576 |
+
.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a {
|
577 |
+
text-decoration: underline;
|
578 |
+
}
|
579 |
+
|
580 |
+
.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn a i {
|
581 |
+
margin-left: 4px;
|
582 |
+
}
|
583 |
+
|
584 |
+
.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a i {
|
585 |
+
font-size: 14px;
|
586 |
+
}
|
587 |
+
|
588 |
+
.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn {
|
589 |
+
display: inline-block;
|
590 |
+
}
|
591 |
+
|
592 |
+
/* Review notice */
|
593 |
+
#sp-testimonial-review-notice {
|
594 |
+
padding: 15px 15px 15px 0;
|
595 |
+
background-color: #fff;
|
596 |
+
border-radius: 3px;
|
597 |
+
margin: 20px 20px 0 0;
|
598 |
+
margin-bottom: 20px;
|
599 |
+
}
|
600 |
+
|
601 |
+
#sp-testimonial-review-notice .sp-testimonial-plugin-icon {
|
602 |
+
float: left;
|
603 |
+
line-height: 90px;
|
604 |
+
text-align: center;
|
605 |
+
width: 100px;
|
606 |
+
height: 100px;
|
607 |
+
margin-right: 15px;
|
608 |
+
}
|
609 |
+
|
610 |
+
#sp-testimonial-review-notice .sp-testimonial-plugin-icon img {
|
611 |
+
max-width: 83px;
|
612 |
+
vertical-align: middle;
|
613 |
+
}
|
614 |
+
|
615 |
+
#sp-testimonial-review-notice .sp-testimonial-notice-text {
|
616 |
+
overflow: hidden;
|
617 |
+
}
|
618 |
+
|
619 |
+
#sp-testimonial-review-notice .sp-testimonial-notice-text h3 {
|
620 |
+
font-size: 24px;
|
621 |
+
margin: 0 0 5px;
|
622 |
+
font-weight: 400;
|
623 |
+
line-height: 1;
|
624 |
+
}
|
625 |
+
|
626 |
+
#sp-testimonial-review-notice .sp-testimonial-notice-text p {
|
627 |
+
margin: 10px 0 10px 0;
|
628 |
+
font-size: 13px;
|
629 |
+
}
|
630 |
+
|
631 |
+
#sp-testimonial-review-notice .sp-testimonial-notice-text p.sp-testimonial-review-actions {
|
632 |
+
margin: 10px 0 2px 0;
|
633 |
+
}
|
634 |
+
|
635 |
+
#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a {
|
636 |
+
text-decoration: none;
|
637 |
+
margin-right: 8px;
|
638 |
+
color: #63a37b;
|
639 |
+
display: inline-block;
|
640 |
+
position: relative;
|
641 |
+
}
|
642 |
+
|
643 |
+
#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a span {
|
644 |
+
padding-right: 2px;
|
645 |
+
}
|
646 |
+
|
647 |
+
#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a.button {
|
648 |
+
color: #fff;
|
649 |
+
}
|
650 |
+
|
651 |
+
/* Responsive CSS */
|
652 |
+
@media (max-width: 960px) {
|
653 |
+
div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer {
|
654 |
+
width: calc(100%);
|
655 |
+
}
|
656 |
+
}
|
657 |
+
|
658 |
+
@media screen and (max-width: 782px) {
|
659 |
+
div.sp-testimonial-help .three-col .col {
|
660 |
+
min-width: 48% !important;
|
661 |
+
max-width: 48% !important;
|
662 |
+
margin-left: 0 !important;
|
663 |
+
}
|
664 |
+
}
|
665 |
+
|
666 |
+
@media (max-width: 500px) {
|
667 |
+
div.sp-testimonial-help .wp-badge {
|
668 |
+
background-position-x: center;
|
669 |
+
}
|
670 |
+
|
671 |
+
div.sp-testimonial-help .three-col .col {
|
672 |
+
min-width: 100% !important;
|
673 |
+
max-width: 100% !important;
|
674 |
+
margin-top: 1em;
|
675 |
+
}
|
676 |
+
}
|
677 |
+
|
678 |
+
/* Shortcode column border css */
|
679 |
+
.post-type-spt_shortcodes td.shortcode.column-shortcode input {
|
680 |
+
border: 1px solid #cbcbcb;
|
681 |
+
}
|
682 |
+
|
683 |
+
/* Shortcode */
|
684 |
+
.sp-testimonial-copy-btn {
|
685 |
+
display: inline-block;
|
686 |
+
height: 15px;
|
687 |
+
line-height: 38px;
|
688 |
+
margin-bottom: -4px;
|
689 |
+
margin-right: -30px;
|
690 |
+
cursor: pointer;
|
691 |
+
position: relative;
|
692 |
+
z-index: 99;
|
693 |
+
}
|
694 |
+
|
695 |
+
.sp-testimonial-after-copy-text {
|
696 |
+
bottom: 0;
|
697 |
+
opacity: 0;
|
698 |
+
z-index: 9999999;
|
699 |
+
position: fixed;
|
700 |
+
width: 230px;
|
701 |
+
left: 180px;
|
702 |
+
text-align: center;
|
703 |
+
padding: 15px 15px;
|
704 |
+
line-height: 15px;
|
705 |
+
color: #fff;
|
706 |
+
border-radius: 3px;
|
707 |
+
background: #32373C;
|
708 |
+
border: 1px solid #32373C;
|
709 |
+
}
|
710 |
+
|
711 |
+
.sp-testimonial-after-copy-text .fa-check-circle {
|
712 |
+
font-size: 14px;
|
713 |
+
margin-right: 2px;
|
714 |
+
color: #5db62e
|
715 |
+
}
|
716 |
+
|
717 |
+
/* Live preview */
|
718 |
+
.post-type-spt_shortcodes #sp-testimonial-show-preview {
|
719 |
+
position: fixed;
|
720 |
+
right: 144px;
|
721 |
+
bottom: 30px;
|
722 |
+
z-index: 1001;
|
723 |
+
width: 155px;
|
724 |
+
text-align: center;
|
725 |
+
padding: 10px 0px;
|
726 |
+
background: #54b154;
|
727 |
+
color: #fff;
|
728 |
+
border-radius: 3px;
|
729 |
+
text-decoration: none;
|
730 |
+
display: block;
|
731 |
+
font-weight: 500;
|
732 |
+
text-transform: uppercase;
|
733 |
+
letter-spacing: 0.2px;
|
734 |
+
margin: 0;
|
735 |
+
box-sizing: border-box;
|
736 |
+
border-color: #44a944;
|
737 |
+
overflow: hidden;
|
738 |
+
}
|
739 |
+
|
740 |
+
.post-type-spt_testimonial #sp-testimonial-show-preview,
|
741 |
+
.post-type-spt_testimonial_form #sp-testimonial-show-preview {
|
742 |
+
display: none;
|
743 |
+
}
|
744 |
+
|
745 |
+
div#sp_tpro_live_preview {
|
746 |
+
padding: 0;
|
747 |
+
margin: -7px -13px 6px;
|
748 |
+
}
|
749 |
+
|
750 |
+
#sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header {
|
751 |
+
display: block;
|
752 |
+
}
|
753 |
+
|
754 |
+
.sp-testimonial-column-image {
|
755 |
+
width: 50px;
|
756 |
+
height: auto;
|
757 |
+
}
|
src/Admin/assets/css/admin.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.text-center{text-align:center}.spt-main-class .spftestimonial-header-inner h1{color:#444;font-size:22px;font-weight:600}.spt-main-class .spftestimonial-sticky .spftestimonial-header-inner{z-index:20}.spt-main-class .spftestimonial-metabox .spftestimonial-nav{position:inherit;float:none;width:100%;background:#f1f1f1}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li{display:inline-block}.spt-main-class .spftestimonial-nav ul li a{text-transform:uppercase;font-weight:600}.spt-main-class .spftestimonial-metabox .spftestimonial-content{margin-left:0}.spt-main-class .spftestimonial-metabox{margin:-6px -12px -12px -12px}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li a{background-color:#1595ce;font-size:14px;padding:15px 15px;line-height:1.4;color:#fff;border-right:1px solid #e2e2e1;font-weight:600;border-bottom:0}#sp_tpro_shortcode_options_new .spftestimonial-metabox .spftestimonial-nav ul li a{font-size:13px;text-transform:uppercase;padding:16px 15px}.spt-main-class .spftestimonial-nav ul li .spftestimonial-active:after{display:none}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active{color:#444;background-color:#fff;box-shadow:0 3px 0 0 #1595ce inset}.spt-main-class .spftestimonial-metabox .spftestimonial-nav ul li .spftestimonial-active .fa{color:#1595ce}.spt-main-class .spftestimonial-metabox .spftestimonial-nav-background{display:none}.spt-main-class.spftestimonial-theme-light .spftestimonial-container{border:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-header-inner{border-bottom:1px solid #ccd0d4}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li a{color:#464646;background-color:#f5f5f5;border-top:0;border-right:0;border-bottom:1px solid #ccd0d4!important;margin-bottom:0;padding:15px 15px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul li .spftestimonial-active{box-shadow:3px 0 0 0 #1595ce inset;background-color:#fff;color:#1595ce}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav ul ul li a{background-color:#f8fdff;padding:13px 15px 13px 24px}.spt-main-class.spftestimonial-theme-light .spftestimonial-nav-background{border-right:1px solid #ccd0d4}.spt-main-class .spftestimonial-desc-text,.spt-main-class .spftestimonial-text-subtitle{font-style:italic}.spftestimonial-metabox .sp-tpro-banner{background-color:#0a73a7;padding:22px 28px;overflow:hidden;background-image:-webkit-gradient(linear,left top,right top,from(#0a73a7),to(#1595ce));background-image:linear-gradient(to right,#0a73a7,#1595ce)}.spftestimonial-metabox .sp-tpro-logo{float:left}.spftestimonial-metabox .sp-tpro-logo img{display:block;width:182px}.spftestimonial-metabox .sp-tpro-short-links{float:right;line-height:30px}.spftestimonial-metabox .sp-tpro-short-links a{color:#fff;text-decoration:none;margin-left:16px;font-size:15px;font-weight:600}.spftestimonial-metabox .sp-tpro-short-links a i.fa{margin-right:7px}.sp-testimonial-shortcode-divider{height:20px;background:#f1f1f1;border-top:1px solid #ddd}.spftestimonial-metabox .tpro_shortcode{display:inline-flex;width:100%;background-color:#fffdfd}.tpro_shortcode .tpro-col-lg-6{border-right:1px solid #ddd;width:50%}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content{padding:42px 16px}.tpro_shortcode .tpro-col-lg-6:last-child .tpro_shortcode_content{padding:42px 16px 0 16px}.shortcode.column-shortcode .sp_tfree_input{border:1px solid #cbcbcb;cursor:pointer}.tpro_shortcode .tpro-col-lg-6 .tpro_shortcode_content .tpro-sc-code{background-color:rgba(82,179,217,.11);padding:10px 15px 10px 30px;display:inline-block;border:1px solid #d1e4ef;border-radius:2px;cursor:pointer;background-image:url(../images/copy.svg);background-size:16px;background-position:10px center;background-repeat:no-repeat}.tpro_shortcode .tpro-col-lg-6:last-child{border-right:none}.tpro_shortcode .tpro-col-lg-6 .tpro-shortcode-title{font-weight:500;font-size:17px!important;padding-top:0!important;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 p{margin-top:2px;color:#4c5158}.tpro_shortcode .tpro-col-lg-6 .back-image{max-width:100%;display:block;margin:0 auto}.tpro_shortcode .tpro-col-lg-6 textarea{border-color:transparent;box-shadow:none;background-color:#eee;padding:4px 6px;resize:none;text-align:center;max-width:100%}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border-width:1px;border-style:solid;border-color:#cbcbcb;cursor:pointer}@media (max-width:1200px){.spftestimonial-metabox .tpro_shortcode{display:block}.tpro_shortcode .tpro-col-lg-6{width:100%;display:block;border-bottom:1px solid #ddd;border-right:none}.tpro_shortcode .tpro-col-lg-6:last-child{padding-bottom:42px}}.sp-testimonial-shortcode{background-color:rgba(82,179,217,.11);padding:8px 12px;display:inline-block;margin-left:8px}.selectable{-webkit-touch-callout:all;-webkit-user-select:all;-khtml-user-select:all;-moz-user-select:all;-ms-user-select:all;user-select:all}.js #sp_tpro_meta_options.postbox .handlediv,.js #sp_tpro_meta_options.postbox .hndle,.js #sp_tpro_meta_options.postbox .postbox-header,.js #sp_tpro_shortcode_options.postbox .handlediv,.js #sp_tpro_shortcode_options.postbox .hndle,.js #sp_tpro_shortcode_options.postbox .postbox-header{display:none}.sp-testimonial-font-color .wp-picker-container,.sp-testimonial-font-load .spftestimonial--switcher,.spftestimonial-field-typography .spftestimonial--block .chosen-container,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--font-size,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--letter-spacing,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--line-height,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-bottom,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-left,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-right,.spftestimonial-field-typography .spftestimonial--block input.spftestimonial--margin-top{pointer-events:none;opacity:.6}.sp-testimonial-text-center{text-align:center}div.sp-testimonial-help .wp-badge{border:none;background:url(../images/icon-256.png) right no-repeat;background-size:128px 128px;box-shadow:none;height:auto;padding-top:128px}.about-wrap.sp-testimonial-help [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.about-wrap [class$="-col"]{display:flex;justify-content:space-between;flex-wrap:wrap}.sp-testimonial-help [class$="-col"] .col{flex:1;align-self:flex-start}.sp-testimonial-help .col{margin-top:40px}.sp-testimonial-help.about-wrap [class$="-col"] .col+.col{margin-left:0}.sp-testimonial-help.about-wrap .help-section[class$="-col"] .col+.col{margin-left:20px}div.sp-testimonial-help .headline-feature.feature-video{position:relative;margin:40px 0;padding-bottom:56.25%;width:100%;max-width:100%;height:0;text-align:center}div.sp-testimonial-help .headline-feature.feature-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}div.sp-testimonial-help .feature-section .sp-testimonial-feature{background-color:#fff;padding:20px 20px;border:1px solid #ddd}div.sp-testimonial-help .feature-section .sp-testimonial-feature h3{font-size:16px;margin-top:18px}div.sp-testimonial-help .feature-section i.sp-testimonial-font-icon{font-size:30px;display:block;color:#1595ce}div.sp-testimonial-help .sp-testimonial-features .feature-section span.dashicons{font-size:22px;color:#fff;background-color:#1595ce;width:28px;height:28px;line-height:28px;border-radius:50%;margin-right:10px}div.sp-testimonial-help .sp-testimonial-features .feature-section{margin-bottom:40px;margin-left:-2%}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature h3{margin-top:0}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature p{margin-bottom:0}div.sp-testimonial-help .sp-testimonial-features .feature-section .sp-testimonial-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}div.sp-testimonial-help .sp-testimonial-features .feature-section.three-col .col{min-width:31.3%;max-width:31.3%;margin-top:20px;padding-left:2%}div.sp-testimonial-help .sp-testimonial-features .sp-testimonial-subtitle{font-size:1.2em;margin-bottom:26px}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer{position:fixed;bottom:0;background:#fff;width:calc(100% - 195px);z-index:9;margin-left:-25px;text-align:center;border:1px solid #dfdfdf;padding:15px 0;border-bottom:none}div.sp-testimonial-help .sp-testimonial-features h2{font-size:2.5em;font-weight:400}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer a.button{margin:0 8px}.sp-testimonial-upgrade>h1{font-size:2.5em;color:#444;font-weight:300}.sp-testimonial-upgrade>h1 span{font-weight:400}.sp-testimonial-upgrade .about-text{margin-bottom:0}.sp-testimonial-upgrade ul{margin-top:0}.about-wrap.sp-testimonial-upgrade .about-text{min-height:60px}.about-wrap.sp-testimonial-upgrade hr{order:0;height:0;margin:0;border-top:1px solid rgba(0,0,0,.1)}.sp-testimonial-upgrade .sp-testimonial-features .feature-section{margin-bottom:40px;display:flex;flex-wrap:wrap}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature h3{margin-top:0}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature p{margin-bottom:0}.sp-testimonial-upgrade .sp-testimonial-features .feature-section .sp-testimonial-feature{box-shadow:0 0 10px 0 #ddd;margin:4px;border:0 solid}.sp-testimonial-upgrade .sp-testimonial-features .feature-section.three-col .col{min-width:32%;max-width:32%;margin-top:20px;display:flex;align-self:auto}.sp-testimonial-upgrade .sp-testimonial-features .sp-testimonial-subtitle{font-size:1.2em;margin-bottom:26px}.sp-testimonial-upgrade .sp-testimonial-features h2,.sp-testimonial-upgrade .sp-tfree-promo-video-title{font-size:2.2em;font-weight:400}.sp-testimonial-join-community h2{font-size:2em}.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer h3{margin-top:17px;margin-bottom:20px}.sp-testimonial-upgrade .sp-testimonial-upgrade-sticky-footer a.button{margin:0 8px}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn{display:inline-block;padding:0 20px 0 0}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a,.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn{text-decoration:none;text-align:center;font-size:16px}.sp-testimonial-upgrade .sp-testimonial-upgrade-btn a:focus{outline:0}.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn,.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:first-child a{background:#1595ce;padding:0 15px;line-height:46px;display:block;color:#fff;border-radius:3px;font-weight:500}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a{text-decoration:underline}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn a i{margin-left:4px}.sp-testimonial-upgrade ul li.sp-testimonial-upgrade-btn:last-child a i{font-size:14px}.sp-testimonial-upgrade a.sp-testimonial-upgrade-btn{display:inline-block}#sp-testimonial-review-notice{padding:15px 15px 15px 0;background-color:#fff;border-radius:3px;margin:20px 20px 0 0;margin-bottom:20px}#sp-testimonial-review-notice .sp-testimonial-plugin-icon{float:left;line-height:90px;text-align:center;width:100px;height:100px;margin-right:15px}#sp-testimonial-review-notice .sp-testimonial-plugin-icon img{max-width:83px;vertical-align:middle}#sp-testimonial-review-notice .sp-testimonial-notice-text{overflow:hidden}#sp-testimonial-review-notice .sp-testimonial-notice-text h3{font-size:24px;margin:0 0 5px;font-weight:400;line-height:1}#sp-testimonial-review-notice .sp-testimonial-notice-text p{margin:10px 0 10px 0;font-size:13px}#sp-testimonial-review-notice .sp-testimonial-notice-text p.sp-testimonial-review-actions{margin:10px 0 2px 0}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a{text-decoration:none;margin-right:8px;color:#63a37b;display:inline-block;position:relative}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a span{padding-right:2px}#sp-testimonial-review-notice .sp-testimonial-notice-text .sp-testimonial-review-actions a.button{color:#fff}@media (max-width:960px){div.sp-testimonial-help .sp-testimonial-upgrade-sticky-footer{width:calc(100%)}}@media screen and (max-width:782px){div.sp-testimonial-help .three-col .col{min-width:48%!important;max-width:48%!important;margin-left:0!important}}@media (max-width:500px){div.sp-testimonial-help .wp-badge{background-position-x:center}div.sp-testimonial-help .three-col .col{min-width:100%!important;max-width:100%!important;margin-top:1em}}.post-type-spt_shortcodes td.shortcode.column-shortcode input{border:1px solid #cbcbcb}.sp-testimonial-copy-btn{display:inline-block;height:15px;line-height:38px;margin-bottom:-4px;margin-right:-30px;cursor:pointer;position:relative;z-index:99}.sp-testimonial-after-copy-text{bottom:0;opacity:0;z-index:9999999;position:fixed;width:230px;left:180px;text-align:center;padding:15px 15px;line-height:15px;color:#fff;border-radius:3px;background:#32373c;border:1px solid #32373c}.sp-testimonial-after-copy-text .fa-check-circle{font-size:14px;margin-right:2px;color:#5db62e}.post-type-spt_shortcodes #sp-testimonial-show-preview{position:fixed;right:144px;bottom:30px;z-index:1001;width:155px;text-align:center;padding:10px 0;background:#54b154;color:#fff;border-radius:3px;text-decoration:none;display:block;font-weight:500;text-transform:uppercase;letter-spacing:.2px;margin:0;box-sizing:border-box;border-color:#44a944;overflow:hidden}.post-type-spt_testimonial #sp-testimonial-show-preview,.post-type-spt_testimonial_form #sp-testimonial-show-preview{display:none}div#sp_tpro_live_preview{padding:0;margin:-7px -13px 6px}#sp_tpro_shortcode_options.postbox #sp_tpro_live_preview .postbox-header{display:block}.sp-testimonial-column-image{width:50px;height:auto}
|
{admin → src/Admin}/assets/css/help-page.css
RENAMED
File without changes
|
{admin → src/Admin}/assets/css/help-page.min.css
RENAMED
File without changes
|
{admin → src/Admin}/assets/css/modal-video.min.css
RENAMED
File without changes
|
{admin → src/Admin}/assets/css/premium-page.css
RENAMED
File without changes
|
{admin → src/Admin}/assets/css/premium-page.min.css
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/Testimonial-icon.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/Testimonial-logo-2.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/ali_senejani.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/checkmark.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/copy.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/feature-icon.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/header-img.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/icon-256.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/icon-32.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/icon.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/import-export.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/ajax-pagination.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/automatic-updates.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/display-options.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/drag-and-drop.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/feature-icon.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/filter.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/layouts.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/premium-vector-1.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/premium-vector-2.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/premium-vector-3.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/read-more.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/rich-snippets.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/submission-forms.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/support.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/testimonial-form.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/themes.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/thumbnail-slider.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/translation-ready.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/premium/video-testimonial.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/real-testimonials-logo.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/sirpa.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/star.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/testimonial-icon1.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/testimonial-logo.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/images/testimonial-logo.svg
RENAMED
File without changes
|
{admin → src/Admin}/assets/js/icon-32.png
RENAMED
File without changes
|
{admin → src/Admin}/assets/js/jquery-modal-video.min.js
RENAMED
File without changes
|
{admin → src/Admin}/assets/js/mce-button.js
RENAMED
File without changes
|
{admin → src/Admin}/assets/js/mce-button.min.js
RENAMED
File without changes
|
{admin → src/Admin}/assets/js/script.js
RENAMED
File without changes
|
{admin → src/Admin}/assets/js/script.min.js
RENAMED
File without changes
|
{includes → src/Admin}/updates/update-2.1.5.php
RENAMED
File without changes
|
{includes → src/Admin}/updates/update-2.2.10.php
RENAMED
File without changes
|
{includes → src/Admin}/updates/update-2.2.5.php
RENAMED
File without changes
|
src/Frontend/Frontend.php
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* The Frontend class to manage all output and enqueue Scripts and styles files of the plugin.
|
4 |
+
*
|
5 |
+
* @link http://shapedplugin.com
|
6 |
+
* @since 2.0.0
|
7 |
+
*
|
8 |
+
* @package Testimonial_free.
|
9 |
+
* @subpackage Testimonial_free/Frontend.
|
10 |
+
*/
|
11 |
+
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Frontend;
|
13 |
+
|
14 |
+
use ShapedPlugin\TestimonialFree\Frontend\Helper;
|
15 |
+
|
16 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
17 |
+
exit; } // if direct access
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Frontend class
|
21 |
+
*/
|
22 |
+
class Frontend {
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Single instance of the class.
|
26 |
+
*
|
27 |
+
* @var null
|
28 |
+
* @since 1.0
|
29 |
+
*/
|
30 |
+
protected static $_instance = null;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Frontend Instance.
|
34 |
+
*
|
35 |
+
* @return Frontend
|
36 |
+
* @since 1.0
|
37 |
+
*/
|
38 |
+
public static function instance() {
|
39 |
+
if ( is_null( self::$_instance ) ) {
|
40 |
+
self::$_instance = new self();
|
41 |
+
}
|
42 |
+
|
43 |
+
return self::$_instance;
|
44 |
+
}
|
45 |
+
|
46 |
+
/**
|
47 |
+
* Initialize the class
|
48 |
+
*/
|
49 |
+
public function __construct() {
|
50 |
+
|
51 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'front_scripts' ) );
|
52 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_front_scripts' ) );
|
53 |
+
add_shortcode( 'sp_testimonial', array( $this, 'shortcode_render' ) );
|
54 |
+
}
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Shorcode render.
|
58 |
+
*
|
59 |
+
* @param array $attributes Schortcode attributes.
|
60 |
+
*
|
61 |
+
* @return string
|
62 |
+
* @since 2.0
|
63 |
+
*/
|
64 |
+
public function shortcode_render( $attributes ) {
|
65 |
+
|
66 |
+
shortcode_atts(
|
67 |
+
array(
|
68 |
+
'id' => '',
|
69 |
+
),
|
70 |
+
$attributes,
|
71 |
+
'sp_testimonial'
|
72 |
+
);
|
73 |
+
|
74 |
+
$post_id = $attributes['id'];
|
75 |
+
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
76 |
+
$shortcode_data = get_post_meta( $post_id, 'sp_tpro_shortcode_options', true );
|
77 |
+
$main_section_title = get_the_title( $post_id );
|
78 |
+
|
79 |
+
ob_start();
|
80 |
+
Helper::sp_testimonial_html_show( $post_id, $setting_options, $shortcode_data, $main_section_title );
|
81 |
+
return Helper::minify_output( ob_get_clean() );
|
82 |
+
}
|
83 |
+
|
84 |
+
/**
|
85 |
+
* Plugin Scripts and Styles
|
86 |
+
*/
|
87 |
+
public function front_scripts() {
|
88 |
+
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
89 |
+
$dequeue_slick_css = isset( $setting_options['tf_dequeue_slick_css'] ) ? $setting_options['tf_dequeue_slick_css'] : true;
|
90 |
+
$dequeue_fa_css = isset( $setting_options['tf_dequeue_fa_css'] ) ? $setting_options['tf_dequeue_fa_css'] : true;
|
91 |
+
$custom_css = isset( $setting_options['custom_css'] ) ? $setting_options['custom_css'] : '';
|
92 |
+
// CSS Files.
|
93 |
+
if ( $dequeue_slick_css ) {
|
94 |
+
wp_enqueue_style( 'tfree-slick', SP_TFREE_URL . 'Frontend/assets/css/slick.min.css', array(), SP_TFREE_VERSION );
|
95 |
+
}
|
96 |
+
if ( $dequeue_fa_css ) {
|
97 |
+
wp_enqueue_style( 'tfree-font-awesome', SP_TFREE_URL . 'Frontend/assets/css/font-awesome.min.css', array(), SP_TFREE_VERSION );
|
98 |
+
}
|
99 |
+
wp_enqueue_style( 'tfree-deprecated-style', SP_TFREE_URL . 'Frontend/assets/css/deprecated-style.min.css', array(), SP_TFREE_VERSION );
|
100 |
+
wp_enqueue_style( 'tfree-style', SP_TFREE_URL . 'Frontend/assets/css/style.min.css', array(), SP_TFREE_VERSION );
|
101 |
+
|
102 |
+
$sptp_posts = new \WP_Query(
|
103 |
+
array(
|
104 |
+
'post_type' => 'spt_shortcodes',
|
105 |
+
'post_status' => 'publish',
|
106 |
+
'posts_per_page' => 1000,
|
107 |
+
)
|
108 |
+
);
|
109 |
+
$post_ids = wp_list_pluck( $sptp_posts->posts, 'ID' );
|
110 |
+
$outline = '';
|
111 |
+
foreach ( $post_ids as $post_id ) {
|
112 |
+
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
113 |
+
$shortcode_data = get_post_meta( $post_id, 'sp_tpro_shortcode_options', true );
|
114 |
+
include SP_TFREE_PATH . 'Frontend/Views/partials/dynamic-style.php';
|
115 |
+
}
|
116 |
+
if ( ! empty( $custom_css ) ) {
|
117 |
+
$outline .= $custom_css;
|
118 |
+
}
|
119 |
+
|
120 |
+
$css = Helper::minify_output( $outline );
|
121 |
+
wp_add_inline_style( 'tfree-style', $css );
|
122 |
+
|
123 |
+
// JS Files.
|
124 |
+
wp_register_script( 'tfree-slick-min-js', SP_TFREE_URL . 'Frontend/assets/js/slick.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
|
125 |
+
wp_register_script( 'tfree-slick-active', SP_TFREE_URL . 'Frontend/assets/js/sp-slick-active.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
|
126 |
+
|
127 |
+
}
|
128 |
+
/**
|
129 |
+
* Plugin Scripts and Styles
|
130 |
+
*/
|
131 |
+
public function admin_front_scripts() {
|
132 |
+
$wpscreen = get_current_screen();
|
133 |
+
if ( 'spt_shortcodes' === $wpscreen->post_type ) {
|
134 |
+
$setting_options = get_option( 'sp_testimonial_pro_options' );
|
135 |
+
$dequeue_slick_css = isset( $setting_options['tf_dequeue_slick_css'] ) ? $setting_options['tf_dequeue_slick_css'] : true;
|
136 |
+
$dequeue_fa_css = isset( $setting_options['tf_dequeue_fa_css'] ) ? $setting_options['tf_dequeue_fa_css'] : true;
|
137 |
+
// CSS Files.
|
138 |
+
if ( $dequeue_slick_css ) {
|
139 |
+
wp_enqueue_style( 'admin-tfree-slick', SP_TFREE_URL . 'Frontend/assets/css/slick.min.css', array(), SP_TFREE_VERSION );
|
140 |
+
}
|
141 |
+
if ( $dequeue_fa_css ) {
|
142 |
+
wp_enqueue_style( 'admin-tfree-font-awesome', SP_TFREE_URL . 'Frontend/assets/css/font-awesome.min.css', array(), SP_TFREE_VERSION );
|
143 |
+
}
|
144 |
+
|
145 |
+
wp_enqueue_style( 'admin-tfree-deprecated-style', SP_TFREE_URL . 'Frontend/assets/css/deprecated-style.min.css', array(), SP_TFREE_VERSION );
|
146 |
+
wp_enqueue_style( 'admin-tfree-style', SP_TFREE_URL . 'Frontend/assets/css/style.min.css', array(), SP_TFREE_VERSION );
|
147 |
+
wp_enqueue_script( 'tfree-slick-min-js', SP_TFREE_URL . 'Frontend/assets/js/slick.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
|
148 |
+
}
|
149 |
+
|
150 |
+
}
|
151 |
+
|
152 |
+
}
|
src/Frontend/Helper.php
ADDED
@@ -0,0 +1,326 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* The Helper class to manage all public-facing functionality of the plugin.
|
5 |
+
*
|
6 |
+
* @package testimonial_free
|
7 |
+
* @subpackage testimonial_free/Frontend
|
8 |
+
* @author ShapedPlugin <support@shapedplugin.com>
|
9 |
+
*/
|
10 |
+
|
11 |
+
namespace ShapedPlugin\TestimonialFree\Frontend;
|
12 |
+
|
13 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
14 |
+
exit; // Exit if accessed directly.
|
15 |
+
}
|
16 |
+
|
17 |
+
/**
|
18 |
+
* Real Testimonials - helper class
|
19 |
+
*
|
20 |
+
* @since 2.0
|
21 |
+
*/
|
22 |
+
class Helper {
|
23 |
+
/**
|
24 |
+
* Full Output show for frontend.
|
25 |
+
*
|
26 |
+
* @param array $post_id Shortcode ID.
|
27 |
+
* @param array $setting_options get all layout options.
|
28 |
+
* @param array $shortcode_data get all meta options.
|
29 |
+
* @param mixed $main_section_title section title.
|
30 |
+
* @return void
|
31 |
+
*/
|
32 |
+
public static function sp_testimonial_html_show( $post_id, $setting_options, $shortcode_data, $main_section_title ) {
|
33 |
+
$theme_style = isset( $shortcode_data['theme_style'] ) ? $shortcode_data['theme_style'] : 'theme-one';
|
34 |
+
$columns = isset( $shortcode_data['columns'] ) ? $shortcode_data['columns'] : '';
|
35 |
+
$columns_large_desktop = isset( $columns['large_desktop'] ) ? $columns['large_desktop'] : '1';
|
36 |
+
$columns_desktop = isset( $columns['desktop'] ) ? $columns['desktop'] : '1';
|
37 |
+
$columns_laptop = isset( $columns['laptop'] ) ? $columns['laptop'] : '1';
|
38 |
+
$columns_tablet = isset( $columns['tablet'] ) ? $columns['tablet'] : '1';
|
39 |
+
$columns_mobile = isset( $columns['mobile'] ) ? $columns['mobile'] : '1';
|
40 |
+
|
41 |
+
// Slider Settings.
|
42 |
+
$slider_auto_play = isset( $shortcode_data['slider_auto_play'] ) ? $shortcode_data['slider_auto_play'] : 'true';
|
43 |
+
switch ( $slider_auto_play ) {
|
44 |
+
case 'true':
|
45 |
+
$auto_play = 'true';
|
46 |
+
$auto_play_mobile = 'true';
|
47 |
+
break;
|
48 |
+
case 'off_on_mobile':
|
49 |
+
$auto_play = 'true';
|
50 |
+
$auto_play_mobile = 'false';
|
51 |
+
break;
|
52 |
+
case 'false':
|
53 |
+
$auto_play = 'false';
|
54 |
+
$auto_play_mobile = 'false';
|
55 |
+
break;
|
56 |
+
}
|
57 |
+
$slider_auto_play_speed = isset( $shortcode_data['slider_auto_play_speed'] ) ? $shortcode_data['slider_auto_play_speed'] : '3000';
|
58 |
+
$slider_scroll_speed = isset( $shortcode_data['slider_scroll_speed'] ) ? $shortcode_data['slider_scroll_speed'] : '600';
|
59 |
+
$slider_pause_on_hover = isset( $shortcode_data['slider_pause_on_hover'] ) && $shortcode_data['slider_pause_on_hover'] ? 'true' : 'false';
|
60 |
+
$slider_infinite = isset( $shortcode_data['slider_infinite'] ) && $shortcode_data['slider_infinite'] ? 'true' : 'false';
|
61 |
+
$slider_navigation = isset( $shortcode_data['navigation'] ) ? $shortcode_data['navigation'] : 'true';
|
62 |
+
|
63 |
+
switch ( $slider_navigation ) {
|
64 |
+
case 'true':
|
65 |
+
$navigation = 'true';
|
66 |
+
$navigation_mobile = 'true';
|
67 |
+
break;
|
68 |
+
case 'hide_on_mobile':
|
69 |
+
$navigation = 'true';
|
70 |
+
$navigation_mobile = 'false';
|
71 |
+
break;
|
72 |
+
case 'false':
|
73 |
+
$navigation = 'false';
|
74 |
+
$navigation_mobile = 'false';
|
75 |
+
break;
|
76 |
+
}
|
77 |
+
$slider_pagination = isset( $shortcode_data['pagination'] ) ? $shortcode_data['pagination'] : 'true';
|
78 |
+
switch ( $slider_pagination ) {
|
79 |
+
case 'true':
|
80 |
+
$pagination = 'true';
|
81 |
+
$pagination_mobile = 'true';
|
82 |
+
break;
|
83 |
+
case 'hide_on_mobile':
|
84 |
+
$pagination = 'true';
|
85 |
+
$pagination_mobile = 'false';
|
86 |
+
break;
|
87 |
+
case 'false':
|
88 |
+
$pagination = 'false';
|
89 |
+
$pagination_mobile = 'false';
|
90 |
+
break;
|
91 |
+
}
|
92 |
+
$adaptive_height = isset( $shortcode_data['adaptive_height'] ) && $shortcode_data['adaptive_height'] ? 'true' : 'false';
|
93 |
+
$slider_swipe = isset( $shortcode_data['slider_swipe'] ) && $shortcode_data['slider_swipe'] ? 'true' : 'false';
|
94 |
+
$swipe_to_slide = isset( $shortcode_data['swipe_to_slide'] ) && $shortcode_data['swipe_to_slide'] ? 'true' : 'false';
|
95 |
+
$slider_draggable = isset( $shortcode_data['slider_draggable'] ) && $shortcode_data['slider_draggable'] ? 'true' : 'false';
|
96 |
+
$slider_direction = isset( $shortcode_data['slider_direction'] ) ? $shortcode_data['slider_direction'] : 'ltr';
|
97 |
+
$rtl_mode = ( 'rtl' === $slider_direction ) ? 'true' : 'false';
|
98 |
+
|
99 |
+
$section_title = isset( $shortcode_data['section_title'] ) ? $shortcode_data['section_title'] : '';
|
100 |
+
// Preloader.
|
101 |
+
$preloader = isset( $shortcode_data['preloader'] ) ? $shortcode_data['preloader'] : false;
|
102 |
+
// Schema markup.
|
103 |
+
if ( isset( $shortcode_data['schema_markup'] ) ) {
|
104 |
+
$show_schema_markup = $shortcode_data['schema_markup'];
|
105 |
+
} else {
|
106 |
+
$show_schema_markup = isset( $setting_options['spt_enable_schema'] ) ? $setting_options['spt_enable_schema'] : false;
|
107 |
+
}
|
108 |
+
|
109 |
+
// Enqueue Script.
|
110 |
+
$dequeue_slick_js = isset( $setting_options['tf_dequeue_slick_js'] ) ? $setting_options['tf_dequeue_slick_js'] : true;
|
111 |
+
if ( $dequeue_slick_js ) {
|
112 |
+
wp_enqueue_script( 'tfree-slick-min-js' );
|
113 |
+
}
|
114 |
+
wp_enqueue_script( 'tfree-slick-active' );
|
115 |
+
$slider_attr = 'data-slick=\'{"dots": ' . esc_attr( $pagination ) . ', "adaptiveHeight": ' . esc_attr( $adaptive_height ) . ', "pauseOnHover": ' . esc_attr( $slider_pause_on_hover ) . ', "slidesToShow": ' . esc_attr( $columns_large_desktop ) . ', "speed": ' . esc_attr( $slider_scroll_speed ) . ', "arrows": ' . esc_attr( $navigation ) . ', "autoplay": ' . esc_attr( $auto_play ) . ', "autoplaySpeed": ' . esc_attr( $slider_auto_play_speed ) . ', "swipe": ' . esc_attr( $slider_swipe ) . ', "swipeToSlide": ' . esc_attr( $swipe_to_slide ) . ', "draggable": ' . esc_attr( $slider_draggable ) . ', "rtl": ' . esc_attr( $rtl_mode ) . ', "infinite": ' . esc_attr( $slider_infinite ) . ', "responsive": [{"breakpoint": 1280, "settings": { "slidesToShow": ' . esc_attr( $columns_desktop ) . ' }},{"breakpoint": 980, "settings": { "slidesToShow": ' . esc_attr( $columns_laptop ) . ' }},{"breakpoint": 736, "settings": { "slidesToShow": ' . esc_attr( $columns_tablet ) . ' }},{"breakpoint": 480, "settings": {"slidesToShow": ' . esc_attr( $columns_mobile ) . ',"dots": ' . esc_attr( $pagination_mobile ) . ',"arrows": ' . esc_attr( $navigation_mobile ) . ',"autoplay": ' . esc_attr( $auto_play_mobile ) . '}}] }\'';
|
116 |
+
|
117 |
+
$outline = '';
|
118 |
+
$post_query = self::testimonial_query( $shortcode_data, $post_id );
|
119 |
+
$testimonial_items = self::testimonial_items( $post_query, $shortcode_data, $post_id );
|
120 |
+
$sc_title = get_the_title( $post_id ) ? get_the_title( $post_id ) : 'Testimonial';
|
121 |
+
include self::sp_testimonial_locate_template( 'slider.php' );
|
122 |
+
if ( $show_schema_markup ) {
|
123 |
+
ob_start();
|
124 |
+
self::testimonials_schema( $post_query, $sc_title, $testimonial_items['aggregate_rating'], $testimonial_items['schema_html'], $testimonial_items['total_testimonial'] );
|
125 |
+
echo ob_get_clean();
|
126 |
+
}
|
127 |
+
}
|
128 |
+
|
129 |
+
/**
|
130 |
+
* Testimonial Query
|
131 |
+
*
|
132 |
+
* @param array $shortcode_data shortcode options.
|
133 |
+
* @param int $post_id shortcode id.
|
134 |
+
* @return object
|
135 |
+
*/
|
136 |
+
public static function testimonial_query( $shortcode_data, $post_id ) {
|
137 |
+
$number_of_total_testimonials = isset( $shortcode_data['number_of_total_testimonials'] ) ? $shortcode_data['number_of_total_testimonials'] : '10';
|
138 |
+
$order_by = isset( $shortcode_data['testimonial_order_by'] ) ? $shortcode_data['testimonial_order_by'] : 'date';
|
139 |
+
$order = isset( $shortcode_data['testimonial_order'] ) ? $shortcode_data['testimonial_order'] : 'DESC';
|
140 |
+
$args = array(
|
141 |
+
'post_type' => 'spt_testimonial',
|
142 |
+
'orderby' => $order_by,
|
143 |
+
'order' => $order,
|
144 |
+
'posts_per_page' => empty( $number_of_total_testimonials ) ? '10000' : $number_of_total_testimonials,
|
145 |
+
);
|
146 |
+
$args = apply_filters( 'spt_testimonial_pro_query_args', $args, $post_id );
|
147 |
+
$post_query = new \WP_Query( $args );
|
148 |
+
return $post_query;
|
149 |
+
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Testimonial items
|
153 |
+
*
|
154 |
+
* @param object $post_query Query.
|
155 |
+
* @param array $shortcode_data options.
|
156 |
+
* @param array $post_id post id.
|
157 |
+
* @return array
|
158 |
+
*/
|
159 |
+
public static function testimonial_items( $post_query, $shortcode_data, $post_id ) {
|
160 |
+
$theme_style = isset( $shortcode_data['theme_style'] ) ? $shortcode_data['theme_style'] : 'theme-one';
|
161 |
+
$show_schema_markup = isset( $shortcode_data['schema_markup'] ) ? $shortcode_data['schema_markup'] : false;
|
162 |
+
$testimonial_title = isset( $shortcode_data['testimonial_title'] ) ? $shortcode_data['testimonial_title'] : '';
|
163 |
+
$testimonial_text = isset( $shortcode_data['testimonial_text'] ) ? $shortcode_data['testimonial_text'] : '';
|
164 |
+
$reviewer_name = isset( $shortcode_data['testimonial_client_name'] ) ? $shortcode_data['testimonial_client_name'] : '';
|
165 |
+
$star_rating = isset( $shortcode_data['testimonial_client_rating'] ) ? $shortcode_data['testimonial_client_rating'] : '';
|
166 |
+
$reviewer_position = isset( $shortcode_data['client_designation'] ) ? $shortcode_data['client_designation'] : '';
|
167 |
+
$testimonial_title_tag = isset( $shortcode_data['testimonial_title_tag'] ) ? $shortcode_data['testimonial_title_tag'] : 'h3';
|
168 |
+
$reviewer_name_tag = ( isset( $shortcode_data['testimonial_name_tag'] ) && $shortcode_data['testimonial_name_tag'] ) ? $shortcode_data['testimonial_name_tag'] : 'h4';
|
169 |
+
|
170 |
+
// Image Settings.
|
171 |
+
$client_image = isset( $shortcode_data['client_image'] ) ? $shortcode_data['client_image'] : true;
|
172 |
+
$image_sizes = isset( $shortcode_data['image_sizes'] ) ? $shortcode_data['image_sizes'] : 'tf-client-image-size';
|
173 |
+
ob_start();
|
174 |
+
$tpro_total_rating = 0;
|
175 |
+
$testimonial_count = 0;
|
176 |
+
$total_posts = $post_query->found_posts;
|
177 |
+
$schema_html = '';
|
178 |
+
if ( $post_query->have_posts() ) {
|
179 |
+
while ( $post_query->have_posts() ) :
|
180 |
+
$post_query->the_post();
|
181 |
+
$testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
|
182 |
+
$tfree_designation = ( isset( $testimonial_data['tpro_designation'] ) ? $testimonial_data['tpro_designation'] : '' );
|
183 |
+
$tfree_name = ( isset( $testimonial_data['tpro_name'] ) ? $testimonial_data['tpro_name'] : '' );
|
184 |
+
$tfree_rating_star = ( isset( $testimonial_data['tpro_rating'] ) ? $testimonial_data['tpro_rating'] : '' );
|
185 |
+
if ( 'theme-one' === $theme_style ) {
|
186 |
+
include self::sp_testimonial_locate_template( 'theme/theme-one.php' );
|
187 |
+
}
|
188 |
+
if ( $show_schema_markup ) {
|
189 |
+
$testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
|
190 |
+
$tfree_name = ( isset( $testimonial_data['tpro_name'] ) ? $testimonial_data['tpro_name'] : '' );
|
191 |
+
$tfree_rating_star = ( isset( $testimonial_data['tpro_rating'] ) ? $testimonial_data['tpro_rating'] : 'five_star' );
|
192 |
+
$rating_value = '0';
|
193 |
+
switch ( $tfree_rating_star ) {
|
194 |
+
case 'five_star':
|
195 |
+
$rating_value = '5';
|
196 |
+
break;
|
197 |
+
case 'four_star':
|
198 |
+
$rating_value = '4';
|
199 |
+
break;
|
200 |
+
case 'three_star':
|
201 |
+
$rating_value = '3';
|
202 |
+
break;
|
203 |
+
case 'two_star':
|
204 |
+
$rating_value = '2';
|
205 |
+
break;
|
206 |
+
case 'one_star':
|
207 |
+
$rating_value = '1';
|
208 |
+
break;
|
209 |
+
}
|
210 |
+
$tpro_total_rating += (int) $rating_value;
|
211 |
+
$name = get_the_title() ? esc_attr( wp_strip_all_tags( get_the_title() ) ) : '';
|
212 |
+
$review_body = get_the_content() ? esc_attr( wp_strip_all_tags( get_the_content() ) ) : '';
|
213 |
+
$date = get_the_date( 'F j, Y' );
|
214 |
+
$schema_html .= '{
|
215 |
+
"@type": "Review",
|
216 |
+
"datePublished": "' . $date . '",
|
217 |
+
"name": "' . $name . '",
|
218 |
+
"reviewBody": "' . $review_body . '",
|
219 |
+
"reviewRating": {
|
220 |
+
"@type": "Rating",
|
221 |
+
"bestRating": "5",
|
222 |
+
"ratingValue": "' . $rating_value . '",
|
223 |
+
"worstRating": "1"
|
224 |
+
},
|
225 |
+
"author": {
|
226 |
+
"@type": "Person",
|
227 |
+
"name": "' . $tfree_name . '"
|
228 |
+
}
|
229 |
+
}';
|
230 |
+
if ( ++$testimonial_count !== $total_posts ) {
|
231 |
+
$schema_html .= ',';
|
232 |
+
}
|
233 |
+
}
|
234 |
+
$aggregate_rating = 5;
|
235 |
+
if ( $show_schema_markup ) {
|
236 |
+
$aggregate_rating = round( ( $tpro_total_rating / $testimonial_count ), 2 );
|
237 |
+
}
|
238 |
+
endwhile;
|
239 |
+
} else {
|
240 |
+
echo '<h2 class="sp-not-testimonial-found">' . esc_html__( 'No testimonials found', 'testimonial-free' ) . '</h2>';
|
241 |
+
}
|
242 |
+
wp_reset_postdata();
|
243 |
+
$outline = ob_get_clean();
|
244 |
+
|
245 |
+
return array(
|
246 |
+
'output' => $outline,
|
247 |
+
'aggregate_rating' => $aggregate_rating,
|
248 |
+
'schema_html' => $schema_html,
|
249 |
+
'total_testimonial' => $total_posts,
|
250 |
+
);
|
251 |
+
}
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Item schema markup
|
255 |
+
*
|
256 |
+
* @param object $post_query query.
|
257 |
+
* @param string $global_item_name Global item name.
|
258 |
+
* @param string $aggregate_rating ratting.
|
259 |
+
* @param string $schema_html schema HTML.
|
260 |
+
* @param int $total_posts total post.
|
261 |
+
* @return void
|
262 |
+
*/
|
263 |
+
public static function testimonials_schema( $post_query, $global_item_name, $aggregate_rating, $schema_html, $total_posts ) {
|
264 |
+
$outline = '';
|
265 |
+
if ( $post_query->have_posts() ) {
|
266 |
+
$outline .= '<script type="application/ld+json">
|
267 |
+
{
|
268 |
+
"@context": "http://schema.org",
|
269 |
+
"@type": "Product",
|
270 |
+
"name": "' . $global_item_name . '",
|
271 |
+
"aggregateRating": {
|
272 |
+
"@type": "AggregateRating",
|
273 |
+
"bestRating": "5",
|
274 |
+
"ratingValue": "' . $aggregate_rating . '",
|
275 |
+
"worstRating": "1",
|
276 |
+
"reviewCount": "' . $total_posts . '"
|
277 |
+
},
|
278 |
+
"review": [';
|
279 |
+
$outline .= $schema_html;
|
280 |
+
$outline .= ']
|
281 |
+
}
|
282 |
+
</script>';
|
283 |
+
}
|
284 |
+
echo $outline;
|
285 |
+
}
|
286 |
+
|
287 |
+
/**
|
288 |
+
* Minify output
|
289 |
+
*
|
290 |
+
* @param statement $html output.
|
291 |
+
* @return statement
|
292 |
+
*/
|
293 |
+
public static function minify_output( $html ) {
|
294 |
+
$html = preg_replace( '/<!--(?!s*(?:[if [^]]+]|!|>))(?:(?!-->).)*-->/s', '', $html );
|
295 |
+
$html = str_replace( array( "\r\n", "\r", "\n", "\t" ), '', $html );
|
296 |
+
while ( stristr( $html, ' ' ) ) {
|
297 |
+
$html = str_replace( ' ', ' ', $html );
|
298 |
+
}
|
299 |
+
return $html;
|
300 |
+
}
|
301 |
+
|
302 |
+
/**
|
303 |
+
* Custom Template locator.
|
304 |
+
*
|
305 |
+
* @param mixed $template_name template name.
|
306 |
+
* @param mixed $template_path template path.
|
307 |
+
* @param mixed $default_path default path.
|
308 |
+
* @return string
|
309 |
+
*/
|
310 |
+
public static function sp_testimonial_locate_template( $template_name, $template_path = '', $default_path = '' ) {
|
311 |
+
if ( ! $template_path ) {
|
312 |
+
$template_path = 'testimonial-free/templates';
|
313 |
+
}
|
314 |
+
if ( ! $default_path ) {
|
315 |
+
$default_path = SP_TFREE_PATH . 'Frontend/Views/templates/';
|
316 |
+
}
|
317 |
+
$template = locate_template( trailingslashit( $template_path ) . $template_name );
|
318 |
+
// Get default template.
|
319 |
+
if ( ! $template ) {
|
320 |
+
$template = $default_path . $template_name;
|
321 |
+
}
|
322 |
+
// Return what we found.
|
323 |
+
return $template;
|
324 |
+
}
|
325 |
+
}
|
326 |
+
|
src/Frontend/Views/Deprecated_Shortcodes.php
ADDED
@@ -0,0 +1,152 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Old shortcode file.
|
4 |
+
*
|
5 |
+
* @link http://shapedplugin.com
|
6 |
+
* @since 2.0.0
|
7 |
+
*
|
8 |
+
* @package Testimonial_free.
|
9 |
+
* @subpackage Testimonial_free/includes.
|
10 |
+
*/
|
11 |
+
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Frontend\Views;
|
13 |
+
|
14 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
+
exit;
|
16 |
+
} // Exit if accessed directly.
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Class of Deprecated Shortcodes.
|
20 |
+
*/
|
21 |
+
class Deprecated_Shortcodes {
|
22 |
+
/**
|
23 |
+
* Initialize the class
|
24 |
+
*/
|
25 |
+
public function __construct() {
|
26 |
+
add_shortcode( 'testimonial-free', array( $this, 'sp_testimonial_free_shortcode' ) );
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Real Testimonials Free shortcode.
|
31 |
+
*
|
32 |
+
* @param array $atts shortcode attributes.
|
33 |
+
*/
|
34 |
+
public function sp_testimonial_free_shortcode( $atts ) {
|
35 |
+
// phpcs:ignore
|
36 |
+
extract(
|
37 |
+
shortcode_atts(
|
38 |
+
array(
|
39 |
+
'color' => '#1595ce',
|
40 |
+
'nav' => 'true',
|
41 |
+
'pagination' => 'true',
|
42 |
+
'autoplay' => 'true',
|
43 |
+
),
|
44 |
+
$atts,
|
45 |
+
'testimonial-free'
|
46 |
+
)
|
47 |
+
);
|
48 |
+
|
49 |
+
$args = array(
|
50 |
+
'post_type' => 'spt_testimonial',
|
51 |
+
'orderby' => 'date',
|
52 |
+
'order' => 'DESC',
|
53 |
+
'posts_per_page' => -1,
|
54 |
+
);
|
55 |
+
|
56 |
+
$que = new \WP_Query( $args );
|
57 |
+
|
58 |
+
$custom_id = uniqid();
|
59 |
+
|
60 |
+
wp_enqueue_script( 'tfree-slick-min-js' );
|
61 |
+
|
62 |
+
$outline = '';
|
63 |
+
|
64 |
+
$outline .= '
|
65 |
+
<script type="text/javascript">
|
66 |
+
jQuery(document).ready(function() {
|
67 |
+
jQuery("#sp-testimonial-free' . $custom_id . '").slick({
|
68 |
+
slidesToScroll: 1,
|
69 |
+
arrows: ' . $nav . ',
|
70 |
+
prevArrow: "<div class=\'slick-prev\'><i class=\'fa fa-angle-left\'></i></div>",
|
71 |
+
nextArrow: "<div class=\'slick-next\'><i class=\'fa fa-angle-right\'></i></div>",
|
72 |
+
dots: ' . $pagination . ',
|
73 |
+
autoplay: ' . $autoplay . ',
|
74 |
+
pauseOnHover: false,
|
75 |
+
});
|
76 |
+
|
77 |
+
});
|
78 |
+
</script>';
|
79 |
+
if ( 'false' === $nav ) {
|
80 |
+
echo "<style type='text/css'>
|
81 |
+
.sp-testimonial-section .testimonial-free{
|
82 |
+
margin: 0;
|
83 |
+
}
|
84 |
+
.sp-testimonial-section .owl-controls .owl-buttons div:hover{
|
85 |
+
color: #000;
|
86 |
+
}
|
87 |
+
</style>";
|
88 |
+
}
|
89 |
+
|
90 |
+
$outline .= '<style type="text/css">
|
91 |
+
#sp-testimonial-free' . $custom_id . '.sp-testimonial-section .slick-prev:hover,
|
92 |
+
#sp-testimonial-free' . $custom_id . '.sp-testimonial-section .slick-next:hover{
|
93 |
+
color: ' . $color . ';
|
94 |
+
}
|
95 |
+
#sp-testimonial-free' . $custom_id . '.sp-testimonial-section .slick-dots li.slick-active button{
|
96 |
+
background: ' . $color . ';
|
97 |
+
}
|
98 |
+
</style>';
|
99 |
+
|
100 |
+
$outline .= '<div id="sp-testimonial-free' . $custom_id . '" class="sp-testimonial-section">';
|
101 |
+
if ( $que->have_posts() ) {
|
102 |
+
while ( $que->have_posts() ) :
|
103 |
+
$que->the_post();
|
104 |
+
|
105 |
+
$tf_designation = esc_html( get_post_meta( get_the_ID(), 'tf_designation', true ) );
|
106 |
+
|
107 |
+
$testimonial_data = get_post_meta( get_the_ID(), 'sp_tpro_meta_options', true );
|
108 |
+
|
109 |
+
$outline .= '<div class="testimonial-free text-center">';
|
110 |
+
if ( has_post_thumbnail( $que->post->ID ) ) {
|
111 |
+
$outline .= '<div class="tf-client-image">';
|
112 |
+
$outline .= get_the_post_thumbnail( $que->post->ID, 'tf-client-image-size', array( 'class' => 'tf-client-img' ) );
|
113 |
+
$outline .= '</div>';
|
114 |
+
}
|
115 |
+
$outline .= '<div class="tf-client-testimonial">';
|
116 |
+
$outline .= apply_filters( 'the_content', get_the_content() );
|
117 |
+
$outline .= '</div>';
|
118 |
+
$outline .= '<h2 class="tf-client-name">';
|
119 |
+
if ( isset( $testimonial_data['tpro_name'] ) && '' !== $testimonial_data['tpro_name'] ) {
|
120 |
+
$outline .= $testimonial_data['tpro_name'];
|
121 |
+
} else {
|
122 |
+
$outline .= get_the_title();
|
123 |
+
}
|
124 |
+
$outline .= '</h2>';
|
125 |
+
if ( isset( $testimonial_data['tpro_designation'] ) || $tf_designation ) {
|
126 |
+
$outline .= '<h6 class="tf-client-designation">';
|
127 |
+
if ( isset( $tf_designation ) && '' !== $tf_designation ) {
|
128 |
+
$outline .= $tf_designation;
|
129 |
+
} elseif ( isset( $testimonial_data['tpro_designation'] ) ) {
|
130 |
+
$outline .= $testimonial_data['tpro_designation'];
|
131 |
+
}
|
132 |
+
|
133 |
+
$outline .= '</h6>';
|
134 |
+
}
|
135 |
+
|
136 |
+
$outline .= '</div>'; // testimonial free.
|
137 |
+
|
138 |
+
endwhile;
|
139 |
+
} else {
|
140 |
+
$outline .= '<h2 class="sp-not-found-any-testimonial">' . esc_html__( 'No testimonials found', 'testimonial-free' ) . '</h2>';
|
141 |
+
}
|
142 |
+
$outline .= '</div>';
|
143 |
+
|
144 |
+
wp_reset_postdata();
|
145 |
+
|
146 |
+
return $outline;
|
147 |
+
|
148 |
+
}
|
149 |
+
}
|
150 |
+
|
151 |
+
|
152 |
+
|
src/Frontend/Views/partials/dynamic-style.php
ADDED
@@ -0,0 +1,97 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$slider_pagination = isset( $shortcode_data['pagination'] ) ? $shortcode_data['pagination'] : 'true';
|
3 |
+
$pagination_colors = isset( $shortcode_data['pagination_colors'] ) ? $shortcode_data['pagination_colors'] : '#cccccc';
|
4 |
+
$pagination_color = isset( $pagination_colors['color'] ) ? $pagination_colors['color'] : '#cccccc';
|
5 |
+
$pagination_active_color = isset( $pagination_colors['active-color'] ) ? $pagination_colors['active-color'] : '#1595ce';
|
6 |
+
$slider_navigation = isset( $shortcode_data['navigation'] ) ? $shortcode_data['navigation'] : 'true';
|
7 |
+
$navigation_colors = isset( $shortcode_data['navigation_color'] ) ? $shortcode_data['navigation_color'] : '';
|
8 |
+
$navigation_color = isset( $navigation_colors['color'] ) ? $navigation_colors['color'] : '';
|
9 |
+
$navigation_hover_color = isset( $navigation_colors['hover-color'] ) ? $navigation_colors['hover-color'] : '';
|
10 |
+
$navigation_background = isset( $navigation_colors['background'] ) ? $navigation_colors['background'] : '';
|
11 |
+
$navigation_hover_background = isset( $navigation_colors['hover-background'] ) ? $navigation_colors['hover-background'] : '';
|
12 |
+
$navigation_border = isset( $shortcode_data['navigation_border'] ) ? $shortcode_data['navigation_border'] : '';
|
13 |
+
$navigation_border_size = isset( $navigation_border['all'] ) ? $navigation_border['all'] : '';
|
14 |
+
$navigation_border_style = isset( $navigation_border['style'] ) ? $navigation_border['style'] : '';
|
15 |
+
$navigation_border_color = isset( $navigation_border['color'] ) ? $navigation_border['color'] : '';
|
16 |
+
$navigation_border_hover_color = isset( $navigation_border['hover-color'] ) ? $navigation_border['hover-color'] : '';
|
17 |
+
$star_rating = isset( $shortcode_data['testimonial_client_rating'] ) ? $shortcode_data['testimonial_client_rating'] : '';
|
18 |
+
$star_rating_color = isset( $shortcode_data['testimonial_client_rating_color'] ) ? $shortcode_data['testimonial_client_rating_color'] : '#f3bb00';
|
19 |
+
$reviewer_position = isset( $shortcode_data['client_designation'] ) ? $shortcode_data['client_designation'] : '';
|
20 |
+
// Typography.
|
21 |
+
$section_title_color = isset( $shortcode_data['section_title_typography'] ) ? $shortcode_data['section_title_typography']['color'] : '#444444';
|
22 |
+
$testimonial_title_color = isset( $shortcode_data['testimonial_title_typography'] ) ? $shortcode_data['testimonial_title_typography']['color'] : '#333333';
|
23 |
+
$testimonial_text_color = isset( $shortcode_data['testimonial_text_typography'] ) ? $shortcode_data['testimonial_text_typography']['color'] : '#333333';
|
24 |
+
$client_name_color = isset( $shortcode_data['client_name_typography'] ) ? $shortcode_data['client_name_typography']['color'] : '#333333';
|
25 |
+
$client_designation_color = isset( $shortcode_data['client_designation_company_typography'] ) ? $shortcode_data['client_designation_company_typography']['color'] : '#444444';
|
26 |
+
|
27 |
+
$section_title = isset( $shortcode_data['section_title'] ) ? $shortcode_data['section_title'] : '';
|
28 |
+
$testimonial_title = isset( $shortcode_data['testimonial_title'] ) ? $shortcode_data['testimonial_title'] : '';
|
29 |
+
$testimonial_title_tag = isset( $shortcode_data['testimonial_title_tag'] ) ? $shortcode_data['testimonial_title_tag'] : 'h3';
|
30 |
+
$testimonial_text = isset( $shortcode_data['testimonial_text'] ) ? $shortcode_data['testimonial_text'] : '';
|
31 |
+
$reviewer_name = isset( $shortcode_data['testimonial_client_name'] ) ? $shortcode_data['testimonial_client_name'] : '';
|
32 |
+
|
33 |
+
// Style.
|
34 |
+
|
35 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-dots li button{
|
36 |
+
background: ' . $pagination_color . ';
|
37 |
+
}
|
38 |
+
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-dots li.slick-active button{
|
39 |
+
background: ' . $pagination_active_color . ';
|
40 |
+
}
|
41 |
+
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-prev,
|
42 |
+
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-next{
|
43 |
+
background: ' . $navigation_background . ';
|
44 |
+
border: ' . $navigation_border_size . 'px ' . $navigation_border_style . ' ' . $navigation_border_color . ';
|
45 |
+
color: ' . $navigation_color . ';
|
46 |
+
}
|
47 |
+
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-prev:hover,
|
48 |
+
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .slick-next:hover{
|
49 |
+
background: ' . $navigation_hover_background . ';
|
50 |
+
border-color: ' . $navigation_border_hover_color . ';
|
51 |
+
color: ' . $navigation_hover_color . ';
|
52 |
+
}
|
53 |
+
';
|
54 |
+
if ( 'true' === $slider_navigation || 'hide_on_mobile' === $slider_navigation ) {
|
55 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section{
|
56 |
+
padding: 0 50px;
|
57 |
+
}';
|
58 |
+
}
|
59 |
+
if ( 'hide_on_mobile' === $slider_navigation ) {
|
60 |
+
$outline .= '@media only screen and (max-width: 425px){
|
61 |
+
#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section{
|
62 |
+
padding: 0 0;
|
63 |
+
}
|
64 |
+
}';
|
65 |
+
}
|
66 |
+
|
67 |
+
if ( $star_rating ) {
|
68 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .sp-testimonial-client-rating{
|
69 |
+
color: ' . $star_rating_color . ';
|
70 |
+
}';
|
71 |
+
}
|
72 |
+
if ( $reviewer_position ) {
|
73 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .sp-testimonial-client-designation{
|
74 |
+
color: ' . $client_designation_color . ';
|
75 |
+
}';
|
76 |
+
}
|
77 |
+
if ( $reviewer_name ) {
|
78 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .sp-testimonial-client-name{
|
79 |
+
color: ' . $client_name_color . ';
|
80 |
+
}';
|
81 |
+
}
|
82 |
+
if ( $testimonial_text ) {
|
83 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .sp-testimonial-client-testimonial{
|
84 |
+
color: ' . $testimonial_text_color . ';
|
85 |
+
}';
|
86 |
+
}
|
87 |
+
if ( $testimonial_title ) {
|
88 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section .sp-testimonial-title{
|
89 |
+
color: ' . $testimonial_title_color . ';
|
90 |
+
}';
|
91 |
+
}
|
92 |
+
if ( $section_title ) {
|
93 |
+
$outline .= '#sp-testimonial-free-wrapper-' . $post_id . ' .sp-testimonial-free-section-title{
|
94 |
+
color: ' . $section_title_color . ';
|
95 |
+
}';
|
96 |
+
}
|
97 |
+
|
src/Frontend/Views/templates/preloader.php
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Preloader.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/preloader.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
$preloader_style = ( $preloader ) ? '' : 'display: none;';
|
12 |
+
$preloader_image = SP_TFREE_URL . 'Frontend/assets/img/preloader.gif';
|
13 |
+
$preloader_image = apply_filters( 'sp_testimonial_pro_preloader_image', $preloader_image );
|
14 |
+
?>
|
15 |
+
<div class="sp-testimonial-preloader" id="sp-testimonial-preloader-<?php echo esc_attr( $post_id ); ?>" style="<?php echo esc_attr( $preloader_style ); ?>">
|
16 |
+
<img src="<?php echo esc_url( $preloader_image ); ?>" alt="preloader-image"/>
|
17 |
+
</div>
|
src/Frontend/Views/templates/section-title.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Section title.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/section-title.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
?>
|
12 |
+
<h2 class="sp-testimonial-free-section-title"><?php echo wp_kses_post( $main_section_title ); ?></h2>
|
src/Frontend/Views/templates/slider.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Slider.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to Your theme/testimonial-free/templates/slider.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
?>
|
12 |
+
<div id="sp-testimonial-free-wrapper-<?php echo esc_attr( $post_id ); ?>" class="sp-testimonial-free-wrapper">
|
13 |
+
<?php
|
14 |
+
if ( $section_title ) {
|
15 |
+
include self::sp_testimonial_locate_template( 'section-title.php' );
|
16 |
+
}
|
17 |
+
if ( $preloader ) {
|
18 |
+
include self::sp_testimonial_locate_template( 'preloader.php' );
|
19 |
+
}
|
20 |
+
?>
|
21 |
+
<div id="sp-testimonial-free-<?php echo esc_attr( $post_id ); ?>" class="sp-testimonial-free-section tfree-style-<?php echo esc_attr( $theme_style ); ?>" dir="<?php echo esc_attr( $slider_direction ); ?>" data-preloader="<?php echo esc_attr( $preloader ); ?>" <?php echo $slider_attr; ?>>
|
22 |
+
<?php echo wp_kses_post( $testimonial_items['output'] ); ?>
|
23 |
+
</div>
|
24 |
+
</div>
|
src/Frontend/Views/templates/testimonial/client-name.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Client Name.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/client-name.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
?>
|
12 |
+
<<?php echo esc_attr( $reviewer_name_tag ); ?> class="sp-testimonial-client-name">
|
13 |
+
<?php
|
14 |
+
do_action( 'sptpro_before_testimonial_client_name' );
|
15 |
+
echo wp_kses_post( $tfree_name );
|
16 |
+
do_action( 'sptpro_after_testimonial_client_name' );
|
17 |
+
?>
|
18 |
+
</<?php echo esc_attr( $reviewer_name_tag ); ?>>
|
src/Frontend/Views/templates/testimonial/content.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Client content.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/content.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
$content = apply_filters( 'the_content', get_the_content() );
|
12 |
+
$review_text = apply_filters( 'sp_testimonial_review_content', $content, $post_id );
|
13 |
+
?>
|
14 |
+
<div class="sp-testimonial-client-testimonial">
|
15 |
+
<?php do_action( 'sptpro_before_testimonial_content' ); ?>
|
16 |
+
<div class="sp-testimonial-content"> <?php echo wp_kses_post( $review_text ); ?>
|
17 |
+
</div>
|
18 |
+
<?php do_action( 'sptpro_after_testimonial_content' ); ?>
|
19 |
+
</div>
|
20 |
+
<?php
|
src/Frontend/Views/templates/testimonial/designation.php
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Client designation.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/designation.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
?>
|
12 |
+
<div class="sp-testimonial-client-designation">
|
13 |
+
<?php
|
14 |
+
do_action( 'sptpro_before_testimonial_client_designation_company' );
|
15 |
+
echo wp_kses_post( $tfree_designation );
|
16 |
+
do_action( 'sptpro_after_testimonial_client_designation_company' );
|
17 |
+
?>
|
18 |
+
</div>
|
src/Frontend/Views/templates/testimonial/rating.php
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Client rating.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/rating.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
$full_star_icon = '<i class="fa fa-star" aria-hidden="true"></i>';
|
12 |
+
$empty_star_icon = '<i class="fa fa-star-o" aria-hidden="true"></i>';
|
13 |
+
$full_star_icon = apply_filters( 'testimonial_client_rating_full_star_icon', $full_star_icon, get_the_ID() );
|
14 |
+
$empty_star_icon = apply_filters( 'testimonial_client_rating_empty_star_icon', $empty_star_icon, get_the_ID() );
|
15 |
+
switch ( $tfree_rating_star ) {
|
16 |
+
case 'five_star':
|
17 |
+
$star_rating_data = sprintf( '%1$s%1$s%1$s%1$s%1$s', $full_star_icon );
|
18 |
+
break;
|
19 |
+
case 'four_star':
|
20 |
+
$star_rating_data = sprintf( '%1$s%1$s%1$s%1$s%2$s', $full_star_icon, $empty_star_icon );
|
21 |
+
break;
|
22 |
+
case 'three_star':
|
23 |
+
$star_rating_data = sprintf( '%1$s%1$s%1$s%2$s%2$s', $full_star_icon, $empty_star_icon );
|
24 |
+
break;
|
25 |
+
case 'two_star':
|
26 |
+
$star_rating_data = sprintf( '%1$s%1$s%2$s%2$s%2$s', $full_star_icon, $empty_star_icon );
|
27 |
+
break;
|
28 |
+
case 'one_star':
|
29 |
+
$star_rating_data = sprintf( '%1$s%2$s%2$s%2$s%2$s', $full_star_icon, $empty_star_icon );
|
30 |
+
break;
|
31 |
+
}
|
32 |
+
?>
|
33 |
+
<div class="sp-testimonial-client-rating">
|
34 |
+
<?php
|
35 |
+
do_action( 'sptpro_before_testimonial_client_rating' );
|
36 |
+
echo wp_kses_post( $star_rating_data );
|
37 |
+
do_action( 'sptpro_after_testimonial_client_rating' );
|
38 |
+
?>
|
39 |
+
</div>
|
40 |
+
|
src/Frontend/Views/templates/testimonial/thumbnail.php
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Client thumbnails.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/thumbnail.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
$image = get_the_post_thumbnail( $post_query->post->ID, $image_sizes, array( 'class' => 'tfree-client-image' ) );
|
12 |
+
?>
|
13 |
+
|
14 |
+
<div class="sp-testimonial-client-image">
|
15 |
+
<?php
|
16 |
+
do_action( 'sptpro_before_testimonial_client_image' );
|
17 |
+
echo wp_kses_post( $image );
|
18 |
+
do_action( 'sptpro_after_testimonial_client_image' );
|
19 |
+
?>
|
20 |
+
</div>
|
src/Frontend/Views/templates/testimonial/title.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Testimonial title.
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/testimonial/title.php
|
6 |
+
*
|
7 |
+
* @package Testimonial_Free
|
8 |
+
* @subpackage Testimonial_Free/Frontend
|
9 |
+
*/
|
10 |
+
|
11 |
+
?>
|
12 |
+
<div class="sp-testimonial-title">
|
13 |
+
<?php do_action( 'sptpro_before_testimonial_title' ); ?>
|
14 |
+
<<?php echo esc_attr( $testimonial_title_tag ); ?> class="sp-testimonial-post-title">
|
15 |
+
<?php echo wp_kses_post( get_the_title() ); ?>
|
16 |
+
</<?php echo esc_attr( $testimonial_title_tag ); ?>>
|
17 |
+
<?php do_action( 'sptpro_after_testimonial_title' ); ?>
|
18 |
+
</div>
|
19 |
+
|
src/Frontend/Views/templates/theme/theme-one.php
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Theme One
|
4 |
+
*
|
5 |
+
* This template can be overridden by copying it to your theme/testimonial-free/templates/theme/theme-one.php
|
6 |
+
*
|
7 |
+
* @package Testimonial
|
8 |
+
*/
|
9 |
+
|
10 |
+
?>
|
11 |
+
<div class="sp-testimonial-item">
|
12 |
+
<div class="sp-testimonial-free">
|
13 |
+
<?php
|
14 |
+
if ( $client_image && has_post_thumbnail( $post_query->post->ID ) ) {
|
15 |
+
include self::sp_testimonial_locate_template( 'testimonial/thumbnail.php' );
|
16 |
+
}
|
17 |
+
if ( $testimonial_title && ! empty( get_the_title() ) ) {
|
18 |
+
include self::sp_testimonial_locate_template( 'testimonial/title.php' );
|
19 |
+
}
|
20 |
+
if ( $testimonial_text && ! empty( get_the_content() ) ) {
|
21 |
+
include self::sp_testimonial_locate_template( 'testimonial/content.php' );
|
22 |
+
}
|
23 |
+
if ( $reviewer_name && ! empty( $tfree_name ) ) {
|
24 |
+
include self::sp_testimonial_locate_template( 'testimonial/client-name.php' );
|
25 |
+
}
|
26 |
+
if ( $star_rating && ! empty( $tfree_rating_star ) ) {
|
27 |
+
include self::sp_testimonial_locate_template( 'testimonial/rating.php' );
|
28 |
+
}
|
29 |
+
if ( $reviewer_position && ! empty( $tfree_designation ) ) {
|
30 |
+
include self::sp_testimonial_locate_template( 'testimonial/designation.php' );
|
31 |
+
}
|
32 |
+
?>
|
33 |
+
</div> <!-- sp-testimonial-free. -->
|
34 |
+
</div> <!--sp-testimonial-item.-->
|
35 |
+
|
{public → src/Frontend}/assets/css/deprecated-style.css
RENAMED
File without changes
|
{public → src/Frontend}/assets/css/deprecated-style.min.css
RENAMED
File without changes
|
{public → src/Frontend}/assets/css/font-awesome.min.css
RENAMED
File without changes
|
{public → src/Frontend}/assets/css/slick.css
RENAMED
File without changes
|
src/Frontend/assets/css/slick.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.slick-slider{position:relative;display:block;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{position:relative;display:block;overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{position:relative;top:0;left:0;display:block;margin-left:auto;margin-right:auto}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}
|
{public → src/Frontend}/assets/css/style.css
RENAMED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
div.sp-testimonial-free-section {
|
2 |
display: none;
|
3 |
}
|
@@ -10,12 +13,12 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
10 |
display: block;
|
11 |
}
|
12 |
|
13 |
-
.sp-testimonial-free-section .sp-testimonial-
|
14 |
.sp-testimonial-free-section .slick-dots li.slick-active button:focus {
|
15 |
outline: none;
|
16 |
}
|
17 |
|
18 |
-
.sp-testimonial-free-section .sp-testimonial-
|
19 |
text-align: center;
|
20 |
padding-right: 24px;
|
21 |
will-change: transform;
|
@@ -33,11 +36,11 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
33 |
text-align: center;
|
34 |
}
|
35 |
|
36 |
-
.sp-testimonial-free-section .
|
37 |
margin: 0px 0px 18px 0px;
|
38 |
}
|
39 |
|
40 |
-
.sp-testimonial-free-section .
|
41 |
font-size: 20px;
|
42 |
line-height: 30px;
|
43 |
text-transform: none;
|
@@ -49,8 +52,8 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
49 |
margin: 0;
|
50 |
}
|
51 |
|
52 |
-
.sp-testimonial-free-section .
|
53 |
-
.sp-testimonial-free-section .
|
54 |
font-size: 16px;
|
55 |
line-height: 26px;
|
56 |
text-transform: none;
|
@@ -61,17 +64,17 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
61 |
margin: 0px 0px 20px 0px;
|
62 |
}
|
63 |
|
64 |
-
#sp_tpro-preview-box .sp-testimonial-free-section .
|
65 |
margin: 0px 20px 20px 0px;
|
66 |
}
|
67 |
|
68 |
-
.sp-testimonial-free-section .
|
69 |
display: inline;
|
70 |
margin: 0;
|
71 |
padding: 0;
|
72 |
}
|
73 |
|
74 |
-
.sp-testimonial-free-section .
|
75 |
font-size: 16px;
|
76 |
line-height: 24px;
|
77 |
text-transform: none;
|
@@ -83,18 +86,18 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
83 |
padding: 0;
|
84 |
}
|
85 |
|
86 |
-
.sp-testimonial-free-section .
|
87 |
margin: 0px 0px 6px 0px;
|
88 |
text-align: center;
|
89 |
line-height: 1;
|
90 |
}
|
91 |
|
92 |
-
.sp-testimonial-free-section .
|
93 |
font-size: 19px;
|
94 |
margin-right: -1px;
|
95 |
}
|
96 |
|
97 |
-
.sp-testimonial-free-section .
|
98 |
font-size: 16px;
|
99 |
line-height: 24px;
|
100 |
text-transform: none;
|
@@ -105,18 +108,18 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
105 |
}
|
106 |
|
107 |
/* Image */
|
108 |
-
.sp-testimonial-free-section .sp-
|
109 |
margin: 0px 0px 22px 0px;
|
110 |
}
|
111 |
|
112 |
-
.sp-testimonial-free-section .sp-
|
113 |
display: inline-block;
|
114 |
-webkit-border-radius: 50%;
|
115 |
-moz-border-radius: 50%;
|
116 |
border-radius: 50%;
|
117 |
}
|
118 |
|
119 |
-
.theme-twentytwentyone .sp-testimonial-free-section .sp-
|
120 |
width: auto !important;
|
121 |
}
|
122 |
|
@@ -186,7 +189,7 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
186 |
overflow: hidden;
|
187 |
}
|
188 |
|
189 |
-
.
|
190 |
background-color: #fff;
|
191 |
background-repeat: no-repeat;
|
192 |
background-position: center center;
|
@@ -201,7 +204,7 @@ div.sp-testimonial-free-section.slick-initialized {
|
|
201 |
border: 0;
|
202 |
}
|
203 |
|
204 |
-
.
|
205 |
position: relative;
|
206 |
top: 50%;
|
207 |
display: inline-block;
|
1 |
+
.sp-testimonial-free-section * {
|
2 |
+
box-sizing: border-box;
|
3 |
+
}
|
4 |
div.sp-testimonial-free-section {
|
5 |
display: none;
|
6 |
}
|
13 |
display: block;
|
14 |
}
|
15 |
|
16 |
+
.sp-testimonial-free-section .sp-testimonial-item:focus,
|
17 |
.sp-testimonial-free-section .slick-dots li.slick-active button:focus {
|
18 |
outline: none;
|
19 |
}
|
20 |
|
21 |
+
.sp-testimonial-free-section .sp-testimonial-item {
|
22 |
text-align: center;
|
23 |
padding-right: 24px;
|
24 |
will-change: transform;
|
36 |
text-align: center;
|
37 |
}
|
38 |
|
39 |
+
.sp-testimonial-free-section .sp-testimonial-title {
|
40 |
margin: 0px 0px 18px 0px;
|
41 |
}
|
42 |
|
43 |
+
.sp-testimonial-free-section .sp-testimonial-title h3 {
|
44 |
font-size: 20px;
|
45 |
line-height: 30px;
|
46 |
text-transform: none;
|
52 |
margin: 0;
|
53 |
}
|
54 |
|
55 |
+
.sp-testimonial-free-section .sp-testimonial-client-testimonial p,
|
56 |
+
.sp-testimonial-free-section .sp-testimonial-client-testimonial {
|
57 |
font-size: 16px;
|
58 |
line-height: 26px;
|
59 |
text-transform: none;
|
64 |
margin: 0px 0px 20px 0px;
|
65 |
}
|
66 |
|
67 |
+
#sp_tpro-preview-box .sp-testimonial-free-section .sp-testimonial-client-testimonial {
|
68 |
margin: 0px 20px 20px 0px;
|
69 |
}
|
70 |
|
71 |
+
.sp-testimonial-free-section .sp-testimonial-client-testimonial .sp-testimonial-content {
|
72 |
display: inline;
|
73 |
margin: 0;
|
74 |
padding: 0;
|
75 |
}
|
76 |
|
77 |
+
.sp-testimonial-free-section .sp-testimonial-client-name {
|
78 |
font-size: 16px;
|
79 |
line-height: 24px;
|
80 |
text-transform: none;
|
86 |
padding: 0;
|
87 |
}
|
88 |
|
89 |
+
.sp-testimonial-free-section .sp-testimonial-client-rating {
|
90 |
margin: 0px 0px 6px 0px;
|
91 |
text-align: center;
|
92 |
line-height: 1;
|
93 |
}
|
94 |
|
95 |
+
.sp-testimonial-free-section .sp-testimonial-client-rating i.fa {
|
96 |
font-size: 19px;
|
97 |
margin-right: -1px;
|
98 |
}
|
99 |
|
100 |
+
.sp-testimonial-free-section .sp-testimonial-client-designation {
|
101 |
font-size: 16px;
|
102 |
line-height: 24px;
|
103 |
text-transform: none;
|
108 |
}
|
109 |
|
110 |
/* Image */
|
111 |
+
.sp-testimonial-free-section .sp-testimonial-client-image {
|
112 |
margin: 0px 0px 22px 0px;
|
113 |
}
|
114 |
|
115 |
+
.sp-testimonial-free-section .sp-testimonial-client-image img {
|
116 |
display: inline-block;
|
117 |
-webkit-border-radius: 50%;
|
118 |
-moz-border-radius: 50%;
|
119 |
border-radius: 50%;
|
120 |
}
|
121 |
|
122 |
+
.theme-twentytwentyone .sp-testimonial-free-section .sp-testimonial-client-image img {
|
123 |
width: auto !important;
|
124 |
}
|
125 |
|
189 |
overflow: hidden;
|
190 |
}
|
191 |
|
192 |
+
.sp-testimonial-preloader {
|
193 |
background-color: #fff;
|
194 |
background-repeat: no-repeat;
|
195 |
background-position: center center;
|
204 |
border: 0;
|
205 |
}
|
206 |
|
207 |
+
.sp-testimonial-preloader img {
|
208 |
position: relative;
|
209 |
top: 50%;
|
210 |
display: inline-block;
|
src/Frontend/assets/css/style.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.sp-testimonial-free-section *{box-sizing:border-box}div.sp-testimonial-free-section{display:none}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%}.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}
|
{public → src/Frontend}/assets/fonts/FontAwesome.otf
RENAMED
File without changes
|
{public → src/Frontend}/assets/fonts/fontawesome-webfont.eot
RENAMED
File without changes
|
{public → src/Frontend}/assets/fonts/fontawesome-webfont.svg
RENAMED
File without changes
|
{public → src/Frontend}/assets/fonts/fontawesome-webfont.ttf
RENAMED
File without changes
|
{public → src/Frontend}/assets/fonts/fontawesome-webfont.woff
RENAMED
File without changes
|
{public → src/Frontend}/assets/fonts/fontawesome-webfont.woff2
RENAMED
File without changes
|
{public → src/Frontend}/assets/img/preloader.gif
RENAMED
File without changes
|
{public → src/Frontend}/assets/js/slick.js
RENAMED
File without changes
|
{public → src/Frontend}/assets/js/slick.min.js
RENAMED
File without changes
|
{public → src/Frontend}/assets/js/sp-slick-active.js
RENAMED
@@ -7,7 +7,7 @@ jQuery(document).ready(function ($) {
|
|
7 |
|
8 |
if ('1' == preloader) {
|
9 |
var parents_class = $('#' + custom_id).parent('.sp-testimonial-free-wrapper'),
|
10 |
-
parents_siblings_id = parents_class.find('.
|
11 |
$(window).load(function () {
|
12 |
$('#' + parents_siblings_id).animate({ opacity: 1 }, 600).hide();
|
13 |
$('#' + custom_id).animate({ opacity: 1 }, 600)
|
7 |
|
8 |
if ('1' == preloader) {
|
9 |
var parents_class = $('#' + custom_id).parent('.sp-testimonial-free-wrapper'),
|
10 |
+
parents_siblings_id = parents_class.find('.sp-testimonial-preloader').attr('id');
|
11 |
$(window).load(function () {
|
12 |
$('#' + parents_siblings_id).animate({ opacity: 1 }, 600).hide();
|
13 |
$('#' + custom_id).animate({ opacity: 1 }, 600)
|
src/Frontend/assets/js/sp-slick-active.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
jQuery(document).ready((function($){$(".sp-testimonial-free-section").each((function(index){var _this=$(this),custom_id=$(this).attr("id"),preloader;if("1"==_this.data("preloader")){var parents_class,parents_siblings_id=$("#"+custom_id).parent(".sp-testimonial-free-wrapper").find(".sp-testimonial-preloader").attr("id");$(window).load((function(){$("#"+parents_siblings_id).animate({opacity:1},600).hide(),$("#"+custom_id).animate({opacity:1},600)}))}var tfree_custom_slider_id=$(this).attr("id"),tpCarouselData=$(this).data("slick");if(0!=tfree_custom_slider_id.length){var mySlider=$("#"+tfree_custom_slider_id).on("init",(function(slick){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).on("beforeChange",(function(slick,currentSlide,nextSlide){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(this)})).slick({pauseOnFocus:!1,slidesToScroll:1,accessibility:!0,prevArrow:"<button class='slick-prev' data-role='none' aria-label='Previous slide'><i class='fa fa-angle-left'></i></button>",nextArrow:"<button class='slick-next' data-role='none' aria-label='Next slide'><i class='fa fa-angle-right'></i></button>"});function multiSlideAdaptiveHeight(slider){let activeSlides=[],tallestSlide=0;setTimeout((function(){$(".slick-track .slick-active",slider).each((function(i){activeSlides[i]=$(this).outerHeight()})),activeSlides.forEach((function(item){item>tallestSlide&&(tallestSlide=item)})),$(".slick-list",slider).height(tallestSlide).css({transition:"all .5s ease"})}),10)}$(window).on("resize",(function(){1==tpCarouselData.adaptiveHeight&&multiSlideAdaptiveHeight(mySlider)}))}$(".sp_tpro-preview-box button.slick-next,.sp_tpro-preview-box button.slick-prev").click((function(e){e.preventDefault()}))}))}));
|
includes/class-testimonial-import-export.php → src/Includes/Import_Export.php
RENAMED
@@ -1,23 +1,25 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
*
|
4 |
*
|
5 |
-
* @link
|
6 |
-
* @since
|
7 |
*
|
8 |
-
* @package
|
9 |
-
* @subpackage Testimonial_free/includes
|
10 |
*/
|
11 |
|
|
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
-
exit;
|
14 |
}
|
15 |
|
16 |
/**
|
17 |
-
*
|
18 |
*/
|
19 |
-
class
|
20 |
-
|
21 |
/**
|
22 |
* Export
|
23 |
*
|
@@ -78,8 +80,11 @@ class Testimonial_Import_Export {
|
|
78 |
if ( ! wp_verify_nonce( $nonce, 'spftestimonial_options_nonce' ) ) {
|
79 |
die();
|
80 |
}
|
81 |
-
$shortcode_ids =
|
82 |
-
|
|
|
|
|
|
|
83 |
|
84 |
if ( is_wp_error( $export ) ) {
|
85 |
wp_send_json_error(
|
@@ -119,9 +124,9 @@ class Testimonial_Import_Export {
|
|
119 |
return $attachment_id;
|
120 |
}
|
121 |
}
|
122 |
-
$http = new WP_Http();
|
123 |
$response = $http->request( $url );
|
124 |
-
if (
|
125 |
return false;
|
126 |
}
|
127 |
$upload = wp_upload_bits( basename( $url ), null, $response['body'] );
|
@@ -191,7 +196,7 @@ class Testimonial_Import_Export {
|
|
191 |
$shortcode['meta']['_thumbnail_id'] = $thumb_id;
|
192 |
}
|
193 |
if ( is_wp_error( $new_shortcode_id ) ) {
|
194 |
-
throw new Exception( $new_shortcode_id->get_error_message() );
|
195 |
}
|
196 |
|
197 |
if ( isset( $shortcode['meta'] ) && is_array( $shortcode['meta'] ) ) {
|
@@ -203,7 +208,7 @@ class Testimonial_Import_Export {
|
|
203 |
);
|
204 |
}
|
205 |
}
|
206 |
-
} catch ( Exception $e ) {
|
207 |
array_push( $errors[ $index ], $e->getMessage() );
|
208 |
|
209 |
// If there was a failure somewhere, clean up.
|
@@ -220,7 +225,7 @@ class Testimonial_Import_Export {
|
|
220 |
}
|
221 |
|
222 |
$errors = reset( $errors );
|
223 |
-
return isset( $errors[0] ) ? new WP_Error( 'import_testimonials_error', $errors[0] ) : $spt_post_type;
|
224 |
}
|
225 |
|
226 |
/**
|
@@ -259,4 +264,5 @@ class Testimonial_Import_Export {
|
|
259 |
|
260 |
wp_send_json_success( $status, 200 );
|
261 |
}
|
|
|
262 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* Export Import class.
|
4 |
*
|
5 |
+
* @link https://shapedplugin.com/
|
6 |
+
* @since 2.1.5
|
7 |
*
|
8 |
+
* @package Testimonial_free
|
9 |
+
* @subpackage Testimonial_free/includes
|
10 |
*/
|
11 |
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Includes;
|
13 |
+
|
14 |
+
// don't call the file directly.
|
15 |
if ( ! defined( 'ABSPATH' ) ) {
|
16 |
+
exit;
|
17 |
}
|
18 |
|
19 |
/**
|
20 |
+
* Import Export
|
21 |
*/
|
22 |
+
class Import_Export {
|
|
|
23 |
/**
|
24 |
* Export
|
25 |
*
|
80 |
if ( ! wp_verify_nonce( $nonce, 'spftestimonial_options_nonce' ) ) {
|
81 |
die();
|
82 |
}
|
83 |
+
$shortcode_ids = '';
|
84 |
+
if ( isset( $_POST['lcp_ids'] ) ) {
|
85 |
+
$shortcode_ids = is_array( $_POST['lcp_ids'] ) ? wp_unslash( array_map( 'absint', $_POST['lcp_ids'] ) ) : sanitize_text_field( wp_unslash( $_POST['lcp_ids'] ) );
|
86 |
+
}
|
87 |
+
$export = $this->export( $shortcode_ids );
|
88 |
|
89 |
if ( is_wp_error( $export ) ) {
|
90 |
wp_send_json_error(
|
124 |
return $attachment_id;
|
125 |
}
|
126 |
}
|
127 |
+
$http = new \WP_Http();
|
128 |
$response = $http->request( $url );
|
129 |
+
if ( is_wp_error( $response ) ) {
|
130 |
return false;
|
131 |
}
|
132 |
$upload = wp_upload_bits( basename( $url ), null, $response['body'] );
|
196 |
$shortcode['meta']['_thumbnail_id'] = $thumb_id;
|
197 |
}
|
198 |
if ( is_wp_error( $new_shortcode_id ) ) {
|
199 |
+
throw new \Exception( $new_shortcode_id->get_error_message() );
|
200 |
}
|
201 |
|
202 |
if ( isset( $shortcode['meta'] ) && is_array( $shortcode['meta'] ) ) {
|
208 |
);
|
209 |
}
|
210 |
}
|
211 |
+
} catch ( \Exception $e ) {
|
212 |
array_push( $errors[ $index ], $e->getMessage() );
|
213 |
|
214 |
// If there was a failure somewhere, clean up.
|
225 |
}
|
226 |
|
227 |
$errors = reset( $errors );
|
228 |
+
return isset( $errors[0] ) ? new \WP_Error( 'import_testimonials_error', $errors[0] ) : $spt_post_type;
|
229 |
}
|
230 |
|
231 |
/**
|
264 |
|
265 |
wp_send_json_success( $status, 200 );
|
266 |
}
|
267 |
+
|
268 |
}
|
includes/functions.php → src/Includes/TFREE_Functions.php
RENAMED
@@ -9,6 +9,8 @@
|
|
9 |
* @subpackage Testimonial_free/includes.
|
10 |
*/
|
11 |
|
|
|
|
|
12 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
exit;
|
14 |
} // if direct access
|
@@ -16,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
16 |
/**
|
17 |
* Functions
|
18 |
*/
|
19 |
-
class
|
20 |
|
21 |
/**
|
22 |
* Initialize the class
|
@@ -142,9 +144,9 @@ class SP_Testimonial_Free_Functions {
|
|
142 |
* Premium Page Callback
|
143 |
*/
|
144 |
public function premium_page_callback() {
|
145 |
-
wp_enqueue_style( 'testimonial-free-admin-premium', SP_TFREE_URL . '
|
146 |
-
wp_enqueue_style( 'testimonial-free-admin-premium-modal', SP_TFREE_URL . '
|
147 |
-
wp_enqueue_script( 'testimonial-free-admin-premium', SP_TFREE_URL . '
|
148 |
?>
|
149 |
<!-- Banner section start -->
|
150 |
<div class="sp-testimonial-premium-wraper">
|
@@ -165,7 +167,7 @@ class SP_Testimonial_Free_Functions {
|
|
165 |
</div>
|
166 |
<div class="sp_testimonial-col-xl-6">
|
167 |
<div class="sp_testimonial-banner-img">
|
168 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
169 |
</div>
|
170 |
</div>
|
171 |
</div>
|
@@ -220,7 +222,7 @@ class SP_Testimonial_Free_Functions {
|
|
220 |
<h4 class="sp_testimonial-font-16 sp_testimonial-mt-10 sp_testimonial-font-weight-400">Make customers 70% more probable to purchase with testimonials that drive sales</h4>
|
221 |
</div>
|
222 |
<div class="video-area text-center">
|
223 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
224 |
<div class="video-button">
|
225 |
<a class="js-video-button" href="#" data-channel="youtube" data-video-url="//www.youtube.com/embed/4wtkBqZ4Urw">
|
226 |
<span><i class="fa fa-play"></i></span>
|
@@ -242,7 +244,7 @@ class SP_Testimonial_Free_Functions {
|
|
242 |
<div class="feature-area">
|
243 |
<div class="feature-item mr-30">
|
244 |
<div class="feature-icon">
|
245 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
246 |
</div>
|
247 |
<div class="feature-content">
|
248 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">5+ Beautiful Layouts</h3>
|
@@ -252,7 +254,7 @@ class SP_Testimonial_Free_Functions {
|
|
252 |
<div class="feature-item ml-30">
|
253 |
<div class="feature-icon">
|
254 |
<img src="
|
255 |
-
<?php echo esc_url( SP_TFREE_URL . '/
|
256 |
" alt="">
|
257 |
</div>
|
258 |
<div class="feature-content">
|
@@ -264,7 +266,7 @@ class SP_Testimonial_Free_Functions {
|
|
264 |
<div class="feature-area">
|
265 |
<div class="feature-item mr-30">
|
266 |
<div class="feature-icon">
|
267 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
268 |
</div>
|
269 |
<div class="feature-content">
|
270 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Filter Testimonials (Groups, Specific, Exclude)</h3>
|
@@ -273,7 +275,7 @@ class SP_Testimonial_Free_Functions {
|
|
273 |
</div>
|
274 |
<div class="feature-item ml-30">
|
275 |
<div class="feature-icon">
|
276 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
277 |
</div>
|
278 |
<div class="feature-content">
|
279 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">14 Display Options (Information Fields)</h3>
|
@@ -284,7 +286,7 @@ class SP_Testimonial_Free_Functions {
|
|
284 |
<div class="feature-area">
|
285 |
<div class="feature-item mr-30">
|
286 |
<div class="feature-icon">
|
287 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
288 |
</div>
|
289 |
<div class="feature-content">
|
290 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Multiple Testimonials Submission Forms</h3>
|
@@ -293,7 +295,7 @@ class SP_Testimonial_Free_Functions {
|
|
293 |
</div>
|
294 |
<div class="feature-item ml-30">
|
295 |
<div class="feature-icon">
|
296 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
297 |
</div>
|
298 |
<div class="feature-content">
|
299 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Drag & Drop Submission Forms Fields</h3>
|
@@ -304,7 +306,7 @@ class SP_Testimonial_Free_Functions {
|
|
304 |
<div class="feature-area">
|
305 |
<div class="feature-item mr-30">
|
306 |
<div class="feature-icon">
|
307 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
308 |
</div>
|
309 |
<div class="feature-content">
|
310 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Thumbnail Testimonial Slider</h3>
|
@@ -313,7 +315,7 @@ class SP_Testimonial_Free_Functions {
|
|
313 |
</div>
|
314 |
<div class="feature-item ml-30">
|
315 |
<div class="feature-icon">
|
316 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
317 |
</div>
|
318 |
<div class="feature-content">
|
319 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Video Testimonial with Lightbox</h3>
|
@@ -324,7 +326,7 @@ class SP_Testimonial_Free_Functions {
|
|
324 |
<div class="feature-area">
|
325 |
<div class="feature-item mr-30">
|
326 |
<div class="feature-icon">
|
327 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
328 |
</div>
|
329 |
<div class="feature-content">
|
330 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Read More Action Type (Expand/PopUp)</h3>
|
@@ -333,7 +335,7 @@ class SP_Testimonial_Free_Functions {
|
|
333 |
</div>
|
334 |
<div class="feature-item ml-30">
|
335 |
<div class="feature-icon">
|
336 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
337 |
</div>
|
338 |
<div class="feature-content">
|
339 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Rich Snippets/Structured Data Compatible</h3>
|
@@ -344,7 +346,7 @@ class SP_Testimonial_Free_Functions {
|
|
344 |
<div class="feature-area">
|
345 |
<div class="feature-item mr-30">
|
346 |
<div class="feature-icon">
|
347 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
348 |
</div>
|
349 |
<div class="feature-content">
|
350 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Ajax Pagination</h3>
|
@@ -354,7 +356,7 @@ class SP_Testimonial_Free_Functions {
|
|
354 |
</div>
|
355 |
<div class="feature-item ml-30">
|
356 |
<div class="feature-icon">
|
357 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
358 |
</div>
|
359 |
<div class="feature-content">
|
360 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Translation Ready with WPML</h3>
|
@@ -365,7 +367,7 @@ class SP_Testimonial_Free_Functions {
|
|
365 |
<div class="feature-area">
|
366 |
<div class="feature-item mr-30">
|
367 |
<div class="feature-icon">
|
368 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
369 |
</div>
|
370 |
<div class="feature-content">
|
371 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Built-in Automatic Updates</h3>
|
@@ -374,7 +376,7 @@ class SP_Testimonial_Free_Functions {
|
|
374 |
</div>
|
375 |
<div class="feature-item ml-30">
|
376 |
<div class="feature-icon">
|
377 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
378 |
</div>
|
379 |
<div class="feature-content">
|
380 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Fast & Friendly Support (One to One)</h3>
|
@@ -393,7 +395,7 @@ class SP_Testimonial_Free_Functions {
|
|
393 |
<div class="row">
|
394 |
<div class="sp_testimonial-col-xl-6">
|
395 |
<div class="buy-img">
|
396 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '/
|
397 |
</div>
|
398 |
</div>
|
399 |
<div class="sp_testimonial-col-xl-6">
|
@@ -425,7 +427,7 @@ class SP_Testimonial_Free_Functions {
|
|
425 |
* Help Page Callback
|
426 |
*/
|
427 |
public function help_page_callback() {
|
428 |
-
wp_enqueue_style( 'testimonial-free-admin-help', SP_TFREE_URL . '
|
429 |
$add_new_testimoinial_link = admin_url( 'post-new.php?post_type=spt_testimonial' );
|
430 |
?>
|
431 |
|
@@ -435,7 +437,7 @@ class SP_Testimonial_Free_Functions {
|
|
435 |
<div class="header-area">
|
436 |
<div class="container">
|
437 |
<div class="header-logo">
|
438 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
439 |
<span><?php echo esc_html( SP_TFREE_VERSION ); ?></span>
|
440 |
</div>
|
441 |
<div class="header-content">
|
@@ -465,80 +467,80 @@ class SP_Testimonial_Free_Functions {
|
|
465 |
<div class="upgrade-area">
|
466 |
<h2>Upgrade To Real Testimonials Pro</h2>
|
467 |
<p>Easily collect and display testimonials on your website and boost conversions.</p>
|
468 |
-
<div class="upgrade-img"><img src="<?php echo esc_url( SP_TFREE_URL . '
|
469 |
</div>
|
470 |
<div class="upgrade-info">
|
471 |
<div class="container">
|
472 |
<div class="row">
|
473 |
<div class="col-lg-6">
|
474 |
<ul class="upgrade-list">
|
475 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
476 |
5+ Beautiful Testimonial Layouts.
|
477 |
</li>
|
478 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
479 |
10+ Customizable & Professionally Designed Themes.</li>
|
480 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
481 |
Advanced Shortcode Generator with Query options.</li>
|
482 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
483 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
484 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
485 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
486 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
487 |
Video Testimonials for lightbox functionality.</li>
|
488 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
489 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
490 |
Drag & drop Testimonial Form Builder.</li>
|
491 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
492 |
-
<li><img src="<?php echo esc_url( SP_TFREE_URL . '
|
493 |
</ul>
|
494 |
</div>
|
495 |
<div class="col-lg-6">
|
496 |
<ul class="upgrade-list">
|
497 |
<li>
|
498 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
499 |
Testimonial Form Spam Protection with Google reCAPTCHA.
|
500 |
</li>
|
501 |
<li>
|
502 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
503 |
Multiple Testimonial Rows in the Carousel.
|
504 |
</li>
|
505 |
<li>
|
506 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
507 |
Rich Snippets/Structured Data compatible (Schema Markup).
|
508 |
</li>
|
509 |
<li>
|
510 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
511 |
Ajax Pagination (Number, Load More, & Infinite Scroll).
|
512 |
</li>
|
513 |
<li>
|
514 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
515 |
14 Display (Reviewer Information) Options.
|
516 |
</li>
|
517 |
<li>
|
518 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
519 |
Read More & Characters Limit.
|
520 |
</li>
|
521 |
<li>
|
522 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
523 |
Read More Action Type (Expand/PopUp).
|
524 |
</li>
|
525 |
<li>
|
526 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
527 |
20+ Slider Control Options.
|
528 |
</li>
|
529 |
<li>
|
530 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
531 |
Fully Translation ready with WPML, Polylang and more.
|
532 |
</li>
|
533 |
<li>
|
534 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
535 |
Built-in Automatic Updates.</li>
|
536 |
<li>
|
537 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
538 |
One To One Fast & Friendly Support.
|
539 |
</li>
|
540 |
<li>
|
541 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
542 |
Not Happy? 100% No Questions Asked <a href="https://shapedplugin.com/refund-policy/" target="_blank">Refund Policy!</a></span>
|
543 |
</li>
|
544 |
</ul>
|
@@ -550,7 +552,7 @@ class SP_Testimonial_Free_Functions {
|
|
550 |
<div class="upgrade-pro">
|
551 |
<div class="pro-content">
|
552 |
<div class="pro-icon">
|
553 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
554 |
</div>
|
555 |
<div class="pro-text">
|
556 |
<h2>Real Testimonials Pro</h2>
|
@@ -575,7 +577,7 @@ class SP_Testimonial_Free_Functions {
|
|
575 |
</div>
|
576 |
<div class="testimonial-info">
|
577 |
<div class="img">
|
578 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
579 |
</div>
|
580 |
<div class="info">
|
581 |
<h3>Sirpa</h3>
|
@@ -593,7 +595,7 @@ class SP_Testimonial_Free_Functions {
|
|
593 |
</div>
|
594 |
<div class="testimonial-info">
|
595 |
<div class="img">
|
596 |
-
<img src="<?php echo esc_url( SP_TFREE_URL . '
|
597 |
</div>
|
598 |
<div class="info">
|
599 |
<h3>Ali Senejani</h3>
|
@@ -614,34 +616,3 @@ class SP_Testimonial_Free_Functions {
|
|
614 |
|
615 |
|
616 |
}
|
617 |
-
|
618 |
-
new SP_Testimonial_Free_Functions();
|
619 |
-
|
620 |
-
/**
|
621 |
-
*
|
622 |
-
* Multi Language Support
|
623 |
-
*
|
624 |
-
* @since 2.0
|
625 |
-
*/
|
626 |
-
if ( class_exists( 'Polylang' ) ) {
|
627 |
-
|
628 |
-
add_filter( 'pll_get_post_types', 'sp_free_testimonial_polylang', 10, 2 );
|
629 |
-
/**
|
630 |
-
* Polylang plugin support for multi language support.
|
631 |
-
*
|
632 |
-
* @param array $post_types Post type.
|
633 |
-
* @param boolean $is_settings Polylang settings true/false.
|
634 |
-
*/
|
635 |
-
function sp_free_testimonial_polylang( $post_types, $is_settings ) {
|
636 |
-
if ( $is_settings ) {
|
637 |
-
// hides 'spt_testimonial,spt_shortcodes' from the list of custom post types in Polylang settings.
|
638 |
-
unset( $post_types['spt_testimonial'] );
|
639 |
-
unset( $post_types['spt_shortcodes'] );
|
640 |
-
} else {
|
641 |
-
// enables language and translation management for 'tspt_testimonial,sp_free_shortcodes'.
|
642 |
-
$post_types['spt_testimonial'] = 'spt_testimonial';
|
643 |
-
$post_types['spt_shortcodes'] = 'spt_shortcodes';
|
644 |
-
}
|
645 |
-
return $post_types;
|
646 |
-
}
|
647 |
-
}
|
9 |
* @subpackage Testimonial_free/includes.
|
10 |
*/
|
11 |
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Includes;
|
13 |
+
|
14 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
exit;
|
16 |
} // if direct access
|
18 |
/**
|
19 |
* Functions
|
20 |
*/
|
21 |
+
class TFREE_Functions {
|
22 |
|
23 |
/**
|
24 |
* Initialize the class
|
144 |
* Premium Page Callback
|
145 |
*/
|
146 |
public function premium_page_callback() {
|
147 |
+
wp_enqueue_style( 'testimonial-free-admin-premium', SP_TFREE_URL . 'Admin/assets/css/premium-page.min.css', array(), SP_TFREE_VERSION );
|
148 |
+
wp_enqueue_style( 'testimonial-free-admin-premium-modal', SP_TFREE_URL . 'Admin/assets/css/modal-video.min.css', array(), SP_TFREE_VERSION );
|
149 |
+
wp_enqueue_script( 'testimonial-free-admin-premium', SP_TFREE_URL . 'Admin/assets/js/jquery-modal-video.min.js', array( 'jquery' ), SP_TFREE_VERSION, true );
|
150 |
?>
|
151 |
<!-- Banner section start -->
|
152 |
<div class="sp-testimonial-premium-wraper">
|
167 |
</div>
|
168 |
<div class="sp_testimonial-col-xl-6">
|
169 |
<div class="sp_testimonial-banner-img">
|
170 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/premium-vector-3.svg' ); ?>" alt="">
|
171 |
</div>
|
172 |
</div>
|
173 |
</div>
|
222 |
<h4 class="sp_testimonial-font-16 sp_testimonial-mt-10 sp_testimonial-font-weight-400">Make customers 70% more probable to purchase with testimonials that drive sales</h4>
|
223 |
</div>
|
224 |
<div class="video-area text-center">
|
225 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/premium-vector-1.svg' ); ?>" alt="">
|
226 |
<div class="video-button">
|
227 |
<a class="js-video-button" href="#" data-channel="youtube" data-video-url="//www.youtube.com/embed/4wtkBqZ4Urw">
|
228 |
<span><i class="fa fa-play"></i></span>
|
244 |
<div class="feature-area">
|
245 |
<div class="feature-item mr-30">
|
246 |
<div class="feature-icon">
|
247 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/layouts.svg' ); ?>" alt="">
|
248 |
</div>
|
249 |
<div class="feature-content">
|
250 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">5+ Beautiful Layouts</h3>
|
254 |
<div class="feature-item ml-30">
|
255 |
<div class="feature-icon">
|
256 |
<img src="
|
257 |
+
<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/themes.svg' ); ?>
|
258 |
" alt="">
|
259 |
</div>
|
260 |
<div class="feature-content">
|
266 |
<div class="feature-area">
|
267 |
<div class="feature-item mr-30">
|
268 |
<div class="feature-icon">
|
269 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/filter.svg' ); ?>" alt="">
|
270 |
</div>
|
271 |
<div class="feature-content">
|
272 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Filter Testimonials (Groups, Specific, Exclude)</h3>
|
275 |
</div>
|
276 |
<div class="feature-item ml-30">
|
277 |
<div class="feature-icon">
|
278 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/display-options.svg' ); ?>" alt="">
|
279 |
</div>
|
280 |
<div class="feature-content">
|
281 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">14 Display Options (Information Fields)</h3>
|
286 |
<div class="feature-area">
|
287 |
<div class="feature-item mr-30">
|
288 |
<div class="feature-icon">
|
289 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/submission-forms.svg' ); ?>" alt="">
|
290 |
</div>
|
291 |
<div class="feature-content">
|
292 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Multiple Testimonials Submission Forms</h3>
|
295 |
</div>
|
296 |
<div class="feature-item ml-30">
|
297 |
<div class="feature-icon">
|
298 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/drag-and-drop.svg' ); ?>" alt="">
|
299 |
</div>
|
300 |
<div class="feature-content">
|
301 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Drag & Drop Submission Forms Fields</h3>
|
306 |
<div class="feature-area">
|
307 |
<div class="feature-item mr-30">
|
308 |
<div class="feature-icon">
|
309 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/thumbnail-slider.svg' ); ?>" alt="">
|
310 |
</div>
|
311 |
<div class="feature-content">
|
312 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Thumbnail Testimonial Slider</h3>
|
315 |
</div>
|
316 |
<div class="feature-item ml-30">
|
317 |
<div class="feature-icon">
|
318 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/video-testimonial.svg' ); ?>" alt="">
|
319 |
</div>
|
320 |
<div class="feature-content">
|
321 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Video Testimonial with Lightbox</h3>
|
326 |
<div class="feature-area">
|
327 |
<div class="feature-item mr-30">
|
328 |
<div class="feature-icon">
|
329 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/read-more.svg' ); ?>" alt="">
|
330 |
</div>
|
331 |
<div class="feature-content">
|
332 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Read More Action Type (Expand/PopUp)</h3>
|
335 |
</div>
|
336 |
<div class="feature-item ml-30">
|
337 |
<div class="feature-icon">
|
338 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/rich-snippets.svg' ); ?>" alt="">
|
339 |
</div>
|
340 |
<div class="feature-content">
|
341 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Rich Snippets/Structured Data Compatible</h3>
|
346 |
<div class="feature-area">
|
347 |
<div class="feature-item mr-30">
|
348 |
<div class="feature-icon">
|
349 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/ajax-pagination.svg' ); ?>" alt="">
|
350 |
</div>
|
351 |
<div class="feature-content">
|
352 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Ajax Pagination</h3>
|
356 |
</div>
|
357 |
<div class="feature-item ml-30">
|
358 |
<div class="feature-icon">
|
359 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/translation-ready.svg' ); ?>" alt="">
|
360 |
</div>
|
361 |
<div class="feature-content">
|
362 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Translation Ready with WPML</h3>
|
367 |
<div class="feature-area">
|
368 |
<div class="feature-item mr-30">
|
369 |
<div class="feature-icon">
|
370 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/automatic-updates.svg' ); ?>" alt="">
|
371 |
</div>
|
372 |
<div class="feature-content">
|
373 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Built-in Automatic Updates</h3>
|
376 |
</div>
|
377 |
<div class="feature-item ml-30">
|
378 |
<div class="feature-icon">
|
379 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/support.svg' ); ?>" alt="">
|
380 |
</div>
|
381 |
<div class="feature-content">
|
382 |
<h3 class="sp_testimonial-font-18 sp_testimonial-font-weight-600">Fast & Friendly Support (One to One)</h3>
|
395 |
<div class="row">
|
396 |
<div class="sp_testimonial-col-xl-6">
|
397 |
<div class="buy-img">
|
398 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/premium/premium-vector-2.svg' ); ?>" alt="">
|
399 |
</div>
|
400 |
</div>
|
401 |
<div class="sp_testimonial-col-xl-6">
|
427 |
* Help Page Callback
|
428 |
*/
|
429 |
public function help_page_callback() {
|
430 |
+
wp_enqueue_style( 'testimonial-free-admin-help', SP_TFREE_URL . 'Admin/assets/css/help-page.min.css', array(), SP_TFREE_VERSION );
|
431 |
$add_new_testimoinial_link = admin_url( 'post-new.php?post_type=spt_testimonial' );
|
432 |
?>
|
433 |
|
437 |
<div class="header-area">
|
438 |
<div class="container">
|
439 |
<div class="header-logo">
|
440 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/testimonial-logo-2.svg' ); ?>" alt="">
|
441 |
<span><?php echo esc_html( SP_TFREE_VERSION ); ?></span>
|
442 |
</div>
|
443 |
<div class="header-content">
|
467 |
<div class="upgrade-area">
|
468 |
<h2>Upgrade To Real Testimonials Pro</h2>
|
469 |
<p>Easily collect and display testimonials on your website and boost conversions.</p>
|
470 |
+
<div class="upgrade-img"><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/header-img.svg' ); ?>" alt=""></div>
|
471 |
</div>
|
472 |
<div class="upgrade-info">
|
473 |
<div class="container">
|
474 |
<div class="row">
|
475 |
<div class="col-lg-6">
|
476 |
<ul class="upgrade-list">
|
477 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
478 |
5+ Beautiful Testimonial Layouts.
|
479 |
</li>
|
480 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
481 |
10+ Customizable & Professionally Designed Themes.</li>
|
482 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
483 |
Advanced Shortcode Generator with Query options.</li>
|
484 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">Thumbnail Testimonials Slider.</li>
|
485 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt=""> Advanced Typography and Styling options.</li>
|
486 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt=""> Display Group or Specific Testimonials.</li>
|
487 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt=""> Isotope Filtering Testimonials by Categories.</li>
|
488 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
489 |
Video Testimonials for lightbox functionality.</li>
|
490 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">Create Multiple Testimonial Submission Forms.</li>
|
491 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
492 |
Drag & drop Testimonial Form Builder.</li>
|
493 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt=""> Testimonial Pending in Dashboard for approval.</li>
|
494 |
+
<li><img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt=""> Site Admin can manage the Testimonials before publishing.</li>
|
495 |
</ul>
|
496 |
</div>
|
497 |
<div class="col-lg-6">
|
498 |
<ul class="upgrade-list">
|
499 |
<li>
|
500 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
501 |
Testimonial Form Spam Protection with Google reCAPTCHA.
|
502 |
</li>
|
503 |
<li>
|
504 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
505 |
Multiple Testimonial Rows in the Carousel.
|
506 |
</li>
|
507 |
<li>
|
508 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
509 |
Rich Snippets/Structured Data compatible (Schema Markup).
|
510 |
</li>
|
511 |
<li>
|
512 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
513 |
Ajax Pagination (Number, Load More, & Infinite Scroll).
|
514 |
</li>
|
515 |
<li>
|
516 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
517 |
14 Display (Reviewer Information) Options.
|
518 |
</li>
|
519 |
<li>
|
520 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
521 |
Read More & Characters Limit.
|
522 |
</li>
|
523 |
<li>
|
524 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
525 |
Read More Action Type (Expand/PopUp).
|
526 |
</li>
|
527 |
<li>
|
528 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
529 |
20+ Slider Control Options.
|
530 |
</li>
|
531 |
<li>
|
532 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
533 |
Fully Translation ready with WPML, Polylang and more.
|
534 |
</li>
|
535 |
<li>
|
536 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
537 |
Built-in Automatic Updates.</li>
|
538 |
<li>
|
539 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt="">
|
540 |
One To One Fast & Friendly Support.
|
541 |
</li>
|
542 |
<li>
|
543 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/checkmark.svg' ); ?>" alt=""><span>
|
544 |
Not Happy? 100% No Questions Asked <a href="https://shapedplugin.com/refund-policy/" target="_blank">Refund Policy!</a></span>
|
545 |
</li>
|
546 |
</ul>
|
552 |
<div class="upgrade-pro">
|
553 |
<div class="pro-content">
|
554 |
<div class="pro-icon">
|
555 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/Testimonial-icon.svg' ); ?>" alt="">
|
556 |
</div>
|
557 |
<div class="pro-text">
|
558 |
<h2>Real Testimonials Pro</h2>
|
577 |
</div>
|
578 |
<div class="testimonial-info">
|
579 |
<div class="img">
|
580 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/sirpa.png' ); ?>" alt="">
|
581 |
</div>
|
582 |
<div class="info">
|
583 |
<h3>Sirpa</h3>
|
595 |
</div>
|
596 |
<div class="testimonial-info">
|
597 |
<div class="img">
|
598 |
+
<img src="<?php echo esc_url( SP_TFREE_URL . 'Admin/assets/images/ali_senejani.png' ); ?>" alt="">
|
599 |
</div>
|
600 |
<div class="info">
|
601 |
<h3>Ali Senejani</h3>
|
616 |
|
617 |
|
618 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/Includes/TestimonialFree.php
ADDED
@@ -0,0 +1,373 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Handles core plugin hooks and action setup.
|
4 |
+
*
|
5 |
+
* @link http://shapedplugin.com
|
6 |
+
* @since 2.0.0
|
7 |
+
*
|
8 |
+
* @package Testimonial_free.
|
9 |
+
* @subpackage Testimonial_free/includes.
|
10 |
+
*/
|
11 |
+
|
12 |
+
namespace ShapedPlugin\TestimonialFree\Includes;
|
13 |
+
|
14 |
+
use ShapedPlugin\TestimonialFree\Admin\Admin;
|
15 |
+
use ShapedPlugin\TestimonialFree\Includes\TFREE_Functions;
|
16 |
+
use ShapedPlugin\TestimonialFree\Includes\Import_Export;
|
17 |
+
use ShapedPlugin\TestimonialFree\Frontend\Frontend;
|
18 |
+
use ShapedPlugin\TestimonialFree\Frontend\Views\Deprecated_Shortcodes;
|
19 |
+
|
20 |
+
// If this file is called directly, abort.
|
21 |
+
if ( ! defined( 'WPINC' ) ) {
|
22 |
+
die;
|
23 |
+
}
|
24 |
+
|
25 |
+
|
26 |
+
/**
|
27 |
+
* TestimonialFree
|
28 |
+
*/
|
29 |
+
class TestimonialFree {
|
30 |
+
/**
|
31 |
+
* Plugin version
|
32 |
+
*
|
33 |
+
* @var string
|
34 |
+
*/
|
35 |
+
public $version = '2.4.4';
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Plugin testimonial.
|
39 |
+
*
|
40 |
+
* @var SP_TFREE_Testimonial $testimonial
|
41 |
+
*/
|
42 |
+
public $testimonial;
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Plugin short code.
|
46 |
+
*
|
47 |
+
* @var SP_TFREE_Shortcodes $shortcode
|
48 |
+
*/
|
49 |
+
public $shortcode;
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Plugin router.
|
53 |
+
*
|
54 |
+
* @var SP_TFREE_Router $router
|
55 |
+
*/
|
56 |
+
public $router;
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Holds class object.
|
60 |
+
*
|
61 |
+
* @var null
|
62 |
+
* @since 2.0
|
63 |
+
*/
|
64 |
+
protected static $_instance = null;
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Initialize the SP_Testimonial_FREE() class.
|
68 |
+
*
|
69 |
+
* @return SP_Testimonial_FREE
|
70 |
+
* @since 2.0
|
71 |
+
*/
|
72 |
+
public static function instance() {
|
73 |
+
if ( is_null( self::$_instance ) ) {
|
74 |
+
self::$_instance = new self();
|
75 |
+
}
|
76 |
+
|
77 |
+
return self::$_instance;
|
78 |
+
}
|
79 |
+
|
80 |
+
/**
|
81 |
+
* SP_Testimonial_FREE constructor.
|
82 |
+
*/
|
83 |
+
public function __construct() {
|
84 |
+
// Required class file include.
|
85 |
+
spl_autoload_register( array( $this, 'autoload' ) );
|
86 |
+
|
87 |
+
new Admin();
|
88 |
+
|
89 |
+
new TFREE_Functions();
|
90 |
+
new Frontend();
|
91 |
+
new Deprecated_Shortcodes();
|
92 |
+
|
93 |
+
// Initialize the filter hooks.
|
94 |
+
$this->init_filters();
|
95 |
+
|
96 |
+
// Initialize the action hooks.
|
97 |
+
$this->init_actions();
|
98 |
+
}
|
99 |
+
|
100 |
+
/**
|
101 |
+
* Initialize WordPress filter hooks
|
102 |
+
*
|
103 |
+
* @return void
|
104 |
+
*/
|
105 |
+
public function init_filters() {
|
106 |
+
add_filter( 'plugin_action_links', array( $this, 'add_plugin_action_links' ), 10, 2 );
|
107 |
+
add_filter( 'manage_spt_shortcodes_posts_columns', array( $this, 'add_shortcode_column' ) );
|
108 |
+
add_filter( 'plugin_row_meta', array( $this, 'after_testimonial_free_row_meta' ), 10, 4 );
|
109 |
+
add_filter( 'manage_spt_testimonial_posts_columns', array( $this, 'add_testimonial_column' ) );
|
110 |
+
}
|
111 |
+
|
112 |
+
/**
|
113 |
+
* Initialize WordPress action hooks
|
114 |
+
*
|
115 |
+
* @return void
|
116 |
+
*/
|
117 |
+
public function init_actions() {
|
118 |
+
add_action( 'plugins_loaded', array( $this, 'load_text_domain' ) );
|
119 |
+
add_action( 'manage_spt_shortcodes_posts_custom_column', array( $this, 'add_shortcode_form' ), 10, 2 );
|
120 |
+
add_action( 'manage_spt_testimonial_posts_custom_column', array( $this, 'add_testimonial_extra_column' ), 10, 2 );
|
121 |
+
add_action( 'activated_plugin', array( $this, 'redirect_help_page' ) );
|
122 |
+
|
123 |
+
// Import Export.
|
124 |
+
$import_export = new Import_Export( SP_TFREE_NAME, SP_TFREE_VERSION );
|
125 |
+
|
126 |
+
add_action( 'wp_ajax_spt_export_shortcodes', array( $import_export, 'export_shortcodes' ) );
|
127 |
+
add_action( 'wp_ajax_spt_import_shortcodes', array( $import_export, 'import_shortcodes' ) );
|
128 |
+
// Polylang plugin support for multi language support.
|
129 |
+
if ( class_exists( 'Polylang' ) ) {
|
130 |
+
add_filter( 'pll_get_post_types', array( $this, 'sp_free_testimonial_polylang' ), 10, 2 );
|
131 |
+
}
|
132 |
+
}
|
133 |
+
|
134 |
+
/**
|
135 |
+
* Define constant if not already set.
|
136 |
+
*
|
137 |
+
* @since 2.0
|
138 |
+
*
|
139 |
+
* @param string $name Constant name.
|
140 |
+
* @param string|bool $value Constant value.
|
141 |
+
*/
|
142 |
+
public function define( $name, $value ) {
|
143 |
+
if ( ! defined( $name ) ) {
|
144 |
+
define( $name, $value );
|
145 |
+
}
|
146 |
+
}
|
147 |
+
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Load TextDomain for plugin.
|
151 |
+
*
|
152 |
+
* @since 2.0
|
153 |
+
*/
|
154 |
+
public function load_text_domain() {
|
155 |
+
load_plugin_textdomain( 'testimonial-free', false, SP_TFREE_PATH . '/languages' );
|
156 |
+
}
|
157 |
+
|
158 |
+
/**
|
159 |
+
* Add plugin action menu
|
160 |
+
*
|
161 |
+
* Fired by `plugin_action_links` filter.
|
162 |
+
*
|
163 |
+
* @param array $links The action link.
|
164 |
+
* @param string $file The file.
|
165 |
+
* @since 2.0.0
|
166 |
+
* @return array
|
167 |
+
*/
|
168 |
+
public function add_plugin_action_links( $links, $file ) {
|
169 |
+
|
170 |
+
if ( SP_TFREE_BASENAME === $file ) {
|
171 |
+
$ui_links = array(
|
172 |
+
sprintf( '<a href="%s">%s</a>', admin_url( 'post-new.php?post_type=spt_testimonial' ), __( 'Add Testimonial', 'testimonial-free' ) ),
|
173 |
+
sprintf( '<a href="%s">%s</a>', admin_url( 'edit.php?post_type=spt_shortcodes' ), __( 'Manage Views', 'testimonial-free' ) ),
|
174 |
+
);
|
175 |
+
$links['go_pro'] = sprintf( '<a href="%s" style="%s">%s</a>', 'https://shapedplugin.com/real-testimonials/?ref=1', 'color:#35b747;font-weight:bold', __( 'Go Pro!', 'testimonial-free' ) );
|
176 |
+
|
177 |
+
return array_merge( $ui_links, $links );
|
178 |
+
|
179 |
+
}
|
180 |
+
|
181 |
+
return $links;
|
182 |
+
}
|
183 |
+
|
184 |
+
/**
|
185 |
+
* Add plugin row meta link
|
186 |
+
*
|
187 |
+
* @since 2.0
|
188 |
+
*
|
189 |
+
* @param array $plugin_meta An array of the plugin's metadata.
|
190 |
+
* @param string $file Path to the plugin file.
|
191 |
+
*
|
192 |
+
* @return array An array of plugin row meta links
|
193 |
+
*/
|
194 |
+
public function after_testimonial_free_row_meta( $plugin_meta, $file ) {
|
195 |
+
if ( SP_TFREE_BASENAME === $file ) {
|
196 |
+
$plugin_meta[] = '<a href="https://demo.shapedplugin.com/testimonial/" target="_blank">' . __( 'Live Demo', 'testimonial-free' ) . '</a>';
|
197 |
+
}
|
198 |
+
|
199 |
+
return $plugin_meta;
|
200 |
+
}
|
201 |
+
|
202 |
+
/**
|
203 |
+
* Autoload class files on demand
|
204 |
+
*
|
205 |
+
* @param string $class requested class name.
|
206 |
+
*/
|
207 |
+
public function autoload( $class ) {
|
208 |
+
$name = explode( '_', $class );
|
209 |
+
if ( isset( $name[2] ) ) {
|
210 |
+
$class_name = strtolower( $name[2] );
|
211 |
+
$filename = SP_TFREE_PATH . '/class/' . $class_name . '.php';
|
212 |
+
|
213 |
+
if ( file_exists( $filename ) ) {
|
214 |
+
require_once $filename;
|
215 |
+
}
|
216 |
+
}
|
217 |
+
}
|
218 |
+
|
219 |
+
/**
|
220 |
+
* Polylang plugin support for multi language support.
|
221 |
+
*
|
222 |
+
* @param array $post_types Post type.
|
223 |
+
* @param boolean $is_settings Polylang settings true/false.
|
224 |
+
*/
|
225 |
+
public function sp_free_testimonial_polylang( $post_types, $is_settings ) {
|
226 |
+
if ( $is_settings ) {
|
227 |
+
// hides 'spt_testimonial,spt_shortcodes' from the list of custom post types in Polylang settings.
|
228 |
+
unset( $post_types['spt_testimonial'] );
|
229 |
+
unset( $post_types['spt_shortcodes'] );
|
230 |
+
} else {
|
231 |
+
// enables language and translation management for 'tspt_testimonial,sp_free_shortcodes'.
|
232 |
+
$post_types['spt_testimonial'] = 'spt_testimonial';
|
233 |
+
$post_types['spt_shortcodes'] = 'spt_shortcodes';
|
234 |
+
}
|
235 |
+
return $post_types;
|
236 |
+
}
|
237 |
+
|
238 |
+
/**
|
239 |
+
* ShortCode Column.
|
240 |
+
*
|
241 |
+
* @return array
|
242 |
+
*/
|
243 |
+
public function add_shortcode_column() {
|
244 |
+
$new_columns['cb'] = '<input type="checkbox" />';
|
245 |
+
$new_columns['title'] = __( 'Slider Title', 'testimonial-free' );
|
246 |
+
$new_columns['shortcode'] = __( 'Shortcode', 'testimonial-free' );
|
247 |
+
$new_columns[''] = '';
|
248 |
+
$new_columns['date'] = __( 'Date', 'testimonial-free' );
|
249 |
+
|
250 |
+
return $new_columns;
|
251 |
+
}
|
252 |
+
|
253 |
+
/**
|
254 |
+
* Display admin columns for the testimonial.
|
255 |
+
*
|
256 |
+
* @param string $column The columns.
|
257 |
+
* @param int $post_id The post ID.
|
258 |
+
* @since 2.0.0
|
259 |
+
* @return void
|
260 |
+
*/
|
261 |
+
public function add_shortcode_form( $column, $post_id ) {
|
262 |
+
|
263 |
+
switch ( $column ) {
|
264 |
+
|
265 |
+
case 'shortcode':
|
266 |
+
echo '<input class="sp_tfree_input" style="width: 230px;padding: 4px 8px;" type="text" readonly="readonly" value="[sp_testimonial id="' . esc_attr( $post_id ) . '"]"/>
|
267 |
+
<div class="sp-testimonial-after-copy-text"><i class="fa fa-check-circle"></i> Shortcode Copied to Clipboard! </div>';
|
268 |
+
break;
|
269 |
+
default:
|
270 |
+
break;
|
271 |
+
|
272 |
+
} // end switch
|
273 |
+
|
274 |
+
}
|
275 |
+
|
276 |
+
/**
|
277 |
+
* Real Testimonials Column
|
278 |
+
*
|
279 |
+
* @return array
|
280 |
+
*/
|
281 |
+
public function add_testimonial_column() {
|
282 |
+
$new_columns['cb'] = '<input type="checkbox" />';
|
283 |
+
$new_columns['title'] = __( 'Title', 'testimonial-free' );
|
284 |
+
$new_columns['image'] = __( 'Image', 'testimonial-free' );
|
285 |
+
$new_columns['name'] = __( 'Name', 'testimonial-free' );
|
286 |
+
$new_columns['rating'] = __( 'Rating', 'testimonial-free' );
|
287 |
+
$new_columns[''] = '';
|
288 |
+
$new_columns['date'] = __( 'Date', 'testimonial-free' );
|
289 |
+
|
290 |
+
return $new_columns;
|
291 |
+
}
|
292 |
+
|
293 |
+
/**
|
294 |
+
* Display testimonial member columns.
|
295 |
+
*
|
296 |
+
* @param string $column The columns.
|
297 |
+
* @param int $post_id The post ID.
|
298 |
+
*/
|
299 |
+
public function add_testimonial_extra_column( $column, $post_id ) {
|
300 |
+
|
301 |
+
switch ( $column ) {
|
302 |
+
|
303 |
+
case 'rating':
|
304 |
+
$testimonial_data = get_post_meta( $post_id, 'sp_tpro_meta_options', true );
|
305 |
+
if ( isset( $testimonial_data['tpro_rating'] ) ) {
|
306 |
+
$rating_star = $testimonial_data['tpro_rating'];
|
307 |
+
$fill_star = '<i style="color: #f3bb00;" class="fa fa-star"></i>';
|
308 |
+
$empty_star = '<i class="fa fa-star"></i>';
|
309 |
+
switch ( $rating_star ) {
|
310 |
+
case 'one_star':
|
311 |
+
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $empty_star . $empty_star . $empty_star . $empty_star . '</span>';
|
312 |
+
break;
|
313 |
+
case 'two_star':
|
314 |
+
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $empty_star . $empty_star . $empty_star . '</span>';
|
315 |
+
break;
|
316 |
+
case 'three_star':
|
317 |
+
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $fill_star . $empty_star . $empty_star . '</span>';
|
318 |
+
break;
|
319 |
+
case 'four_star':
|
320 |
+
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $fill_star . $fill_star . $empty_star . '</span>';
|
321 |
+
break;
|
322 |
+
case 'five_star':
|
323 |
+
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $fill_star . $fill_star . $fill_star . '</span>';
|
324 |
+
break;
|
325 |
+
default:
|
326 |
+
$column_field = '<span aria-hidden="true">—</span>';
|
327 |
+
break;
|
328 |
+
}
|
329 |
+
|
330 |
+
echo wp_kses_post( $column_field );
|
331 |
+
}
|
332 |
+
|
333 |
+
break;
|
334 |
+
case 'image':
|
335 |
+
$thumb_id = get_post_thumbnail_id( $post_id );
|
336 |
+
$testimonial_client_image = wp_get_attachment_image_src( $thumb_id, 'thumbnail' );
|
337 |
+
if ( '' !== $testimonial_client_image && is_array( $testimonial_client_image ) ) {
|
338 |
+
echo '<img src="' . esc_url( $testimonial_client_image[0] ) . '" width="' . esc_attr( $testimonial_client_image[1] ) . '" height="' . esc_attr( $testimonial_client_image[2] ) . '" alt="clint-image" class="sp-testimonial-column-image"/>';
|
339 |
+
} else {
|
340 |
+
echo '<span aria-hidden="true">—</span>';
|
341 |
+
}
|
342 |
+
break;
|
343 |
+
default:
|
344 |
+
break;
|
345 |
+
case 'name':
|
346 |
+
$testimonial_data = get_post_meta( $post_id, 'sp_tpro_meta_options', true );
|
347 |
+
if ( isset( $testimonial_data['tpro_name'] ) ) {
|
348 |
+
$testimonial_client_name = $testimonial_data['tpro_name'];
|
349 |
+
if ( '' !== $testimonial_client_name ) {
|
350 |
+
echo esc_html( $testimonial_client_name );
|
351 |
+
} else {
|
352 |
+
echo '<span aria-hidden="true">—</span>';
|
353 |
+
}
|
354 |
+
}
|
355 |
+
break;
|
356 |
+
|
357 |
+
} // end switch
|
358 |
+
|
359 |
+
}
|
360 |
+
|
361 |
+
/**
|
362 |
+
* Redirect after active.
|
363 |
+
*
|
364 |
+
* @param string $plugin Plugin base name.
|
365 |
+
*/
|
366 |
+
public function redirect_help_page( $plugin ) {
|
367 |
+
if ( SP_TFREE_BASENAME === $plugin ) {
|
368 |
+
wp_safe_redirect( admin_url( 'edit.php?post_type=spt_testimonial&page=tfree_help' ) );
|
369 |
+
exit();
|
370 |
+
}
|
371 |
+
}
|
372 |
+
|
373 |
+
}
|
testimonial-free.php
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
* Plugin Name: Real Testimonials
|
13 |
* Plugin URI: https://shapedplugin.com/real-testimonials/?ref=1
|
14 |
* 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.
|
16 |
* Author: ShapedPlugin
|
17 |
* Author URI: https://shapedplugin.com/
|
18 |
* Text Domain: testimonial-free
|
@@ -23,422 +23,41 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
23 |
exit; // Exit if accessed directly.
|
24 |
}
|
25 |
|
|
|
26 |
/**
|
27 |
* Pro version check.
|
28 |
*
|
29 |
* @return boolean
|
30 |
*/
|
31 |
-
function
|
32 |
include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
33 |
-
if (
|
34 |
return true;
|
35 |
}
|
36 |
}
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
require_once plugin_dir_path( __FILE__ ) . 'admin/views/testimonial-settings.php';
|
44 |
-
require_once plugin_dir_path( __FILE__ ) . 'admin/views/testimonial-tools.php';
|
45 |
-
require_once plugin_dir_path( __FILE__ ) . 'admin/views/testimonial-metaboxs.php';
|
46 |
-
require_once plugin_dir_path( __FILE__ ) . 'admin/views/testimonial-form.php';
|
47 |
-
}
|
48 |
-
|
49 |
-
if ( ! class_exists( 'SP_Testimonial_FREE' ) ) {
|
50 |
-
/**
|
51 |
-
* Handles core plugin hooks and action setup.
|
52 |
-
*
|
53 |
-
* @package testimonial-free
|
54 |
-
* @since 2.0
|
55 |
-
*/
|
56 |
-
class SP_Testimonial_FREE {
|
57 |
-
/**
|
58 |
-
* Plugin version
|
59 |
-
*
|
60 |
-
* @var string
|
61 |
-
*/
|
62 |
-
public $version = '2.4.4';
|
63 |
-
|
64 |
-
/**
|
65 |
-
* Plugin testimonial.
|
66 |
-
*
|
67 |
-
* @var SP_TFREE_Testimonial $testimonial
|
68 |
-
*/
|
69 |
-
public $testimonial;
|
70 |
-
|
71 |
-
/**
|
72 |
-
* Plugin short code.
|
73 |
-
*
|
74 |
-
* @var SP_TFREE_Shortcodes $shortcode
|
75 |
-
*/
|
76 |
-
public $shortcode;
|
77 |
-
|
78 |
-
/**
|
79 |
-
* Plugin router.
|
80 |
-
*
|
81 |
-
* @var SP_TFREE_Router $router
|
82 |
-
*/
|
83 |
-
public $router;
|
84 |
-
|
85 |
-
/**
|
86 |
-
* Holds class object.
|
87 |
-
*
|
88 |
-
* @var null
|
89 |
-
* @since 2.0
|
90 |
-
*/
|
91 |
-
protected static $_instance = null;
|
92 |
-
|
93 |
-
/**
|
94 |
-
* Initialize the SP_Testimonial_FREE() class.
|
95 |
-
*
|
96 |
-
* @return SP_Testimonial_FREE
|
97 |
-
* @since 2.0
|
98 |
-
*/
|
99 |
-
public static function instance() {
|
100 |
-
if ( is_null( self::$_instance ) ) {
|
101 |
-
self::$_instance = new self();
|
102 |
-
}
|
103 |
-
|
104 |
-
return self::$_instance;
|
105 |
-
}
|
106 |
-
|
107 |
-
/**
|
108 |
-
* SP_Testimonial_FREE constructor.
|
109 |
-
*/
|
110 |
-
public function __construct() {
|
111 |
-
// Define constants.
|
112 |
-
$this->define_constants();
|
113 |
-
|
114 |
-
// Required class file include.
|
115 |
-
spl_autoload_register( array( $this, 'autoload' ) );
|
116 |
-
|
117 |
-
// Include required files.
|
118 |
-
$this->includes();
|
119 |
-
|
120 |
-
// instantiate classes.
|
121 |
-
$this->instantiate();
|
122 |
-
|
123 |
-
// Initialize the filter hooks.
|
124 |
-
$this->init_filters();
|
125 |
-
|
126 |
-
// Initialize the action hooks.
|
127 |
-
$this->init_actions();
|
128 |
-
}
|
129 |
-
|
130 |
-
/**
|
131 |
-
* Initialize WordPress filter hooks
|
132 |
-
*
|
133 |
-
* @return void
|
134 |
-
*/
|
135 |
-
public function init_filters() {
|
136 |
-
add_filter( 'plugin_action_links', array( $this, 'add_plugin_action_links' ), 10, 2 );
|
137 |
-
add_filter( 'manage_spt_shortcodes_posts_columns', array( $this, 'add_shortcode_column' ) );
|
138 |
-
add_filter( 'plugin_row_meta', array( $this, 'after_testimonial_free_row_meta' ), 10, 4 );
|
139 |
-
add_filter( 'manage_spt_testimonial_posts_columns', array( $this, 'add_testimonial_column' ) );
|
140 |
-
}
|
141 |
-
|
142 |
-
/**
|
143 |
-
* Initialize WordPress action hooks
|
144 |
-
*
|
145 |
-
* @return void
|
146 |
-
*/
|
147 |
-
public function init_actions() {
|
148 |
-
add_action( 'plugins_loaded', array( $this, 'load_text_domain' ) );
|
149 |
-
add_action( 'manage_spt_shortcodes_posts_custom_column', array( $this, 'add_shortcode_form' ), 10, 2 );
|
150 |
-
add_action( 'manage_spt_testimonial_posts_custom_column', array( $this, 'add_testimonial_extra_column' ), 10, 2 );
|
151 |
-
add_action( 'activated_plugin', array( $this, 'redirect_help_page' ) );
|
152 |
-
|
153 |
-
// Import Export.
|
154 |
-
$import_export = new Testimonial_Import_Export( SP_TFREE_NAME, SP_TFREE_VERSION );
|
155 |
-
|
156 |
-
add_action( 'wp_ajax_spt_export_shortcodes', array( $import_export, 'export_shortcodes' ) );
|
157 |
-
add_action( 'wp_ajax_spt_import_shortcodes', array( $import_export, 'import_shortcodes' ) );
|
158 |
-
}
|
159 |
-
|
160 |
-
/**
|
161 |
-
* Define constants
|
162 |
-
*
|
163 |
-
* @since 2.0
|
164 |
-
*/
|
165 |
-
public function define_constants() {
|
166 |
-
$this->define( 'SP_TFREE_NAME', 'Real Testimonials' );
|
167 |
-
$this->define( 'SP_TFREE_VERSION', $this->version );
|
168 |
-
$this->define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) );
|
169 |
-
$this->define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) );
|
170 |
-
$this->define( 'SP_TFREE_BASENAME', plugin_basename( __FILE__ ) );
|
171 |
-
}
|
172 |
-
|
173 |
-
/**
|
174 |
-
* Define constant if not already set.
|
175 |
-
*
|
176 |
-
* @since 2.0
|
177 |
-
*
|
178 |
-
* @param string $name Constant name.
|
179 |
-
* @param string|bool $value Constant value.
|
180 |
-
*/
|
181 |
-
public function define( $name, $value ) {
|
182 |
-
if ( ! defined( $name ) ) {
|
183 |
-
define( $name, $value );
|
184 |
-
}
|
185 |
-
}
|
186 |
-
|
187 |
-
|
188 |
-
/**
|
189 |
-
* Load TextDomain for plugin.
|
190 |
-
*
|
191 |
-
* @since 2.0
|
192 |
-
*/
|
193 |
-
public function load_text_domain() {
|
194 |
-
load_plugin_textdomain( 'testimonial-free', false, SP_TFREE_PATH . '/languages' );
|
195 |
-
}
|
196 |
-
|
197 |
-
/**
|
198 |
-
* Add plugin action menu
|
199 |
-
*
|
200 |
-
* Fired by `plugin_action_links` filter.
|
201 |
-
*
|
202 |
-
* @param array $links The action link.
|
203 |
-
* @param string $file The file.
|
204 |
-
* @since 2.0.0
|
205 |
-
* @return array
|
206 |
-
*/
|
207 |
-
public function add_plugin_action_links( $links, $file ) {
|
208 |
-
|
209 |
-
if ( SP_TFREE_BASENAME === $file ) {
|
210 |
-
$ui_links = array(
|
211 |
-
sprintf( '<a href="%s">%s</a>', admin_url( 'post-new.php?post_type=spt_testimonial' ), __( 'Add Testimonial', 'testimonial-free' ) ),
|
212 |
-
sprintf( '<a href="%s">%s</a>', admin_url( 'edit.php?post_type=spt_shortcodes' ), __( 'Manage Views', 'testimonial-free' ) ),
|
213 |
-
);
|
214 |
-
$links['go_pro'] = sprintf( '<a href="%s" style="%s">%s</a>', 'https://shapedplugin.com/real-testimonials/?ref=1', 'color:#35b747;font-weight:bold', __( 'Go Pro!', 'testimonial-free' ) );
|
215 |
-
|
216 |
-
return array_merge( $ui_links, $links );
|
217 |
-
|
218 |
-
}
|
219 |
-
|
220 |
-
return $links;
|
221 |
-
}
|
222 |
-
|
223 |
-
/**
|
224 |
-
* Add plugin row meta link
|
225 |
-
*
|
226 |
-
* @since 2.0
|
227 |
-
*
|
228 |
-
* @param array $plugin_meta An array of the plugin's metadata.
|
229 |
-
* @param string $file Path to the plugin file.
|
230 |
-
*
|
231 |
-
* @return array An array of plugin row meta links
|
232 |
-
*/
|
233 |
-
public function after_testimonial_free_row_meta( $plugin_meta, $file ) {
|
234 |
-
if ( SP_TFREE_BASENAME === $file ) {
|
235 |
-
$plugin_meta[] = '<a href="https://demo.shapedplugin.com/testimonial/" target="_blank">' . __( 'Live Demo', 'testimonial-free' ) . '</a>';
|
236 |
-
}
|
237 |
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
/**
|
242 |
-
* Autoload class files on demand
|
243 |
-
*
|
244 |
-
* @param string $class requested class name.
|
245 |
-
*/
|
246 |
-
public function autoload( $class ) {
|
247 |
-
$name = explode( '_', $class );
|
248 |
-
if ( isset( $name[2] ) ) {
|
249 |
-
$class_name = strtolower( $name[2] );
|
250 |
-
$filename = SP_TFREE_PATH . '/class/' . $class_name . '.php';
|
251 |
-
|
252 |
-
if ( file_exists( $filename ) ) {
|
253 |
-
require_once $filename;
|
254 |
-
}
|
255 |
-
}
|
256 |
-
}
|
257 |
-
|
258 |
-
/**
|
259 |
-
* Instantiate all the required classes
|
260 |
-
*
|
261 |
-
* @since 2.0
|
262 |
-
*/
|
263 |
-
public function instantiate() {
|
264 |
-
$this->testimonial = SP_TFREE_Testimonial::getInstance();
|
265 |
-
$this->shortcode = SP_TFREE_Shortcodes::getInstance();
|
266 |
-
|
267 |
-
do_action( 'sp_tfree_instantiate', $this );
|
268 |
-
}
|
269 |
-
|
270 |
-
/**
|
271 |
-
* Page router instantiate.
|
272 |
-
*
|
273 |
-
* @since 2.0
|
274 |
-
*/
|
275 |
-
public function page() {
|
276 |
-
$this->router = SP_TFREE_Router::instance();
|
277 |
-
|
278 |
-
return $this->router;
|
279 |
-
}
|
280 |
-
|
281 |
-
/**
|
282 |
-
* Include the required files
|
283 |
-
*
|
284 |
-
* @return void
|
285 |
-
*/
|
286 |
-
public function includes() {
|
287 |
-
$this->page()->sp_tfree_function();
|
288 |
-
$this->router->includes();
|
289 |
-
}
|
290 |
-
|
291 |
-
/**
|
292 |
-
* ShortCode Column.
|
293 |
-
*
|
294 |
-
* @return array
|
295 |
-
*/
|
296 |
-
public function add_shortcode_column() {
|
297 |
-
$new_columns['cb'] = '<input type="checkbox" />';
|
298 |
-
$new_columns['title'] = __( 'Slider Title', 'testimonial-free' );
|
299 |
-
$new_columns['shortcode'] = __( 'Shortcode', 'testimonial-free' );
|
300 |
-
$new_columns[''] = '';
|
301 |
-
$new_columns['date'] = __( 'Date', 'testimonial-free' );
|
302 |
-
|
303 |
-
return $new_columns;
|
304 |
-
}
|
305 |
-
|
306 |
-
/**
|
307 |
-
* Display admin columns for the testimonial.
|
308 |
-
*
|
309 |
-
* @param string $column The columns.
|
310 |
-
* @param int $post_id The post ID.
|
311 |
-
* @since 2.0.0
|
312 |
-
* @return void
|
313 |
-
*/
|
314 |
-
public function add_shortcode_form( $column, $post_id ) {
|
315 |
-
|
316 |
-
switch ( $column ) {
|
317 |
-
|
318 |
-
case 'shortcode':
|
319 |
-
echo '<input class="sp_tfree_input" style="width: 230px;padding: 4px 8px;" type="text" readonly="readonly" value="[sp_testimonial id="' . esc_attr( $post_id ) . '"]"/>
|
320 |
-
<div class="sptpro-after-copy-text"><i class="fa fa-check-circle"></i> Shortcode Copied to Clipboard! </div>';
|
321 |
-
break;
|
322 |
-
default:
|
323 |
-
break;
|
324 |
-
|
325 |
-
} // end switch
|
326 |
-
|
327 |
-
}
|
328 |
-
|
329 |
-
/**
|
330 |
-
* Real Testimonials Column
|
331 |
-
*
|
332 |
-
* @return array
|
333 |
-
*/
|
334 |
-
public function add_testimonial_column() {
|
335 |
-
$new_columns['cb'] = '<input type="checkbox" />';
|
336 |
-
$new_columns['title'] = __( 'Title', 'testimonial-free' );
|
337 |
-
$new_columns['image'] = __( 'Image', 'testimonial-free' );
|
338 |
-
$new_columns['name'] = __( 'Name', 'testimonial-free' );
|
339 |
-
$new_columns['rating'] = __( 'Rating', 'testimonial-free' );
|
340 |
-
$new_columns[''] = '';
|
341 |
-
$new_columns['date'] = __( 'Date', 'testimonial-free' );
|
342 |
-
|
343 |
-
return $new_columns;
|
344 |
-
}
|
345 |
-
|
346 |
-
/**
|
347 |
-
* Display testimonial member columns.
|
348 |
-
*
|
349 |
-
* @param string $column The columns.
|
350 |
-
* @param int $post_id The post ID.
|
351 |
-
*/
|
352 |
-
public function add_testimonial_extra_column( $column, $post_id ) {
|
353 |
-
|
354 |
-
switch ( $column ) {
|
355 |
-
|
356 |
-
case 'rating':
|
357 |
-
$testimonial_data = get_post_meta( $post_id, 'sp_tpro_meta_options', true );
|
358 |
-
if ( isset( $testimonial_data['tpro_rating'] ) ) {
|
359 |
-
$rating_star = $testimonial_data['tpro_rating'];
|
360 |
-
$fill_star = '<i style="color: #f3bb00;" class="fa fa-star"></i>';
|
361 |
-
$empty_star = '<i class="fa fa-star"></i>';
|
362 |
-
switch ( $rating_star ) {
|
363 |
-
case 'one_star':
|
364 |
-
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $empty_star . $empty_star . $empty_star . $empty_star . '</span>';
|
365 |
-
break;
|
366 |
-
case 'two_star':
|
367 |
-
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $empty_star . $empty_star . $empty_star . '</span>';
|
368 |
-
break;
|
369 |
-
case 'three_star':
|
370 |
-
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $fill_star . $empty_star . $empty_star . '</span>';
|
371 |
-
break;
|
372 |
-
case 'four_star':
|
373 |
-
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $fill_star . $fill_star . $empty_star . '</span>';
|
374 |
-
break;
|
375 |
-
case 'five_star':
|
376 |
-
$column_field = '<span style="font-size: 16px; color: #d4d4d4;">' . $fill_star . $fill_star . $fill_star . $fill_star . $fill_star . '</span>';
|
377 |
-
break;
|
378 |
-
default:
|
379 |
-
$column_field = '<span aria-hidden="true">—</span>';
|
380 |
-
break;
|
381 |
-
}
|
382 |
-
|
383 |
-
echo wp_kses_post( $column_field );
|
384 |
-
}
|
385 |
-
|
386 |
-
break;
|
387 |
-
case 'image':
|
388 |
-
add_image_size( 'sp_tfree_client_small_img', 50, 50, true );
|
389 |
-
|
390 |
-
$thumb_id = get_post_thumbnail_id( $post_id );
|
391 |
-
$testimonial_client_image = wp_get_attachment_image_src( $thumb_id, 'sp_tfree_client_small_img' );
|
392 |
-
if ( '' !== $testimonial_client_image && is_array( $testimonial_client_image ) ) {
|
393 |
-
echo '<img src="' . esc_url( $testimonial_client_image[0] ) . '" width="' . esc_attr( $testimonial_client_image[1] ) . '" height="' . esc_attr( $testimonial_client_image[2] ) . '"/>';
|
394 |
-
} else {
|
395 |
-
echo '<span aria-hidden="true">—</span>';
|
396 |
-
}
|
397 |
-
break;
|
398 |
-
default:
|
399 |
-
break;
|
400 |
-
case 'name':
|
401 |
-
$testimonial_data = get_post_meta( $post_id, 'sp_tpro_meta_options', true );
|
402 |
-
if ( isset( $testimonial_data['tpro_name'] ) ) {
|
403 |
-
$testimonial_client_name = $testimonial_data['tpro_name'];
|
404 |
-
if ( '' !== $testimonial_client_name ) {
|
405 |
-
echo esc_html( $testimonial_client_name );
|
406 |
-
} else {
|
407 |
-
echo '<span aria-hidden="true">—</span>';
|
408 |
-
}
|
409 |
-
}
|
410 |
-
break;
|
411 |
-
|
412 |
-
} // end switch
|
413 |
-
|
414 |
-
}
|
415 |
-
|
416 |
-
/**
|
417 |
-
* Redirect after active.
|
418 |
-
*
|
419 |
-
* @param string $plugin Plugin base name.
|
420 |
-
*/
|
421 |
-
public function redirect_help_page( $plugin ) {
|
422 |
-
if ( SP_TFREE_BASENAME === $plugin ) {
|
423 |
-
wp_safe_redirect( admin_url( 'edit.php?post_type=spt_testimonial&page=tfree_help' ) );
|
424 |
-
exit();
|
425 |
-
}
|
426 |
-
}
|
427 |
-
|
428 |
-
}
|
429 |
}
|
430 |
|
431 |
/**
|
432 |
* Returns the main instance.
|
433 |
*
|
434 |
-
* @since 2.0
|
435 |
-
* @return
|
436 |
*/
|
437 |
function sp_testimonial_free() {
|
438 |
-
|
439 |
}
|
440 |
|
441 |
-
if (
|
442 |
// sp_testimonial_free instance.
|
443 |
sp_testimonial_free();
|
444 |
}
|
12 |
* Plugin Name: Real Testimonials
|
13 |
* Plugin URI: https://shapedplugin.com/real-testimonials/?ref=1
|
14 |
* 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.0
|
16 |
* Author: ShapedPlugin
|
17 |
* Author URI: https://shapedplugin.com/
|
18 |
* Text Domain: testimonial-free
|
23 |
exit; // Exit if accessed directly.
|
24 |
}
|
25 |
|
26 |
+
require_once __DIR__ . '/vendor/autoload.php';
|
27 |
/**
|
28 |
* Pro version check.
|
29 |
*
|
30 |
* @return boolean
|
31 |
*/
|
32 |
+
function is_testimonial_pro_active() {
|
33 |
include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
34 |
+
if ( ( is_plugin_active( 'testimonial-pro/testimonial-pro.php' ) || is_plugin_active_for_network( 'testimonial-pro/testimonial-pro.php' ) ) ) {
|
35 |
return true;
|
36 |
}
|
37 |
}
|
38 |
|
39 |
+
define( 'SP_TFREE_NAME', 'Real Testimonials' );
|
40 |
+
define( 'SP_TFREE_VERSION', '2.5.0' );
|
41 |
+
define( 'SP_TFREE_PATH', plugin_dir_path( __FILE__ ) . 'src/' );
|
42 |
+
define( 'SP_TFREE_URL', plugin_dir_url( __FILE__ ) . 'src/' );
|
43 |
+
define( 'SP_TFREE_BASENAME', plugin_basename( __FILE__ ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
|
45 |
+
if ( ! is_testimonial_pro_active() ) {
|
46 |
+
new ShapedPlugin\TestimonialFree\Admin\Views\Notices\Testimonial_Review();
|
47 |
+
new ShapedPlugin\TestimonialFree\Admin\Views\Framework\Classes\SPFTESTIMONIAL();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
/**
|
51 |
* Returns the main instance.
|
52 |
*
|
53 |
+
* @since 2.0 SP_Testimonial_FREE
|
54 |
+
* @return void
|
55 |
*/
|
56 |
function sp_testimonial_free() {
|
57 |
+
new ShapedPlugin\TestimonialFree\Includes\TestimonialFree();
|
58 |
}
|
59 |
|
60 |
+
if ( function_exists( 'sp_testimonial_free' ) && ! is_testimonial_pro_active() ) {
|
61 |
// sp_testimonial_free instance.
|
62 |
sp_testimonial_free();
|
63 |
}
|
vendor/autoload.php
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload.php @generated by Composer
|
4 |
+
|
5 |
+
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
+
|
7 |
+
return ComposerAutoloaderInit42010586ef8153c3e9b554b47b5ff41c::getLoader();
|
vendor/composer/ClassLoader.php
ADDED
@@ -0,0 +1,479 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
* This file is part of Composer.
|
5 |
+
*
|
6 |
+
* (c) Nils Adermann <naderman@naderman.de>
|
7 |
+
* Jordi Boggiano <j.boggiano@seld.be>
|
8 |
+
*
|
9 |
+
* For the full copyright and license information, please view the LICENSE
|
10 |
+
* file that was distributed with this source code.
|
11 |
+
*/
|
12 |
+
|
13 |
+
namespace Composer\Autoload;
|
14 |
+
|
15 |
+
/**
|
16 |
+
* ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
|
17 |
+
*
|
18 |
+
* $loader = new \Composer\Autoload\ClassLoader();
|
19 |
+
*
|
20 |
+
* // register classes with namespaces
|
21 |
+
* $loader->add('Symfony\Component', __DIR__.'/component');
|
22 |
+
* $loader->add('Symfony', __DIR__.'/framework');
|
23 |
+
*
|
24 |
+
* // activate the autoloader
|
25 |
+
* $loader->register();
|
26 |
+
*
|
27 |
+
* // to enable searching the include path (eg. for PEAR packages)
|
28 |
+
* $loader->setUseIncludePath(true);
|
29 |
+
*
|
30 |
+
* In this example, if you try to use a class in the Symfony\Component
|
31 |
+
* namespace or one of its children (Symfony\Component\Console for instance),
|
32 |
+
* the autoloader will first look for the class under the component/
|
33 |
+
* directory, and it will then fallback to the framework/ directory if not
|
34 |
+
* found before giving up.
|
35 |
+
*
|
36 |
+
* This class is loosely based on the Symfony UniversalClassLoader.
|
37 |
+
*
|
38 |
+
* @author Fabien Potencier <fabien@symfony.com>
|
39 |
+
* @author Jordi Boggiano <j.boggiano@seld.be>
|
40 |
+
* @see https://www.php-fig.org/psr/psr-0/
|
41 |
+
* @see https://www.php-fig.org/psr/psr-4/
|
42 |
+
*/
|
43 |
+
class ClassLoader
|
44 |
+
{
|
45 |
+
private $vendorDir;
|
46 |
+
|
47 |
+
// PSR-4
|
48 |
+
private $prefixLengthsPsr4 = array();
|
49 |
+
private $prefixDirsPsr4 = array();
|
50 |
+
private $fallbackDirsPsr4 = array();
|
51 |
+
|
52 |
+
// PSR-0
|
53 |
+
private $prefixesPsr0 = array();
|
54 |
+
private $fallbackDirsPsr0 = array();
|
55 |
+
|
56 |
+
private $useIncludePath = false;
|
57 |
+
private $classMap = array();
|
58 |
+
private $classMapAuthoritative = false;
|
59 |
+
private $missingClasses = array();
|
60 |
+
private $apcuPrefix;
|
61 |
+
|
62 |
+
private static $registeredLoaders = array();
|
63 |
+
|
64 |
+
public function __construct($vendorDir = null)
|
65 |
+
{
|
66 |
+
$this->vendorDir = $vendorDir;
|
67 |
+
}
|
68 |
+
|
69 |
+
public function getPrefixes()
|
70 |
+
{
|
71 |
+
if (!empty($this->prefixesPsr0)) {
|
72 |
+
return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
|
73 |
+
}
|
74 |
+
|
75 |
+
return array();
|
76 |
+
}
|
77 |
+
|
78 |
+
public function getPrefixesPsr4()
|
79 |
+
{
|
80 |
+
return $this->prefixDirsPsr4;
|
81 |
+
}
|
82 |
+
|
83 |
+
public function getFallbackDirs()
|
84 |
+
{
|
85 |
+
return $this->fallbackDirsPsr0;
|
86 |
+
}
|
87 |
+
|
88 |
+
public function getFallbackDirsPsr4()
|
89 |
+
{
|
90 |
+
return $this->fallbackDirsPsr4;
|
91 |
+
}
|
92 |
+
|
93 |
+
public function getClassMap()
|
94 |
+
{
|
95 |
+
return $this->classMap;
|
96 |
+
}
|
97 |
+
|
98 |
+
/**
|
99 |
+
* @param array $classMap Class to filename map
|
100 |
+
*/
|
101 |
+
public function addClassMap(array $classMap)
|
102 |
+
{
|
103 |
+
if ($this->classMap) {
|
104 |
+
$this->classMap = array_merge($this->classMap, $classMap);
|
105 |
+
} else {
|
106 |
+
$this->classMap = $classMap;
|
107 |
+
}
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* Registers a set of PSR-0 directories for a given prefix, either
|
112 |
+
* appending or prepending to the ones previously set for this prefix.
|
113 |
+
*
|
114 |
+
* @param string $prefix The prefix
|
115 |
+
* @param array|string $paths The PSR-0 root directories
|
116 |
+
* @param bool $prepend Whether to prepend the directories
|
117 |
+
*/
|
118 |
+
public function add($prefix, $paths, $prepend = false)
|
119 |
+
{
|
120 |
+
if (!$prefix) {
|
121 |
+
if ($prepend) {
|
122 |
+
$this->fallbackDirsPsr0 = array_merge(
|
123 |
+
(array) $paths,
|
124 |
+
$this->fallbackDirsPsr0
|
125 |
+
);
|
126 |
+
} else {
|
127 |
+
$this->fallbackDirsPsr0 = array_merge(
|
128 |
+
$this->fallbackDirsPsr0,
|
129 |
+
(array) $paths
|
130 |
+
);
|
131 |
+
}
|
132 |
+
|
133 |
+
return;
|
134 |
+
}
|
135 |
+
|
136 |
+
$first = $prefix[0];
|
137 |
+
if (!isset($this->prefixesPsr0[$first][$prefix])) {
|
138 |
+
$this->prefixesPsr0[$first][$prefix] = (array) $paths;
|
139 |
+
|
140 |
+
return;
|
141 |
+
}
|
142 |
+
if ($prepend) {
|
143 |
+
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
144 |
+
(array) $paths,
|
145 |
+
$this->prefixesPsr0[$first][$prefix]
|
146 |
+
);
|
147 |
+
} else {
|
148 |
+
$this->prefixesPsr0[$first][$prefix] = array_merge(
|
149 |
+
$this->prefixesPsr0[$first][$prefix],
|
150 |
+
(array) $paths
|
151 |
+
);
|
152 |
+
}
|
153 |
+
}
|
154 |
+
|
155 |
+
/**
|
156 |
+
* Registers a set of PSR-4 directories for a given namespace, either
|
157 |
+
* appending or prepending to the ones previously set for this namespace.
|
158 |
+
*
|
159 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
160 |
+
* @param array|string $paths The PSR-4 base directories
|
161 |
+
* @param bool $prepend Whether to prepend the directories
|
162 |
+
*
|
163 |
+
* @throws \InvalidArgumentException
|
164 |
+
*/
|
165 |
+
public function addPsr4($prefix, $paths, $prepend = false)
|
166 |
+
{
|
167 |
+
if (!$prefix) {
|
168 |
+
// Register directories for the root namespace.
|
169 |
+
if ($prepend) {
|
170 |
+
$this->fallbackDirsPsr4 = array_merge(
|
171 |
+
(array) $paths,
|
172 |
+
$this->fallbackDirsPsr4
|
173 |
+
);
|
174 |
+
} else {
|
175 |
+
$this->fallbackDirsPsr4 = array_merge(
|
176 |
+
$this->fallbackDirsPsr4,
|
177 |
+
(array) $paths
|
178 |
+
);
|
179 |
+
}
|
180 |
+
} elseif (!isset($this->prefixDirsPsr4[$prefix])) {
|
181 |
+
// Register directories for a new namespace.
|
182 |
+
$length = strlen($prefix);
|
183 |
+
if ('\\' !== $prefix[$length - 1]) {
|
184 |
+
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
185 |
+
}
|
186 |
+
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
187 |
+
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
188 |
+
} elseif ($prepend) {
|
189 |
+
// Prepend directories for an already registered namespace.
|
190 |
+
$this->prefixDirsPsr4[$prefix] = array_merge(
|
191 |
+
(array) $paths,
|
192 |
+
$this->prefixDirsPsr4[$prefix]
|
193 |
+
);
|
194 |
+
} else {
|
195 |
+
// Append directories for an already registered namespace.
|
196 |
+
$this->prefixDirsPsr4[$prefix] = array_merge(
|
197 |
+
$this->prefixDirsPsr4[$prefix],
|
198 |
+
(array) $paths
|
199 |
+
);
|
200 |
+
}
|
201 |
+
}
|
202 |
+
|
203 |
+
/**
|
204 |
+
* Registers a set of PSR-0 directories for a given prefix,
|
205 |
+
* replacing any others previously set for this prefix.
|
206 |
+
*
|
207 |
+
* @param string $prefix The prefix
|
208 |
+
* @param array|string $paths The PSR-0 base directories
|
209 |
+
*/
|
210 |
+
public function set($prefix, $paths)
|
211 |
+
{
|
212 |
+
if (!$prefix) {
|
213 |
+
$this->fallbackDirsPsr0 = (array) $paths;
|
214 |
+
} else {
|
215 |
+
$this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
|
216 |
+
}
|
217 |
+
}
|
218 |
+
|
219 |
+
/**
|
220 |
+
* Registers a set of PSR-4 directories for a given namespace,
|
221 |
+
* replacing any others previously set for this namespace.
|
222 |
+
*
|
223 |
+
* @param string $prefix The prefix/namespace, with trailing '\\'
|
224 |
+
* @param array|string $paths The PSR-4 base directories
|
225 |
+
*
|
226 |
+
* @throws \InvalidArgumentException
|
227 |
+
*/
|
228 |
+
public function setPsr4($prefix, $paths)
|
229 |
+
{
|
230 |
+
if (!$prefix) {
|
231 |
+
$this->fallbackDirsPsr4 = (array) $paths;
|
232 |
+
} else {
|
233 |
+
$length = strlen($prefix);
|
234 |
+
if ('\\' !== $prefix[$length - 1]) {
|
235 |
+
throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
|
236 |
+
}
|
237 |
+
$this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
|
238 |
+
$this->prefixDirsPsr4[$prefix] = (array) $paths;
|
239 |
+
}
|
240 |
+
}
|
241 |
+
|
242 |
+
/**
|
243 |
+
* Turns on searching the include path for class files.
|
244 |
+
*
|
245 |
+
* @param bool $useIncludePath
|
246 |
+
*/
|
247 |
+
public function setUseIncludePath($useIncludePath)
|
248 |
+
{
|
249 |
+
$this->useIncludePath = $useIncludePath;
|
250 |
+
}
|
251 |
+
|
252 |
+
/**
|
253 |
+
* Can be used to check if the autoloader uses the include path to check
|
254 |
+
* for classes.
|
255 |
+
*
|
256 |
+
* @return bool
|
257 |
+
*/
|
258 |
+
public function getUseIncludePath()
|
259 |
+
{
|
260 |
+
return $this->useIncludePath;
|
261 |
+
}
|
262 |
+
|
263 |
+
/**
|
264 |
+
* Turns off searching the prefix and fallback directories for classes
|
265 |
+
* that have not been registered with the class map.
|
266 |
+
*
|
267 |
+
* @param bool $classMapAuthoritative
|
268 |
+
*/
|
269 |
+
public function setClassMapAuthoritative($classMapAuthoritative)
|
270 |
+
{
|
271 |
+
$this->classMapAuthoritative = $classMapAuthoritative;
|
272 |
+
}
|
273 |
+
|
274 |
+
/**
|
275 |
+
* Should class lookup fail if not found in the current class map?
|
276 |
+
*
|
277 |
+
* @return bool
|
278 |
+
*/
|
279 |
+
public function isClassMapAuthoritative()
|
280 |
+
{
|
281 |
+
return $this->classMapAuthoritative;
|
282 |
+
}
|
283 |
+
|
284 |
+
/**
|
285 |
+
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
|
286 |
+
*
|
287 |
+
* @param string|null $apcuPrefix
|
288 |
+
*/
|
289 |
+
public function setApcuPrefix($apcuPrefix)
|
290 |
+
{
|
291 |
+
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
|
292 |
+
}
|
293 |
+
|
294 |
+
/**
|
295 |
+
* The APCu prefix in use, or null if APCu caching is not enabled.
|
296 |
+
*
|
297 |
+
* @return string|null
|
298 |
+
*/
|
299 |
+
public function getApcuPrefix()
|
300 |
+
{
|
301 |
+
return $this->apcuPrefix;
|
302 |
+
}
|
303 |
+
|
304 |
+
/**
|
305 |
+
* Registers this instance as an autoloader.
|
306 |
+
*
|
307 |
+
* @param bool $prepend Whether to prepend the autoloader or not
|
308 |
+
*/
|
309 |
+
public function register($prepend = false)
|
310 |
+
{
|
311 |
+
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
|
312 |
+
|
313 |
+
if (null === $this->vendorDir) {
|
314 |
+
return;
|
315 |
+
}
|
316 |
+
|
317 |
+
if ($prepend) {
|
318 |
+
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
|
319 |
+
} else {
|
320 |
+
unset(self::$registeredLoaders[$this->vendorDir]);
|
321 |
+
self::$registeredLoaders[$this->vendorDir] = $this;
|
322 |
+
}
|
323 |
+
}
|
324 |
+
|
325 |
+
/**
|
326 |
+
* Unregisters this instance as an autoloader.
|
327 |
+
*/
|
328 |
+
public function unregister()
|
329 |
+
{
|
330 |
+
spl_autoload_unregister(array($this, 'loadClass'));
|
331 |
+
|
332 |
+
if (null !== $this->vendorDir) {
|
333 |
+
unset(self::$registeredLoaders[$this->vendorDir]);
|
334 |
+
}
|
335 |
+
}
|
336 |
+
|
337 |
+
/**
|
338 |
+
* Loads the given class or interface.
|
339 |
+
*
|
340 |
+
* @param string $class The name of the class
|
341 |
+
* @return bool|null True if loaded, null otherwise
|
342 |
+
*/
|
343 |
+
public function loadClass($class)
|
344 |
+
{
|
345 |
+
if ($file = $this->findFile($class)) {
|
346 |
+
includeFile($file);
|
347 |
+
|
348 |
+
return true;
|
349 |
+
}
|
350 |
+
}
|
351 |
+
|
352 |
+
/**
|
353 |
+
* Finds the path to the file where the class is defined.
|
354 |
+
*
|
355 |
+
* @param string $class The name of the class
|
356 |
+
*
|
357 |
+
* @return string|false The path if found, false otherwise
|
358 |
+
*/
|
359 |
+
public function findFile($class)
|
360 |
+
{
|
361 |
+
// class map lookup
|
362 |
+
if (isset($this->classMap[$class])) {
|
363 |
+
return $this->classMap[$class];
|
364 |
+
}
|
365 |
+
if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
|
366 |
+
return false;
|
367 |
+
}
|
368 |
+
if (null !== $this->apcuPrefix) {
|
369 |
+
$file = apcu_fetch($this->apcuPrefix.$class, $hit);
|
370 |
+
if ($hit) {
|
371 |
+
return $file;
|
372 |
+
}
|
373 |
+
}
|
374 |
+
|
375 |
+
$file = $this->findFileWithExtension($class, '.php');
|
376 |
+
|
377 |
+
// Search for Hack files if we are running on HHVM
|
378 |
+
if (false === $file && defined('HHVM_VERSION')) {
|
379 |
+
$file = $this->findFileWithExtension($class, '.hh');
|
380 |
+
}
|
381 |
+
|
382 |
+
if (null !== $this->apcuPrefix) {
|
383 |
+
apcu_add($this->apcuPrefix.$class, $file);
|
384 |
+
}
|
385 |
+
|
386 |
+
if (false === $file) {
|
387 |
+
// Remember that this class does not exist.
|
388 |
+
$this->missingClasses[$class] = true;
|
389 |
+
}
|
390 |
+
|
391 |
+
return $file;
|
392 |
+
}
|
393 |
+
|
394 |
+
/**
|
395 |
+
* Returns the currently registered loaders indexed by their corresponding vendor directories.
|
396 |
+
*
|
397 |
+
* @return self[]
|
398 |
+
*/
|
399 |
+
public static function getRegisteredLoaders()
|
400 |
+
{
|
401 |
+
return self::$registeredLoaders;
|
402 |
+
}
|
403 |
+
|
404 |
+
private function findFileWithExtension($class, $ext)
|
405 |
+
{
|
406 |
+
// PSR-4 lookup
|
407 |
+
$logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
|
408 |
+
|
409 |
+
$first = $class[0];
|
410 |
+
if (isset($this->prefixLengthsPsr4[$first])) {
|
411 |
+
$subPath = $class;
|
412 |
+
while (false !== $lastPos = strrpos($subPath, '\\')) {
|
413 |
+
$subPath = substr($subPath, 0, $lastPos);
|
414 |
+
$search = $subPath . '\\';
|
415 |
+
if (isset($this->prefixDirsPsr4[$search])) {
|
416 |
+
$pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
|
417 |
+
foreach ($this->prefixDirsPsr4[$search] as $dir) {
|
418 |
+
if (file_exists($file = $dir . $pathEnd)) {
|
419 |
+
return $file;
|
420 |
+
}
|
421 |
+
}
|
422 |
+
}
|
423 |
+
}
|
424 |
+
}
|
425 |
+
|
426 |
+
// PSR-4 fallback dirs
|
427 |
+
foreach ($this->fallbackDirsPsr4 as $dir) {
|
428 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
|
429 |
+
return $file;
|
430 |
+
}
|
431 |
+
}
|
432 |
+
|
433 |
+
// PSR-0 lookup
|
434 |
+
if (false !== $pos = strrpos($class, '\\')) {
|
435 |
+
// namespaced class name
|
436 |
+
$logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
|
437 |
+
. strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
|
438 |
+
} else {
|
439 |
+
// PEAR-like class name
|
440 |
+
$logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
|
441 |
+
}
|
442 |
+
|
443 |
+
if (isset($this->prefixesPsr0[$first])) {
|
444 |
+
foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
|
445 |
+
if (0 === strpos($class, $prefix)) {
|
446 |
+
foreach ($dirs as $dir) {
|
447 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
448 |
+
return $file;
|
449 |
+
}
|
450 |
+
}
|
451 |
+
}
|
452 |
+
}
|
453 |
+
}
|
454 |
+
|
455 |
+
// PSR-0 fallback dirs
|
456 |
+
foreach ($this->fallbackDirsPsr0 as $dir) {
|
457 |
+
if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
|
458 |
+
return $file;
|
459 |
+
}
|
460 |
+
}
|
461 |
+
|
462 |
+
// PSR-0 include paths.
|
463 |
+
if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
|
464 |
+
return $file;
|
465 |
+
}
|
466 |
+
|
467 |
+
return false;
|
468 |
+
}
|
469 |
+
}
|
470 |
+
|
471 |
+
/**
|
472 |
+
* Scope isolated include.
|
473 |
+
*
|
474 |
+
* Prevents access to $this/self from included files.
|
475 |
+
*/
|
476 |
+
function includeFile($file)
|
477 |
+
{
|
478 |
+
include $file;
|
479 |
+
}
|
vendor/composer/InstalledVersions.php
ADDED
@@ -0,0 +1,283 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
|
13 |
+
namespace Composer;
|
14 |
+
|
15 |
+
use Composer\Autoload\ClassLoader;
|
16 |
+
use Composer\Semver\VersionParser;
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
|
23 |
+
class InstalledVersions
|
24 |
+
{
|
25 |
+
private static $installed = array (
|
26 |
+
'root' =>
|
27 |
+
array (
|
28 |
+
'pretty_version' => 'dev-master',
|
29 |
+
'version' => 'dev-master',
|
30 |
+
'aliases' =>
|
31 |
+
array (
|
32 |
+
),
|
33 |
+
'reference' => 'd32feec1813e8394bfb27d56cd0e9c1126125c7c',
|
34 |
+
'name' => 'shapedplugin/testimonial-free',
|
35 |
+
),
|
36 |
+
'versions' =>
|
37 |
+
array (
|
38 |
+
'shapedplugin/testimonial-free' =>
|
39 |
+
array (
|
40 |
+
'pretty_version' => 'dev-master',
|
41 |
+
'version' => 'dev-master',
|
42 |
+
'aliases' =>
|
43 |
+
array (
|
44 |
+
),
|
45 |
+
'reference' => 'd32feec1813e8394bfb27d56cd0e9c1126125c7c',
|
46 |
+
),
|
47 |
+
),
|
48 |
+
);
|
49 |
+
private static $canGetVendors;
|
50 |
+
private static $installedByVendor = array();
|
51 |
+
|
52 |
+
|
53 |
+
|
54 |
+
|
55 |
+
|
56 |
+
|
57 |
+
|
58 |
+
public static function getInstalledPackages()
|
59 |
+
{
|
60 |
+
$packages = array();
|
61 |
+
foreach (self::getInstalled() as $installed) {
|
62 |
+
$packages[] = array_keys($installed['versions']);
|
63 |
+
}
|
64 |
+
|
65 |
+
|
66 |
+
if (1 === \count($packages)) {
|
67 |
+
return $packages[0];
|
68 |
+
}
|
69 |
+
|
70 |
+
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
|
71 |
+
}
|
72 |
+
|
73 |
+
|
74 |
+
|
75 |
+
|
76 |
+
|
77 |
+
|
78 |
+
|
79 |
+
|
80 |
+
|
81 |
+
public static function isInstalled($packageName)
|
82 |
+
{
|
83 |
+
foreach (self::getInstalled() as $installed) {
|
84 |
+
if (isset($installed['versions'][$packageName])) {
|
85 |
+
return true;
|
86 |
+
}
|
87 |
+
}
|
88 |
+
|
89 |
+
return false;
|
90 |
+
}
|
91 |
+
|
92 |
+
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
+
|
98 |
+
|
99 |
+
|
100 |
+
|
101 |
+
|
102 |
+
|
103 |
+
|
104 |
+
|
105 |
+
public static function satisfies(VersionParser $parser, $packageName, $constraint)
|
106 |
+
{
|
107 |
+
$constraint = $parser->parseConstraints($constraint);
|
108 |
+
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
|
109 |
+
|
110 |
+
return $provided->matches($constraint);
|
111 |
+
}
|
112 |
+
|
113 |
+
|
114 |
+
|
115 |
+
|
116 |
+
|
117 |
+
|
118 |
+
|
119 |
+
|
120 |
+
|
121 |
+
|
122 |
+
public static function getVersionRanges($packageName)
|
123 |
+
{
|
124 |
+
foreach (self::getInstalled() as $installed) {
|
125 |
+
if (!isset($installed['versions'][$packageName])) {
|
126 |
+
continue;
|
127 |
+
}
|
128 |
+
|
129 |
+
$ranges = array();
|
130 |
+
if (isset($installed['versions'][$packageName]['pretty_version'])) {
|
131 |
+
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
|
132 |
+
}
|
133 |
+
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
|
134 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
|
135 |
+
}
|
136 |
+
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
|
137 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
|
138 |
+
}
|
139 |
+
if (array_key_exists('provided', $installed['versions'][$packageName])) {
|
140 |
+
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
|
141 |
+
}
|
142 |
+
|
143 |
+
return implode(' || ', $ranges);
|
144 |
+
}
|
145 |
+
|
146 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
147 |
+
}
|
148 |
+
|
149 |
+
|
150 |
+
|
151 |
+
|
152 |
+
|
153 |
+
public static function getVersion($packageName)
|
154 |
+
{
|
155 |
+
foreach (self::getInstalled() as $installed) {
|
156 |
+
if (!isset($installed['versions'][$packageName])) {
|
157 |
+
continue;
|
158 |
+
}
|
159 |
+
|
160 |
+
if (!isset($installed['versions'][$packageName]['version'])) {
|
161 |
+
return null;
|
162 |
+
}
|
163 |
+
|
164 |
+
return $installed['versions'][$packageName]['version'];
|
165 |
+
}
|
166 |
+
|
167 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
168 |
+
}
|
169 |
+
|
170 |
+
|
171 |
+
|
172 |
+
|
173 |
+
|
174 |
+
public static function getPrettyVersion($packageName)
|
175 |
+
{
|
176 |
+
foreach (self::getInstalled() as $installed) {
|
177 |
+
if (!isset($installed['versions'][$packageName])) {
|
178 |
+
continue;
|
179 |
+
}
|
180 |
+
|
181 |
+
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
|
182 |
+
return null;
|
183 |
+
}
|
184 |
+
|
185 |
+
return $installed['versions'][$packageName]['pretty_version'];
|
186 |
+
}
|
187 |
+
|
188 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
189 |
+
}
|
190 |
+
|
191 |
+
|
192 |
+
|
193 |
+
|
194 |
+
|
195 |
+
public static function getReference($packageName)
|
196 |
+
{
|
197 |
+
foreach (self::getInstalled() as $installed) {
|
198 |
+
if (!isset($installed['versions'][$packageName])) {
|
199 |
+
continue;
|
200 |
+
}
|
201 |
+
|
202 |
+
if (!isset($installed['versions'][$packageName]['reference'])) {
|
203 |
+
return null;
|
204 |
+
}
|
205 |
+
|
206 |
+
return $installed['versions'][$packageName]['reference'];
|
207 |
+
}
|
208 |
+
|
209 |
+
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
|
210 |
+
}
|
211 |
+
|
212 |
+
|
213 |
+
|
214 |
+
|
215 |
+
|
216 |
+
public static function getRootPackage()
|
217 |
+
{
|
218 |
+
$installed = self::getInstalled();
|
219 |
+
|
220 |
+
return $installed[0]['root'];
|
221 |
+
}
|
222 |
+
|
223 |
+
|
224 |
+
|
225 |
+
|
226 |
+
|
227 |
+
|
228 |
+
|
229 |
+
public static function getRawData()
|
230 |
+
{
|
231 |
+
return self::$installed;
|
232 |
+
}
|
233 |
+
|
234 |
+
|
235 |
+
|
236 |
+
|
237 |
+
|
238 |
+
|
239 |
+
|
240 |
+
|
241 |
+
|
242 |
+
|
243 |
+
|
244 |
+
|
245 |
+
|
246 |
+
|
247 |
+
|
248 |
+
|
249 |
+
|
250 |
+
|
251 |
+
|
252 |
+
public static function reload($data)
|
253 |
+
{
|
254 |
+
self::$installed = $data;
|
255 |
+
self::$installedByVendor = array();
|
256 |
+
}
|
257 |
+
|
258 |
+
|
259 |
+
|
260 |
+
|
261 |
+
private static function getInstalled()
|
262 |
+
{
|
263 |
+
if (null === self::$canGetVendors) {
|
264 |
+
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
|
265 |
+
}
|
266 |
+
|
267 |
+
$installed = array();
|
268 |
+
|
269 |
+
if (self::$canGetVendors) {
|
270 |
+
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
|
271 |
+
if (isset(self::$installedByVendor[$vendorDir])) {
|
272 |
+
$installed[] = self::$installedByVendor[$vendorDir];
|
273 |
+
} elseif (is_file($vendorDir.'/composer/installed.php')) {
|
274 |
+
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
|
275 |
+
}
|
276 |
+
}
|
277 |
+
}
|
278 |
+
|
279 |
+
$installed[] = self::$installed;
|
280 |
+
|
281 |
+
return $installed;
|
282 |
+
}
|
283 |
+
}
|
vendor/composer/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
Copyright (c) Nils Adermann, Jordi Boggiano
|
3 |
+
|
4 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
5 |
+
of this software and associated documentation files (the "Software"), to deal
|
6 |
+
in the Software without restriction, including without limitation the rights
|
7 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
8 |
+
copies of the Software, and to permit persons to whom the Software is furnished
|
9 |
+
to do so, subject to the following conditions:
|
10 |
+
|
11 |
+
The above copyright notice and this permission notice shall be included in all
|
12 |
+
copies or substantial portions of the Software.
|
13 |
+
|
14 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
15 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
16 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
17 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
18 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
19 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
20 |
+
THE SOFTWARE.
|
21 |
+
|
vendor/composer/autoload_classmap.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_classmap.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
|
10 |
+
);
|
vendor/composer/autoload_namespaces.php
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_namespaces.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
);
|
vendor/composer/autoload_psr4.php
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_psr4.php @generated by Composer
|
4 |
+
|
5 |
+
$vendorDir = dirname(dirname(__FILE__));
|
6 |
+
$baseDir = dirname($vendorDir);
|
7 |
+
|
8 |
+
return array(
|
9 |
+
'ShapedPlugin\\TestimonialFree\\' => array($baseDir . '/src'),
|
10 |
+
);
|
vendor/composer/autoload_real.php
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_real.php @generated by Composer
|
4 |
+
|
5 |
+
class ComposerAutoloaderInit42010586ef8153c3e9b554b47b5ff41c
|
6 |
+
{
|
7 |
+
private static $loader;
|
8 |
+
|
9 |
+
public static function loadClassLoader($class)
|
10 |
+
{
|
11 |
+
if ('Composer\Autoload\ClassLoader' === $class) {
|
12 |
+
require __DIR__ . '/ClassLoader.php';
|
13 |
+
}
|
14 |
+
}
|
15 |
+
|
16 |
+
/**
|
17 |
+
* @return \Composer\Autoload\ClassLoader
|
18 |
+
*/
|
19 |
+
public static function getLoader()
|
20 |
+
{
|
21 |
+
if (null !== self::$loader) {
|
22 |
+
return self::$loader;
|
23 |
+
}
|
24 |
+
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit42010586ef8153c3e9b554b47b5ff41c', 'loadClassLoader'), true, true);
|
26 |
+
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit42010586ef8153c3e9b554b47b5ff41c', 'loadClassLoader'));
|
28 |
+
|
29 |
+
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
+
if ($useStaticLoader) {
|
31 |
+
require __DIR__ . '/autoload_static.php';
|
32 |
+
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit42010586ef8153c3e9b554b47b5ff41c::getInitializer($loader));
|
34 |
+
} else {
|
35 |
+
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
+
foreach ($map as $namespace => $path) {
|
37 |
+
$loader->set($namespace, $path);
|
38 |
+
}
|
39 |
+
|
40 |
+
$map = require __DIR__ . '/autoload_psr4.php';
|
41 |
+
foreach ($map as $namespace => $path) {
|
42 |
+
$loader->setPsr4($namespace, $path);
|
43 |
+
}
|
44 |
+
|
45 |
+
$classMap = require __DIR__ . '/autoload_classmap.php';
|
46 |
+
if ($classMap) {
|
47 |
+
$loader->addClassMap($classMap);
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
$loader->register(true);
|
52 |
+
|
53 |
+
return $loader;
|
54 |
+
}
|
55 |
+
}
|
vendor/composer/autoload_static.php
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_static.php @generated by Composer
|
4 |
+
|
5 |
+
namespace Composer\Autoload;
|
6 |
+
|
7 |
+
class ComposerStaticInit42010586ef8153c3e9b554b47b5ff41c
|
8 |
+
{
|
9 |
+
public static $prefixLengthsPsr4 = array (
|
10 |
+
'S' =>
|
11 |
+
array (
|
12 |
+
'ShapedPlugin\\TestimonialFree\\' => 29,
|
13 |
+
),
|
14 |
+
);
|
15 |
+
|
16 |
+
public static $prefixDirsPsr4 = array (
|
17 |
+
'ShapedPlugin\\TestimonialFree\\' =>
|
18 |
+
array (
|
19 |
+
0 => __DIR__ . '/../..' . '/src',
|
20 |
+
),
|
21 |
+
);
|
22 |
+
|
23 |
+
public static $classMap = array (
|
24 |
+
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
25 |
+
);
|
26 |
+
|
27 |
+
public static function getInitializer(ClassLoader $loader)
|
28 |
+
{
|
29 |
+
return \Closure::bind(function () use ($loader) {
|
30 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit42010586ef8153c3e9b554b47b5ff41c::$prefixLengthsPsr4;
|
31 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit42010586ef8153c3e9b554b47b5ff41c::$prefixDirsPsr4;
|
32 |
+
$loader->classMap = ComposerStaticInit42010586ef8153c3e9b554b47b5ff41c::$classMap;
|
33 |
+
|
34 |
+
}, null, ClassLoader::class);
|
35 |
+
}
|
36 |
+
}
|
vendor/composer/installed.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"packages": [],
|
3 |
+
"dev": true,
|
4 |
+
"dev-package-names": []
|
5 |
+
}
|
vendor/composer/installed.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php return array (
|
2 |
+
'root' =>
|
3 |
+
array (
|
4 |
+
'pretty_version' => 'dev-master',
|
5 |
+
'version' => 'dev-master',
|
6 |
+
'aliases' =>
|
7 |
+
array (
|
8 |
+
),
|
9 |
+
'reference' => 'd32feec1813e8394bfb27d56cd0e9c1126125c7c',
|
10 |
+
'name' => 'shapedplugin/testimonial-free',
|
11 |
+
),
|
12 |
+
'versions' =>
|
13 |
+
array (
|
14 |
+
'shapedplugin/testimonial-free' =>
|
15 |
+
array (
|
16 |
+
'pretty_version' => 'dev-master',
|
17 |
+
'version' => 'dev-master',
|
18 |
+
'aliases' =>
|
19 |
+
array (
|
20 |
+
),
|
21 |
+
'reference' => 'd32feec1813e8394bfb27d56cd0e9c1126125c7c',
|
22 |
+
),
|
23 |
+
),
|
24 |
+
);
|