Version Description
(22, April 2021) = * [+] New - Added Fusion page builder native support. * [*] Tweak - Code optimization and performance improvements.
Download this release
Release Info
Developer | wponlinesupport |
Plugin | WP Logo Showcase Responsive Slider |
Version | 2.8.1 |
Comparing to | |
See all releases |
Code changes from version 2.6 to 2.8.1
- assets/css/logo-showcase-admin.css +6 -1
- assets/css/logo-showcase.css +4 -1
- assets/images/arrow-left.png +0 -0
- assets/images/arrow-right.png +0 -0
- assets/js/blocks.build.js +1 -1
- assets/js/elementor/wpls-elementor.js +77 -0
- assets/js/wpls-admin.js +25 -0
- assets/js/wpls-public.js +233 -51
- includes/admin/class-wpls-admin.php +19 -19
- includes/admin/settings/hire-us.php +0 -92
- includes/admin/settings/how-it-work.php +190 -0
- includes/admin/settings/premium.php +25 -0
- includes/admin/wpls-how-it-work.php +0 -276
- includes/class-wpls-script.php +70 -7
- includes/shortcode/wpls-logo-slider.php +52 -31
- includes/wpls-functions.php +14 -4
- includes/wpls-post-types.php +28 -24
- languages/wp-logo-showcase-responsive-slider-slider.pot +214 -217
- logo-showcase.php +56 -25
- readme.txt +45 -10
- templates/design-1.php +3 -3
- wpos-plugins/assets/css/admin-style.css +22 -0
- wpos-plugins/assets/images/cart-2.png +0 -0
- wpos-plugins/assets/images/essential-plugin-16.png +0 -0
- wpos-plugins/assets/images/essential-plugin-50.png +0 -0
- wpos-plugins/assets/images/inbound50-by-50.png +0 -0
- wpos-plugins/assets/images/sliderspack.png +0 -0
- wpos-plugins/assets/images/utility-icon.png +0 -0
- wpos-plugins/assets/images/wponlinesupport-logo.png +0 -0
- wpos-plugins/assets/js/admin-script.js +76 -0
- wpos-plugins/includes/admin/class-espbw-admin.php +51 -0
- wpos-plugins/includes/admin/views/dashboard.php +326 -0
- wpos-plugins/includes/class-espbw-script.php +57 -0
- wpos-plugins/includes/espbw-functions.php +258 -0
- wpos-plugins/plugins-data.json +1 -0
- wpos-plugins/wpos-recommendation.php +187 -0
assets/css/logo-showcase-admin.css
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
.wpls-pro-tag {padding: 4px 7px 4px 5px;background-color:#cdd9f3;color: #1e2b48; position: relative; font-size: 10px; margin: 0 10px; display: inline-block; line-height: 1.1;}
|
2 |
.wpls-pro-tag::before { content: ""; left: -10px; top: 0; border-top: 10px solid transparent;border-right: 10px solid #cdd9f3;border-bottom: 10px solid transparent; position: absolute;}
|
3 |
.wpls-pro-feature { opacity: 0.5;}
|
4 |
-
.wpls-pro-feature:hover{opacity: 0.8;}
|
|
|
|
|
|
|
|
|
|
1 |
.wpls-pro-tag {padding: 4px 7px 4px 5px;background-color:#cdd9f3;color: #1e2b48; position: relative; font-size: 10px; margin: 0 10px; display: inline-block; line-height: 1.1;}
|
2 |
.wpls-pro-tag::before { content: ""; left: -10px; top: 0; border-top: 10px solid transparent;border-right: 10px solid #cdd9f3;border-bottom: 10px solid transparent; position: absolute;}
|
3 |
.wpls-pro-feature { opacity: 0.5;}
|
4 |
+
.wpls-pro-feature:hover{opacity: 0.8;}
|
5 |
+
.wpos-new-feature{ font-size: 10px; color: #fff; font-weight: bold; background-color: #03aa29; padding:1px 4px; font-style: normal; }
|
6 |
+
|
7 |
+
/* Builder Shortcode Preview */
|
8 |
+
.wpls-builder-shrt-prev{background-color: #e7e7e7; padding: 10px; border: 1px solid #ccc; font-size: 15px;text-align: center;}
|
9 |
+
.wpls-builder-shrt-title span{border-bottom: 1px solid #999; display: inline-block; padding: 0 0 5px 0;}
|
assets/css/logo-showcase.css
CHANGED
@@ -37,13 +37,16 @@
|
|
37 |
.wpls-logo-showcase.wpls-center .slick-center{opacity: 1;transform: scale(1);}
|
38 |
}
|
39 |
|
|
|
|
|
|
|
40 |
/* Slider Common CSS Starts */
|
41 |
.wpls-logo-showcase{visibility: hidden; opacity:0; transition:opacity 0.5s linear; }
|
42 |
.slick-initialized { visibility: visible; opacity:1; }
|
43 |
.wpls-logo-showcase button:hover,
|
44 |
.wpls-logo-showcase button:focus {outline:none !important;}
|
45 |
.wpls-logo-showcase .slick-arrow {text-indent:-99999px; padding:0px !important; margin:0px !important; border-radius:0px !important}
|
46 |
-
.wpls-logo-showcase button.slick-arrow {width:
|
47 |
transition-duration: 0.4s;}
|
48 |
.wpls-logo-showcase button.slick-next, .wpls-logo-showcase button.slick-next:active {background:rgba(0, 0, 0, 0.5) url('../images/arrow-right.png') center center no-repeat !important;background-size: 15px 15px !important; box-shadow:none !important;}
|
49 |
.wpls-logo-showcase button.slick-prev, .wpls-logo-showcase button.slick-prev:active{background:rgba(0, 0, 0, 0.5) url('../images/arrow-left.png') center center no-repeat !important;background-size: 15px 15px !important;box-shadow:none !important;}
|
37 |
.wpls-logo-showcase.wpls-center .slick-center{opacity: 1;transform: scale(1);}
|
38 |
}
|
39 |
|
40 |
+
/* Avada CSS */
|
41 |
+
.fusion-flex-container.wpls-fusion-flex{ flex-direction: column; }
|
42 |
+
|
43 |
/* Slider Common CSS Starts */
|
44 |
.wpls-logo-showcase{visibility: hidden; opacity:0; transition:opacity 0.5s linear; }
|
45 |
.slick-initialized { visibility: visible; opacity:1; }
|
46 |
.wpls-logo-showcase button:hover,
|
47 |
.wpls-logo-showcase button:focus {outline:none !important;}
|
48 |
.wpls-logo-showcase .slick-arrow {text-indent:-99999px; padding:0px !important; margin:0px !important; border-radius:0px !important}
|
49 |
+
.wpls-logo-showcase button.slick-arrow {width: 30px;height: 30px;position: absolute;z-index:9;border: 0px !important;border-radius: 50% !important;color: #fff; cursor:pointer !important; -webkit-transition-duration: 0.4s; /* Safari */
|
50 |
transition-duration: 0.4s;}
|
51 |
.wpls-logo-showcase button.slick-next, .wpls-logo-showcase button.slick-next:active {background:rgba(0, 0, 0, 0.5) url('../images/arrow-right.png') center center no-repeat !important;background-size: 15px 15px !important; box-shadow:none !important;}
|
52 |
.wpls-logo-showcase button.slick-prev, .wpls-logo-showcase button.slick-prev:active{background:rgba(0, 0, 0, 0.5) url('../images/arrow-left.png') center center no-repeat !important;background-size: 15px 15px !important;box-shadow:none !important;}
|
assets/images/arrow-left.png
CHANGED
Binary file
|
assets/images/arrow-right.png
CHANGED
Binary file
|
assets/js/blocks.build.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){function s(o){if(l[o])return l[o].exports;var t=l[o]={i:o,l:!1,exports:{}};return e[o].call(t.exports,t,t.exports,s),t.l=!0,t.exports}var l={};s.m=e,s.c=l,s.d=function(e,l,o){s.o(e,l)||Object.defineProperty(e,l,{configurable:!1,enumerable:!0,get:o})},s.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(l,"a",l),l},s.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},s.p="",s(s.s=0)}([function(e,s,l){"use strict";Object.defineProperty(s,"__esModule",{value:!0});l(1)},function(e,s,l){"use strict";var o=l(2),t=(l.n(o),l(3)),n=(l.n(t),l(4)),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("wpls/logoshowcase",{title:__("Logo Slider","wp-logo-showcase-responsive-slider-slider"),description:__("Display logo in a slider view with various layouts.","wp-logo-showcase-responsive-slider-slider"),icon:"images-alt2",category:"wpos_guten_block",keywords:[__("wpos"),__("wpls logo slider","wp-logo-showcase-responsive-slider-slider"),__("logoshowcase")],supports:{html:!1,multiple:!0},getEditWrapperProps:function(e){var s=e.align;if(["wide","full"].includes(s))return{"data-align":s,"data-block-type":"wpls-logo-slider"}},edit:n.a,save:function(){return null}})},function(e,s){},function(e,s){},function(e,s,l){"use strict";function o(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function t(e,s){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!==typeof s&&"function"!==typeof s?e:s}function n(e,s){if("function"!==typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(e,s):e.__proto__=s)}var r=function(){function e(e,s){for(var l=0;l<s.length;l++){var o=s[l];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(s,l,o){return l&&e(s.prototype,l),o&&e(s,o),s}}(),i=wp.element,a=i.Component,p=i.Fragment,d=wp.components,c=d.PanelBody,w=d.Disabled,m=d.TextControl,u=d.ToggleControl,h=d.RangeControl,g=d.SelectControl,__=wp.i18n.__,v=(wp.data.select,wp.editor),f=v.InspectorControls,E=v.BlockControls,b=v.BlockAlignmentToolbar,y=function(e){function s(){o(this,s);var e=t(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments));return e.state={isLoading:!1},e}return n(s,e),r(s,[{key:"ObjToString",value:function(e){var s=wp.blocks.getBlockAttributes("wpls/logoshowcase"),l=["content_tail"],o="";for(var t in e)e.hasOwnProperty(t)&&"undefined"!==typeof e[t]&&e[t]!==s[t]&&(""!=jQuery.trim(e[t])||jQuery.inArray(t,l)>=0)&&(o+=t+'="'+e[t]+'" ');return o}},{key:"GetBooleanDropdown",value:function(){return[{value:"true",label:__("True","wp-logo-showcase-responsive-slider-slider")},{value:"false",label:__("False","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetDesigns",value:function(){return[{value:"design-1",label:__("Design 1","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetAnimationEffect",value:function(){return[{value:"",label:__("Select Animation Effect","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetLinkTarget",value:function(){return[{value:"self",label:__("Same Window","wp-logo-showcase-responsive-slider-slider")},{value:"blank",label:__("New Window","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetPostOrderby",value:function(){return[{value:"date",label:__("Post Date","wp-logo-showcase-responsive-slider-slider")},{value:"modified",label:__("Post Modified Date","wp-logo-showcase-responsive-slider-slider")},{value:"title",label:__("Post Title","wp-logo-showcase-responsive-slider-slider")},{value:"name",label:__("Post Slug","wp-logo-showcase-responsive-slider-slider")},{value:"ID",label:__("Post ID","wp-logo-showcase-responsive-slider-slider")},{value:"rand",label:__("Random","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetPostOrder",value:function(){return[{value:"desc",label:__("Descending","wp-logo-showcase-responsive-slider-slider")},{value:"asc",label:__("Ascending","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetLazyloadDropdown",value:function(){return[{value:"",label:__("Select Lazyload","wp-logo-showcase-responsive-slider-slider")},{value:"ondemand",label:__("Ondemand","wp-logo-showcase-responsive-slider-slider")},{value:"progressive",label:__("Progressive","wp-logo-showcase-responsive-slider-slider")}]}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(e){var s=wp.data.select("core/editor").getEditorSettings(),l=s.alignWide;e.attributes;l||this.props.setAttributes({align:void 0})}},{key:"render",value:function(){var e=this.props,s=e.attributes,l=e.setAttributes,o=s.limit,t=s.design,n=s.cat_id,r=s.cat_name,i=s.slides_column,a=s.slides_scroll,d=s.dots,v=s.arrows,y=s.autoplay,_=s.autoplay_interval,k=s.speed,C=s.center_mode,P=s.loop,B=s.lazyload,D=s.link_target,S=s.show_title,O=s.image_size,G=s.orderby,W=s.order,N=s.hide_border,x=s.max_height,L=s.align,T=(s.className,this.state.isLoading,wp.element.createElement(f,null,wp.element.createElement(c,{title:__("General Parameters","wp-logo-showcase-responsive-slider-slider")},wp.element.createElement(m,{label:__("Logo Showcase Heading","wp-logo-showcase-responsive-slider-slider"),value:r,onChange:function(e){return l({cat_name:e})},help:__("Enter Logo Heading.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Design","wp-logo-showcase-responsive-slider-slider"),value:t,options:this.GetDesigns(),onChange:function(e){return l({design:e})}}),wp.element.createElement(u,{label:__("Show Title","wp-logo-showcase-responsive-slider-slider"),checked:!!S,onChange:function(){return l({show_title:!S})}}),wp.element.createElement(w,null,wp.element.createElement(u,{label:__("Show Tooltip","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Choose option to enable/disable tooltip on logo. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(h,{label:__("Content Words Limit","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Enter content word limit. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Content Tail","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Display dots after the post content as continue reading. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Link","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown()})),wp.element.createElement(g,{label:__("Link Behaviour","wp-logo-showcase-responsive-slider-slider"),value:D,options:this.GetLinkTarget(),onChange:function(e){return l({link_target:e})}}),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Animation Effect","wp-logo-showcase-responsive-slider-slider"),options:this.GetAnimationEffect(),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Choose to manage diffrent type of animation effect of logos list. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(m,{label:__("Media Size","wp-logo-showcase-responsive-slider-slider"),value:O,onChange:function(e){return l({image_size:e})},help:__("Choose WordPress registered image size. e.g original, large, medium, thumbnail.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Hide Border","wp-logo-showcase-responsive-slider-slider"),value:N,options:this.GetBooleanDropdown(),onChange:function(e){return l({hide_border:e})},help:__("Choose option to hide logo border.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(h,{label:__("Max Height","wp-logo-showcase-responsive-slider-slider"),value:x,onChange:function(e){return l({max_height:e})},min:1,help:__('Enter image maximum height 80px with 100% maximum width for better output. By default value is "250".',"wp-logo-showcase-responsive-slider-slider")})),wp.element.createElement(c,{title:__("Slider Parameters","wp-logo-showcase-responsive-slider-slider"),initialOpen:!1},wp.element.createElement(h,{label:__("Slides Column","wp-logo-showcase-responsive-slider-slider"),value:i,onChange:function(e){return l({slides_column:e})},min:1,help:__("Enter number for slide to show at a time.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(w,null,wp.element.createElement(h,{label:__("Slides Rows","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Enter number of rows for slider. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(h,{label:__("Slides Scroll","wp-logo-showcase-responsive-slider-slider"),value:a,onChange:function(e){return l({slides_scroll:e})},min:1,help:__("Enter number of slide to scroll at a time.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Dots","wp-logo-showcase-responsive-slider-slider"),value:d,options:this.GetBooleanDropdown(),onChange:function(e){return l({dots:e})},help:__("Show pagination dots.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Arrows","wp-logo-showcase-responsive-slider-slider"),value:v,options:this.GetBooleanDropdown(),onChange:function(e){return l({arrows:e})},help:__("Show prev - next arrows.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Autoplay","wp-logo-showcase-responsive-slider-slider"),value:y,options:this.GetBooleanDropdown(),onChange:function(e){return l({autoplay:e})}}),"true"==y&&wp.element.createElement(h,{label:__("Autoplay Interval","wp-logo-showcase-responsive-slider-slider"),value:_,onChange:function(e){return l({autoplay_interval:e})},min:1,help:__("Enter autoplay interval speed. 1000 is equal to 1 sec.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(h,{label:__("Speed","wp-logo-showcase-responsive-slider-slider"),value:k,onChange:function(e){return l({speed:e})},min:1,help:__("Enter slide speed. 1000 is equal to 1 sec.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Center Mode","wp-logo-showcase-responsive-slider-slider"),value:C,options:this.GetBooleanDropdown(),onChange:function(e){return l({center_mode:e})},help:__("Enable slider center mode effect.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Infinite Loop","wp-logo-showcase-responsive-slider-slider"),value:P,options:this.GetBooleanDropdown(),onChange:function(e){return l({loop:e})},help:__("Enable infinite loop for continuous sliding.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Ticker Mode","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",{title:__("Note: When you enable ticker mode Autoplay, Slides Scroll and Autoplay Interval will set to default.","wp-logo-showcase-responsive-slider-slider")},__("Enable ticker mode for slider. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Pause On Hover","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Pause slider autoplay on hover. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Pause On Focus","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Pause slider autoplay when slider element is focused. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(g,{label:__("Slider Lazyload","wp-logo-showcase-responsive-slider-slider"),value:B,options:this.GetLazyloadDropdown(),onChange:function(e){return l({lazyload:e})},help:__("Select option to use lazy loading in slider.","wp-logo-showcase-responsive-slider-slider")})),wp.element.createElement(c,{title:__("Query Parameters","wp-logo-showcase-responsive-slider-slider"),initialOpen:!1},wp.element.createElement(h,{label:__("Limit","wp-logo-showcase-responsive-slider-slider"),value:o,onChange:function(e){return l({limit:e})},min:-1,help:__("Enter number of logos to be displayed. Enter -1 to display all.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Order By","wp-logo-showcase-responsive-slider-slider"),value:G,options:this.GetPostOrderby(),onChange:function(e){return l({orderby:e})}}),wp.element.createElement(g,{label:__("Order","wp-logo-showcase-responsive-slider-slider"),value:W,options:this.GetPostOrder(),onChange:function(e){return l({order:e})}}),wp.element.createElement(m,{label:__("Display Specific Category","wp-logo-showcase-responsive-slider-slider"),value:n,onChange:function(e){return l({cat_id:e})},help:wp.element.createElement("span",{title:__("You can pass multiple ids with comma seperated. You can find id at relevant category listing page.","wp-logo-showcase-responsive-slider-slider")},__("Enter category id to display categories wise.","wp-logo-showcase-responsive-slider-slider")," [?]")}),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Display Child Category","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("If you are using parent category then whether to display child category or not. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Exclude Category","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Exclude post category. Works only if `Category` field is empty. You can pass multiple ids with comma seperated. You can find id at relevant category listing page. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Display Specific Posts","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Enter id of the post which you want to display. You can pass multiple ids with comma seperated. You can find id at relevant post listing page. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Exclude Post","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Enter id of the post which you do not want to display. You can pass multiple ids with comma seperated. You can find id at relevant post listing page. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})),wp.element.createElement(w,null,wp.element.createElement(h,{label:__("Query Offset","wp-logo-showcase-responsive-slider-slider"),min:0,help:wp.element.createElement("div",{className:"wpos-hidden-opts-desc"},wp.element.createElement("span",null,__("Exclude number of posts from starting. e.g if you pass 5 then it will skip first five post. Note: This will not work with limit=-1. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider")))})))));return wp.element.createElement(p,null,T,wp.element.createElement(E,null,wp.element.createElement(b,{value:L,onChange:function(e){return l({align:e})},controls:["wide","full"]})),wp.element.createElement("div",{className:this.props.className},this.renderOutput()))}},{key:"renderOutput",value:function(){var e=this.props.attributes,s=this.ObjToString(e);s=s.trim();var l=s?"[logoshowcase "+s+"]":"[logoshowcase]";return wp.element.createElement("div",{class:"wpos-guten-shrt"},wp.element.createElement("div",{class:"wpos-guten-shrt-title"},wp.element.createElement("span",null,__("WP Logo Showcase Responsive Slider","wp-logo-showcase-responsive-slider-slider"))),l,wp.element.createElement("div",{class:"wpos-guten-shrt-footer"},wp.element.createElement("span",null),__("Do you want to check demo of this plugin.","wp-logo-showcase-responsive-slider-slider")," ",wp.element.createElement("a",{href:Wplsf_Block.free_demo_link,target:"_blank"},__("Click here","wp-logo-showcase-responsive-slider-slider"))),wp.element.createElement("div",{class:"wpos-guten-shrt-footer"},__("Do you also want to check premium version demo of this plugin.","wp-logo-showcase-responsive-slider-slider")," ",wp.element.createElement("a",{href:Wplsf_Block.pro_demo_link,target:"_blank"},__("Click here","wp-logo-showcase-responsive-slider-slider"))))}}]),s}(a);s.a=y}]);
|
1 |
+
!function(e){function s(l){if(o[l])return o[l].exports;var t=o[l]={i:l,l:!1,exports:{}};return e[l].call(t.exports,t,t.exports,s),t.l=!0,t.exports}var o={};s.m=e,s.c=o,s.d=function(e,o,l){s.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:l})},s.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(o,"a",o),o},s.o=function(e,s){return Object.prototype.hasOwnProperty.call(e,s)},s.p="",s(s.s=0)}([function(e,s,o){"use strict";Object.defineProperty(s,"__esModule",{value:!0});o(1)},function(e,s,o){"use strict";var l=o(2),t=(o.n(l),o(3)),r=(o.n(t),o(4)),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("wpls/logoshowcase",{title:__("Logo Slider","wp-logo-showcase-responsive-slider-slider"),description:__("Display logo in a slider view with various layouts.","wp-logo-showcase-responsive-slider-slider"),icon:"images-alt2",category:"wpos_guten_block",keywords:[__("wpos"),__("wpls logo slider","wp-logo-showcase-responsive-slider-slider"),__("logoshowcase")],supports:{html:!1,multiple:!0},getEditWrapperProps:function(e){var s=e.align;if(["wide","full"].includes(s))return{"data-align":s,"data-block-type":"wpls-logo-slider"}},edit:r.a,save:function(){return null}})},function(e,s){},function(e,s){},function(e,s,o){"use strict";function l(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}function t(e,s){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!s||"object"!==typeof s&&"function"!==typeof s?e:s}function r(e,s){if("function"!==typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);e.prototype=Object.create(s&&s.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),s&&(Object.setPrototypeOf?Object.setPrototypeOf(e,s):e.__proto__=s)}var n=function(){function e(e,s){for(var o=0;o<s.length;o++){var l=s[o];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}return function(s,o,l){return o&&e(s.prototype,o),l&&e(s,l),s}}(),i=wp.element,a=i.Component,p=i.Fragment,d=wp.components,c=d.PanelBody,w=d.Disabled,m=d.TextControl,h=d.ToggleControl,u=d.RangeControl,g=d.SelectControl,__=wp.i18n.__,v=(wp.data.select,wp.editor),f=v.InspectorControls,b=v.BlockControls,E=v.BlockAlignmentToolbar,y=function(e){function s(){l(this,s);var e=t(this,(s.__proto__||Object.getPrototypeOf(s)).apply(this,arguments));return e.state={isLoading:!1},e}return r(s,e),n(s,[{key:"ObjToString",value:function(e){var s=wp.blocks.getBlockAttributes("wpls/logoshowcase"),o=["content_tail"],l="";for(var t in e)e.hasOwnProperty(t)&&"undefined"!==typeof e[t]&&e[t]!==s[t]&&(""!=jQuery.trim(e[t])||jQuery.inArray(t,o)>=0)&&(l+=t+'="'+e[t]+'" ');return l}},{key:"GetBooleanDropdown",value:function(){return[{value:"true",label:__("True","wp-logo-showcase-responsive-slider-slider")},{value:"false",label:__("False","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetDesigns",value:function(){return[{value:"design-1",label:__("Design 1","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetAnimationEffect",value:function(){return[{value:"",label:__("Select Animation Effect","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetLinkTarget",value:function(){return[{value:"self",label:__("Same Window","wp-logo-showcase-responsive-slider-slider")},{value:"blank",label:__("New Window","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetPostOrderby",value:function(){return[{value:"date",label:__("Post Date","wp-logo-showcase-responsive-slider-slider")},{value:"modified",label:__("Post Modified Date","wp-logo-showcase-responsive-slider-slider")},{value:"title",label:__("Post Title","wp-logo-showcase-responsive-slider-slider")},{value:"name",label:__("Post Slug","wp-logo-showcase-responsive-slider-slider")},{value:"ID",label:__("Post ID","wp-logo-showcase-responsive-slider-slider")},{value:"rand",label:__("Random","wp-logo-showcase-responsive-slider-slider")},{value:"menu_order",label:__("Menu Order (Sort Order)","wp-logo-showcase-responsive-slider-slider")}]}},{key:"GetPostOrder",value:function(){return[{value:"desc",label:__("Descending","wp-logo-showcase-responsive-slider-slider")},{value:"asc",label:__("Ascending","wp-logo-showcase-responsive-slider-slider")}]}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(e){var s=wp.data.select("core/editor").getEditorSettings(),o=s.alignWide;e.attributes;o||this.props.setAttributes({align:void 0})}},{key:"render",value:function(){var e=this.props,s=e.attributes,o=e.setAttributes,l=s.limit,t=s.design,r=s.cat_id,n=s.cat_name,i=s.slides_column,a=s.slides_scroll,d=s.dots,v=s.arrows,y=s.autoplay,_=s.autoplay_interval,k=s.speed,C=s.center_mode,P=s.loop,B=s.link_target,D=s.show_title,O=s.image_size,S=s.orderby,x=s.order,W=s.hide_border,G=s.max_height,N=s.align,T=(this.state.isLoading,wp.element.createElement(f,null,wp.element.createElement(c,{title:__("General Parameters","wp-logo-showcase-responsive-slider-slider")},wp.element.createElement(m,{label:__("Logo Showcase Heading","wp-logo-showcase-responsive-slider-slider"),value:n,onChange:function(e){return o({cat_name:e})},help:__("Enter Logo Heading.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Design","wp-logo-showcase-responsive-slider-slider"),value:t,options:this.GetDesigns(),onChange:function(e){return o({design:e})}}),wp.element.createElement(h,{label:__("Show Title","wp-logo-showcase-responsive-slider-slider"),checked:!!D,onChange:function(){return o({show_title:!D})}}),wp.element.createElement(w,null,wp.element.createElement(h,{label:__("Show Tooltip","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Choose option to enable/disable tooltip on logo. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(u,{label:__("Content Words Limit","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Enter content word limit. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Content Tail","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Display dots after the post content as continue reading. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Link","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown()})),wp.element.createElement(g,{label:__("Link Behaviour","wp-logo-showcase-responsive-slider-slider"),value:B,options:this.GetLinkTarget(),onChange:function(e){return o({link_target:e})}}),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Animation Effect","wp-logo-showcase-responsive-slider-slider"),options:this.GetAnimationEffect(),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Choose to manage diffrent type of animation effect of logos list. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(m,{label:__("Media Size","wp-logo-showcase-responsive-slider-slider"),value:O,onChange:function(e){return o({image_size:e})},help:__("Choose WordPress registered image size. e.g original, large, medium, thumbnail.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Hide Border","wp-logo-showcase-responsive-slider-slider"),value:W,options:this.GetBooleanDropdown(),onChange:function(e){return o({hide_border:e})},help:__("Choose option to hide logo border.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(u,{label:__("Max Height","wp-logo-showcase-responsive-slider-slider"),value:G,onChange:function(e){return o({max_height:e})},min:1,max:2500,help:__('Enter image maximum height 80px with 100% maximum width for better output. By default value is "250".',"wp-logo-showcase-responsive-slider-slider")})),wp.element.createElement(c,{title:__("Slider Parameters","wp-logo-showcase-responsive-slider-slider"),initialOpen:!1},wp.element.createElement(u,{label:__("Slides Column","wp-logo-showcase-responsive-slider-slider"),value:i,onChange:function(e){return o({slides_column:e})},min:1,max:100,help:__("Enter number for slide to show at a time.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(w,null,wp.element.createElement(u,{label:__("Slides Rows","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Enter number of rows for slider. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(u,{label:__("Slides Scroll","wp-logo-showcase-responsive-slider-slider"),value:a,onChange:function(e){return o({slides_scroll:e})},min:1,max:100,help:__("Enter number of slide to scroll at a time.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Dots","wp-logo-showcase-responsive-slider-slider"),value:d,options:this.GetBooleanDropdown(),onChange:function(e){return o({dots:e})},help:__("Show pagination dots.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Arrows","wp-logo-showcase-responsive-slider-slider"),value:v,options:this.GetBooleanDropdown(),onChange:function(e){return o({arrows:e})},help:__("Show prev - next arrows.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Autoplay","wp-logo-showcase-responsive-slider-slider"),value:y,options:this.GetBooleanDropdown(),onChange:function(e){return o({autoplay:e})}}),"true"==y&&wp.element.createElement(u,{label:__("Autoplay Interval","wp-logo-showcase-responsive-slider-slider"),value:_,onChange:function(e){return o({autoplay_interval:e})},min:1,max:5e4,help:__("Enter autoplay interval speed. 1000 is equal to 1 sec.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(u,{label:__("Speed","wp-logo-showcase-responsive-slider-slider"),value:k,onChange:function(e){return o({speed:e})},min:1,max:5e4,help:__("Enter slide speed. 1000 is equal to 1 sec.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Center Mode","wp-logo-showcase-responsive-slider-slider"),value:C,options:this.GetBooleanDropdown(),onChange:function(e){return o({center_mode:e})},help:__("Enable slider center mode effect.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Infinite Loop","wp-logo-showcase-responsive-slider-slider"),value:P,options:this.GetBooleanDropdown(),onChange:function(e){return o({loop:e})},help:__("Enable infinite loop for continuous sliding.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Ticker Mode","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Enable ticker mode for slider. Note: When you enable ticker mode Autoplay, Slides Scroll and Autoplay Interval will set to default. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Pause On Hover","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Pause slider autoplay on hover. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Pause On Focus","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Pause slider autoplay when slider element is focused. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))}))),wp.element.createElement(c,{title:__("Query Parameters","wp-logo-showcase-responsive-slider-slider"),initialOpen:!1},wp.element.createElement(u,{label:__("Limit","wp-logo-showcase-responsive-slider-slider"),value:l,onChange:function(e){return o({limit:e})},min:-1,max:1e3,help:__("Enter number of logos to be displayed. Enter -1 to display all.","wp-logo-showcase-responsive-slider-slider")}),wp.element.createElement(g,{label:__("Order By","wp-logo-showcase-responsive-slider-slider"),value:S,options:this.GetPostOrderby(),onChange:function(e){return o({orderby:e})}}),wp.element.createElement(g,{label:__("Order","wp-logo-showcase-responsive-slider-slider"),value:x,options:this.GetPostOrder(),onChange:function(e){return o({order:e})}}),wp.element.createElement(m,{label:__("Display Specific Category","wp-logo-showcase-responsive-slider-slider"),value:r,onChange:function(e){return o({cat_id:e})},help:wp.element.createElement("span",{title:__("You can pass multiple ids with comma seperated. You can find id at relevant category listing page.","wp-logo-showcase-responsive-slider-slider")},__("Enter category id to display categories wise.","wp-logo-showcase-responsive-slider-slider")," [?]")}),wp.element.createElement(w,null,wp.element.createElement(g,{label:__("Display Child Category","wp-logo-showcase-responsive-slider-slider"),options:this.GetBooleanDropdown(),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("If you are using parent category then whether to display child category or not. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Exclude Category","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Exclude post category. Works only if `Category` field is empty. You can pass multiple ids with comma seperated. You can find id at relevant category listing page. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Display Specific Posts","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Enter id of the post which you want to display. You can pass multiple ids with comma seperated. You can find id at relevant post listing page. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(m,{label:__("Exclude Post","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Enter id of the post which you do not want to display. You can pass multiple ids with comma seperated. You can find id at relevant post listing page. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})),wp.element.createElement(w,null,wp.element.createElement(u,{label:__("Query Offset","wp-logo-showcase-responsive-slider-slider"),help:wp.element.createElement("span",{className:"wpos-hidden-opts-desc"},__("Exclude number of posts from starting. e.g if you pass 5 then it will skip first five post. Note: This will not work with limit=-1. Upgarade to ","wp-logo-showcase-responsive-slider-slider"),wp.element.createElement("a",{href:Wplsf_Block.pro_link,target:"_blank"},__("Premium version ","wp-logo-showcase-responsive-slider-slider")),__("to get this option.","wp-logo-showcase-responsive-slider-slider"))})))));return wp.element.createElement(p,null,T,wp.element.createElement(b,null,wp.element.createElement(E,{value:N,onChange:function(e){return o({align:e})},controls:["wide","full"]})),wp.element.createElement("div",{className:this.props.className},this.renderOutput()))}},{key:"renderOutput",value:function(){var e=this.props.attributes,s=this.ObjToString(e);s=s.trim();var o=s?"[logoshowcase "+s+"]":"[logoshowcase]";return wp.element.createElement("div",{className:"wpos-guten-shrt"},wp.element.createElement("div",{className:"wpos-guten-shrt-title"},wp.element.createElement("span",null,__("WP Logo Showcase Responsive Slider","wp-logo-showcase-responsive-slider-slider"))),o,wp.element.createElement("div",{className:"wpos-guten-shrt-footer"},wp.element.createElement("span",null),__("Do you want to check demo of this plugin.","wp-logo-showcase-responsive-slider-slider")," ",wp.element.createElement("a",{href:Wplsf_Block.free_demo_link,target:"_blank"},__("Click here","wp-logo-showcase-responsive-slider-slider"))),wp.element.createElement("div",{className:"wpos-guten-shrt-footer"},__("Do you also want to check premium version demo of this plugin.","wp-logo-showcase-responsive-slider-slider")," ",wp.element.createElement("a",{href:Wplsf_Block.pro_demo_link,target:"_blank"},__("Click here","wp-logo-showcase-responsive-slider-slider"))))}}]),s}(a);s.a=y}]);
|
assets/js/elementor/wpls-elementor.js
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function($) {
|
2 |
+
|
3 |
+
'use strict';
|
4 |
+
|
5 |
+
jQuery(window).on('elementor/frontend/init', function() {
|
6 |
+
|
7 |
+
/* Shortcode Element */
|
8 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/shortcode.default', function() {
|
9 |
+
wpls_logo_slider_init();
|
10 |
+
});
|
11 |
+
|
12 |
+
/* Text Editor Element */
|
13 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/text-editor.default', function() {
|
14 |
+
wpls_logo_slider_init();
|
15 |
+
});
|
16 |
+
|
17 |
+
/* Tabs Element */
|
18 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/tabs.default', function() {
|
19 |
+
|
20 |
+
$('.wpls-logo-showcase').each(function( index ) {
|
21 |
+
var slider_id = $(this).attr('id');
|
22 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
23 |
+
|
24 |
+
wpls_logo_slider_init();
|
25 |
+
|
26 |
+
setTimeout(function() {
|
27 |
+
|
28 |
+
/* Tweak for slick slider */
|
29 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
30 |
+
$('#'+slider_id).slick( 'setPosition' );
|
31 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
32 |
+
}
|
33 |
+
}, 300);
|
34 |
+
});
|
35 |
+
});
|
36 |
+
|
37 |
+
/* Accordion Element */
|
38 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/accordion.default', function() {
|
39 |
+
|
40 |
+
$('.wpls-logo-showcase').each(function( index ) {
|
41 |
+
var slider_id = $(this).attr('id');
|
42 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
43 |
+
|
44 |
+
wpls_logo_slider_init();
|
45 |
+
|
46 |
+
setTimeout(function() {
|
47 |
+
|
48 |
+
/* Tweak for slick slider */
|
49 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
50 |
+
$('#'+slider_id).slick( 'setPosition' );
|
51 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
52 |
+
}
|
53 |
+
}, 300);
|
54 |
+
});
|
55 |
+
});
|
56 |
+
|
57 |
+
/* Toggle Element */
|
58 |
+
elementorFrontend.hooks.addAction( 'frontend/element_ready/toggle.default', function() {
|
59 |
+
|
60 |
+
$('.wpls-logo-showcase').each(function( index ) {
|
61 |
+
var slider_id = $(this).attr('id');
|
62 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
63 |
+
|
64 |
+
wpls_logo_slider_init();
|
65 |
+
|
66 |
+
setTimeout(function() {
|
67 |
+
|
68 |
+
/* Tweak for slick slider */
|
69 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
70 |
+
$('#'+slider_id).slick( 'setPosition' );
|
71 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
72 |
+
}
|
73 |
+
}, 300);
|
74 |
+
});
|
75 |
+
});
|
76 |
+
});
|
77 |
+
})(jQuery);
|
assets/js/wpls-admin.js
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function( $ ) {
|
2 |
+
|
3 |
+
"use strict";
|
4 |
+
|
5 |
+
/* Click to Copy the Text */
|
6 |
+
$(document).on('click', '.wpos-copy-clipboard', function() {
|
7 |
+
var copyText = $(this);
|
8 |
+
copyText.select();
|
9 |
+
document.execCommand("copy");
|
10 |
+
});
|
11 |
+
|
12 |
+
/* Drag widget event to render layout for Beaver Builder */
|
13 |
+
$('.fl-builder-content').on( 'fl-builder.preview-rendered', wpls_fl_render_preview );
|
14 |
+
|
15 |
+
/* Save widget event to render layout for Beaver Builder */
|
16 |
+
$('.fl-builder-content').on( 'fl-builder.layout-rendered', wpls_fl_render_preview );
|
17 |
+
|
18 |
+
/* Publish button event to render layout for Beaver Builder */
|
19 |
+
$('.fl-builder-content').on( 'fl-builder.didSaveNodeSettings', wpls_fl_render_preview );
|
20 |
+
})( jQuery );
|
21 |
+
|
22 |
+
/* Function to render shortcode preview for Beaver Builder */
|
23 |
+
function wpls_fl_render_preview() {
|
24 |
+
wpls_logo_slider_init();
|
25 |
+
}
|
assets/js/wpls-public.js
CHANGED
@@ -2,54 +2,236 @@
|
|
2 |
|
3 |
"use strict";
|
4 |
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
"use strict";
|
4 |
|
5 |
+
wpls_logo_slider_init();
|
6 |
+
|
7 |
+
/* Elementor Compatibility */
|
8 |
+
$(document).on('click', '.elementor-tab-title', function() {
|
9 |
+
|
10 |
+
var ele_control = $(this).attr('aria-controls');
|
11 |
+
var slider_wrap = $('#'+ele_control).find('.wpls-logo-showcase');
|
12 |
+
|
13 |
+
/* Tweak for slick slider */
|
14 |
+
$( slider_wrap ).each(function( index ) {
|
15 |
+
var slider_id = $(this).attr('id');
|
16 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
17 |
+
|
18 |
+
setTimeout(function() {
|
19 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
20 |
+
$('#'+slider_id).slick( 'setPosition' );
|
21 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
22 |
+
}
|
23 |
+
}, 350);
|
24 |
+
});
|
25 |
+
});
|
26 |
+
|
27 |
+
/* Beaver Builder Compatibility for Accordion and Tabs */
|
28 |
+
$(document).on('click', '.fl-accordion-button, .fl-tabs-label', function() {
|
29 |
+
|
30 |
+
var ele_control = $(this).attr('aria-controls');
|
31 |
+
var slider_wrap = $('#'+ele_control).find('.wpls-logo-showcase');
|
32 |
+
|
33 |
+
/* Tweak for slick slider */
|
34 |
+
$( slider_wrap ).each(function( index ) {
|
35 |
+
var slider_id = $(this).attr('id');
|
36 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
37 |
+
|
38 |
+
setTimeout(function() {
|
39 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
40 |
+
$('#'+slider_id).slick( 'setPosition' );
|
41 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
42 |
+
}
|
43 |
+
}, 300);
|
44 |
+
});
|
45 |
+
});
|
46 |
+
|
47 |
+
/* SiteOrigin Compatibility For Accordion Panel */
|
48 |
+
$(document).on('click', '.sow-accordion-panel', function() {
|
49 |
+
|
50 |
+
var ele_control = $(this).attr('data-anchor');
|
51 |
+
var slider_wrap = $('#accordion-content-'+ele_control).find('.wpls-logo-showcase');
|
52 |
+
|
53 |
+
/* Tweak for slick slider */
|
54 |
+
$( slider_wrap ).each(function( index ) {
|
55 |
+
var slider_id = $(this).attr('id');
|
56 |
+
|
57 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
58 |
+
$('#'+slider_id).slick( 'setPosition' );
|
59 |
+
}
|
60 |
+
});
|
61 |
+
});
|
62 |
+
|
63 |
+
/* SiteOrigin Compatibility for Tab Panel */
|
64 |
+
$(document).on('click focus', '.sow-tabs-tab', function() {
|
65 |
+
var sel_index = $(this).index();
|
66 |
+
var cls_ele = $(this).closest('.sow-tabs');
|
67 |
+
var tab_cnt = cls_ele.find('.sow-tabs-panel').eq( sel_index );
|
68 |
+
var slider_wrap = tab_cnt.find('.wpls-logo-showcase');
|
69 |
+
|
70 |
+
/* Tweak for slick slider */
|
71 |
+
$( slider_wrap ).each(function( index ) {
|
72 |
+
var slider_id = $(this).attr('id');
|
73 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
74 |
+
|
75 |
+
setTimeout(function() {
|
76 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
77 |
+
$('#'+slider_id).slick( 'setPosition' );
|
78 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
79 |
+
}
|
80 |
+
}, 300);
|
81 |
+
});
|
82 |
+
});
|
83 |
+
|
84 |
+
/* Divi Builder Compatibility for Accordion & Toggle */
|
85 |
+
$(document).on('click', '.et_pb_toggle', function() {
|
86 |
+
|
87 |
+
var acc_cont = $(this).find('.et_pb_toggle_content');
|
88 |
+
var slider_wrap = acc_cont.find('.wpls-logo-showcase');
|
89 |
+
|
90 |
+
/* Tweak for slick slider */
|
91 |
+
$( slider_wrap ).each(function( index ) {
|
92 |
+
|
93 |
+
var slider_id = $(this).attr('id');
|
94 |
+
|
95 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
96 |
+
$('#'+slider_id).slick( 'setPosition' );
|
97 |
+
}
|
98 |
+
});
|
99 |
+
});
|
100 |
+
|
101 |
+
/* Divi Builder Compatibility for Tabs */
|
102 |
+
$('.et_pb_tabs_controls li a').click( function() {
|
103 |
+
var cls_ele = $(this).closest('.et_pb_tabs');
|
104 |
+
var tab_cls = $(this).closest('li').attr('class');
|
105 |
+
var tab_cont = cls_ele.find('.et_pb_all_tabs .'+tab_cls);
|
106 |
+
var slider_wrap = tab_cont.find('.wpls-logo-showcase');
|
107 |
+
|
108 |
+
setTimeout(function() {
|
109 |
+
|
110 |
+
/* Tweak for slick slider */
|
111 |
+
$( slider_wrap ).each(function( index ) {
|
112 |
+
|
113 |
+
var slider_id = $(this).attr('id');
|
114 |
+
|
115 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
116 |
+
|
117 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
118 |
+
$('#'+slider_id).slick( 'setPosition' );
|
119 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
120 |
+
}
|
121 |
+
});
|
122 |
+
}, 550);
|
123 |
+
});
|
124 |
+
|
125 |
+
/* Fusion Builder Compatibility for Tabs */
|
126 |
+
$(document).on('click', '.fusion-tabs li .tab-link', function() {
|
127 |
+
var cls_ele = $(this).closest('.fusion-tabs');
|
128 |
+
var tab_id = $(this).attr('href');
|
129 |
+
var tab_cont = cls_ele.find(tab_id);
|
130 |
+
var slider_wrap = tab_cont.find('.wpls-logo-showcase');
|
131 |
+
|
132 |
+
/* Tweak for slick slider default */
|
133 |
+
$( slider_wrap ).each(function( index ) {
|
134 |
+
|
135 |
+
var slider_id = $(this).attr('id');
|
136 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
137 |
+
|
138 |
+
setTimeout(function() {
|
139 |
+
/* Tweak for slick slider */
|
140 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
141 |
+
$('#'+slider_id).slick( 'setPosition' );
|
142 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
143 |
+
$('#'+slider_id).slick( 'setPosition' );
|
144 |
+
}
|
145 |
+
}, 200);
|
146 |
+
});
|
147 |
+
});
|
148 |
+
|
149 |
+
/* Fusion Builder Compatibility for Toggles */
|
150 |
+
$(document).on('click', '.fusion-accordian .panel-heading a', function() {
|
151 |
+
var cls_ele = $(this).closest('.fusion-accordian');
|
152 |
+
var tab_id = $(this).attr('href');
|
153 |
+
var tab_cont = cls_ele.find(tab_id);
|
154 |
+
var slider_wrap = tab_cont.find('.wpls-logo-showcase');
|
155 |
+
|
156 |
+
/* Tweak for slick slider default */
|
157 |
+
$( slider_wrap ).each(function( index ) {
|
158 |
+
|
159 |
+
var slider_id = $(this).attr('id');
|
160 |
+
$('#'+slider_id).css({'visibility': 'hidden', 'opacity': 0});
|
161 |
+
|
162 |
+
/* Tweak for slick slider */
|
163 |
+
setTimeout(function() {
|
164 |
+
if( typeof(slider_id) !== 'undefined' && slider_id != '' ) {
|
165 |
+
$('#'+slider_id).slick( 'setPosition' );
|
166 |
+
$('#'+slider_id).css({'visibility': 'visible', 'opacity': 1});
|
167 |
+
$('#'+slider_id).slick( 'setPosition' );
|
168 |
+
}
|
169 |
+
}, 200);
|
170 |
+
});
|
171 |
+
});
|
172 |
+
|
173 |
+
})( jQuery );
|
174 |
+
|
175 |
+
// Logo Slider JS
|
176 |
+
function wpls_logo_slider_init(){
|
177 |
+
|
178 |
+
// Logo Slider
|
179 |
+
jQuery( '.wpls-logo-slider' ).each(function( index ) {
|
180 |
+
|
181 |
+
if( jQuery(this).hasClass('slick-initialized') ) {
|
182 |
+
return;
|
183 |
+
}
|
184 |
+
|
185 |
+
// Flex Condition
|
186 |
+
if(Wpls.is_avada == 1) {
|
187 |
+
jQuery(this).closest('.fusion-flex-container').addClass('wpls-fusion-flex');
|
188 |
+
}
|
189 |
+
|
190 |
+
var slider_id = jQuery(this).attr('id');
|
191 |
+
var logo_conf = JSON.parse( jQuery(this).closest('.wpls-logo-showcase-slider-wrp').attr('data-conf') );
|
192 |
+
|
193 |
+
if( typeof(slider_id) != 'undefined' && slider_id != '' ) {
|
194 |
+
jQuery('#'+slider_id).slick({
|
195 |
+
lazyLoad : logo_conf.lazyload,
|
196 |
+
centerMode : ( logo_conf.center_mode == "true" ) ? true : false,
|
197 |
+
dots : ( logo_conf.dots == "true" ) ? true : false,
|
198 |
+
arrows : ( logo_conf.arrows == "true" ) ? true : false,
|
199 |
+
infinite : ( logo_conf.loop == "true" ) ? true : false,
|
200 |
+
autoplay : ( logo_conf.autoplay == "true" ) ? true : false,
|
201 |
+
speed : parseInt( logo_conf.speed ),
|
202 |
+
slidesToShow : parseInt( logo_conf.slides_column ),
|
203 |
+
slidesToScroll : parseInt( logo_conf.slides_scroll ),
|
204 |
+
autoplaySpeed : parseInt( logo_conf.autoplay_interval ),
|
205 |
+
pauseOnFocus : false,
|
206 |
+
centerPadding : '0px',
|
207 |
+
rtl : ( logo_conf.rtl == "true" ) ? true : false,
|
208 |
+
mobileFirst : ( Wpls.is_mobile == 1 ) ? true : false,
|
209 |
+
responsive: [{
|
210 |
+
breakpoint: 1023,
|
211 |
+
settings: {
|
212 |
+
slidesToShow : ( parseInt( logo_conf.slides_column ) > 3 ) ? 3 : parseInt( logo_conf.slides_column ),
|
213 |
+
slidesToScroll : 1
|
214 |
+
}
|
215 |
+
},{
|
216 |
+
breakpoint: 640,
|
217 |
+
settings: {
|
218 |
+
slidesToShow : ( parseInt( logo_conf.slides_column ) > 2 ) ? 2 : parseInt( logo_conf.slides_column ),
|
219 |
+
slidesToScroll : 1
|
220 |
+
}
|
221 |
+
},{
|
222 |
+
breakpoint: 479,
|
223 |
+
settings: {
|
224 |
+
slidesToShow : 1,
|
225 |
+
slidesToScroll : 1
|
226 |
+
}
|
227 |
+
},{
|
228 |
+
breakpoint: 319,
|
229 |
+
settings: {
|
230 |
+
slidesToShow: 1,
|
231 |
+
slidesToScroll: 1
|
232 |
+
}
|
233 |
+
}]
|
234 |
+
});
|
235 |
+
}
|
236 |
+
});
|
237 |
+
}
|
includes/admin/class-wpls-admin.php
CHANGED
@@ -8,8 +8,9 @@
|
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
11 |
-
|
12 |
-
|
|
|
13 |
|
14 |
class Wpls_Admin {
|
15 |
|
@@ -25,7 +26,7 @@ class Wpls_Admin {
|
|
25 |
add_action( 'save_post_'.WPLS_POST_TYPE, array( $this, 'wpls_save_meta_box_data') );
|
26 |
|
27 |
// Action to add admin menu
|
28 |
-
add_action( 'admin_menu', array( $this, 'wpls_register_menu')
|
29 |
|
30 |
// Action to add custom column to Logo listing
|
31 |
add_filter("manage_wplss_logo_showcase_cat_custom_column", array( $this, 'wplss_logoshowcase_cat_columns'), 10, 3);
|
@@ -78,7 +79,7 @@ class Wpls_Admin {
|
|
78 |
// Updating Post Meta
|
79 |
update_post_meta( $post_id, 'wplss_slide_link', $logo_link );
|
80 |
}
|
81 |
-
|
82 |
/**
|
83 |
* Function to add menu
|
84 |
*
|
@@ -87,11 +88,11 @@ class Wpls_Admin {
|
|
87 |
*/
|
88 |
function wpls_register_menu() {
|
89 |
|
|
|
|
|
|
|
90 |
// Register plugin premium page
|
91 |
add_submenu_page( 'edit.php?post_type='.WPLS_POST_TYPE, __('Upgrade to PRO - Logo Showcase Responsive Slider', 'wp-logo-showcase-responsive-slider-slider'), '<span style="color:#2ECC71">'.__('Upgrade to PRO', 'wp-logo-showcase-responsive-slider-slider').'</span>', 'manage_options', 'wpls-premium', array($this, 'wpls_premium_page') );
|
92 |
-
|
93 |
-
// Register plugin hire us page
|
94 |
-
add_submenu_page( 'edit.php?post_type='.WPLS_POST_TYPE, __('Hire Us', 'wp-logo-showcase-responsive-slider-slider'), '<span style="color:#2ECC71">'.__('Hire Us', 'wp-logo-showcase-responsive-slider-slider').'</span>', 'manage_options', 'wpls-hireus', array($this, 'wpls_hireus_page') );
|
95 |
}
|
96 |
|
97 |
/**
|
@@ -105,15 +106,14 @@ class Wpls_Admin {
|
|
105 |
}
|
106 |
|
107 |
/**
|
108 |
-
*
|
109 |
*
|
110 |
-
* @
|
111 |
-
* @since 2.1
|
112 |
*/
|
113 |
-
function
|
114 |
-
include_once( WPLS_DIR . '/includes/admin/settings/
|
115 |
}
|
116 |
-
|
117 |
/**
|
118 |
* Function to notification transient
|
119 |
*
|
@@ -122,9 +122,9 @@ class Wpls_Admin {
|
|
122 |
*/
|
123 |
function wpls_admin_init_process() {
|
124 |
// If plugin notice is dismissed
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
}
|
129 |
|
130 |
/**
|
@@ -136,8 +136,8 @@ class Wpls_Admin {
|
|
136 |
function wplss_logoshowcase_cat_columns($ouput, $column_name, $tax_id) {
|
137 |
if( $column_name == 'wpls_logo_shortcode' ) {
|
138 |
$ouput .= '[logoshowcase cat_id="' . $tax_id. '"]';
|
139 |
-
}
|
140 |
-
|
141 |
}
|
142 |
|
143 |
/**
|
@@ -147,7 +147,7 @@ class Wpls_Admin {
|
|
147 |
* @since 1.0.0
|
148 |
*/
|
149 |
function wplss_logoshowcase_cat_manage_columns($columns) {
|
150 |
-
|
151 |
$columns = wpls_logo_add_array( $columns, $new_columns, 2 );
|
152 |
return $columns;
|
153 |
}
|
8 |
* @since 1.0.0
|
9 |
*/
|
10 |
|
11 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
12 |
+
exit; // Exit if accessed directly
|
13 |
+
}
|
14 |
|
15 |
class Wpls_Admin {
|
16 |
|
26 |
add_action( 'save_post_'.WPLS_POST_TYPE, array( $this, 'wpls_save_meta_box_data') );
|
27 |
|
28 |
// Action to add admin menu
|
29 |
+
add_action( 'admin_menu', array( $this, 'wpls_register_menu') );
|
30 |
|
31 |
// Action to add custom column to Logo listing
|
32 |
add_filter("manage_wplss_logo_showcase_cat_custom_column", array( $this, 'wplss_logoshowcase_cat_columns'), 10, 3);
|
79 |
// Updating Post Meta
|
80 |
update_post_meta( $post_id, 'wplss_slide_link', $logo_link );
|
81 |
}
|
82 |
+
|
83 |
/**
|
84 |
* Function to add menu
|
85 |
*
|
88 |
*/
|
89 |
function wpls_register_menu() {
|
90 |
|
91 |
+
// How it work page
|
92 |
+
add_submenu_page( 'edit.php?post_type='.WPLS_POST_TYPE, __('How it works, our plugins and offers', 'wp-logo-showcase-responsive-slider-slider'), __('How It Works', 'wp-logo-showcase-responsive-slider-slider'), 'manage_options', 'wpls-designs', array($this, 'wpls_designs_page') );
|
93 |
+
|
94 |
// Register plugin premium page
|
95 |
add_submenu_page( 'edit.php?post_type='.WPLS_POST_TYPE, __('Upgrade to PRO - Logo Showcase Responsive Slider', 'wp-logo-showcase-responsive-slider-slider'), '<span style="color:#2ECC71">'.__('Upgrade to PRO', 'wp-logo-showcase-responsive-slider-slider').'</span>', 'manage_options', 'wpls-premium', array($this, 'wpls_premium_page') );
|
|
|
|
|
|
|
96 |
}
|
97 |
|
98 |
/**
|
106 |
}
|
107 |
|
108 |
/**
|
109 |
+
* How It Work Page Html
|
110 |
*
|
111 |
+
* @since 1.0
|
|
|
112 |
*/
|
113 |
+
function wpls_designs_page() {
|
114 |
+
include_once( WPLS_DIR . '/includes/admin/settings/how-it-work.php' );
|
115 |
}
|
116 |
+
|
117 |
/**
|
118 |
* Function to notification transient
|
119 |
*
|
122 |
*/
|
123 |
function wpls_admin_init_process() {
|
124 |
// If plugin notice is dismissed
|
125 |
+
if( isset($_GET['message']) && $_GET['message'] == 'wpls-plugin-notice' ) {
|
126 |
+
set_transient( 'wpls_install_notice', true, 604800 );
|
127 |
+
}
|
128 |
}
|
129 |
|
130 |
/**
|
136 |
function wplss_logoshowcase_cat_columns($ouput, $column_name, $tax_id) {
|
137 |
if( $column_name == 'wpls_logo_shortcode' ) {
|
138 |
$ouput .= '[logoshowcase cat_id="' . $tax_id. '"]';
|
139 |
+
}
|
140 |
+
return $ouput;
|
141 |
}
|
142 |
|
143 |
/**
|
147 |
* @since 1.0.0
|
148 |
*/
|
149 |
function wplss_logoshowcase_cat_manage_columns($columns) {
|
150 |
+
$new_columns['wpls_logo_shortcode'] = __( 'Category Shortcode', 'wp-logo-showcase-responsive-slider-slider' );
|
151 |
$columns = wpls_logo_add_array( $columns, $new_columns, 2 );
|
152 |
return $columns;
|
153 |
}
|
includes/admin/settings/hire-us.php
DELETED
@@ -1,92 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Plugin Premium Offer Page
|
4 |
-
*
|
5 |
-
* @package WP Logo Showcase Responsive Slider
|
6 |
-
* @since 1.0.0
|
7 |
-
*/
|
8 |
-
|
9 |
-
if ( !defined( 'ABSPATH' ) ) {
|
10 |
-
exit; // Exit if accessed directly
|
11 |
-
}
|
12 |
-
?>
|
13 |
-
<div class="wrap">
|
14 |
-
|
15 |
-
<h2><?php _e( 'Hire Us - Get unlimited expert WordPress Support and Development', 'wp-logo-showcase-responsive-slider-slider' ); ?></h2><br />
|
16 |
-
|
17 |
-
<div class="support-data">
|
18 |
-
<h3 style="margin-bottom:5px;"><?php _e( 'Highlight of Hiring:', 'wp-logo-showcase-responsive-slider-slider' ); ?></h3>
|
19 |
-
<ul>
|
20 |
-
<li><?php _e( 'Hire once, get unlimited jobs done', 'wp-logo-showcase-responsive-slider-slider' ); ?></li>
|
21 |
-
<li><?php _e( 'Quick ticket support, quick solution', 'wp-logo-showcase-responsive-slider-slider' ); ?></li>
|
22 |
-
<li><?php _e( 'Any sort of WP work with no extra cost', 'wp-logo-showcase-responsive-slider-slider' ); ?></li>
|
23 |
-
<li><?php _e( 'Dedicated expert working only for you!', 'wp-logo-showcase-responsive-slider-slider' ); ?></li>
|
24 |
-
</ul>
|
25 |
-
</div>
|
26 |
-
|
27 |
-
<style>
|
28 |
-
.support-data ul{list-style-type:disc ; margin:10px 0 15px 20px;}
|
29 |
-
.wprps-notice{padding: 10px; color: #3c763d; background-color: #dff0d8; border:1px solid #d6e9c6; margin: 0 0 20px 0;}
|
30 |
-
.wpos-plugin-pricing-table thead th h2{font-weight: 400; font-size: 1.5em; line-height:normal; margin:0px; color: #2ECC71;}
|
31 |
-
.wpos-plugin-pricing-table thead th h2 + p{font-size: 1.25em; line-height: 1.4; color: #999; margin:5px 0 5px 0;}
|
32 |
-
|
33 |
-
table.wpos-plugin-pricing-table{width:90%; text-align: left; border-spacing: 0; border-collapse: collapse; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}
|
34 |
-
|
35 |
-
.wpos-plugin-pricing-table th, .wpos-plugin-pricing-table td{font-size:14px; line-height:normal; color:#444; vertical-align:middle; padding:12px;}
|
36 |
-
|
37 |
-
.wpos-plugin-pricing-table colgroup:nth-child(1) { width: 31%; border: 1px solid #ccc; }
|
38 |
-
.wpos-plugin-pricing-table colgroup:nth-child(2) { width: 22%; border: 1px solid #ccc; }
|
39 |
-
.wpos-plugin-pricing-table colgroup:nth-child(3) { width: 25%; border: 10px solid #2ECC71; }
|
40 |
-
.wpos-plugin-pricing-table colgroup:nth-child(4) { width: 31%; border: 1px solid #ccc; }
|
41 |
-
|
42 |
-
/* Tablehead */
|
43 |
-
.wpos-plugin-pricing-table thead th {background-color: #fff; background:linear-gradient(to bottom, #ffffff 0%, #ffffff 100%); text-align: center; position: relative; border-bottom: 1px solid #ccc; padding: 1em 0 3em; font-weight:400; color:#999;}
|
44 |
-
.wpos-plugin-pricing-table thead th:nth-child(3) {padding:1em 0 3.5em 0;}
|
45 |
-
.wpos-plugin-pricing-table thead th p.promo {font-size: 14px; color: #fff; position: absolute; bottom:0; left: -17px; z-index: 1000; width: 100%; margin: 0; padding: .625em 17px .75em; background-color: #ca4a1f; box-shadow: 0 2px 4px rgba(0,0,0,.25); border-bottom: 1px solid #ca4a1f;}
|
46 |
-
.wpos-plugin-pricing-table thead th p.promo:before {content: ""; position: absolute; display: block; width: 0px; height: 0px; border-style: solid; border-width: 0 7px 7px 0; border-color: transparent #900 transparent transparent; bottom: -7px; left: 0;}
|
47 |
-
.wpos-plugin-pricing-table thead th p.promo:after {content: ""; position: absolute; display: block; width: 0px; height: 0px; border-style: solid; border-width: 7px 7px 0 0; border-color: #900 transparent transparent transparent; bottom: -7px; right: 0;}
|
48 |
-
|
49 |
-
/* Table Footer */
|
50 |
-
.wpos-plugin-pricing-table tfoot th, .wpos-plugin-pricing-table tfoot td{text-align: center; border-top: 1px solid #ccc;}
|
51 |
-
.wpos-plugin-pricing-table tfoot a{font-weight: 600; color: #fff; text-decoration: none; text-transform: uppercase; display: inline-block; padding: 1em 2em; background: #59c7fb; border-radius: .2em;}
|
52 |
-
</style>
|
53 |
-
|
54 |
-
<table class="wpos-plugin-pricing-table">
|
55 |
-
<colgroup></colgroup>
|
56 |
-
<colgroup></colgroup>
|
57 |
-
<colgroup></colgroup>
|
58 |
-
<colgroup></colgroup>
|
59 |
-
<thead>
|
60 |
-
<tr>
|
61 |
-
<th>
|
62 |
-
<h2><?php _e( 'Hire us for 1 Hr', 'wp-logo-showcase-responsive-slider-slider' ); ?></h2>
|
63 |
-
<p><?php _e( '$20 USD', 'wp-logo-showcase-responsive-slider-slider' ); ?></p>
|
64 |
-
</th>
|
65 |
-
<th>
|
66 |
-
<h2><?php _e( 'Hire us for 5 Hrs', 'wp-logo-showcase-responsive-slider-slider' ); ?></h2>
|
67 |
-
<p><?php _e( '$99 USD', 'wp-logo-showcase-responsive-slider-slider' ); ?></p>
|
68 |
-
</th>
|
69 |
-
<th>
|
70 |
-
<h2><?php _e( 'Hire us for 30 Hrs', 'wp-logo-showcase-responsive-slider-slider' ); ?></h2>
|
71 |
-
<p><?php _e( '$499 USD', 'wp-logo-showcase-responsive-slider-slider' ); ?></p>
|
72 |
-
<p class="promo"><?php _e( 'Our most valuable package!', 'wp-logo-showcase-responsive-slider-slider' ); ?></p>
|
73 |
-
</th>
|
74 |
-
<th>
|
75 |
-
<h2><?php _e( 'Hire us for 70 Hrs', 'wp-logo-showcase-responsive-slider-slider' ); ?></h2>
|
76 |
-
<p><?php _e( '$999 USD', 'wp-logo-showcase-responsive-slider-slider' ); ?></p>
|
77 |
-
</th>
|
78 |
-
</tr>
|
79 |
-
</thead>
|
80 |
-
|
81 |
-
<tfoot>
|
82 |
-
<tr>
|
83 |
-
<td><a href="https://www.wponlinesupport.com/checkout/?edd_action=add_to_cart&download_id=6044&edd_options[price_id]=6&ref=wposthemeplugin" target="_blank"><?php _e( 'Hire Us', 'wp-logo-showcase-responsive-slider-slider' ); ?></a></td>
|
84 |
-
<td><a href="https://www.wponlinesupport.com/checkout/?edd_action=add_to_cart&download_id=6044&edd_options[price_id]=3&ref=wposthemeplugin" target="_blank"><?php _e( 'Hire Us', 'wp-logo-showcase-responsive-slider-slider' ); ?></a></td>
|
85 |
-
<td><a href="https://www.wponlinesupport.com/checkout/?edd_action=add_to_cart&download_id=6044&edd_options[price_id]=4&ref=wposthemeplugin" target="_blank"><?php _e( 'Hire Us', 'wp-logo-showcase-responsive-slider-slider' ); ?></a></td>
|
86 |
-
<td><a href="https://www.wponlinesupport.com/checkout/?edd_action=add_to_cart&download_id=6044&edd_options[price_id]=5&ref=wposthemeplugin" target="_blank"><?php _e( 'Hire Us', 'wp-logo-showcase-responsive-slider-slider' ); ?></a></td>
|
87 |
-
</tr>
|
88 |
-
</tfoot>
|
89 |
-
|
90 |
-
|
91 |
-
</table>
|
92 |
-
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/admin/settings/how-it-work.php
ADDED
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* How it Work Page
|
4 |
+
*
|
5 |
+
* @package WP Logo Showcase Responsive Slider
|
6 |
+
* @since 1.0.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
exit; // Exit if accessed directly
|
11 |
+
}
|
12 |
+
?>
|
13 |
+
<div class="wrap wpls-wrap">
|
14 |
+
<style type="text/css">
|
15 |
+
.wpos-pro-box .hndle{background-color:#0073AA; color:#fff;}
|
16 |
+
.wpos-pro-box.postbox{background:#dbf0fa none repeat scroll 0 0; border:1px solid #0073aa; color:#191e23;}
|
17 |
+
.postbox-container .wpos-list li:before{font-family: dashicons; content: "\f139"; font-size:20px; color: #0073aa; vertical-align: middle;}
|
18 |
+
.wpls-wrap .wpos-button-full{display:block; text-align:center; box-shadow:none; border-radius:0;}
|
19 |
+
.wpls-shortcode-preview{background-color: #e7e7e7; font-weight: bold; padding: 2px 5px; display: inline-block; margin:0 0 2px 0;}
|
20 |
+
.upgrade-to-pro{font-size:18px; text-align:center; margin-bottom:15px;}
|
21 |
+
.wpos-copy-clipboard{-webkit-touch-callout: all; -webkit-user-select: all; -khtml-user-select: all; -moz-user-select: all; -ms-user-select: all; user-select: all;}
|
22 |
+
</style>
|
23 |
+
|
24 |
+
<div id="poststuff">
|
25 |
+
<div id="post-body" class="metabox-holder columns-2">
|
26 |
+
|
27 |
+
<!--How it workd HTML -->
|
28 |
+
<div id="post-body-content">
|
29 |
+
<div class="meta-box-sortables">
|
30 |
+
<div class="postbox">
|
31 |
+
<div class="postbox-header">
|
32 |
+
<h2 class="hndle">
|
33 |
+
<span><?php _e( 'How It Works - Display and shortcode', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
34 |
+
</h2>
|
35 |
+
</div>
|
36 |
+
<div class="inside">
|
37 |
+
<table class="form-table">
|
38 |
+
<tbody>
|
39 |
+
<tr>
|
40 |
+
<th>
|
41 |
+
<label><?php _e('Getting Started with Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'); ?>:</label>
|
42 |
+
</th>
|
43 |
+
<td>
|
44 |
+
<ul>
|
45 |
+
<li><?php _e('Step-1. Go to "Logo Showcase --> Add New".', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
46 |
+
<li><?php _e('Step-2. Add Logo title, logo link to redirect(if need) and logo image under featured image section.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
47 |
+
<li><?php _e('Step-3. Display multiple logo showcase, create categories under "Logo Showcase --> category" and create categories.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
48 |
+
<li><?php _e('Step-4. Assign logo showcase post to respective categories and use the category shortcode under "Logo Showcase --> category"', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
49 |
+
</ul>
|
50 |
+
</td>
|
51 |
+
</tr>
|
52 |
+
|
53 |
+
<tr>
|
54 |
+
<th>
|
55 |
+
<label><?php _e('How Shortcode Works', 'wp-logo-showcase-responsive-slider-slider'); ?>:</label>
|
56 |
+
</th>
|
57 |
+
<td>
|
58 |
+
<ul>
|
59 |
+
<li><?php _e('Step-1. Create a page like Logoshose OR add the shortcode in any page.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
60 |
+
<li><?php _e('Step-2. Put below shortcode as per your need.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
61 |
+
</ul>
|
62 |
+
</td>
|
63 |
+
</tr>
|
64 |
+
|
65 |
+
<tr>
|
66 |
+
<th>
|
67 |
+
<label><?php _e('All Shortcodes', 'wp-logo-showcase-responsive-slider-slider'); ?>:</label>
|
68 |
+
</th>
|
69 |
+
<td>
|
70 |
+
<span class="wpls-shortcode-preview wpos-copy-clipboard">[logoshowcase]</span> – <?php _e('Logo Showcase Slider Shortcode', 'wp-logo-showcase-responsive-slider-slider'); ?> <br />
|
71 |
+
<span class="wpls-shortcode-preview wpos-copy-clipboard">[logoshowcase center_mode="true" slides_column="3"]</span> – <?php _e('Logo Showcase Slider with center mode Shortcode', 'wp-logo-showcase-responsive-slider-slider'); ?><br />
|
72 |
+
<span class="wpls-shortcode-preview wpos-copy-clipboard">[logoshowcase limit="-1"]</span> – <?php _e('Logo Showcase Slider limit -1 to display all logos, by defualt display only 15 logos.', 'wp-logo-showcase-responsive-slider-slider'); ?>
|
73 |
+
</td>
|
74 |
+
</tr>
|
75 |
+
</tbody>
|
76 |
+
</table>
|
77 |
+
</div><!-- .inside -->
|
78 |
+
</div><!-- #general -->
|
79 |
+
</div><!-- .meta-box-sortables -->
|
80 |
+
|
81 |
+
<div class="meta-box-sortables">
|
82 |
+
<div class="postbox">
|
83 |
+
<div class="postbox-header">
|
84 |
+
<h2 class="hndle">
|
85 |
+
<span><?php _e( 'Gutenberg Support', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
86 |
+
</h2>
|
87 |
+
</div>
|
88 |
+
<div class="inside">
|
89 |
+
<table class="form-table">
|
90 |
+
<tbody>
|
91 |
+
<tr>
|
92 |
+
<th>
|
93 |
+
<label><?php _e('How it Work', 'wp-logo-showcase-responsive-slider-slider'); ?>:</label>
|
94 |
+
</th>
|
95 |
+
<td>
|
96 |
+
<ul>
|
97 |
+
<li><?php _e('Step-1. Go to the Gutenberg editor of your page.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
98 |
+
<li><?php _e('Step-2. Search "logoshowcase" keyword in the gutenberg block list.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
99 |
+
<li><?php _e('Step-3. Add any block of logoshowcase and you will find its relative options on the right end side.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
100 |
+
</ul>
|
101 |
+
</td>
|
102 |
+
</tr>
|
103 |
+
</tbody>
|
104 |
+
</table>
|
105 |
+
</div><!-- .inside -->
|
106 |
+
</div><!-- #general -->
|
107 |
+
</div><!-- .meta-box-sortables -->
|
108 |
+
|
109 |
+
<div class="meta-box-sortables">
|
110 |
+
<div class="postbox">
|
111 |
+
<div class="postbox-header">
|
112 |
+
<h2 class="hndle">
|
113 |
+
<span><?php _e( 'Need Support?', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
114 |
+
</h2>
|
115 |
+
</div>
|
116 |
+
<div class="inside">
|
117 |
+
<table class="form-table">
|
118 |
+
<tbody>
|
119 |
+
<tr>
|
120 |
+
<td>
|
121 |
+
<p><?php _e('Check plugin document for shortcode parameters and demo for designs.', 'wp-logo-showcase-responsive-slider-slider'); ?></p> <br/>
|
122 |
+
<a class="button button-primary" href="http://docs.wponlinesupport.com/wp-logo-showcase-responsive-slider/" target="_blank"><?php _e('Documentation', 'wp-logo-showcase-responsive-slider-slider'); ?></a>
|
123 |
+
<a class="button button-primary" href="http://demo.wponlinesupport.com/logo-slider-plugin-demo/" target="_blank"><?php _e('Demo for Designs', 'wp-logo-showcase-responsive-slider-slider'); ?></a>
|
124 |
+
</td>
|
125 |
+
</tr>
|
126 |
+
</tbody>
|
127 |
+
</table>
|
128 |
+
</div><!-- .inside -->
|
129 |
+
</div><!-- #general -->
|
130 |
+
</div><!-- .meta-box-sortables -->
|
131 |
+
|
132 |
+
<!-- Help to improve this plugin! -->
|
133 |
+
<div class="meta-box-sortables">
|
134 |
+
<div class="postbox">
|
135 |
+
<div class="postbox-header">
|
136 |
+
<h2 class="hndle">
|
137 |
+
<span><?php _e( 'Help to improve this plugin!', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
138 |
+
</h2>
|
139 |
+
</div>
|
140 |
+
<div class="inside">
|
141 |
+
<p><?php echo sprintf( __( 'Enjoyed this plugin? You can help by rate this plugin <a href="%s" target="_blank">5 stars!', 'wp-logo-showcase-responsive-slider-slider'), 'https://wordpress.org/support/plugin/wp-logo-showcase-responsive-slider-slider/reviews/' ); ?></a></p>
|
142 |
+
</div><!-- .inside -->
|
143 |
+
</div><!-- #general -->
|
144 |
+
</div><!-- .meta-box-sortables -->
|
145 |
+
</div><!-- #post-body-content -->
|
146 |
+
|
147 |
+
<!--Upgrad to Pro HTML -->
|
148 |
+
<div id="postbox-container-1" class="postbox-container">
|
149 |
+
<div class="meta-box-sortables">
|
150 |
+
<div class="postbox wpos-pro-box">
|
151 |
+
<div class="postbox-header">
|
152 |
+
<h3 class="hndle">
|
153 |
+
<span><?php _e( 'Upgrate to Pro', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
154 |
+
</h3>
|
155 |
+
</div>
|
156 |
+
<div class="inside">
|
157 |
+
<ul class="wpos-list">
|
158 |
+
<li><?php _e( '15+ predefined template for logo showcase.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
159 |
+
<li><?php _e( '3 shortcodes [logoshowcase], [logo_grid] and [logo_filter]', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
160 |
+
<li><?php _e( 'Drag & Drop order change', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
161 |
+
<li><?php _e( 'Display logo showcase in a grid view.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
162 |
+
<li><?php _e( 'Display logo with filtration.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
163 |
+
<li><?php _e( 'Display logo showcase in slider view', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
164 |
+
<li><?php _e( 'Display logo showcase in center mode view', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
165 |
+
<li><?php _e( 'Logo Showcase With Ticker Mode', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
166 |
+
<li><?php _e( '2 Widgets- Slider and Grid view.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
167 |
+
<li><?php _e( 'Display Logo with title and description', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
168 |
+
<li><?php _e( 'Slider RTL support.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
169 |
+
<li><?php _e( 'Display logo showcase categories wise.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
170 |
+
<li><?php _e( 'Set image size for logo among WordPress image size.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
171 |
+
<li><?php _e( 'Visual Composer support.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
172 |
+
<li><?php _e( 'Gutenberg, Elementor, Beaver and SiteOrigin Page Builder Support. <span class="wpos-new-feature">New</span>', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
173 |
+
<li><?php _e( 'Divi Page Builder Native Support.<span class="wpos-new-feature">New</span>', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
174 |
+
<li><?php _e( 'Fusion Page Builder (Avada) native support. <span class="wpos-new-feature">New</span>', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
175 |
+
<li><?php _e( 'Logo Showcase with tool-tip with 5 tool-tip theme and various parameters.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
176 |
+
<li><?php _e( 'Custom CSS option', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
177 |
+
<li><?php _e( 'Fully responsive', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
178 |
+
<li><?php _e( '100% Multi language', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
179 |
+
</ul>
|
180 |
+
<div class="upgrade-to-pro"><?php _e( 'Gain access to <strong>Logo Showcase Responsive Slider</strong> included in <br /><strong>Essential Plugin Bundle', 'wp-logo-showcase-responsive-slider-slider'); ?></div>
|
181 |
+
<a class="button button-primary wpos-button-full" href="https://www.wponlinesupport.com/wp-plugin/wp-logo-showcase-responsive-slider/?ref=WposPratik&utm_source=WP&utm_medium=Logoshowcase&utm_campaign=Upgrade-PRO" target="_blank"><?php _e('Go Premium ', 'wp-logo-showcase-responsive-slider-slider'); ?></a>
|
182 |
+
<p><a class="button button-primary wpos-button-full" href="http://demo.wponlinesupport.com/prodemo/pro-logo-showcase-responsive-slider/" target="_blank"><?php _e('View PRO Demo ', 'wp-logo-showcase-responsive-slider-slider'); ?></a></p>
|
183 |
+
</div><!-- .inside -->
|
184 |
+
</div><!-- #general -->
|
185 |
+
</div><!-- .meta-box-sortables -->
|
186 |
+
</div><!-- #post-container-1 -->
|
187 |
+
|
188 |
+
</div><!-- #post-body -->
|
189 |
+
</div><!-- #poststuff -->
|
190 |
+
</div><!-- end .wpls-wrap -->
|
includes/admin/settings/premium.php
CHANGED
@@ -156,6 +156,31 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
156 |
<td><i class="dashicons dashicons-yes"></i></td>
|
157 |
<td><i class="dashicons dashicons-yes"></i></td>
|
158 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
<tr>
|
160 |
<th>Visual Composer Page Builder Supports <span>Use this plugin with Visual Composer easily</span></th>
|
161 |
<td><i class="dashicons dashicons-no-alt"></i></td>
|
156 |
<td><i class="dashicons dashicons-yes"></i></td>
|
157 |
<td><i class="dashicons dashicons-yes"></i></td>
|
158 |
</tr>
|
159 |
+
<tr>
|
160 |
+
<th>Elementor Page Builder Support <em class="wpos-new-feature">New</em> <span>Use this plugin with Elementor easily</span></th>
|
161 |
+
<td><i class="dashicons dashicons-no-alt"></i></td>
|
162 |
+
<td><i class="dashicons dashicons-yes"></i></td>
|
163 |
+
</tr>
|
164 |
+
<tr>
|
165 |
+
<th>Bevear Builder Support <em class="wpos-new-feature">New</em> <span>Use this plugin with Bevear Builder easily</span></th>
|
166 |
+
<td><i class="dashicons dashicons-no-alt"></i></td>
|
167 |
+
<td><i class="dashicons dashicons-yes"></i></td>
|
168 |
+
</tr>
|
169 |
+
<tr>
|
170 |
+
<th>SiteOrigin Page Builder Support <em class="wpos-new-feature">New</em> <span>Use this plugin with SiteOrigin easily</span></th>
|
171 |
+
<td><i class="dashicons dashicons-no-alt"></i></td>
|
172 |
+
<td><i class="dashicons dashicons-yes"></i></td>
|
173 |
+
</tr>
|
174 |
+
<tr>
|
175 |
+
<th>Divi Page Builder Native Support <em class="wpos-new-feature">New</em> <span>Use this plugin with Divi Builder easily</span></th>
|
176 |
+
<td><i class="dashicons dashicons-yes"></i></td>
|
177 |
+
<td><i class="dashicons dashicons-yes"></i></td>
|
178 |
+
</tr>
|
179 |
+
<tr>
|
180 |
+
<th>Fusion Page Builder (Avada) native support <em class="wpos-new-feature">New</em> <span>Use this plugin with Fusion( Avada ) Builder easily</span></th>
|
181 |
+
<td><i class="dashicons dashicons-yes"></i></td>
|
182 |
+
<td><i class="dashicons dashicons-yes"></i></td>
|
183 |
+
</tr>
|
184 |
<tr>
|
185 |
<th>Visual Composer Page Builder Supports <span>Use this plugin with Visual Composer easily</span></th>
|
186 |
<td><i class="dashicons dashicons-no-alt"></i></td>
|
includes/admin/wpls-how-it-work.php
DELETED
@@ -1,276 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Pro Designs and Plugins Feed
|
4 |
-
*
|
5 |
-
* @package WP Logo Showcase Responsive Slider
|
6 |
-
* @since 1.0.0
|
7 |
-
*/
|
8 |
-
|
9 |
-
// Exit if accessed directly
|
10 |
-
if ( !defined( 'ABSPATH' ) ) exit;
|
11 |
-
|
12 |
-
// Action to add menu
|
13 |
-
add_action('admin_menu', 'wpls_register_design_page');
|
14 |
-
|
15 |
-
/**
|
16 |
-
* Register plugin design page in admin menu
|
17 |
-
*
|
18 |
-
* @package WP Logo Showcase Responsive Slider
|
19 |
-
* @since 1.0.0
|
20 |
-
*/
|
21 |
-
function wpls_register_design_page() {
|
22 |
-
add_submenu_page( 'edit.php?post_type='.WPLS_POST_TYPE, __('How it works, our plugins and offers', 'wp-logo-showcase-responsive-slider-slider'), __('How It Works', 'wp-logo-showcase-responsive-slider-slider'), 'manage_options', 'wpls-designs', 'wpls_designs_page' );
|
23 |
-
}
|
24 |
-
|
25 |
-
/**
|
26 |
-
* Function to display plugin design HTML
|
27 |
-
*
|
28 |
-
* @package WP Logo Showcase Responsive Slider
|
29 |
-
* @since 1.0.0
|
30 |
-
*/
|
31 |
-
function wpls_designs_page() {
|
32 |
-
|
33 |
-
$wpos_feed_tabs = wpls_help_tabs();
|
34 |
-
$active_tab = isset($_GET['tab']) ? $_GET['tab'] : 'how-it-work';
|
35 |
-
?>
|
36 |
-
|
37 |
-
<div class="wrap wpls-wrap">
|
38 |
-
|
39 |
-
<h2 class="nav-tab-wrapper">
|
40 |
-
<?php
|
41 |
-
foreach ($wpos_feed_tabs as $tab_key => $tab_val) {
|
42 |
-
$tab_name = $tab_val['name'];
|
43 |
-
$active_cls = ($tab_key == $active_tab) ? 'nav-tab-active' : '';
|
44 |
-
$tab_link = add_query_arg( array( 'post_type' => WPLS_POST_TYPE, 'page' => 'wpls-designs', 'tab' => $tab_key), admin_url('edit.php') );
|
45 |
-
?>
|
46 |
-
|
47 |
-
<a class="nav-tab <?php echo $active_cls; ?>" href="<?php echo $tab_link; ?>"><?php echo $tab_name; ?></a>
|
48 |
-
|
49 |
-
<?php } ?>
|
50 |
-
</h2>
|
51 |
-
|
52 |
-
<div class="wpls-tab-cnt-wrp">
|
53 |
-
<?php
|
54 |
-
if( isset($active_tab) && $active_tab == 'how-it-work' ) {
|
55 |
-
wpls_howitwork_page();
|
56 |
-
}
|
57 |
-
else if( isset($active_tab) && $active_tab == 'plugins-feed' ) {
|
58 |
-
echo wpls_get_plugin_design( 'plugins-feed' );
|
59 |
-
} else {
|
60 |
-
echo wpls_get_plugin_design( 'offers-feed' );
|
61 |
-
}
|
62 |
-
?>
|
63 |
-
</div><!-- end .wpls-tab-cnt-wrp -->
|
64 |
-
|
65 |
-
</div><!-- end .wpls-wrap -->
|
66 |
-
|
67 |
-
<?php
|
68 |
-
}
|
69 |
-
|
70 |
-
/**
|
71 |
-
* Gets the plugin design part feed
|
72 |
-
*
|
73 |
-
* @package WP Logo Showcase Responsive Slider
|
74 |
-
* @since 1.0.0
|
75 |
-
*/
|
76 |
-
function wpls_get_plugin_design( $feed_type = '' ) {
|
77 |
-
|
78 |
-
$active_tab = isset($_GET['tab']) ? $_GET['tab'] : '';
|
79 |
-
|
80 |
-
// If tab is not set then return
|
81 |
-
if( empty($active_tab) ) {
|
82 |
-
return false;
|
83 |
-
}
|
84 |
-
|
85 |
-
// Taking some variables
|
86 |
-
$wpos_feed_tabs = wpls_help_tabs();
|
87 |
-
$transient_key = isset($wpos_feed_tabs[$active_tab]['transient_key']) ? $wpos_feed_tabs[$active_tab]['transient_key'] : 'wpls_' . $active_tab;
|
88 |
-
$url = isset($wpos_feed_tabs[$active_tab]['url']) ? $wpos_feed_tabs[$active_tab]['url'] : '';
|
89 |
-
$transient_time = isset($wpos_feed_tabs[$active_tab]['transient_time']) ? $wpos_feed_tabs[$active_tab]['transient_time'] : 172800;
|
90 |
-
$cache = get_transient( $transient_key );
|
91 |
-
|
92 |
-
if ( false === $cache ) {
|
93 |
-
|
94 |
-
$feed = wp_remote_get( esc_url_raw( $url ), array( 'timeout' => 120, 'sslverify' => false ) );
|
95 |
-
$response_code = wp_remote_retrieve_response_code( $feed );
|
96 |
-
|
97 |
-
if ( ! is_wp_error( $feed ) && $response_code == 200 ) {
|
98 |
-
if ( isset( $feed['body'] ) && strlen( $feed['body'] ) > 0 ) {
|
99 |
-
$cache = wp_remote_retrieve_body( $feed );
|
100 |
-
set_transient( $transient_key, $cache, $transient_time );
|
101 |
-
}
|
102 |
-
} else {
|
103 |
-
$cache = '<div class="error"><p>' . __( 'There was an error retrieving the data from the server. Please try again later.', 'wp-logo-showcase-responsive-slider-slider' ) . '</div>';
|
104 |
-
}
|
105 |
-
}
|
106 |
-
return $cache;
|
107 |
-
}
|
108 |
-
|
109 |
-
/**
|
110 |
-
* Function to get plugin feed tabs
|
111 |
-
*
|
112 |
-
* @package WP Logo Showcase Responsive Slider
|
113 |
-
* @since 1.0.0
|
114 |
-
*/
|
115 |
-
function wpls_help_tabs() {
|
116 |
-
$wpos_feed_tabs = array(
|
117 |
-
'how-it-work' => array(
|
118 |
-
'name' => __('How It Works', 'wp-logo-showcase-responsive-slider-slider'),
|
119 |
-
),
|
120 |
-
'plugins-feed' => array(
|
121 |
-
'name' => __('Our Plugins', 'wp-logo-showcase-responsive-slider-slider'),
|
122 |
-
'url' => 'http://wponlinesupport.com/plugin-data-api/plugins-data.php',
|
123 |
-
'transient_key' => 'wpos_plugins_feed',
|
124 |
-
'transient_time' => 172800
|
125 |
-
)
|
126 |
-
);
|
127 |
-
return $wpos_feed_tabs;
|
128 |
-
}
|
129 |
-
|
130 |
-
/**
|
131 |
-
* Function to get 'How It Works' HTML
|
132 |
-
*
|
133 |
-
* @package WP Logo Showcase Responsive Slider
|
134 |
-
* @since 1.0.0
|
135 |
-
*/
|
136 |
-
function wpls_howitwork_page() { ?>
|
137 |
-
|
138 |
-
<style type="text/css">
|
139 |
-
.wpos-pro-box .hndle{background-color:#0073AA; color:#fff;}
|
140 |
-
.wpos-pro-box .postbox{background:#dbf0fa none repeat scroll 0 0; border:1px solid #0073aa; color:#191e23;}
|
141 |
-
.postbox-container .wpos-list li:before{font-family: dashicons; content: "\f139"; font-size:20px; color: #0073aa; vertical-align: middle;}
|
142 |
-
.wpls-wrap .wpos-button-full{display:block; text-align:center; box-shadow:none; border-radius:0;}
|
143 |
-
.wpls-shortcode-preview{background-color: #e7e7e7; font-weight: bold; padding: 2px 5px; display: inline-block; margin:0 0 2px 0;}
|
144 |
-
.upgrade-to-pro{font-size:18px; text-align:center; margin-bottom:15px;}
|
145 |
-
|
146 |
-
</style>
|
147 |
-
|
148 |
-
<div class="post-box-container">
|
149 |
-
<div id="poststuff">
|
150 |
-
<div id="post-body" class="metabox-holder columns-2">
|
151 |
-
|
152 |
-
<!--How it workd HTML -->
|
153 |
-
<div id="post-body-content">
|
154 |
-
<div class="metabox-holder">
|
155 |
-
<div class="meta-box-sortables ui-sortable">
|
156 |
-
<div class="postbox">
|
157 |
-
|
158 |
-
<h3 class="hndle">
|
159 |
-
<span><?php _e( 'How It Works - Display and shortcode', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
160 |
-
</h3>
|
161 |
-
|
162 |
-
<div class="inside">
|
163 |
-
<table class="form-table">
|
164 |
-
<tbody>
|
165 |
-
<tr>
|
166 |
-
<th>
|
167 |
-
<label><?php _e('Geeting Started with Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'); ?>:</label>
|
168 |
-
</th>
|
169 |
-
<td>
|
170 |
-
<ul>
|
171 |
-
<li><?php _e('Step-1. Go to "Logo Showcase --> Add New".', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
172 |
-
<li><?php _e('Step-2. Add Logo title, logo link to redirect(if need) and logo image under featured image section.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
173 |
-
<li><?php _e('Step-3. Display multiple logo showcase, create categories under "Logo Showcase --> category" and create categories.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
174 |
-
<li><?php _e('Step-4. Assign logo showcase post to respective categories and use the category shortcode under "Logo Showcase --> category"', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
175 |
-
</ul>
|
176 |
-
</td>
|
177 |
-
</tr>
|
178 |
-
|
179 |
-
<tr>
|
180 |
-
<th>
|
181 |
-
<label><?php _e('How Shortcode Works', 'wp-logo-showcase-responsive-slider-slider'); ?>:</label>
|
182 |
-
</th>
|
183 |
-
<td>
|
184 |
-
<ul>
|
185 |
-
<li><?php _e('Step-1. Create a page like Logoshose OR add the shortcode in any page.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
186 |
-
<li><?php _e('Step-2. Put below shortcode as per your need.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
187 |
-
</ul>
|
188 |
-
</td>
|
189 |
-
</tr>
|
190 |
-
|
191 |
-
<tr>
|
192 |
-
<th>
|
193 |
-
<label><?php _e('All Shortcodes', 'wp-logo-showcase-responsive-slider-slider'); ?>:</label>
|
194 |
-
</th>
|
195 |
-
<td>
|
196 |
-
<span class="wpls-shortcode-preview">[logoshowcase]</span> – <?php _e('Logo Showcase Slider Shortcode', 'wp-logo-showcase-responsive-slider-slider'); ?> <br />
|
197 |
-
<span class="wpls-shortcode-preview">[logoshowcase center_mode="true" slides_column="3"]</span> – <?php _e('Logo Showcase Slider with center mode Shortcode', 'wp-logo-showcase-responsive-slider-slider'); ?>
|
198 |
-
|
199 |
-
</td>
|
200 |
-
</tr>
|
201 |
-
|
202 |
-
<tr>
|
203 |
-
<th>
|
204 |
-
<label><?php _e('Need Support?', 'wp-logo-showcase-responsive-slider-slider'); ?></label>
|
205 |
-
</th>
|
206 |
-
<td>
|
207 |
-
<p><?php _e('Check plugin document for shortcode parameters and demo for designs.', 'wp-logo-showcase-responsive-slider-slider'); ?></p> <br/>
|
208 |
-
<a class="button button-primary" href="http://docs.wponlinesupport.com/wp-logo-showcase-responsive-slider/" target="_blank"><?php _e('Documentation', 'wp-logo-showcase-responsive-slider-slider'); ?></a>
|
209 |
-
<a class="button button-primary" href="http://demo.wponlinesupport.com/logo-slider-plugin-demo/" target="_blank"><?php _e('Demo for Designs', 'wp-logo-showcase-responsive-slider-slider'); ?></a>
|
210 |
-
</td>
|
211 |
-
</tr>
|
212 |
-
</tbody>
|
213 |
-
</table>
|
214 |
-
</div><!-- .inside -->
|
215 |
-
</div><!-- #general -->
|
216 |
-
</div><!-- .meta-box-sortables ui-sortable -->
|
217 |
-
</div><!-- .metabox-holder -->
|
218 |
-
</div><!-- #post-body-content -->
|
219 |
-
|
220 |
-
<!--Upgrad to Pro HTML -->
|
221 |
-
<div id="postbox-container-1" class="postbox-container">
|
222 |
-
<div class="metabox-holder wpos-pro-box">
|
223 |
-
<div class="meta-box-sortables ui-sortable">
|
224 |
-
<div class="postbox" style="">
|
225 |
-
|
226 |
-
<h3 class="hndle">
|
227 |
-
<span><?php _e( 'Upgrate to Pro', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
228 |
-
</h3>
|
229 |
-
<div class="inside">
|
230 |
-
<ul class="wpos-list">
|
231 |
-
<li><?php _e( '15+ predefined template for logo showcase.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
232 |
-
<li><?php _e( '3 shortcodes [logoshowcase], [logo_grid] and [logo_filter]', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
233 |
-
<li><?php _e( 'Drag & Drop order change', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
234 |
-
<li><?php _e( 'Display logo showcase in a grid view.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
235 |
-
<li><?php _e( 'Display logo with filtration.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
236 |
-
<li><?php _e( 'Display logo showcase in slider view', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
237 |
-
<li><?php _e( 'Display logo showcase in center mode view', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
238 |
-
<li><?php _e( 'Logo Showcase With Ticker Mode', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
239 |
-
<li><?php _e( '2 Widgets- Slider and Grid view.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
240 |
-
<li><?php _e( 'Display Logo with title and description', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
241 |
-
<li><?php _e( 'Slider RTL support.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
242 |
-
<li><?php _e( 'Display logo showcase categories wise.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
243 |
-
<li><?php _e( 'Set image size for logo among WordPress image size.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
244 |
-
<li><?php _e( 'Visual Composer support.', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
245 |
-
<li><?php _e( 'Logo Showcase with tool-tip with 5 tool-tip theme', 'wp-logo-showcase-responsive-slider-slider'); ?> and various parameters.</li>
|
246 |
-
<li><?php _e( 'Custom CSS option', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
247 |
-
<li><?php _e( 'Fully responsive', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
248 |
-
<li><?php _e( '100% Multi language', 'wp-logo-showcase-responsive-slider-slider'); ?></li>
|
249 |
-
</ul>
|
250 |
-
<div class="upgrade-to-pro"><?php _e( 'Gain access to <strong>Logo Showcase Responsive Slider</strong> included in <br /><strong>Essential Plugin Bundle', 'wp-logo-showcase-responsive-slider-slider'); ?></div>
|
251 |
-
<a class="button button-primary wpos-button-full" href="https://www.wponlinesupport.com/wp-plugin/wp-logo-showcase-responsive-slider/?ref=WposPratik&utm_source=WP&utm_medium=Logoshowcase&utm_campaign=Upgrade-PRO" target="_blank"><?php _e('Go Premium ', 'wp-logo-showcase-responsive-slider-slider'); ?></a>
|
252 |
-
<p><a class="button button-primary wpos-button-full" href="http://demo.wponlinesupport.com/prodemo/pro-logo-showcase-responsive-slider/" target="_blank"><?php _e('View PRO Demo ', 'wp-logo-showcase-responsive-slider-slider'); ?></a> </p>
|
253 |
-
</div><!-- .inside -->
|
254 |
-
</div><!-- #general -->
|
255 |
-
</div><!-- .meta-box-sortables ui-sortable -->
|
256 |
-
</div><!-- .metabox-holder -->
|
257 |
-
|
258 |
-
<!-- Help to improve this plugin! -->
|
259 |
-
<div class="metabox-holder">
|
260 |
-
<div class="meta-box-sortables ui-sortable">
|
261 |
-
<div class="postbox">
|
262 |
-
<h3 class="hndle">
|
263 |
-
<span><?php _e( 'Help to improve this plugin!', 'wp-logo-showcase-responsive-slider-slider' ); ?></span>
|
264 |
-
</h3>
|
265 |
-
<div class="inside">
|
266 |
-
<p><?php echo sprintf( __( 'Enjoyed this plugin? You can help by rate this plugin <a href="%s" target="_blank">5 stars!', 'wp-logo-showcase-responsive-slider-slider'), 'https://wordpress.org/support/plugin/wp-logo-showcase-responsive-slider-slider/reviews/' ); ?></a></p>
|
267 |
-
</div><!-- .inside -->
|
268 |
-
</div><!-- #general -->
|
269 |
-
</div><!-- .meta-box-sortables ui-sortable -->
|
270 |
-
</div><!-- .metabox-holder -->
|
271 |
-
</div><!-- #post-container-1 -->
|
272 |
-
|
273 |
-
</div><!-- #post-body -->
|
274 |
-
</div><!-- #poststuff -->
|
275 |
-
</div><!-- #post-box-container -->
|
276 |
-
<?php }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/class-wpls-script.php
CHANGED
@@ -8,8 +8,9 @@
|
|
8 |
* @since 1.2.8
|
9 |
*/
|
10 |
|
11 |
-
|
12 |
-
|
|
|
13 |
|
14 |
class Wpls_Script {
|
15 |
|
@@ -26,6 +27,24 @@ class Wpls_Script {
|
|
26 |
|
27 |
}
|
28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
/**
|
30 |
* Enqueue admin styles
|
31 |
*
|
@@ -34,6 +53,8 @@ class Wpls_Script {
|
|
34 |
*/
|
35 |
function wpls_admin_style_script( $hook ) {
|
36 |
|
|
|
|
|
37 |
global $typenow, $wp_version;
|
38 |
|
39 |
$new_ui = $wp_version >= '3.5' ? '1' : '0'; // Check wordpress version for older scripts
|
@@ -42,9 +63,12 @@ class Wpls_Script {
|
|
42 |
$pages_arr = array( WPLS_POST_TYPE );
|
43 |
|
44 |
if( in_array($typenow, $pages_arr) ) {
|
45 |
-
wp_register_style( 'wpls-admin-style', WPLS_URL.'assets/css/logo-showcase-admin.css', array(), WPLS_VERSION );
|
46 |
wp_enqueue_style( 'wpls-admin-style' );
|
47 |
}
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
/**
|
@@ -72,17 +96,56 @@ class Wpls_Script {
|
|
72 |
* @since 1.0.0
|
73 |
*/
|
74 |
function wpls_logoshowcase_script(){
|
75 |
-
|
|
|
|
|
76 |
// Registring slick slider js
|
77 |
if( !wp_script_is( 'wpos-slick-jquery', 'registered' ) ) {
|
78 |
wp_register_script( 'wpos-slick-jquery', WPLS_URL.'assets/js/slick.min.js', array('jquery'), WPLS_VERSION, true );
|
79 |
}
|
80 |
|
|
|
|
|
|
|
81 |
wp_register_script( 'wpls-public-js', WPLS_URL.'assets/js/wpls-public.js', array('jquery'), WPLS_VERSION, true );
|
82 |
wp_localize_script( 'wpls-public-js', 'Wpls', array(
|
83 |
-
'is_mobile'
|
84 |
-
'is_rtl'
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
}
|
88 |
|
8 |
* @since 1.2.8
|
9 |
*/
|
10 |
|
11 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
12 |
+
exit; // Exit if accessed directly
|
13 |
+
}
|
14 |
|
15 |
class Wpls_Script {
|
16 |
|
27 |
|
28 |
}
|
29 |
|
30 |
+
/**
|
31 |
+
* Enqueue admin styles
|
32 |
+
*
|
33 |
+
* @package WP Logo Showcase Responsive Slider
|
34 |
+
* @since 2.7.2
|
35 |
+
*/
|
36 |
+
function wpls_register_admin_assets(){
|
37 |
+
|
38 |
+
/* Styles */
|
39 |
+
// Registring admin css
|
40 |
+
wp_register_style( 'wpls-admin-style', WPLS_URL.'assets/css/logo-showcase-admin.css', array(), WPLS_VERSION );
|
41 |
+
|
42 |
+
/* Scripts */
|
43 |
+
// Registring admin script
|
44 |
+
wp_register_script( 'wpls-admin-script', WPLS_URL.'assets/js/wpls-admin.js', array('jquery'), WPLS_VERSION, true );
|
45 |
+
|
46 |
+
}
|
47 |
+
|
48 |
/**
|
49 |
* Enqueue admin styles
|
50 |
*
|
53 |
*/
|
54 |
function wpls_admin_style_script( $hook ) {
|
55 |
|
56 |
+
$this->wpls_register_admin_assets();
|
57 |
+
|
58 |
global $typenow, $wp_version;
|
59 |
|
60 |
$new_ui = $wp_version >= '3.5' ? '1' : '0'; // Check wordpress version for older scripts
|
63 |
$pages_arr = array( WPLS_POST_TYPE );
|
64 |
|
65 |
if( in_array($typenow, $pages_arr) ) {
|
|
|
66 |
wp_enqueue_style( 'wpls-admin-style' );
|
67 |
}
|
68 |
+
|
69 |
+
if( $hook == WPLS_POST_TYPE.'_page_wpls-designs' ){
|
70 |
+
wp_enqueue_script( 'wpls-admin-script' );
|
71 |
+
}
|
72 |
}
|
73 |
|
74 |
/**
|
96 |
* @since 1.0.0
|
97 |
*/
|
98 |
function wpls_logoshowcase_script(){
|
99 |
+
|
100 |
+
global $post;
|
101 |
+
|
102 |
// Registring slick slider js
|
103 |
if( !wp_script_is( 'wpos-slick-jquery', 'registered' ) ) {
|
104 |
wp_register_script( 'wpos-slick-jquery', WPLS_URL.'assets/js/slick.min.js', array('jquery'), WPLS_VERSION, true );
|
105 |
}
|
106 |
|
107 |
+
// Register Elementor script
|
108 |
+
wp_register_script( 'wpls-elementor-js', WPLS_URL.'assets/js/elementor/wpls-elementor.js', array('jquery'), WPLS_VERSION, true );
|
109 |
+
|
110 |
wp_register_script( 'wpls-public-js', WPLS_URL.'assets/js/wpls-public.js', array('jquery'), WPLS_VERSION, true );
|
111 |
wp_localize_script( 'wpls-public-js', 'Wpls', array(
|
112 |
+
'is_mobile' => (wp_is_mobile()) ? 1 : 0,
|
113 |
+
'is_rtl' => (is_rtl()) ? 1 : 0,
|
114 |
+
'is_avada' => (class_exists( 'FusionBuilder' )) ? 1 : 0,
|
115 |
+
));
|
116 |
+
|
117 |
+
// Enqueue Script for Elementor Preview
|
118 |
+
if ( defined('ELEMENTOR_PLUGIN_BASE') && isset( $_GET['elementor-preview'] ) && $post->ID == (int) $_GET['elementor-preview'] ) {
|
119 |
+
|
120 |
+
wp_enqueue_script( 'wpos-slick-jquery' );
|
121 |
+
wp_enqueue_script( 'wpls-public-js' );
|
122 |
+
wp_enqueue_script( 'wpls-elementor-js' );
|
123 |
+
}
|
124 |
+
|
125 |
+
// Enqueue Style & Script for Beaver Builder
|
126 |
+
if ( class_exists( 'FLBuilderModel' ) && FLBuilderModel::is_builder_active() ) {
|
127 |
+
|
128 |
+
$this->wpls_register_admin_assets();
|
129 |
+
|
130 |
+
wp_enqueue_style( 'wpls-admin-style');
|
131 |
+
wp_enqueue_script( 'wpls-admin-script' );
|
132 |
+
wp_enqueue_script( 'wpos-slick-jquery' );
|
133 |
+
wp_enqueue_script( 'wpls-public-js' );
|
134 |
+
}
|
135 |
+
|
136 |
+
// Enqueue Admin Style & Script for Divi Page Builder
|
137 |
+
if( function_exists( 'et_core_is_fb_enabled' ) && isset( $_GET['et_fb'] ) && $_GET['et_fb'] == 1 ) {
|
138 |
+
$this->wpls_register_admin_assets();
|
139 |
+
|
140 |
+
wp_enqueue_style( 'wpls-admin-style');
|
141 |
+
}
|
142 |
+
|
143 |
+
// Enqueue Admin Style for Fusion Page Builder
|
144 |
+
if( class_exists( 'FusionBuilder' ) && (( isset( $_GET['builder'] ) && $_GET['builder'] == 'true' ) ) ) {
|
145 |
+
$this->wpls_register_admin_assets();
|
146 |
+
|
147 |
+
wp_enqueue_style( 'wpls-admin-style');
|
148 |
+
}
|
149 |
}
|
150 |
}
|
151 |
|
includes/shortcode/wpls-logo-slider.php
CHANGED
@@ -6,8 +6,9 @@
|
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
9 |
-
|
10 |
-
|
|
|
11 |
|
12 |
/**
|
13 |
* Function to handle the `logoshowcase` shortcode
|
@@ -19,19 +20,40 @@ function wpls_logo_slider( $atts, $content ) {
|
|
19 |
|
20 |
global $post;
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
// Shortcode Parameter
|
23 |
extract(shortcode_atts(array(
|
24 |
-
'limit' =>
|
25 |
'design' => 'design-1',
|
26 |
'cat_id' => '',
|
27 |
'cat_name' => '',
|
28 |
-
'slides_column' =>
|
29 |
-
'slides_scroll' =>
|
30 |
'dots' => 'true',
|
31 |
'arrows' => 'true',
|
32 |
'autoplay' => 'true',
|
33 |
-
'autoplay_interval' =>
|
34 |
-
'speed' =>
|
35 |
'center_mode' => 'false',
|
36 |
'rtl' => '',
|
37 |
'loop' => 'true',
|
@@ -41,34 +63,34 @@ function wpls_logo_slider( $atts, $content ) {
|
|
41 |
'orderby' => 'date',
|
42 |
'order' => 'ASC',
|
43 |
'hide_border' => 'true',
|
44 |
-
'max_height' =>
|
45 |
'lazyload' => '',
|
46 |
'className' => '',
|
47 |
'align' => '',
|
48 |
'extra_class' => '',
|
49 |
-
|
50 |
|
51 |
$shortcode_designs = wpls_logo_designs();
|
52 |
-
$design = array_key_exists( trim($design), $shortcode_designs ) ? $design : 'design-1';
|
53 |
-
$limit = !
|
54 |
-
$cat =
|
55 |
-
$cat_name = !
|
56 |
-
$slides_scroll = !
|
57 |
-
$dots = ($dots == 'false') ? 'false'
|
58 |
-
$arrows = ($arrows == 'false')
|
59 |
-
$autoplay = ($autoplay == 'false') ? 'false'
|
60 |
-
$autoplay_interval = ($autoplay_interval !== '')
|
61 |
-
$speed =
|
62 |
-
$loop = ($loop == 'false') ? 'false'
|
63 |
-
$link_target = ($link_target == 'blank') ? '_blank'
|
64 |
-
$show_title = ($show_title == 'true')
|
65 |
-
$image_size =
|
66 |
-
$order = ( strtolower($order) == 'asc' ) ? 'ASC'
|
67 |
-
$orderby = !
|
68 |
-
$hide_border = ($hide_border == 'true')
|
69 |
-
$max_height =
|
70 |
-
$lazyload = ( $lazyload == 'ondemand' || $lazyload == 'progressive' ) ? $lazyload
|
71 |
-
$align = !
|
72 |
$extra_class = $extra_class .' '. $align .' '. $className;
|
73 |
$extra_class = wpls_sanitize_html_classes( $extra_class );
|
74 |
|
@@ -138,7 +160,7 @@ function wpls_logo_slider( $atts, $content ) {
|
|
138 |
#wpls-logo-showcase-slider-<?php echo $unique; ?> .wpls-fix-box,
|
139 |
#wpls-logo-showcase-slider-<?php echo $unique; ?> .wpls-fix-box img.wp-post-image{max-height:<?php echo $max_height; ?>px; }
|
140 |
</style>
|
141 |
-
<div class="wpls-logo-showcase-slider-wrp wpls-logo-clearfix <?php echo $extra_class; ?>">
|
142 |
<div class="wpls-logo-showcase logo_showcase wpls-logo-slider wpls-<?php echo $design; ?> <?php echo $center_mode_cls; ?> <?php echo $hide_border; ?> <?php echo $dots_cls; ?>" id="wpls-logo-showcase-slider-<?php echo $unique; ?>" >
|
143 |
<?php while ($logo_query->have_posts()) : $logo_query->the_post();
|
144 |
|
@@ -154,7 +176,6 @@ function wpls_logo_slider( $atts, $content ) {
|
|
154 |
|
155 |
endwhile; ?>
|
156 |
</div>
|
157 |
-
<div class="wpls-logo-showacse-slider-conf" data-conf="<?php echo htmlspecialchars(json_encode($slider_conf)); ?>"></div>
|
158 |
</div>
|
159 |
|
160 |
<?php
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
exit; // Exit if accessed directly
|
11 |
+
}
|
12 |
|
13 |
/**
|
14 |
* Function to handle the `logoshowcase` shortcode
|
20 |
|
21 |
global $post;
|
22 |
|
23 |
+
// SiteOrigin Page Builder Gutenberg Block Tweak - Do not Display Preview
|
24 |
+
if( isset( $_POST['action'] ) && ($_POST['action'] == 'so_panels_layout_block_preview' || $_POST['action'] == 'so_panels_builder_content_json') ) {
|
25 |
+
return "[logoshowcase]";
|
26 |
+
}
|
27 |
+
|
28 |
+
// Divi Frontend Builder - Do not Display Preview
|
29 |
+
if( function_exists( 'et_core_is_fb_enabled' ) && isset( $_POST['is_fb_preview'] ) && isset( $_POST['shortcode'] ) ) {
|
30 |
+
return '<div class="wpls-builder-shrt-prev">
|
31 |
+
<div class="wpls-builder-shrt-title"><span>'.esc_html__('Logo Showcase View', 'album-and-image-gallery-plus-lightbox').'</span></div>
|
32 |
+
logoshowcase
|
33 |
+
</div>';
|
34 |
+
}
|
35 |
+
|
36 |
+
// Fusion Builder Live Editor - Do not Display Preview
|
37 |
+
if( class_exists( 'FusionBuilder' ) && (( isset( $_GET['builder'] ) && $_GET['builder'] == 'true' ) || ( isset( $_POST['action'] ) && $_POST['action'] == 'get_shortcode_render' )) ) {
|
38 |
+
return '<div class="wpls-builder-shrt-prev">
|
39 |
+
<div class="wpls-builder-shrt-title"><span>'.esc_html__('Logo Showcase View', 'album-and-image-gallery-plus-lightbox').'</span></div>
|
40 |
+
logoshowcase
|
41 |
+
</div>';
|
42 |
+
}
|
43 |
+
|
44 |
// Shortcode Parameter
|
45 |
extract(shortcode_atts(array(
|
46 |
+
'limit' => 15,
|
47 |
'design' => 'design-1',
|
48 |
'cat_id' => '',
|
49 |
'cat_name' => '',
|
50 |
+
'slides_column' => 4,
|
51 |
+
'slides_scroll' => 1,
|
52 |
'dots' => 'true',
|
53 |
'arrows' => 'true',
|
54 |
'autoplay' => 'true',
|
55 |
+
'autoplay_interval' => 2000,
|
56 |
+
'speed' => 1000,
|
57 |
'center_mode' => 'false',
|
58 |
'rtl' => '',
|
59 |
'loop' => 'true',
|
63 |
'orderby' => 'date',
|
64 |
'order' => 'ASC',
|
65 |
'hide_border' => 'true',
|
66 |
+
'max_height' => 250,
|
67 |
'lazyload' => '',
|
68 |
'className' => '',
|
69 |
'align' => '',
|
70 |
'extra_class' => '',
|
71 |
+
), $atts));
|
72 |
|
73 |
$shortcode_designs = wpls_logo_designs();
|
74 |
+
$design = array_key_exists( trim( $design ), $shortcode_designs ) ? $design : 'design-1';
|
75 |
+
$limit = !empty( $limit ) ? $limit : 15;
|
76 |
+
$cat = !empty( $cat_id ) ? explode( ',',$cat_id ) : '';
|
77 |
+
$cat_name = !empty( $cat_name ) ? $cat_name : '';
|
78 |
+
$slides_scroll = !empty( $slides_scroll ) ? $slides_scroll : 1;
|
79 |
+
$dots = ( $dots == 'false' ) ? 'false' : 'true';
|
80 |
+
$arrows = ( $arrows == 'false' ) ? 'false' : 'true';
|
81 |
+
$autoplay = ( $autoplay == 'false' ) ? 'false' : 'true';
|
82 |
+
$autoplay_interval = ( $autoplay_interval !== '' ) ? $autoplay_interval : 2000;
|
83 |
+
$speed = !empty( $speed ) ? $speed : 300;
|
84 |
+
$loop = ( $loop == 'false' ) ? 'false' : 'true';
|
85 |
+
$link_target = ( $link_target == 'blank' ) ? '_blank' : '_self';
|
86 |
+
$show_title = ( $show_title == 'true' ) ? 'true' : 'false';
|
87 |
+
$image_size = !empty( $image_size ) ? $image_size : 'original';
|
88 |
+
$order = ( strtolower($order) == 'asc' ) ? 'ASC' : 'DESC';
|
89 |
+
$orderby = !empty($orderby) ? $orderby : 'date';
|
90 |
+
$hide_border = ( $hide_border == 'true' ) ? 'sliderimage_hide_border' : '';
|
91 |
+
$max_height = !empty( $max_height ) ? $max_height : 250;
|
92 |
+
$lazyload = ( $lazyload == 'ondemand' || $lazyload == 'progressive' ) ? $lazyload : ''; // ondemand or progressive
|
93 |
+
$align = !empty( $align ) ? 'align'.$align : '';
|
94 |
$extra_class = $extra_class .' '. $align .' '. $className;
|
95 |
$extra_class = wpls_sanitize_html_classes( $extra_class );
|
96 |
|
160 |
#wpls-logo-showcase-slider-<?php echo $unique; ?> .wpls-fix-box,
|
161 |
#wpls-logo-showcase-slider-<?php echo $unique; ?> .wpls-fix-box img.wp-post-image{max-height:<?php echo $max_height; ?>px; }
|
162 |
</style>
|
163 |
+
<div class="wpls-logo-showcase-slider-wrp wpls-logo-clearfix <?php echo $extra_class; ?>" data-conf="<?php echo htmlspecialchars(json_encode($slider_conf)); ?>">
|
164 |
<div class="wpls-logo-showcase logo_showcase wpls-logo-slider wpls-<?php echo $design; ?> <?php echo $center_mode_cls; ?> <?php echo $hide_border; ?> <?php echo $dots_cls; ?>" id="wpls-logo-showcase-slider-<?php echo $unique; ?>" >
|
165 |
<?php while ($logo_query->have_posts()) : $logo_query->the_post();
|
166 |
|
176 |
|
177 |
endwhile; ?>
|
178 |
</div>
|
|
|
179 |
</div>
|
180 |
|
181 |
<?php
|
includes/wpls-functions.php
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* Function to get plugin image sizes array
|
4 |
*
|
@@ -8,7 +13,14 @@
|
|
8 |
function wplss_get_unique() {
|
9 |
static $unique = 0;
|
10 |
$unique++;
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
return $unique;
|
13 |
}
|
14 |
|
@@ -60,7 +72,6 @@ function wpls_get_logo_image( $post_id = '', $size = 'full' ) {
|
|
60 |
return $image;
|
61 |
}
|
62 |
|
63 |
-
|
64 |
/**
|
65 |
* Function to get plugin image sizes array
|
66 |
*
|
@@ -74,7 +85,6 @@ function wpls_logo_designs() {
|
|
74 |
return apply_filters('wpls_logo_designs', $design_arr );
|
75 |
}
|
76 |
|
77 |
-
|
78 |
/**
|
79 |
* Function to add array after specific key
|
80 |
*
|
@@ -95,4 +105,4 @@ function wpls_logo_add_array(&$array, $value, $index, $from_last = false) {
|
|
95 |
}
|
96 |
|
97 |
return $array;
|
98 |
-
}
|
1 |
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // Exit if accessed directly
|
5 |
+
}
|
6 |
+
|
7 |
/**
|
8 |
* Function to get plugin image sizes array
|
9 |
*
|
13 |
function wplss_get_unique() {
|
14 |
static $unique = 0;
|
15 |
$unique++;
|
16 |
+
|
17 |
+
// For Elementor, Beaver Builder & Visual Composer
|
18 |
+
if( ( defined('ELEMENTOR_PLUGIN_BASE') && isset( $_POST['action'] ) && $_POST['action'] == 'elementor_ajax' )
|
19 |
+
|| ( class_exists('FLBuilderModel') && ! empty( $_POST['fl_builder_data']['action'] ) )
|
20 |
+
|| ( function_exists('vc_is_inline') && vc_is_inline() ) ) {
|
21 |
+
$unique = current_time('timestamp') . '-' . rand();
|
22 |
+
}
|
23 |
+
|
24 |
return $unique;
|
25 |
}
|
26 |
|
72 |
return $image;
|
73 |
}
|
74 |
|
|
|
75 |
/**
|
76 |
* Function to get plugin image sizes array
|
77 |
*
|
85 |
return apply_filters('wpls_logo_designs', $design_arr );
|
86 |
}
|
87 |
|
|
|
88 |
/**
|
89 |
* Function to add array after specific key
|
90 |
*
|
105 |
}
|
106 |
|
107 |
return $array;
|
108 |
+
}
|
includes/wpls-post-types.php
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
2 |
/**
|
3 |
* Function to register post type
|
4 |
*
|
@@ -8,23 +13,23 @@
|
|
8 |
function wplss_logo_showcase_post_types() {
|
9 |
|
10 |
$sp_logoshowcase_labels = apply_filters( 'sp_logo_showcase_slider_labels', array(
|
11 |
-
'name'
|
12 |
-
'singular_name'
|
13 |
-
'add_new'
|
14 |
-
'add_new_item'
|
15 |
-
'edit_item'
|
16 |
-
'new_item'
|
17 |
-
'all_items'
|
18 |
-
'view_item'
|
19 |
-
'search_items'
|
20 |
-
'not_found'
|
21 |
-
'not_found_in_trash'
|
22 |
'featured_image' => __('Set logo image', 'wp-logo-showcase-responsive-slider-slider'),
|
23 |
'set_featured_image' => __( 'Set logo image' , 'wp-logo-showcase-responsive-slider-slider' ),
|
24 |
'remove_featured_image' => __( 'Remove logo image', 'wp-logo-showcase-responsive-slider-slider' ),
|
25 |
-
'parent_item_colon'
|
26 |
-
'menu_name'
|
27 |
-
'exclude_from_search'
|
28 |
));
|
29 |
|
30 |
$sp_logoshowcase_args = array(
|
@@ -42,7 +47,6 @@ function wplss_logo_showcase_post_types() {
|
|
42 |
}
|
43 |
add_action('init', 'wplss_logo_showcase_post_types');
|
44 |
|
45 |
-
|
46 |
/**
|
47 |
* Function to register post taxonomies
|
48 |
*
|
@@ -54,15 +58,15 @@ function wplss_logo_showcase_taxonomies() {
|
|
54 |
$labels = array(
|
55 |
'name' => _x( 'Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
56 |
'singular_name' => _x( 'Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
57 |
-
'search_items' => __( 'Search Category' ),
|
58 |
-
'all_items' => __( 'All Category' ),
|
59 |
-
'parent_item' => __( 'Parent Category' ),
|
60 |
-
'parent_item_colon' => __( 'Parent Category:' ),
|
61 |
-
'edit_item' => __( 'Edit Category' ),
|
62 |
-
'update_item' => __( 'Update Category' ),
|
63 |
-
'add_new_item' => __( 'Add New Category' ),
|
64 |
-
'new_item_name' => __( 'New Category Name' ),
|
65 |
-
'menu_name' => __( 'Logo Category' ),
|
66 |
|
67 |
);
|
68 |
$args = array(
|
1 |
<?php
|
2 |
+
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit; // Exit if accessed directly
|
5 |
+
}
|
6 |
+
|
7 |
/**
|
8 |
* Function to register post type
|
9 |
*
|
13 |
function wplss_logo_showcase_post_types() {
|
14 |
|
15 |
$sp_logoshowcase_labels = apply_filters( 'sp_logo_showcase_slider_labels', array(
|
16 |
+
'name' => __('Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
17 |
+
'singular_name' => __('Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
18 |
+
'add_new' => __('Add New', 'wp-logo-showcase-responsive-slider-slider'),
|
19 |
+
'add_new_item' => __('Add New Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
20 |
+
'edit_item' => __('Edit Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
21 |
+
'new_item' => __('New Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
22 |
+
'all_items' => __('All Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
23 |
+
'view_item' => __('View Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
24 |
+
'search_items' => __('Search Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
25 |
+
'not_found' => __('No Logo Showcase found', 'wp-logo-showcase-responsive-slider-slider'),
|
26 |
+
'not_found_in_trash' => __('No Logo Showcase found in Trash', 'wp-logo-showcase-responsive-slider-slider'),
|
27 |
'featured_image' => __('Set logo image', 'wp-logo-showcase-responsive-slider-slider'),
|
28 |
'set_featured_image' => __( 'Set logo image' , 'wp-logo-showcase-responsive-slider-slider' ),
|
29 |
'remove_featured_image' => __( 'Remove logo image', 'wp-logo-showcase-responsive-slider-slider' ),
|
30 |
+
'parent_item_colon' => '',
|
31 |
+
'menu_name' => __('Logo Showcase', 'wp-logo-showcase-responsive-slider-slider'),
|
32 |
+
'exclude_from_search' => true
|
33 |
));
|
34 |
|
35 |
$sp_logoshowcase_args = array(
|
47 |
}
|
48 |
add_action('init', 'wplss_logo_showcase_post_types');
|
49 |
|
|
|
50 |
/**
|
51 |
* Function to register post taxonomies
|
52 |
*
|
58 |
$labels = array(
|
59 |
'name' => _x( 'Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
60 |
'singular_name' => _x( 'Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
61 |
+
'search_items' => __( 'Search Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
62 |
+
'all_items' => __( 'All Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
63 |
+
'parent_item' => __( 'Parent Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
64 |
+
'parent_item_colon' => __( 'Parent Category:', 'wp-logo-showcase-responsive-slider-slider' ),
|
65 |
+
'edit_item' => __( 'Edit Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
66 |
+
'update_item' => __( 'Update Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
67 |
+
'add_new_item' => __( 'Add New Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
68 |
+
'new_item_name' => __( 'New Category Name', 'wp-logo-showcase-responsive-slider-slider' ),
|
69 |
+
'menu_name' => __( 'Logo Category', 'wp-logo-showcase-responsive-slider-slider' ),
|
70 |
|
71 |
);
|
72 |
$args = array(
|
languages/wp-logo-showcase-responsive-slider-slider.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP Logo Showcase Responsive Slider\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date:
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -15,410 +15,407 @@ msgstr ""
|
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
"X-Loco-Version: 2.3.1; wp-5.4"
|
17 |
|
18 |
-
#:
|
19 |
-
|
20 |
-
msgid "Thank you for activating %s"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#:
|
24 |
-
|
25 |
-
msgid ""
|
26 |
-
"It looks like you had PRO version %s of this plugin activated. To avoid "
|
27 |
-
"conflicts the extra version has been deactivated and we recommend you delete "
|
28 |
-
"it."
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: includes/
|
32 |
-
msgid "
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: includes/
|
36 |
-
msgid "
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: includes/wpls-post-types.php:
|
40 |
-
msgid "Add New
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: includes/wpls-post-types.php:
|
44 |
-
msgid "
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: includes/wpls-post-types.php:
|
48 |
-
msgid "New Logo Showcase"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: includes/wpls-post-types.php:
|
52 |
-
msgid "All
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/wpls-post-types.php:
|
56 |
-
msgid "
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/
|
60 |
-
msgid "
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/wpls-
|
64 |
-
msgid "
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: includes/
|
68 |
-
msgid "
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: includes/
|
72 |
-
msgid "
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: includes/
|
76 |
-
msgid "
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: includes/wpls-
|
80 |
-
msgid "
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: includes/admin/
|
84 |
-
msgid "
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: includes/admin/
|
88 |
-
msgid "
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: includes/admin/
|
92 |
-
msgid "
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: includes/admin/
|
96 |
-
|
97 |
-
#: includes/admin/settings/hire-us.php:84
|
98 |
-
#: includes/admin/settings/hire-us.php:85
|
99 |
-
#: includes/admin/settings/hire-us.php:86
|
100 |
-
msgid "Hire Us"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: includes/admin/
|
104 |
-
msgid "
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: includes/admin/
|
108 |
-
msgid "
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: includes/admin/
|
112 |
-
|
113 |
-
|
114 |
msgstr ""
|
115 |
|
116 |
-
#: includes/admin/
|
117 |
-
msgid ""
|
118 |
-
"There was an error retrieving the data from the server. Please try again "
|
119 |
-
"later."
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: includes/admin/
|
123 |
-
msgid "
|
124 |
msgstr ""
|
125 |
|
126 |
-
|
127 |
-
msgid "
|
|
|
|
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: includes/
|
131 |
-
msgid "
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: includes/
|
135 |
-
msgid "
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: includes/admin/
|
|
|
139 |
msgid ""
|
140 |
-
"
|
141 |
-
"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: includes/admin/wpls-
|
145 |
msgid ""
|
146 |
-
"
|
147 |
-
"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: includes/admin/wpls-
|
151 |
-
msgid ""
|
152 |
-
"Step-4. Assign logo showcase post to respective categories and use the "
|
153 |
-
"category shortcode under \"Logo Showcase --> category\""
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: includes/admin/wpls-
|
157 |
-
msgid "
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: includes/admin/
|
161 |
-
msgid "
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: includes/admin/
|
165 |
-
msgid "
|
|
|
|
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: includes/admin/
|
169 |
-
msgid "
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: includes/admin/
|
173 |
-
msgid "
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: includes/admin/
|
177 |
-
msgid "
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: includes/admin/
|
181 |
-
msgid "
|
|
|
|
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: includes/admin/
|
185 |
-
msgid "
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: includes/admin/
|
189 |
-
msgid "
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: includes/admin/wpls-
|
193 |
-
msgid "
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: includes/admin/
|
197 |
-
msgid "
|
198 |
msgstr ""
|
199 |
|
200 |
-
#: includes/admin/wpls-
|
201 |
-
msgid "
|
202 |
msgstr ""
|
203 |
|
204 |
-
#: includes/admin/
|
205 |
-
msgid "
|
206 |
msgstr ""
|
207 |
|
208 |
-
|
209 |
-
msgid "
|
210 |
msgstr ""
|
211 |
|
212 |
-
|
213 |
-
msgid "
|
214 |
msgstr ""
|
215 |
|
216 |
-
#:
|
217 |
-
|
|
|
|
|
|
|
|
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: includes/
|
221 |
-
msgid "
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: includes/admin/wpls-
|
225 |
-
msgid "
|
226 |
msgstr ""
|
227 |
|
228 |
-
#: includes/admin/wpls-
|
229 |
-
msgid "Logo
|
230 |
msgstr ""
|
231 |
|
232 |
-
#: includes/admin/wpls-
|
233 |
-
msgid "
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: includes/
|
237 |
-
|
|
|
238 |
msgstr ""
|
239 |
|
240 |
-
#: includes/admin/
|
241 |
-
msgid "Slider
|
242 |
msgstr ""
|
243 |
|
244 |
-
#: includes/admin/
|
245 |
-
msgid "
|
|
|
|
|
246 |
msgstr ""
|
247 |
|
248 |
-
#: includes/admin/
|
249 |
-
msgid "
|
250 |
msgstr ""
|
251 |
|
252 |
-
#: includes/admin/
|
253 |
-
msgid "
|
254 |
msgstr ""
|
255 |
|
256 |
-
#: includes/admin/
|
257 |
-
msgid "Logo Showcase
|
258 |
msgstr ""
|
259 |
|
260 |
-
#: includes/admin/
|
261 |
-
msgid "
|
262 |
msgstr ""
|
263 |
|
264 |
-
#: includes/admin/
|
265 |
-
msgid "
|
266 |
msgstr ""
|
267 |
|
268 |
-
#: includes/
|
269 |
-
msgid "
|
270 |
msgstr ""
|
271 |
|
272 |
-
#: includes/
|
273 |
-
msgid ""
|
274 |
-
"Gain access to <strong>Logo Showcase Responsive Slider</strong> included in "
|
275 |
-
"<br /><strong>Essential Plugin Bundle"
|
276 |
msgstr ""
|
277 |
|
278 |
-
#: includes/
|
279 |
-
msgid "
|
280 |
msgstr ""
|
281 |
|
282 |
-
#: includes/
|
283 |
-
msgid "
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: includes/
|
287 |
-
msgid "
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: includes/
|
291 |
-
|
292 |
-
msgid ""
|
293 |
-
"Enjoyed this plugin? You can help by rate this plugin <a href=\"%s\" "
|
294 |
-
"target=\"_blank\">5 stars!"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: includes/admin/metabox/wpls-post-setting-metabox.php:
|
298 |
-
|
|
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: includes/
|
302 |
-
msgid "
|
303 |
msgstr ""
|
304 |
|
305 |
-
#: includes/
|
306 |
-
msgid "
|
307 |
msgstr ""
|
308 |
|
309 |
-
#: includes/
|
310 |
-
|
311 |
-
msgid "PRO"
|
312 |
msgstr ""
|
313 |
|
314 |
-
#: includes/admin/
|
315 |
-
msgid "
|
316 |
msgstr ""
|
317 |
|
318 |
-
#: includes/
|
319 |
-
|
320 |
-
#, php-format
|
321 |
-
msgid ""
|
322 |
-
"Upgrade to <a href=\"%s\" target=\"_blank\">Premium Version</a> to get this "
|
323 |
-
"option."
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: includes/admin/
|
327 |
-
msgid "
|
328 |
msgstr ""
|
329 |
|
330 |
-
#: includes/admin/
|
331 |
-
msgid ""
|
332 |
-
"Enter external URL of logo. If you don not want to use an image from your "
|
333 |
-
"media gallery, you can set an URL for logo image here."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: includes/admin/settings/
|
337 |
-
msgid "
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: includes/admin/settings/
|
341 |
-
msgid "
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: includes/admin/settings/
|
345 |
-
msgid "
|
|
|
|
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: includes/admin/settings/
|
349 |
-
msgid "
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: includes/admin/settings/
|
353 |
-
msgid "
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: includes/admin/settings/
|
357 |
-
msgid "
|
|
|
|
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: includes/admin/settings/
|
361 |
-
msgid "
|
|
|
|
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: includes/admin/settings/
|
365 |
-
msgid "
|
|
|
|
|
366 |
msgstr ""
|
367 |
|
368 |
-
#:
|
369 |
-
|
|
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: includes/
|
373 |
-
msgid "
|
374 |
msgstr ""
|
375 |
|
376 |
-
#: includes/admin/
|
377 |
-
|
|
|
|
|
|
|
|
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: includes/admin/
|
381 |
-
msgid "
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: includes/admin/
|
385 |
-
msgid "
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: includes/admin/settings/
|
389 |
-
msgid "
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: includes/
|
393 |
-
msgid "
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: includes/admin/settings/
|
397 |
-
msgid "
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: includes/admin/
|
401 |
-
msgid "
|
402 |
msgstr ""
|
403 |
|
404 |
#. Name of the plugin
|
405 |
msgid "WP Logo Showcase Responsive Slider"
|
406 |
msgstr ""
|
407 |
|
408 |
-
|
409 |
-
msgid ""
|
410 |
-
"Easy to add and display Logo Showcase Responsive Slider on your website. "
|
411 |
-
"Also added Gutenberg block support."
|
412 |
-
msgstr ""
|
413 |
-
|
414 |
-
#. URI of the plugin
|
415 |
-
msgid "https://www.wponlinesupport.com/plugins/"
|
416 |
msgstr ""
|
417 |
|
418 |
#. Author of the plugin
|
419 |
msgid "WP OnlineSupport"
|
420 |
msgstr ""
|
421 |
|
422 |
-
|
423 |
-
msgid "
|
424 |
msgstr ""
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: WP Logo Showcase Responsive Slider\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2021-04-06 13:07+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
"X-Loco-Version: 2.3.1; wp-5.4"
|
17 |
|
18 |
+
#: includes/admin/settings/how-it-work.php:177
|
19 |
+
msgid "100% Multi language"
|
|
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: includes/admin/settings/how-it-work.php:158
|
23 |
+
msgid "15+ predefined template for logo showcase."
|
|
|
|
|
|
|
|
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: includes/admin/settings/how-it-work.php:166
|
27 |
+
msgid "2 Widgets- Slider and Grid view."
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: includes/admin/settings/how-it-work.php:159
|
31 |
+
msgid "3 shortcodes [logoshowcase], [logo_grid] and [logo_filter]"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: includes/wpls-post-types.php:18
|
35 |
+
msgid "Add New"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: includes/wpls-post-types.php:67
|
39 |
+
msgid "Add New Category"
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: includes/wpls-post-types.php:19
|
43 |
+
msgid "Add New Logo Showcase"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: includes/wpls-post-types.php:62
|
47 |
+
msgid "All Category"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: includes/wpls-post-types.php:22
|
51 |
+
msgid "All Logo Showcase"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: includes/admin/settings/how-it-work.php:67
|
55 |
+
msgid "All Shortcodes"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: includes/admin/class-wpls-admin.php:150
|
59 |
+
msgid "Category Shortcode"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: includes/admin/settings/how-it-work.php:121
|
63 |
+
msgid "Check plugin document for shortcode parameters and demo for designs."
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: includes/admin/settings/how-it-work.php:175
|
67 |
+
msgid "Custom CSS option"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: includes/admin/settings/how-it-work.php:123
|
71 |
+
msgid "Demo for Designs"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: includes/wpls-functions.php:83
|
75 |
+
msgid "Design 1"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: includes/admin/settings/how-it-work.php:169
|
79 |
+
msgid "Display logo showcase categories wise."
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: includes/admin/settings/how-it-work.php:161
|
83 |
+
msgid "Display logo showcase in a grid view."
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: includes/admin/settings/how-it-work.php:164
|
87 |
+
msgid "Display logo showcase in center mode view"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: includes/admin/settings/how-it-work.php:163
|
91 |
+
msgid "Display logo showcase in slider view"
|
|
|
|
|
|
|
|
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: includes/admin/settings/how-it-work.php:162
|
95 |
+
msgid "Display logo with filtration."
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: includes/admin/settings/how-it-work.php:167
|
99 |
+
msgid "Display Logo with title and description"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: includes/admin/settings/how-it-work.php:173
|
103 |
+
msgid ""
|
104 |
+
"Divi Page Builder Native Support.<span class=\"wpos-new-feature\">New</span>"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: includes/admin/settings/how-it-work.php:122
|
108 |
+
msgid "Documentation"
|
|
|
|
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: includes/admin/settings/how-it-work.php:160
|
112 |
+
msgid "Drag & Drop order change"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#. Description of the plugin
|
116 |
+
msgid ""
|
117 |
+
"Easy to add and display Logo Showcase Responsive Slider on your website. "
|
118 |
+
"Also added Gutenberg block support."
|
119 |
msgstr ""
|
120 |
|
121 |
+
#: includes/wpls-post-types.php:65
|
122 |
+
msgid "Edit Category"
|
123 |
msgstr ""
|
124 |
|
125 |
+
#: includes/wpls-post-types.php:20
|
126 |
+
msgid "Edit Logo Showcase"
|
127 |
msgstr ""
|
128 |
|
129 |
+
#: includes/admin/settings/how-it-work.php:141
|
130 |
+
#, php-format
|
131 |
msgid ""
|
132 |
+
"Enjoyed this plugin? You can help by rate this plugin <a href=\"%s\" "
|
133 |
+
"target=\"_blank\">5 stars!"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:50
|
137 |
msgid ""
|
138 |
+
"Enter external URL of logo. If you don not want to use an image from your "
|
139 |
+
"media gallery, you can set an URL for logo image here."
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:28
|
143 |
+
msgid "Enter link url for logo. i.e https://www.wponlinesupport.com"
|
|
|
|
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:39
|
147 |
+
msgid "Enter logo description using default wordpress content editor."
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: includes/admin/settings/how-it-work.php:176
|
151 |
+
msgid "Fully responsive"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: includes/admin/settings/how-it-work.php:179
|
155 |
+
msgid ""
|
156 |
+
"Gain access to <strong>Logo Showcase Responsive Slider</strong> included in "
|
157 |
+
"<br /><strong>Essential Plugin Bundle"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: includes/admin/settings/how-it-work.php:41
|
161 |
+
msgid "Getting Started with Logo Showcase"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: includes/admin/settings/how-it-work.php:180
|
165 |
+
msgid "Go Premium "
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: includes/admin/settings/how-it-work.php:85
|
169 |
+
msgid "Gutenberg Support"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: includes/admin/settings/how-it-work.php:172
|
173 |
+
msgid ""
|
174 |
+
"Gutenberg, Elementor, Beaver and SiteOrigin Page Builder Support. <span "
|
175 |
+
"class=\"wpos-new-feature\">New</span>"
|
176 |
msgstr ""
|
177 |
|
178 |
+
#: includes/admin/settings/how-it-work.php:137
|
179 |
+
msgid "Help to improve this plugin!"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: includes/admin/settings/how-it-work.php:93
|
183 |
+
msgid "How it Work"
|
184 |
msgstr ""
|
185 |
|
186 |
+
#: includes/admin/class-wpls-admin.php:92
|
187 |
+
msgid "How It Works"
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: includes/admin/settings/how-it-work.php:33
|
191 |
+
msgid "How It Works - Display and shortcode"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: includes/admin/class-wpls-admin.php:92
|
195 |
+
msgid "How it works, our plugins and offers"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: includes/admin/settings/how-it-work.php:55
|
199 |
+
msgid "How Shortcode Works"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#. Author URI of the plugin
|
203 |
+
msgid "https://www.wponlinesupport.com/"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#. URI of the plugin
|
207 |
+
msgid "https://www.wponlinesupport.com/plugins/"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: logo-showcase.php:165
|
211 |
+
#, php-format
|
212 |
+
msgid ""
|
213 |
+
"It looks like you had PRO version %s of this plugin activated. To avoid "
|
214 |
+
"conflicts the extra version has been deactivated and we recommend you delete "
|
215 |
+
"it."
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: includes/wpls-post-types.php:69
|
219 |
+
msgid "Logo Category"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:34
|
223 |
+
msgid "Logo Description"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:46
|
227 |
+
msgid "Logo Image URL"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:24
|
231 |
+
msgid "Logo Link"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: includes/wpls-post-types.php:16 includes/wpls-post-types.php:17
|
235 |
+
#: includes/wpls-post-types.php:31
|
236 |
+
msgid "Logo Showcase"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: includes/admin/settings/premium.php:15
|
240 |
+
msgid "Logo Showcase Responsive Slider - Features"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/admin/settings/how-it-work.php:72
|
244 |
+
msgid ""
|
245 |
+
"Logo Showcase Slider limit -1 to display all logos, by defualt display only "
|
246 |
+
"15 logos."
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: includes/admin/settings/how-it-work.php:70
|
250 |
+
msgid "Logo Showcase Slider Shortcode"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/admin/settings/how-it-work.php:71
|
254 |
+
msgid "Logo Showcase Slider with center mode Shortcode"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/admin/settings/how-it-work.php:165
|
258 |
+
msgid "Logo Showcase With Ticker Mode"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/admin/settings/how-it-work.php:174
|
262 |
+
msgid "Logo Showcase with tool-tip with 5 tool-tip theme"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/admin/settings/how-it-work.php:113
|
266 |
+
msgid "Need Support?"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/wpls-post-types.php:68
|
270 |
+
msgid "New Category Name"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/wpls-post-types.php:21
|
274 |
+
msgid "New Logo Showcase"
|
|
|
|
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/wpls-post-types.php:25
|
278 |
+
msgid "No Logo Showcase found"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: includes/wpls-post-types.php:26
|
282 |
+
msgid "No Logo Showcase found in Trash"
|
283 |
msgstr ""
|
284 |
|
285 |
+
#: includes/wpls-post-types.php:63
|
286 |
+
msgid "Parent Category"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: includes/wpls-post-types.php:64
|
290 |
+
msgid "Parent Category:"
|
|
|
|
|
|
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:34
|
294 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:46
|
295 |
+
msgid "PRO"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: includes/wpls-post-types.php:29
|
299 |
+
msgid "Remove logo image"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: includes/wpls-post-types.php:61
|
303 |
+
msgid "Search Category"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: includes/wpls-post-types.php:24
|
307 |
+
msgid "Search Logo Showcase"
|
|
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: includes/admin/settings/how-it-work.php:170
|
311 |
+
msgid "Set image size for logo among WordPress image size."
|
312 |
msgstr ""
|
313 |
|
314 |
+
#: includes/wpls-post-types.php:27 includes/wpls-post-types.php:28
|
315 |
+
msgid "Set logo image"
|
|
|
|
|
|
|
|
|
316 |
msgstr ""
|
317 |
|
318 |
+
#: includes/admin/settings/how-it-work.php:168
|
319 |
+
msgid "Slider RTL support."
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: includes/admin/settings/how-it-work.php:59
|
323 |
+
msgid "Step-1. Create a page like Logoshose OR add the shortcode in any page."
|
|
|
|
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: includes/admin/settings/how-it-work.php:45
|
327 |
+
msgid "Step-1. Go to \"Logo Showcase --> Add New\"."
|
328 |
msgstr ""
|
329 |
|
330 |
+
#: includes/admin/settings/how-it-work.php:97
|
331 |
+
msgid "Step-1. Go to the Gutenberg editor of your page."
|
332 |
msgstr ""
|
333 |
|
334 |
+
#: includes/admin/settings/how-it-work.php:46
|
335 |
+
msgid ""
|
336 |
+
"Step-2. Add Logo title, logo link to redirect(if need) and logo image under "
|
337 |
+
"featured image section."
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: includes/admin/settings/how-it-work.php:60
|
341 |
+
msgid "Step-2. Put below shortcode as per your need."
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: includes/admin/settings/how-it-work.php:98
|
345 |
+
msgid "Step-2. Search \"logoshowcase\" keyword in the gutenberg block list."
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: includes/admin/settings/how-it-work.php:99
|
349 |
+
msgid ""
|
350 |
+
"Step-3. Add any block of logoshowcase and you will find its relative options "
|
351 |
+
"on the right end side."
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: includes/admin/settings/how-it-work.php:47
|
355 |
+
msgid ""
|
356 |
+
"Step-3. Display multiple logo showcase, create categories under \"Logo "
|
357 |
+
"Showcase --> category\" and create categories."
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: includes/admin/settings/how-it-work.php:48
|
361 |
+
msgid ""
|
362 |
+
"Step-4. Assign logo showcase post to respective categories and use the "
|
363 |
+
"category shortcode under \"Logo Showcase --> category\""
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: logo-showcase.php:164
|
367 |
+
#, php-format
|
368 |
+
msgid "Thank you for activating %s"
|
369 |
msgstr ""
|
370 |
|
371 |
+
#: includes/wpls-post-types.php:66
|
372 |
+
msgid "Update Category"
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:40
|
376 |
+
#: includes/admin/metabox/wpls-post-setting-metabox.php:51
|
377 |
+
#, php-format
|
378 |
+
msgid ""
|
379 |
+
"Upgrade to <a href=\"%s\" target=\"_blank\">Premium Version</a> to get this "
|
380 |
+
"option."
|
381 |
msgstr ""
|
382 |
|
383 |
+
#: includes/admin/class-wpls-admin.php:95
|
384 |
+
msgid "Upgrade to PRO"
|
385 |
msgstr ""
|
386 |
|
387 |
+
#: includes/admin/class-wpls-admin.php:95
|
388 |
+
msgid "Upgrade to PRO - Logo Showcase Responsive Slider"
|
389 |
msgstr ""
|
390 |
|
391 |
+
#: includes/admin/settings/how-it-work.php:153
|
392 |
+
msgid "Upgrate to Pro"
|
393 |
msgstr ""
|
394 |
|
395 |
+
#: includes/wpls-post-types.php:23
|
396 |
+
msgid "View Logo Showcase"
|
397 |
msgstr ""
|
398 |
|
399 |
+
#: includes/admin/settings/how-it-work.php:181
|
400 |
+
msgid "View PRO Demo "
|
401 |
msgstr ""
|
402 |
|
403 |
+
#: includes/admin/settings/how-it-work.php:171
|
404 |
+
msgid "Visual Composer support."
|
405 |
msgstr ""
|
406 |
|
407 |
#. Name of the plugin
|
408 |
msgid "WP Logo Showcase Responsive Slider"
|
409 |
msgstr ""
|
410 |
|
411 |
+
#: includes/admin/class-wpls-admin.php:45
|
412 |
+
msgid "WP Logo Showcase Responsive Slider - Settings"
|
|
|
|
|
|
|
|
|
|
|
|
|
413 |
msgstr ""
|
414 |
|
415 |
#. Author of the plugin
|
416 |
msgid "WP OnlineSupport"
|
417 |
msgstr ""
|
418 |
|
419 |
+
#: includes/admin/supports/gutenberg-block.php:166
|
420 |
+
msgid "WPOS Blocks"
|
421 |
msgstr ""
|
logo-showcase.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* Author: WP OnlineSupport
|
7 |
* Text Domain: wp-logo-showcase-responsive-slider-slider
|
8 |
* Domain Path: /languages/
|
9 |
-
* Version: 2.
|
10 |
* Author URI: https://www.wponlinesupport.com/
|
11 |
*
|
12 |
* @package WordPress
|
@@ -18,7 +18,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
18 |
}
|
19 |
|
20 |
if( !defined( 'WPLS_VERSION' ) ) {
|
21 |
-
define( 'WPLS_VERSION', '2.
|
22 |
}
|
23 |
if( !defined( 'WPLS_DIR' ) ) {
|
24 |
define( 'WPLS_DIR', dirname( __FILE__ ) ); // Plugin dir
|
@@ -39,6 +39,43 @@ if(!defined( 'WPLS_PLUGIN_LINK' ) ) {
|
|
39 |
define('WPLS_PLUGIN_LINK','https://www.wponlinesupport.com/wp-plugin/wp-logo-showcase-responsive-slider/?utm_source=WP&utm_medium=Logoshowcase&utm_campaign=Features-PRO'); // Plugin link
|
40 |
}
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
/**
|
44 |
* Activation Hook
|
@@ -136,43 +173,37 @@ function wpls_admin_notice() {
|
|
136 |
// Action to display notice
|
137 |
add_action( 'admin_notices', 'wpls_admin_notice');
|
138 |
|
139 |
-
/**
|
140 |
-
* Load Text Domain
|
141 |
-
* This gets the plugin ready for translation
|
142 |
-
*
|
143 |
-
* @package WP Logo Showcase Responsive Slider
|
144 |
-
* @since 1.0.0
|
145 |
-
*/
|
146 |
-
function wpls_load_textdomain() {
|
147 |
-
load_plugin_textdomain( 'wp-logo-showcase-responsive-slider-slider', false, dirname( plugin_basename(__FILE__) ) . '/languages/' );
|
148 |
-
}
|
149 |
-
add_action('plugins_loaded', 'wpls_load_textdomain');
|
150 |
-
|
151 |
-
// Script file
|
152 |
-
require_once( WPLS_DIR . '/includes/class-wpls-script.php' );
|
153 |
-
|
154 |
// Functions file
|
155 |
require_once( WPLS_DIR . '/includes/wpls-functions.php' );
|
156 |
|
157 |
// Post type file
|
158 |
require_once( WPLS_DIR . '/includes/wpls-post-types.php' );
|
159 |
|
160 |
-
// Shortcode File
|
161 |
-
require_once( WPLS_DIR . '/includes/shortcode/wpls-logo-slider.php' );
|
162 |
-
|
163 |
// Admin file for pro vs free
|
164 |
require_once( WPLS_DIR . '/includes/admin/class-wpls-admin.php' );
|
165 |
|
166 |
-
//
|
167 |
-
|
168 |
-
|
169 |
-
|
|
|
170 |
|
171 |
// Gutenberg Block Initializer
|
172 |
if ( function_exists( 'register_block_type' ) ) {
|
173 |
require_once( WPLS_DIR . '/includes/admin/supports/gutenberg-block.php' );
|
174 |
}
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
/* Plugin Wpos Analytics Data Starts */
|
177 |
function wpos_analytics_anl23_load() {
|
178 |
|
@@ -185,7 +216,7 @@ function wpos_analytics_anl23_load() {
|
|
185 |
'slug' => 'wp-logo-showcase-responsive-slider',
|
186 |
'type' => 'plugin',
|
187 |
'menu' => 'edit.php?post_type=logoshowcase',
|
188 |
-
'text_domain' => 'wp-logo-showcase-responsive-slider-slider',
|
189 |
));
|
190 |
|
191 |
return $wpos_analytics;
|
6 |
* Author: WP OnlineSupport
|
7 |
* Text Domain: wp-logo-showcase-responsive-slider-slider
|
8 |
* Domain Path: /languages/
|
9 |
+
* Version: 2.8.1
|
10 |
* Author URI: https://www.wponlinesupport.com/
|
11 |
*
|
12 |
* @package WordPress
|
18 |
}
|
19 |
|
20 |
if( !defined( 'WPLS_VERSION' ) ) {
|
21 |
+
define( 'WPLS_VERSION', '2.8.1' ); // Version of plugin
|
22 |
}
|
23 |
if( !defined( 'WPLS_DIR' ) ) {
|
24 |
define( 'WPLS_DIR', dirname( __FILE__ ) ); // Plugin dir
|
39 |
define('WPLS_PLUGIN_LINK','https://www.wponlinesupport.com/wp-plugin/wp-logo-showcase-responsive-slider/?utm_source=WP&utm_medium=Logoshowcase&utm_campaign=Features-PRO'); // Plugin link
|
40 |
}
|
41 |
|
42 |
+
/**
|
43 |
+
* Load Text Domain
|
44 |
+
* This gets the plugin ready for translation
|
45 |
+
*
|
46 |
+
* @package WP Logo Showcase Responsive Slider
|
47 |
+
* @since 1.0.0
|
48 |
+
*/
|
49 |
+
function wpls_load_textdomain() {
|
50 |
+
|
51 |
+
global $wp_version;
|
52 |
+
|
53 |
+
// Set filter for plugin's languages directory
|
54 |
+
$wpls_lang_dir = dirname( plugin_basename( __FILE__ ) ) . '/languages/';
|
55 |
+
$wpls_lang_dir = apply_filters( 'wpls_languages_directory', $wpls_lang_dir );
|
56 |
+
|
57 |
+
// Traditional WordPress plugin locale filter.
|
58 |
+
$get_locale = get_locale();
|
59 |
+
|
60 |
+
if ( $wp_version >= 4.7 ) {
|
61 |
+
$get_locale = get_user_locale();
|
62 |
+
}
|
63 |
+
|
64 |
+
// Traditional WordPress plugin locale filter
|
65 |
+
$locale = apply_filters( 'plugin_locale', $get_locale, 'wp-logo-showcase-responsive-slider-slider' );
|
66 |
+
$mofile = sprintf( '%1$s-%2$s.mo', 'wp-logo-showcase-responsive-slider-slider', $locale );
|
67 |
+
|
68 |
+
// Setup paths to current locale file
|
69 |
+
$mofile_global = WP_LANG_DIR . '/plugins/' . basename( WPLS_DIR ) . '/' . $mofile;
|
70 |
+
|
71 |
+
if ( file_exists( $mofile_global ) ) { // Look in global /wp-content/languages/plugin-name folder
|
72 |
+
load_textdomain( 'wp-logo-showcase-responsive-slider-slider', $mofile_global );
|
73 |
+
} else { // Load the default language files
|
74 |
+
load_plugin_textdomain( 'wp-logo-showcase-responsive-slider-slider', false, $wpls_lang_dir );
|
75 |
+
}
|
76 |
+
|
77 |
+
}
|
78 |
+
add_action('plugins_loaded', 'wpls_load_textdomain');
|
79 |
|
80 |
/**
|
81 |
* Activation Hook
|
173 |
// Action to display notice
|
174 |
add_action( 'admin_notices', 'wpls_admin_notice');
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
// Functions file
|
177 |
require_once( WPLS_DIR . '/includes/wpls-functions.php' );
|
178 |
|
179 |
// Post type file
|
180 |
require_once( WPLS_DIR . '/includes/wpls-post-types.php' );
|
181 |
|
|
|
|
|
|
|
182 |
// Admin file for pro vs free
|
183 |
require_once( WPLS_DIR . '/includes/admin/class-wpls-admin.php' );
|
184 |
|
185 |
+
// Script file
|
186 |
+
require_once( WPLS_DIR . '/includes/class-wpls-script.php' );
|
187 |
+
|
188 |
+
// Shortcode File
|
189 |
+
require_once( WPLS_DIR . '/includes/shortcode/wpls-logo-slider.php' );
|
190 |
|
191 |
// Gutenberg Block Initializer
|
192 |
if ( function_exists( 'register_block_type' ) ) {
|
193 |
require_once( WPLS_DIR . '/includes/admin/supports/gutenberg-block.php' );
|
194 |
}
|
195 |
|
196 |
+
/* Recommended Plugins Starts */
|
197 |
+
if ( is_admin() ) {
|
198 |
+
require_once( WPLS_DIR . '/wpos-plugins/wpos-recommendation.php' );
|
199 |
+
|
200 |
+
wpos_espbw_init_module( array(
|
201 |
+
'prefix' => 'wpls',
|
202 |
+
'menu' => 'edit.php?post_type='.WPLS_POST_TYPE,
|
203 |
+
));
|
204 |
+
}
|
205 |
+
/* Recommended Plugins Ends */
|
206 |
+
|
207 |
/* Plugin Wpos Analytics Data Starts */
|
208 |
function wpos_analytics_anl23_load() {
|
209 |
|
216 |
'slug' => 'wp-logo-showcase-responsive-slider',
|
217 |
'type' => 'plugin',
|
218 |
'menu' => 'edit.php?post_type=logoshowcase',
|
219 |
+
'text_domain' => 'wp-logo-showcase-responsive-slider-slider',
|
220 |
));
|
221 |
|
222 |
return $wpos_analytics;
|
readme.txt
CHANGED
@@ -1,26 +1,35 @@
|
|
1 |
=== WP Logo Showcase Responsive Slider ===
|
2 |
Contributors: wponlinesupport, anoopranawat, pratik-jain
|
3 |
-
Tags: logo slider, widget, client logo carousel, client logo slider, client, customer, image carousel, carousel, logo showcase, Responsive logo slider, Responsive logo carousel, WordPress logo slider, WordPress logo carousel, slick carousel, Best logo showcase, easy logo slider, logo carousel wordpress, logo slider wordpress, sponsors, sponsors slider, sponsors carousel
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 5.
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
-
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
### the #1 WordPress Logo Showcase Slider plugin.
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
Display responsive logo slideshow (logo slider / logo carousel) on your/client website.
|
17 |
|
18 |
-
WP Logo Showcase Responsive Slider plugin
|
19 |
|
20 |
The plugin work with shortcode so you can easily display logo slideshow anywhere on your site.
|
21 |
|
22 |
-
Check [Demo and Features](https://demo.wponlinesupport.com/logo-slider-plugin-demo/) for additional information.
|
23 |
-
|
24 |
### Also added Gutenberg block support.
|
25 |
|
26 |
= Here is the shortcode example =
|
@@ -76,6 +85,10 @@ Check [Demo and Features](https://demo.wponlinesupport.com/logo-slider-plugin-de
|
|
76 |
* **lazyload :**
|
77 |
[logoshowcase lazyload="ondemand"] (Add lazy load to the images. By defaults there is no lazyload. Two options can be passed. 'ondemand', 'progressive')
|
78 |
|
|
|
|
|
|
|
|
|
79 |
= Features : =
|
80 |
[youtube https://www.youtube.com/watch?v=eEj85H71prA]
|
81 |
|
@@ -86,17 +99,17 @@ Check [Demo and Features](https://demo.wponlinesupport.com/logo-slider-plugin-de
|
|
86 |
* Added Gutenberg block support.
|
87 |
* Added two new shortcode parameters "order and orderby"
|
88 |
* Display Client logoshowcase in slider view.
|
89 |
-
* Display
|
90 |
-
* Add
|
|
|
91 |
* Target "blank" OR "self" when user click on link (Specify target to load the Links)
|
92 |
-
* Lazyload.
|
93 |
* Set image size with image_size="original" parameter (Logo image size control).
|
94 |
* Display Logo including / excluding Title (Show or hide logo title)
|
95 |
* Multiple sliders can be shown from different Logo categories.
|
96 |
* Slider sliding speed, autoplay Intervel, navigation, pagination, Slide columns for Logo slider, Number of Logos slides at a time.
|
97 |
* Slider Lazy loading your images which can improve your website speed by only calling on the loading of your images when they are needed.
|
98 |
* Created with Slick Slider.
|
99 |
-
* Enable center mode (Shown in Demo)
|
100 |
* Display slider in Loop OR not
|
101 |
|
102 |
= Template code is =
|
@@ -118,6 +131,8 @@ Check [Demo and Features](https://demo.wponlinesupport.com/logo-slider-plugin-de
|
|
118 |
> * Slider RTL support.
|
119 |
> * Display logo showcase categories wise.
|
120 |
> * Visual Composer support.
|
|
|
|
|
121 |
> * Drag & Drop features to display logo in your desired order.
|
122 |
> * Logo Showcase with tool-tip with 5 tool-tip theme and various parameters.
|
123 |
> * Add your custom css via plugin setting page.
|
@@ -158,6 +173,26 @@ Check [Demo and Features](https://demo.wponlinesupport.com/logo-slider-plugin-de
|
|
158 |
|
159 |
== Changelog ==
|
160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
161 |
= 2.6 (14, Aug 2020) =
|
162 |
* [*] jQuery( document ).ready(function($) is replaced with function( $ ) to solve the issue with 3rd party plugin and theme js error.
|
163 |
|
1 |
=== WP Logo Showcase Responsive Slider ===
|
2 |
Contributors: wponlinesupport, anoopranawat, pratik-jain
|
3 |
+
Tags: logo slider, widget, client logo carousel, client logo slider, client, customer, image carousel, carousel, logo showcase, Responsive logo slider, Responsive logo carousel, WordPress logo slider, WordPress logo carousel, slick carousel, Best logo showcase, easy logo slider, logo carousel wordpress, logo slider wordpress, sponsors, sponsors slider, sponsors carousel
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.7
|
6 |
Stable tag: trunk
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
10 |
+
The best responsive logo carousel to add, display and manage clients, partners, brand logos with multi logo slideshow in your website with easy shortcodes. Also added Gutenberg block support.
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
### the #1 WordPress Logo Showcase Slider plugin.
|
15 |
|
16 |
+
WP Logo Showcase Responsive Slider is one of the leading & popular logo slider plugins available for WordPress.
|
17 |
+
|
18 |
+
Features included in our plugin
|
19 |
+
|
20 |
+
* Logo Slider for Client logos
|
21 |
+
* Logo Gallery to showcase Business partners logos
|
22 |
+
* Logo Carousel for Brands & Affiliate logos
|
23 |
+
* Logo ticker for Sponsors logos
|
24 |
+
|
25 |
+
Check [Features and Demo](https://www.wponlinesupport.com/wp-plugin/wp-logo-showcase-responsive-slider/) for additional information.
|
26 |
+
|
27 |
Display responsive logo slideshow (logo slider / logo carousel) on your/client website.
|
28 |
|
29 |
+
WP Logo Showcase Responsive Slider plugin lets your website display multiple logo carousels of your clients, sponsors, business partners, affiliates, supporters, brands logos in an aesthetically appealing and professional way.
|
30 |
|
31 |
The plugin work with shortcode so you can easily display logo slideshow anywhere on your site.
|
32 |
|
|
|
|
|
33 |
### Also added Gutenberg block support.
|
34 |
|
35 |
= Here is the shortcode example =
|
85 |
* **lazyload :**
|
86 |
[logoshowcase lazyload="ondemand"] (Add lazy load to the images. By defaults there is no lazyload. Two options can be passed. 'ondemand', 'progressive')
|
87 |
|
88 |
+
Along with its minimal style and design, it is extremely easy to set up a beautiful logo gallery of your sponsors and clients lists with different styles like grid, slider and isotope filtering by category and is compatible with all devices.
|
89 |
+
|
90 |
+
WP Logo Showcase Responsive Slider is highly customisable, responsive, user-friendly and flexible. This plugin works with simple dynamic shortcodes to display logo slideshow anywhere on your pages anyway you want. No coding skill required.
|
91 |
+
|
92 |
= Features : =
|
93 |
[youtube https://www.youtube.com/watch?v=eEj85H71prA]
|
94 |
|
99 |
* Added Gutenberg block support.
|
100 |
* Added two new shortcode parameters "order and orderby"
|
101 |
* Display Client logoshowcase in slider view.
|
102 |
+
* Display unlimited client logo showcase according to category.
|
103 |
+
* Add external/internal link for images.
|
104 |
+
* Enable center mode (Shown in Demo)
|
105 |
* Target "blank" OR "self" when user click on link (Specify target to load the Links)
|
106 |
+
* Lazyload option for image.
|
107 |
* Set image size with image_size="original" parameter (Logo image size control).
|
108 |
* Display Logo including / excluding Title (Show or hide logo title)
|
109 |
* Multiple sliders can be shown from different Logo categories.
|
110 |
* Slider sliding speed, autoplay Intervel, navigation, pagination, Slide columns for Logo slider, Number of Logos slides at a time.
|
111 |
* Slider Lazy loading your images which can improve your website speed by only calling on the loading of your images when they are needed.
|
112 |
* Created with Slick Slider.
|
|
|
113 |
* Display slider in Loop OR not
|
114 |
|
115 |
= Template code is =
|
131 |
> * Slider RTL support.
|
132 |
> * Display logo showcase categories wise.
|
133 |
> * Visual Composer support.
|
134 |
+
> * Gutenberg, Elementor, Beaver and SiteOrigin Page Builder Support (New).
|
135 |
+
> * Divi Page Builder Native Support (New).
|
136 |
> * Drag & Drop features to display logo in your desired order.
|
137 |
> * Logo Showcase with tool-tip with 5 tool-tip theme and various parameters.
|
138 |
> * Add your custom css via plugin setting page.
|
173 |
|
174 |
== Changelog ==
|
175 |
|
176 |
+
= 2.8.1 (22, April 2021) =
|
177 |
+
* [+] New - Added Fusion page builder native support.
|
178 |
+
* [*] Tweak - Code optimization and performance improvements.
|
179 |
+
|
180 |
+
= 2.8 (08, March 2021) =
|
181 |
+
* [*] Tested up to: 5.7
|
182 |
+
|
183 |
+
= 2.7.2 (11, Nov 2020) =
|
184 |
+
* [+] New - Added native shortcode support for Elementor, SiteOrigin and Beaver builder .
|
185 |
+
* [+] New - Added Divi page builder native support.
|
186 |
+
* [+] New - Click to copy the shortcode.
|
187 |
+
|
188 |
+
= 2.7.1 (27, Oct 2020) =
|
189 |
+
* [*] Minor Update - Fixed conflict from tgmpa (theme pluign recommends - if your theme using tgmpa library) where it was showing message inside "How It Works - Display and shortcode"
|
190 |
+
|
191 |
+
= 2.7 (21, Oct 2020) =
|
192 |
+
* [*] Update - Regular pluign maintenance. Updated readme file.
|
193 |
+
* [*] Added - Added 64X64px image for arrows.
|
194 |
+
* [*] Added - Added our other Popular Plugins under Logo Showcase --> Install Popular Plugins From WPOS. This will help you to save your time during creating a website.
|
195 |
+
|
196 |
= 2.6 (14, Aug 2020) =
|
197 |
* [*] jQuery( document ).ready(function($) is replaced with function( $ ) to solve the issue with 3rd party plugin and theme js error.
|
198 |
|
templates/design-1.php
CHANGED
@@ -6,9 +6,9 @@
|
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
?>
|
12 |
|
13 |
<div class="wpls-logo-cnt">
|
14 |
<div class="wpls-fix-box">
|
6 |
* @since 1.0.0
|
7 |
*/
|
8 |
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
exit; // Exit if accessed directly
|
11 |
+
} ?>
|
12 |
|
13 |
<div class="wpls-logo-cnt">
|
14 |
<div class="wpls-fix-box">
|
wpos-plugins/assets/css/admin-style.css
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.espbw-clearfix:before, .espbw-clearfix:after {content: "";display: table;}
|
2 |
+
.espbw-clearfix::after {clear: both;}
|
3 |
+
.espbw-hide{display: none;}
|
4 |
+
.filter-links a{padding-left:30px !important; background-size:25px 25px; background-repeat:no-repeat; background-position:left center;}
|
5 |
+
.filter-links .espbw-plugin-all a.espbw-filter-link{background-image:url('../images/essential-plugin-50.png');}
|
6 |
+
.filter-links .espbw-plugin-recommended a.espbw-filter-link{background-image:url('../images/utility-icon.png');}
|
7 |
+
.filter-links .espbw-plugin-marketing a.espbw-filter-link{background-image:url('../images/inbound50-by-50.png');}
|
8 |
+
.filter-links .espbw-plugin-sliders a.espbw-filter-link{background-image:url('../images/sliderspack.png');}
|
9 |
+
.filter-links .espbw-plugin-woo a.espbw-filter-link{background-image:url('../images/cart-2.png');}
|
10 |
+
.wpos-em{font-size:15px; color:#e11919 !important;}
|
11 |
+
.espbw-dashboard-logo{text-align: center;}
|
12 |
+
.espbw-dashboard-logo img{width:140px;}
|
13 |
+
.espbw-plugin-card-wrap{margin: 0 0 16px 0; display: inline-block; vertical-align: top; width: 50%; padding: 0 8px; font-size: 13px; box-sizing: border-box;}
|
14 |
+
.espbw-plugin-list{margin: 0 -8px; font-size:0.001px; width: auto;}
|
15 |
+
.espbw-plugin-list .plugin-card{float: none; width: 100%; margin: 0;}
|
16 |
+
.espbw-dashboard-title{text-align: center;}
|
17 |
+
.espbw-dashboard-title h3{margin: 10px 0 8px 0; font-size: 1.8em}
|
18 |
+
.espbw-dashboard-title-inr{display: inline-block; text-align: right;}
|
19 |
+
.espbw-dashboard-title-inr span{display: inline-block; font-weight: 600; text-decoration: underline;}
|
20 |
+
.espbw-filter .espbw-search-inp{margin: 0; border-radius: 0;}
|
21 |
+
.espbw-filter a:focus{box-shadow: none; outline: 0;}
|
22 |
+
.espbw-search-no-result{clear: both; text-align: center; font-size: 16px;}
|
wpos-plugins/assets/images/cart-2.png
ADDED
Binary file
|
wpos-plugins/assets/images/essential-plugin-16.png
ADDED
Binary file
|
wpos-plugins/assets/images/essential-plugin-50.png
ADDED
Binary file
|
wpos-plugins/assets/images/inbound50-by-50.png
ADDED
Binary file
|
wpos-plugins/assets/images/sliderspack.png
ADDED
Binary file
|
wpos-plugins/assets/images/utility-icon.png
ADDED
Binary file
|
wpos-plugins/assets/images/wponlinesupport-logo.png
ADDED
Binary file
|
wpos-plugins/assets/js/admin-script.js
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*jslint browser:true */
|
2 |
+
(function ($) {
|
3 |
+
"use strict";
|
4 |
+
|
5 |
+
var timer;
|
6 |
+
var timeOut = 300; /* delay after last keypress to execute filter */
|
7 |
+
|
8 |
+
$( document ).ready(function() {
|
9 |
+
|
10 |
+
/* Stop Submitting Search Form */
|
11 |
+
$('.espbw-search-inp-js').submit(function( event ) {
|
12 |
+
event.preventDefault();
|
13 |
+
});
|
14 |
+
|
15 |
+
$(document).on('keyup paste input', '.espbw-search-inp-js', function(event) {
|
16 |
+
|
17 |
+
clearTimeout(timer); /* if we pressed the key, it will clear the previous timer and wait again */
|
18 |
+
var curr_ele = $(this);
|
19 |
+
var cls_ele = curr_ele.closest('.espbw-dashboard-wrap');
|
20 |
+
var search_ele = cls_ele.find('.espbw-plugin-list');
|
21 |
+
|
22 |
+
cls_ele.find('.espbw-search-no-result').hide();
|
23 |
+
cls_ele.find('.espbw-filter-link').removeClass('current');
|
24 |
+
|
25 |
+
timer = setTimeout(function() {
|
26 |
+
|
27 |
+
var search_value = $.trim( curr_ele.val().toLowerCase() );
|
28 |
+
var search_array = search_value.split(" ");
|
29 |
+
|
30 |
+
if( search_value == '' ) {
|
31 |
+
cls_ele.find('.espbw-plugin-all .espbw-filter-link').addClass('current');
|
32 |
+
}
|
33 |
+
|
34 |
+
search_ele.find('.espbw-plugin-card-wrap').each(function(index) {
|
35 |
+
|
36 |
+
var contents = $(this).find('.espbw-plugin-name').text().toLowerCase();
|
37 |
+
var tags = $(this).attr('data-tags').toLowerCase();
|
38 |
+
|
39 |
+
if ( contents.indexOf(search_value) !== -1 || tags.indexOf(search_value) !== -1 ) {
|
40 |
+
$(this).show();
|
41 |
+
} else {
|
42 |
+
$(this).hide();
|
43 |
+
}
|
44 |
+
});
|
45 |
+
|
46 |
+
if( ! cls_ele.find('.espbw-plugin-card-wrap').is(":visible") ) {
|
47 |
+
cls_ele.find('.espbw-search-no-result').show();
|
48 |
+
}
|
49 |
+
|
50 |
+
}, timeOut);
|
51 |
+
});
|
52 |
+
|
53 |
+
/* Filter Links */
|
54 |
+
$(document).on('click', '.espbw-filter-link', function() {
|
55 |
+
|
56 |
+
var curr_ele = $(this);
|
57 |
+
var cls_ele = curr_ele.closest('.espbw-dashboard-wrap');
|
58 |
+
var plugin_list_ele = cls_ele.find('.espbw-plugin-list');
|
59 |
+
var filter = curr_ele.attr('data-filter');
|
60 |
+
filter = filter ? filter : '';
|
61 |
+
|
62 |
+
cls_ele.find('.espbw-search-inp-js').val('');
|
63 |
+
plugin_list_ele.find('.espbw-plugin-card-wrap').hide();
|
64 |
+
cls_ele.find('.espbw-filter-link').removeClass('current');
|
65 |
+
curr_ele.addClass('current');
|
66 |
+
|
67 |
+
if( filter == '' ) {
|
68 |
+
plugin_list_ele.find('.espbw-plugin-card-wrap').show();
|
69 |
+
} else {
|
70 |
+
plugin_list_ele.find('.espbw-'+filter).show();
|
71 |
+
}
|
72 |
+
});
|
73 |
+
|
74 |
+
});
|
75 |
+
|
76 |
+
})(jQuery);
|
wpos-plugins/includes/admin/class-espbw-admin.php
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Admin Class
|
4 |
+
* Handles the Admin side functionality of plugin
|
5 |
+
*
|
6 |
+
* @package Essential Plugins Bundle
|
7 |
+
* @since 1.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
+
exit; // Exit if accessed directly
|
12 |
+
}
|
13 |
+
|
14 |
+
class WPOS_ESPBW_Admin {
|
15 |
+
|
16 |
+
function __construct() {
|
17 |
+
|
18 |
+
// Action to register admin menu
|
19 |
+
add_action( 'admin_menu', array($this, 'espbw_register_menu'), 14 );
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Function to register admin menus
|
24 |
+
*
|
25 |
+
* @since 1.0
|
26 |
+
*/
|
27 |
+
function espbw_register_menu() {
|
28 |
+
|
29 |
+
global $wpos_espbw_module;
|
30 |
+
|
31 |
+
// Loop of menu
|
32 |
+
if( ! empty( $wpos_espbw_module ) ) {
|
33 |
+
foreach ($wpos_espbw_module as $module_key => $module_val) {
|
34 |
+
|
35 |
+
// Dashboard Page
|
36 |
+
add_submenu_page( $module_val['menu'], __('Essential Plugins Bundle By WP OnlineSuport', 'espbw'), '<span style="color:#ff6600;">'.__('Install Popular Plugins From WPOS', 'espbw').'</span>', 'manage_options', "{$module_val['prefix']}-espbw-dashboard", array($this, 'espbw_dashboard_page'), $module_val['position'] );
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Render Plugin Dashboard Page
|
43 |
+
*
|
44 |
+
* @since 1.0
|
45 |
+
*/
|
46 |
+
function espbw_dashboard_page() {
|
47 |
+
include_once( WPOS_ESPBW_DIR . '/includes/admin/views/dashboard.php' );
|
48 |
+
}
|
49 |
+
}
|
50 |
+
|
51 |
+
$wpos_espbw_admin = new WPOS_ESPBW_Admin();
|
wpos-plugins/includes/admin/views/dashboard.php
ADDED
@@ -0,0 +1,326 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Dashboard Page
|
4 |
+
*
|
5 |
+
* @package Essential Plugins Bundle
|
6 |
+
* @since 1.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
exit; // Exit if accessed directly
|
11 |
+
}
|
12 |
+
|
13 |
+
// Call Plugin API
|
14 |
+
if ( ! function_exists( 'plugins_api' ) ) {
|
15 |
+
require_once ABSPATH . '/wp-admin/includes/plugin-install.php';
|
16 |
+
}
|
17 |
+
|
18 |
+
// Taking some data
|
19 |
+
$plugins_allowedtags = array(
|
20 |
+
'a' => array(
|
21 |
+
'href' => array(),
|
22 |
+
'title' => array(),
|
23 |
+
'target' => array(),
|
24 |
+
),
|
25 |
+
'abbr' => array( 'title' => array() ),
|
26 |
+
'acronym' => array( 'title' => array() ),
|
27 |
+
'code' => array(),
|
28 |
+
'pre' => array(),
|
29 |
+
'em' => array(),
|
30 |
+
'strong' => array(),
|
31 |
+
'ul' => array(),
|
32 |
+
'ol' => array(),
|
33 |
+
'li' => array(),
|
34 |
+
'p' => array(),
|
35 |
+
'br' => array(),
|
36 |
+
);
|
37 |
+
|
38 |
+
$plugins_data = wpos_espbw_get_plugin_data();
|
39 |
+
$plugins_filter = wpos_espbw_plugins_filter();
|
40 |
+
|
41 |
+
// Check Plugin Install Permission
|
42 |
+
if( ! current_user_can('install_plugins') ) {
|
43 |
+
echo '<div class="error">
|
44 |
+
<p>'. esc_html__( "Sorry, It looks like that you do not have permission to install the plugin.", "espbw") .'</p>
|
45 |
+
<p>'. esc_html__("You can take a look at our all plugins at", "espbw") .' <a href="https://profiles.wordpress.org/wponlinesupport#content-plugins" target="_blank">'. esc_html__("here", "espbw") . '</a>.</p>
|
46 |
+
</div>';
|
47 |
+
return;
|
48 |
+
}
|
49 |
+
?>
|
50 |
+
<script type="text/javascript">
|
51 |
+
var pagenow = 'plugin-install';
|
52 |
+
</script>
|
53 |
+
<div class="wrap espbw-settings">
|
54 |
+
<div class="espbw-dashboard-wrap">
|
55 |
+
|
56 |
+
<div class="espbw-dashboard-title">
|
57 |
+
<div class="espbw-dashboard-title-inr">
|
58 |
+
<div class="espbw-dashboard-logo"><a href="https://www.wponlinesupport.com/?utm_source=wp&utm_medium=plugin&utm_campaign=essential-bundle" target="_blank"><img src="<?php echo esc_url( WPOS_ESPBW_URL ); ?>assets/images/wponlinesupport-logo.png" alt="wponlinesupport" /></a></div>
|
59 |
+
<h3 style="text-align:center;"><?php _e( 'Essential Plugins', 'espbw' ); ?></h3>
|
60 |
+
<em class="wpos-em">Installs directly from <b>wordpress.org</b> repository</em> <br />
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
<br/>
|
64 |
+
|
65 |
+
<div class="wp-filter espbw-filter">
|
66 |
+
<ul class="filter-links espbw-filter-links">
|
67 |
+
<li class="espbw-plugin-all"><a href="javascript:void(0);" class="espbw-filter-link current"><?php esc_html_e('All Essential Plugins', 'espbw'); ?></a></li>
|
68 |
+
<li class="espbw-plugin-recommended"><a href="javascript:void(0);" class="espbw-filter-link" data-filter="recommended"><?php esc_html_e('Utility Plugins', 'espbw'); ?></a></li>
|
69 |
+
<li class="espbw-plugin-marketing"><a href="javascript:void(0);" class="espbw-filter-link" data-filter="marketing"><?php esc_html_e('Inbound Marketing', 'espbw'); ?></a></li>
|
70 |
+
<li class="espbw-plugin-sliders"><a href="javascript:void(0);" class="espbw-filter-link" data-filter="sliders"><?php esc_html_e('Sliders', 'espbw'); ?></a></li>
|
71 |
+
<li class="espbw-plugin-woo"><a href="javascript:void(0);" class="espbw-filter-link" data-filter="woocommerce"><?php esc_html_e('WooCommerce', 'espbw'); ?></a></li>
|
72 |
+
</ul>
|
73 |
+
|
74 |
+
<form class="search-form search-plugins" method="get">
|
75 |
+
<input type="hidden" name="page" value="espbw-dashboard" />
|
76 |
+
<input type="search" name="espbw_search" value="" class="wp-filter-search espbw-search-inp espbw-search-inp-js" placeholder="<?php echo esc_html_e('Search Plugins e.g popup', 'espbw'); ?>" />
|
77 |
+
</form>
|
78 |
+
</div>
|
79 |
+
|
80 |
+
<?php if( ! empty( $plugins_data->plugins ) ) { ?>
|
81 |
+
<form id="plugin-filter" method="post">
|
82 |
+
<div class="espbw-plugin-list-wrap">
|
83 |
+
<div class="widefat espbw-plugin-list espbw-clearfix" id="the-list">
|
84 |
+
|
85 |
+
<?php foreach ($plugins_data->plugins as $plugin_key => $plugin_data) {
|
86 |
+
|
87 |
+
if ( is_object( $plugin_data ) ) {
|
88 |
+
$plugin_data = (array) $plugin_data;
|
89 |
+
}
|
90 |
+
|
91 |
+
// Taking some data
|
92 |
+
$title = wp_kses( $plugin_data['name'], $plugins_allowedtags );
|
93 |
+
$version = wp_kses( $plugin_data['version'], $plugins_allowedtags );
|
94 |
+
$name = strip_tags( $title . ' ' . $version );
|
95 |
+
$description = strip_tags( $plugin_data['short_description'] );
|
96 |
+
$last_updated_timestamp = strtotime( $plugin_data['last_updated'] );
|
97 |
+
$author = wp_kses( $plugin_data['author'], $plugins_allowedtags );
|
98 |
+
$author = str_replace( "href=", 'target="_blank" href=', $author );
|
99 |
+
$requires_php = isset( $plugin['requires_php'] ) ? $plugin['requires_php'] : null;
|
100 |
+
$requires_wp = isset( $plugin_data['requires'] ) ? $plugin_data['requires'] : null;
|
101 |
+
$compatible_php = is_php_version_compatible( $requires_php );
|
102 |
+
$compatible_wp = is_wp_version_compatible( $requires_wp );
|
103 |
+
$tested_wp = ( empty( $plugin_data['tested'] ) || version_compare( get_bloginfo( 'version' ), $plugin_data['tested'], '<=' ) );
|
104 |
+
$details_link = self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin_data['slug'] . '&TB_iframe=true&width=600&height=550' );
|
105 |
+
$extra_class = ( ! empty( $plugins_filter[ $plugin_data['slug'] ]['class'] ) ) ? $plugins_filter[ $plugin_data['slug'] ]['class'] : '';
|
106 |
+
$plugin_tags = ( ! empty( $plugins_filter[ $plugin_data['slug'] ]['tags'] ) ) ? $plugins_filter[ $plugin_data['slug'] ]['tags'] : '';
|
107 |
+
|
108 |
+
// Author String
|
109 |
+
if ( ! empty( $author ) ) {
|
110 |
+
/* translators: %s: Plugin author. */
|
111 |
+
$author = ' <cite>' . sprintf( __( 'By %s' ), $author ) . '</cite>';
|
112 |
+
}
|
113 |
+
|
114 |
+
// Plugin Icon
|
115 |
+
if ( ! empty( $plugin_data['icons']['svg'] ) ) {
|
116 |
+
$plugin_icon_url = $plugin_data['icons']['svg'];
|
117 |
+
} elseif ( ! empty( $plugin_data['icons']['2x'] ) ) {
|
118 |
+
$plugin_icon_url = $plugin_data['icons']['2x'];
|
119 |
+
} elseif ( ! empty( $plugin_data['icons']['1x'] ) ) {
|
120 |
+
$plugin_icon_url = $plugin_data['icons']['1x'];
|
121 |
+
} else {
|
122 |
+
$plugin_icon_url = $plugin_data['icons']['default'];
|
123 |
+
}
|
124 |
+
|
125 |
+
// Plugin Action Links
|
126 |
+
$action_links = array();
|
127 |
+
|
128 |
+
if ( current_user_can( 'install_plugins' ) || current_user_can( 'update_plugins' ) ) {
|
129 |
+
$status = install_plugin_install_status( $plugin_data );
|
130 |
+
|
131 |
+
switch ( $status['status'] ) {
|
132 |
+
case 'install':
|
133 |
+
if ( $status['url'] ) {
|
134 |
+
if ( $compatible_php && $compatible_wp ) {
|
135 |
+
$action_links[] = sprintf(
|
136 |
+
'<a class="install-now button" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>',
|
137 |
+
esc_attr( $plugin_data['slug'] ),
|
138 |
+
esc_url( $status['url'] ),
|
139 |
+
/* translators: %s: Plugin name and version. */
|
140 |
+
esc_attr( sprintf( __( 'Install %s now' ), $name ) ),
|
141 |
+
esc_attr( $name ),
|
142 |
+
__( 'Install Now' )
|
143 |
+
);
|
144 |
+
} else {
|
145 |
+
$action_links[] = sprintf(
|
146 |
+
'<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
|
147 |
+
_x( 'Cannot Install', 'plugin' )
|
148 |
+
);
|
149 |
+
}
|
150 |
+
}
|
151 |
+
break;
|
152 |
+
|
153 |
+
case 'update_available':
|
154 |
+
if ( $status['url'] ) {
|
155 |
+
if ( $compatible_php && $compatible_wp ) {
|
156 |
+
$action_links[] = sprintf(
|
157 |
+
'<a class="update-now button aria-button-if-js" data-plugin="%s" data-slug="%s" href="%s" aria-label="%s" data-name="%s">%s</a>',
|
158 |
+
esc_attr( $status['file'] ),
|
159 |
+
esc_attr( $plugin_data['slug'] ),
|
160 |
+
esc_url( $status['url'] ),
|
161 |
+
/* translators: %s: Plugin name and version. */
|
162 |
+
esc_attr( sprintf( __( 'Update %s now' ), $name ) ),
|
163 |
+
esc_attr( $name ),
|
164 |
+
__( 'Update Now' )
|
165 |
+
);
|
166 |
+
} else {
|
167 |
+
$action_links[] = sprintf(
|
168 |
+
'<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
|
169 |
+
_x( 'Cannot Update', 'plugin' )
|
170 |
+
);
|
171 |
+
}
|
172 |
+
}
|
173 |
+
break;
|
174 |
+
|
175 |
+
case 'latest_installed':
|
176 |
+
case 'newer_installed':
|
177 |
+
if ( is_plugin_active( $status['file'] ) ) {
|
178 |
+
$action_links[] = sprintf(
|
179 |
+
'<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
|
180 |
+
_x( 'Active', 'plugin' )
|
181 |
+
);
|
182 |
+
} elseif ( current_user_can( 'activate_plugin', $status['file'] ) ) {
|
183 |
+
$button_text = __( 'Activate' );
|
184 |
+
/* translators: %s: Plugin name. */
|
185 |
+
$button_label = _x( 'Activate %s', 'plugin' );
|
186 |
+
$activate_url = add_query_arg(
|
187 |
+
array(
|
188 |
+
'_wpnonce' => wp_create_nonce( 'activate-plugin_' . $status['file'] ),
|
189 |
+
'action' => 'activate',
|
190 |
+
'plugin' => $status['file'],
|
191 |
+
),
|
192 |
+
network_admin_url( 'plugins.php' )
|
193 |
+
);
|
194 |
+
|
195 |
+
if ( is_network_admin() ) {
|
196 |
+
$button_text = __( 'Network Activate' );
|
197 |
+
/* translators: %s: Plugin name. */
|
198 |
+
$button_label = _x( 'Network Activate %s', 'plugin' );
|
199 |
+
$activate_url = add_query_arg( array( 'networkwide' => 1 ), $activate_url );
|
200 |
+
}
|
201 |
+
|
202 |
+
$action_links[] = sprintf(
|
203 |
+
'<a href="%1$s" class="button activate-now" aria-label="%2$s">%3$s</a>',
|
204 |
+
esc_url( $activate_url ),
|
205 |
+
esc_attr( sprintf( $button_label, $plugin_data['name'] ) ),
|
206 |
+
$button_text
|
207 |
+
);
|
208 |
+
} else {
|
209 |
+
$action_links[] = sprintf(
|
210 |
+
'<button type="button" class="button button-disabled" disabled="disabled">%s</button>',
|
211 |
+
_x( 'Installed', 'plugin' )
|
212 |
+
);
|
213 |
+
}
|
214 |
+
break;
|
215 |
+
}
|
216 |
+
}
|
217 |
+
|
218 |
+
$action_links[] = sprintf(
|
219 |
+
'<a href="%s" class="thickbox open-plugin-details-modal" aria-label="%s" data-title="%s">%s</a>',
|
220 |
+
esc_url( $details_link ),
|
221 |
+
/* translators: %s: Plugin name and version. */
|
222 |
+
esc_attr( sprintf( __( 'More information about %s' ), $name ) ),
|
223 |
+
esc_attr( $name ),
|
224 |
+
__( 'More Details' )
|
225 |
+
);
|
226 |
+
?>
|
227 |
+
|
228 |
+
<div class="espbw-plugin-card-wrap <?php echo $extra_class; ?>" data-tags="<?php echo esc_attr( $plugin_tags ); ?>">
|
229 |
+
<div class="plugin-card plugin-card-<?php echo sanitize_html_class( $plugin_data['slug'] ); ?>">
|
230 |
+
<div class="plugin-card-top">
|
231 |
+
<div class="name column-name">
|
232 |
+
<h3>
|
233 |
+
<a href="<?php echo esc_url( $details_link ); ?>" class="thickbox open-plugin-details-modal">
|
234 |
+
<span class="espbw-plugin-name"><?php echo $title; ?></span>
|
235 |
+
<img src="<?php echo esc_url( $plugin_icon_url ); ?>" class="plugin-icon" alt="" />
|
236 |
+
</a>
|
237 |
+
</h3>
|
238 |
+
</div>
|
239 |
+
|
240 |
+
<div class="action-links">
|
241 |
+
<?php
|
242 |
+
if ( $action_links ) {
|
243 |
+
echo '<ul class="plugin-action-buttons"><li>' . implode( '</li><li>', $action_links ) . '</li></ul>';
|
244 |
+
}
|
245 |
+
?>
|
246 |
+
</div>
|
247 |
+
|
248 |
+
<div class="desc column-description">
|
249 |
+
<p><?php echo $description; ?></p>
|
250 |
+
<p class="authors"><?php echo $author; ?></p>
|
251 |
+
</div>
|
252 |
+
</div><!-- end .plugin-card-top -->
|
253 |
+
|
254 |
+
<div class="plugin-card-bottom">
|
255 |
+
<div class="vers column-rating">
|
256 |
+
<?php
|
257 |
+
wp_star_rating(
|
258 |
+
array(
|
259 |
+
'rating' => $plugin_data['rating'],
|
260 |
+
'type' => 'percent',
|
261 |
+
'number' => $plugin_data['num_ratings'],
|
262 |
+
)
|
263 |
+
);
|
264 |
+
?>
|
265 |
+
<span class="num-ratings" aria-hidden="true">(<?php echo number_format_i18n( $plugin_data['num_ratings'] ); ?>)</span>
|
266 |
+
</div>
|
267 |
+
|
268 |
+
<div class="column-updated">
|
269 |
+
<strong><?php _e( 'Last Updated:' ); ?></strong>
|
270 |
+
<?php
|
271 |
+
/* translators: %s: Human-readable time difference. */
|
272 |
+
printf( __( '%s ago' ), human_time_diff( $last_updated_timestamp ) );
|
273 |
+
?>
|
274 |
+
</div>
|
275 |
+
|
276 |
+
<div class="column-downloaded">
|
277 |
+
<?php
|
278 |
+
if ( $plugin_data['active_installs'] >= 1000000 ) {
|
279 |
+
$active_installs_millions = floor( $plugin_data['active_installs'] / 1000000 );
|
280 |
+
$active_installs_text = sprintf(
|
281 |
+
/* translators: %s: Number of millions. */
|
282 |
+
_nx( '%s+ Million', '%s+ Million', $active_installs_millions, 'Active plugin installations' ),
|
283 |
+
number_format_i18n( $active_installs_millions )
|
284 |
+
);
|
285 |
+
} elseif ( 0 == $plugin_data['active_installs'] ) {
|
286 |
+
$active_installs_text = _x( 'Less Than 10', 'Active plugin installations' );
|
287 |
+
} else {
|
288 |
+
$active_installs_text = number_format_i18n( $plugin_data['active_installs'] ) . '+';
|
289 |
+
}
|
290 |
+
/* translators: %s: Number of installations. */
|
291 |
+
printf( __( '%s Active Installations' ), $active_installs_text );
|
292 |
+
?>
|
293 |
+
</div>
|
294 |
+
|
295 |
+
<div class="column-compatibility">
|
296 |
+
<?php
|
297 |
+
if ( ! $tested_wp ) {
|
298 |
+
echo '<span class="compatibility-untested">' . __( 'Untested with your version of WordPress' ) . '</span>';
|
299 |
+
} elseif ( ! $compatible_wp ) {
|
300 |
+
echo '<span class="compatibility-incompatible">' . __( '<strong>Incompatible</strong> with your version of WordPress' ) . '</span>';
|
301 |
+
} else {
|
302 |
+
echo '<span class="compatibility-compatible">' . __( '<strong>Compatible</strong> with your version of WordPress' ) . '</span>';
|
303 |
+
}
|
304 |
+
?>
|
305 |
+
</div>
|
306 |
+
</div><!-- end .plugin-card-bottom -->
|
307 |
+
</div><!-- end .plugin-card -->
|
308 |
+
</div><!-- end .espbw-plugin-card-wrap -->
|
309 |
+
|
310 |
+
<?php } ?>
|
311 |
+
|
312 |
+
</div>
|
313 |
+
<div class="espbw-hide espbw-search-no-result"><?php esc_html_e('Sorry, No result found. Please refine your search.', 'espbw'); ?></div>
|
314 |
+
</div><!-- end .espbw-plugin-list-wrap -->
|
315 |
+
</form>
|
316 |
+
<?php } else { ?>
|
317 |
+
|
318 |
+
<div class="espbw-no-result">
|
319 |
+
<p><?php esc_html_e('Sorry, Something happened wrong.', 'espbw'); ?></p>
|
320 |
+
<p><?php esc_html_e('You can take a look at our all plugins at', 'espbw'); ?> <a href="https://profiles.wordpress.org/wponlinesupport#content-plugins" target="_blank"><?php esc_html_e('here', 'espbw'); ?></a>.</p>
|
321 |
+
</div>
|
322 |
+
|
323 |
+
<?php }
|
324 |
+
?>
|
325 |
+
</div>
|
326 |
+
</div><!-- end .wrap -->
|
wpos-plugins/includes/class-espbw-script.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Script Class
|
4 |
+
* Handles the script and style functionality of plugin
|
5 |
+
*
|
6 |
+
* @package Essential Plugins Bundle
|
7 |
+
* @since 1.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
+
exit; // Exit if accessed directly
|
12 |
+
}
|
13 |
+
|
14 |
+
class WPOS_ESPBW_Script {
|
15 |
+
|
16 |
+
function __construct() {
|
17 |
+
|
18 |
+
// Action to add style at admin side
|
19 |
+
add_action( 'admin_enqueue_scripts', array($this, 'espbw_admin_script_style') );
|
20 |
+
}
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Function to add script and style at admin side
|
24 |
+
*
|
25 |
+
* @since 1.0
|
26 |
+
*/
|
27 |
+
function espbw_admin_script_style( $hook ) {
|
28 |
+
|
29 |
+
// Taking pages array
|
30 |
+
$page = isset( $_GET['page'] ) ? $_GET['page'] : '';
|
31 |
+
|
32 |
+
// Registring admin css
|
33 |
+
wp_register_style( 'espbw-admin-css', WPOS_ESPBW_URL.'assets/css/admin-style.css', array(), WPOS_ESPBW_VERSION );
|
34 |
+
|
35 |
+
// Registring admin script
|
36 |
+
wp_register_script( 'espbw-admin-script', WPOS_ESPBW_URL.'assets/js/admin-script.js', array('jquery'), WPOS_ESPBW_VERSION, true );
|
37 |
+
|
38 |
+
// Olny for dashboard screen
|
39 |
+
if( strpos( $page, 'espbw-dashboard' ) !== false ) {
|
40 |
+
|
41 |
+
// enqueing admin css
|
42 |
+
wp_enqueue_style( 'espbw-admin-css' );
|
43 |
+
|
44 |
+
// enqueing admin script
|
45 |
+
wp_enqueue_script( 'plugin-install' );
|
46 |
+
wp_enqueue_script( 'updates' );
|
47 |
+
wp_localize_script( 'updates', '_wpUpdatesItemCounts', array(
|
48 |
+
'totals' => wp_get_update_data(),
|
49 |
+
));
|
50 |
+
add_thickbox();
|
51 |
+
|
52 |
+
wp_enqueue_script( 'espbw-admin-script' );
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
$wpos_espbw_script = new WPOS_ESPBW_Script();
|
wpos-plugins/includes/espbw-functions.php
ADDED
@@ -0,0 +1,258 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Common Functions
|
4 |
+
*
|
5 |
+
* @package Essential Plugins Bundle
|
6 |
+
* @since 1.0
|
7 |
+
*/
|
8 |
+
|
9 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
10 |
+
exit; // Exit if accessed directly
|
11 |
+
}
|
12 |
+
|
13 |
+
/**
|
14 |
+
* Function to sort plugins api data
|
15 |
+
*
|
16 |
+
* @since 1.0
|
17 |
+
*/
|
18 |
+
function wpos_espbw_sort_plugin_data( $a, $b ) {
|
19 |
+
|
20 |
+
$a_active_installs = is_numeric( $a['active_installs'] ) ? $a['active_installs'] : 0;
|
21 |
+
$b_active_installs = is_numeric( $b['active_installs'] ) ? $b['active_installs'] : 0;
|
22 |
+
|
23 |
+
if ($a_active_installs == $b_active_installs) {
|
24 |
+
return 0;
|
25 |
+
}
|
26 |
+
return ($a_active_installs > $b_active_installs) ? -1 : 1;
|
27 |
+
}
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Function to add script and style at admin side
|
31 |
+
*
|
32 |
+
* @since 1.0
|
33 |
+
*/
|
34 |
+
function wpos_espbw_get_plugin_data() {
|
35 |
+
|
36 |
+
// Get cache result
|
37 |
+
$plugins_data = get_transient( 'espbw_plugins_data' );
|
38 |
+
|
39 |
+
// If no cache is there
|
40 |
+
if( empty( $plugins_data ) ) {
|
41 |
+
|
42 |
+
// Call Plugin API
|
43 |
+
if ( ! function_exists( 'plugins_api' ) ) {
|
44 |
+
require_once ABSPATH . '/wp-admin/includes/plugin-install.php';
|
45 |
+
}
|
46 |
+
|
47 |
+
$plugins_data = plugins_api( 'query_plugins', array(
|
48 |
+
'per_page' => 60,
|
49 |
+
'author' => 'wponlinesupport',
|
50 |
+
'fields' => array(
|
51 |
+
'icons' => true,
|
52 |
+
'active_installs' => true,
|
53 |
+
)
|
54 |
+
) );
|
55 |
+
|
56 |
+
if( is_wp_error( $plugins_data ) || empty( $plugins_data->plugins ) ) {
|
57 |
+
|
58 |
+
$file = WPOS_ESPBW_DIR . 'plugins-data.json';
|
59 |
+
|
60 |
+
// We don't need to write to the file, so just open for reading.
|
61 |
+
$fp = fopen( $file, 'r' );
|
62 |
+
|
63 |
+
// Pull data of the file in.
|
64 |
+
$file_data = fread( $fp, 1024 * KB_IN_BYTES );
|
65 |
+
|
66 |
+
// Close file handle
|
67 |
+
fclose( $fp );
|
68 |
+
|
69 |
+
$file_data = utf8_encode($file_data);
|
70 |
+
$plugins_data_arr = json_decode( $file_data, true );
|
71 |
+
$plugins_data = json_decode( $file_data );
|
72 |
+
$plugins_data->plugins = $plugins_data_arr['plugins'];
|
73 |
+
}
|
74 |
+
|
75 |
+
if( ! is_wp_error( $plugins_data ) && ! empty( $plugins_data->plugins ) ) {
|
76 |
+
|
77 |
+
// Sort the data based on active install
|
78 |
+
usort( $plugins_data->plugins, "wpos_espbw_sort_plugin_data" );
|
79 |
+
|
80 |
+
set_transient( 'espbw_plugins_data', $plugins_data, (12 * HOUR_IN_SECONDS) );
|
81 |
+
}
|
82 |
+
}
|
83 |
+
|
84 |
+
return $plugins_data;
|
85 |
+
}
|
86 |
+
|
87 |
+
/**
|
88 |
+
* Add some filter classes for plugins.
|
89 |
+
*
|
90 |
+
* @since 1.0
|
91 |
+
*/
|
92 |
+
function wpos_espbw_plugins_filter() {
|
93 |
+
|
94 |
+
$plugin_filters = array(
|
95 |
+
'sp-faq' => array(
|
96 |
+
'class' => 'espbw-recommended espbw-showcase',
|
97 |
+
'tags' => 'faq, faq list, faq plugin, faqs, wp faq with category, jquery ui accordion, faq with accordion, frequently asked questions, wordpress faq',
|
98 |
+
),
|
99 |
+
'app-mockups-carousel' => array(
|
100 |
+
'class' => 'espbw-sliders',
|
101 |
+
'tags' => 'app mockups carousel, mockups, device mockup, mockup slider, app gallery slider, app gallery Carousel, device gallery carousel, app mockups carousel, mockups carousel',
|
102 |
+
),
|
103 |
+
'countdown-timer-ultimate' => array(
|
104 |
+
'class' => 'espbw-recommended espbw-showcase',
|
105 |
+
'tags' => 'countdown timer, timer, timer countdown, countdown, event countdown timer, animated countdown timer, birthday countdown, clock, count down, countdown, countdown clock, countdown generator, countdown system, countdown timer, countdown timer, date countdown, event countdown, flash countdown, jQuery countdown, time counter, website countdown, wp countdown, wp countdown timer',
|
106 |
+
),
|
107 |
+
'featured-post-creative' => array(
|
108 |
+
'class' => 'espbw-post espbw-showcase',
|
109 |
+
'tags' => 'featured post, featured post grid, featured post widget, responsive featured post grid, responsive featured post, featured post brick layout, featured posts',
|
110 |
+
),
|
111 |
+
'footer-mega-grid-columns' => array(
|
112 |
+
'class' => '',
|
113 |
+
'tags' => 'footer, footer widgets, footer widgets in grid, website footer, footer, mega footer, megafooter',
|
114 |
+
),
|
115 |
+
'hero-banner-ultimate' => array(
|
116 |
+
'class' => '',
|
117 |
+
'tags' => 'hero image, hero banner, hero header, hero video, video background, hero video, youtube video background, vimeo video background',
|
118 |
+
),
|
119 |
+
'inboundwp-lite' => array(
|
120 |
+
'class' => 'espbw-marketing',
|
121 |
+
'tags' => 'Spin Wheel, WhatsApp chat Support, Inbound, Inbound marketing, Better Heading, Social Proof, Testimonial, Review, Deal Countdown Timer, Marketing PopUp',
|
122 |
+
),
|
123 |
+
'popup-anything-on-click' => array(
|
124 |
+
'class' => 'espbw-recommended',
|
125 |
+
'tags' => 'modal popup, popup, modal, full screen popup, html popup, image popup, popup on click, modal popup on click, full screen popup on click, click popup',
|
126 |
+
),
|
127 |
+
'portfolio-and-projects' => array(
|
128 |
+
'class' => 'espbw-recommended',
|
129 |
+
'tags' => 'portfolio, portfolio listing, projects, project grid, project portfolio, Responsive Portfolio, portfolio categories, add portfolio, add portfolio plugin, portfolio gallery, portfolio plugin, career portfolio, googole image style, best portfolio, portfolio display, project management',
|
130 |
+
),
|
131 |
+
'maintenance-mode-with-timer' => array(
|
132 |
+
'class' => '',
|
133 |
+
'tags' => 'maintenance mode, coming soon, maintenance mode with timer, maintenance mode with countdown timer, countdown timer, coming soon with countdown timer, offline, site is offline, site offline, under construction, launch, launch page, maintenance',
|
134 |
+
),
|
135 |
+
'preloader-for-website' => array(
|
136 |
+
'class' => '',
|
137 |
+
'tags' => 'page loader, loader, page load animations, animated pre-loader, animated preloader, colorful, customize, Jquery Loader, jquery pre-loader, jquery preloader, loader, pre-loader, preload, preloader',
|
138 |
+
),
|
139 |
+
'search-and-navigation-popup' => array(
|
140 |
+
'class' => '',
|
141 |
+
'tags' => 'serchbox popup, menubar popup, navigation popup, serchbox popup',
|
142 |
+
),
|
143 |
+
'smooth-scroll-by-wpos' => array(
|
144 |
+
'class' => '',
|
145 |
+
'tags' => 'mousewheel scroll, scroll, smooth scroll, scrolling, go to top, back to top, scroll to element, scroll to section, smooth scroll to element, smooth scroll to section',
|
146 |
+
),
|
147 |
+
'ticker-ultimate' => array(
|
148 |
+
'class' => 'espbw-recommended espbw-post espbw-showcase',
|
149 |
+
'tags' => 'wponlinesupport, ticker, news ticker, blog ticker, post ticker, ticker slider, ticker vertical slider, ticker horizontal slider',
|
150 |
+
),
|
151 |
+
'wp-blog-and-widgets' => array(
|
152 |
+
'class' => 'espbw-recommended espbw-post espbw-showcase',
|
153 |
+
'tags' => 'blog design, blog layout, wordpress blog , custom blog template, wordpress blog widget, blog layout design, custom blog layout, Free wordpress blog, blog custom post type, blog menu, blog page with custom post type, blog, latest blog, custom post type, cpt, widget',
|
154 |
+
),
|
155 |
+
'sp-news-and-widget' => array(
|
156 |
+
'class' => 'espbw-recommended espbw-post espbw-showcase',
|
157 |
+
'tags' => 'wordpress news plugin, news website, news page scrolling , wordpress vertical news plugin widget, wordpress horizontal news plugin widget, scrolling news wordpress plugin, scrolling news widget wordpress plugin, WordPress set post or page as news, WordPress dynamic news, news, latest news, custom post type, cpt, widget, vertical news scrolling widget, news widget',
|
158 |
+
),
|
159 |
+
'wp-testimonial-with-widget' => array(
|
160 |
+
'class' => 'espbw-recommended espbw-showcase',
|
161 |
+
'tags' => 'testimonial, Testimonial, testimonials, Testimonials, widget, Best testimonial slider, Responsive testimonial slider, client testimonial slider, easy testimonial slider, testimonials with widget, wordpress testimonial with widget, testimonial rotator, testimonial slider, Testimonial slider, testimonial with shortcode, client testimonial, client quote',
|
162 |
+
),
|
163 |
+
'timeline-and-history-slider' => array(
|
164 |
+
'class' => 'espbw-recommended espbw-post espbw-showcase',
|
165 |
+
'tags' => 'timeline slider, life history, history slider, company story timeline, process slider, process, responsive timeline, about us, achievements, Activity Log, awesome company timeline, biography, events timeline, history, history timeline, life achievements, lifestream, story, personal timeline',
|
166 |
+
),
|
167 |
+
'wp-team-showcase-and-slider' => array(
|
168 |
+
'class' => 'espbw-recommended espbw-showcase',
|
169 |
+
'tags' => 'team, teamshowcase, team slider, responsive teamshowcase, teamshowcase rotator, employees, meet team, members, skills, staff, team, v-card, members profile, my team, our team, responsive team display, responsive team, team members, team members profile, team profile, team showcase, tlp team, WordPress Team Member',
|
170 |
+
),
|
171 |
+
'recent-posts-widget-designer' => array(
|
172 |
+
'class' => '',
|
173 |
+
'tags' => 'post widget, post widget with thumbnail, post widget designer, post widget designs, recent post widget with thumbnail, recent post widget designer, recent post widget designs',
|
174 |
+
),
|
175 |
+
'styles-for-wp-pagenavi-addon' => array(
|
176 |
+
'class' => '',
|
177 |
+
'tags' => 'navigation, pagination, paging, pages, navigation, pagenavi style, wp pagenavi styling, pagenavi styling, pagenavi css',
|
178 |
+
),
|
179 |
+
'post-grid-and-filter-ultimate' => array(
|
180 |
+
'class' => 'espbw-post espbw-showcase',
|
181 |
+
'tags' => 'post grid, post, post filter, post category filter, custom post grid, grid display, grid, content grid, filter, post designs, grid designs',
|
182 |
+
),
|
183 |
+
'accordion-and-accordion-slider' => array(
|
184 |
+
'class' => 'espbw-showcase',
|
185 |
+
'tags' => 'accordion, accordion image slider, accordion, horizontal accordion, vertical accordion, responsive accordion, accordion carousel,',
|
186 |
+
),
|
187 |
+
'html5-videogallery-plus-player' => array(
|
188 |
+
'class' => 'espbw-recommended espbw-showcase',
|
189 |
+
'tags' => 'video, youtube video gallery, vimeo video gallery, youtube video gallery with popup, Youtube-video, youtube embed, youtube gallery, youtube player, magnific Popup, vimeo video gallery gallery, HTML5 video player, HTML5 video gallery, wordpress HTML5 video, wordpress HTML5 video player, wordpress HTML5 video gallery, responsive, wordpress responsive video gallery',
|
190 |
+
),
|
191 |
+
'wp-featured-content-and-slider' => array(
|
192 |
+
'class' => 'espbw-recommended espbw-showcase',
|
193 |
+
'tags' => 'content slider, slider, features, services, featured content, featured services, featured content rotator, featured content slider, featured content slideshow, featured posts, featured content slider',
|
194 |
+
),
|
195 |
+
'wp-responsive-recent-post-slider' => array(
|
196 |
+
'class' => 'espbw-recommended espbw-post espbw-showcase',
|
197 |
+
'tags' => 'post slider, posts slider, recent post slider, recent posts slider, slider, responsive post slider, responsive posts slider, responsive recent post slider, responsive recent posts slider, wordpress posts slider, post slideshow, posts slideshow, recent posts slideshow',
|
198 |
+
),
|
199 |
+
'blog-designer-for-post-and-widget' => array(
|
200 |
+
'class' => 'espbw-recommended espbw-post espbw-showcase',
|
201 |
+
'tags' => 'post, post design, post designer, post designs, post layout, post layout design, post widget, blog, blog designs, blog design, stylist post, post slider, post grid, recent post, recent post slider, recent post designs, posts in page, post carousel slider',
|
202 |
+
),
|
203 |
+
'wp-slick-slider-and-image-carousel' => array(
|
204 |
+
'class' => 'espbw-recommended espbw-sliders espbw-showcase',
|
205 |
+
'tags' => 'slick, image slider, slick slider, slick image slider, slider, image slider, header image slider, responsive image slider, responsive content slider, carousel, image carousel, carousel slider, content slider, coin slider, touch slider, text slider, responsive slider, responsive slideshow, Responsive Touch Slider, wp slider, wp image slider, wp header image slider, photo slider, responsive photo slider',
|
206 |
+
),
|
207 |
+
'wp-trending-post-slider-and-widget' => array(
|
208 |
+
'class' => 'espbw-post espbw-showcase',
|
209 |
+
'tags' => 'popular post, popular posts, trending, trending posts carousel trending post, trending posts, trending posts carousel, popular posts slider, trending posts slider, widget, shortcodes, slider, post slick slider, trending posts widget, popular posts widget, daily popular, page views, popular posts, top posts',
|
210 |
+
),
|
211 |
+
'audio-player-with-playlist-ultimate' => array(
|
212 |
+
'class' => 'espbw-showcase',
|
213 |
+
'tags' => 'audio player with playlist, album art, artist, audio player, audio player with playlist, multiple player, music player, repeat, shuffle, single player, song title',
|
214 |
+
),
|
215 |
+
'sliderspack-all-in-one-image-sliders' => array(
|
216 |
+
'class' => 'espbw-recommended espbw-sliders espbw-showcase',
|
217 |
+
'tags' => 'logo ticker, bxslider, meta slider, flexslider, fancybox, nivo slider, owl slider, unslider , wallop slider , bx slider, flex slider, rolling slider, image slider, slider, 3d slider, 3d image slider, 3d image carousel, image carousel, carousel, swiper, swiper carousel, Cascade Slider',
|
218 |
+
),
|
219 |
+
'album-and-image-gallery-plus-lightbox' => array(
|
220 |
+
'class' => 'espbw-recommended espbw-showcase',
|
221 |
+
'tags' => 'album, image album, gallery, magnific image slider, image gallery, responsive image gallery, image slider, image gallery slider, gallery slider, album slider, lightbox, albums, best gallery plugin, photo gallery, galleries, gallery, image captions, media gallery, photo albums, photo gallery, photography, Picture Gallery, pictures, responsive galleries, responsive gallery, slideshow galleries, slideshow gallery, thumbnail galleries, thumbnail gallery, wordpress gallery plugin, wordpress photo gallery plugin, wordpress responsive gallery, wp gallery, wp gallery plugins',
|
222 |
+
),
|
223 |
+
'wp-modal-popup-with-cookie-integration' => array(
|
224 |
+
'class' => '',
|
225 |
+
'tags' => 'popup',
|
226 |
+
),
|
227 |
+
'meta-slider-and-carousel-with-lightbox' => array(
|
228 |
+
'class' => 'espbw-recommended espbw-sliders',
|
229 |
+
'tags' => 'frontend gallery slider, frontend gallery Carousel, image slider, image carousel, meta gallery slider, meta gallery carousel, gallery slider, gallery',
|
230 |
+
),
|
231 |
+
'post-category-image-with-grid-and-slider' => array(
|
232 |
+
'class' => 'espbw-sliders espbw-showcase',
|
233 |
+
'tags' => 'category, category image, post category image, post category image grid, post category image slider, customization, custom category image, category featured image, category grid, category slider',
|
234 |
+
),
|
235 |
+
'wp-logo-showcase-responsive-slider-slider' => array(
|
236 |
+
'class' => 'espbw-recommended espbw-showcase',
|
237 |
+
'tags' => 'logo slider, logo slider, widget, client logo carousel, client logo slider, client, customer, image carousel, carousel, logo showcase, Responsive logo slider, Responsive logo carousel, WordPress logo slider, WordPress logo carousel, slick carousel, Best logo showcase, easy logo slider, logo carousel wordpress, logo slider wordpress, sponsors, sponsors slider, sponsors carousel',
|
238 |
+
),
|
239 |
+
'product-categories-designs-for-woocommerce' => array(
|
240 |
+
'class' => 'espbw-woocommerce espbw-showcase',
|
241 |
+
'tags' => 'woocommerce, categories designs, categories slider, categories grid, WooCommerce categories designs, WooCommerce categories slider, WooCommerce categories grid',
|
242 |
+
),
|
243 |
+
'woo-product-slider-and-carousel-with-category' => array(
|
244 |
+
'class' => 'espbw-woocommerce',
|
245 |
+
'tags' => 'woocommerce, best selling products, best selling products slider, slick slider, best selling products by category, shortcode, template code, featured product, featured product slider, Featured product by category, autoplay slider, best product slider, best product slider for woo shop, carousel, clean woo product slider, multiple product slider, product carousel, product content slider, product contents carousel, product slider, product slider carousel for woo, products slider, responsive product slider, responsive product carousel, slider, smooth product slider woo product slider, advance slider, woo best selling products, woo category slider, latest products, most selling products, product carousel slider, recent product carousel, recent product slider',
|
246 |
+
),
|
247 |
+
'slider-and-carousel-plus-widget-for-instagram' => array(
|
248 |
+
'class' => 'espbw-recommended espbw-sliders espbw-showcase',
|
249 |
+
'tags' => 'Custom Instagram Feed, feed, hashtag, instagram, Instagram feed, instagram gallery, Instagram images, Instagram photos, Instagram posts, Instagram wall, lightbox, photos, instagram social feed, show instagram post, responsive instgram, beautiful instagram, instagram widget, instgram plugin, artistic instagram, instagram wordpress, smashing instgram',
|
250 |
+
),
|
251 |
+
'frontend-gallery-slider-for-advanced-custom-field' => array(
|
252 |
+
'class' => 'espbw-recommended espbw-sliders espbw-showcase',
|
253 |
+
'tags' => 'frontend gallery slider, frontend gallery Carousel, slider, acf frontend gallery slider, acf frontend gallery Carousel, acf gallery, acf',
|
254 |
+
),
|
255 |
+
);
|
256 |
+
|
257 |
+
return $plugin_filters;
|
258 |
+
}
|
wpos-plugins/plugins-data.json
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
{"info":{"page":1,"pages":1,"results":39},"plugins":[{"name":"Accordion and Accordion Slider","slug":"accordion-and-accordion-slider","version":"1.0.5","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":100,"ratings":{"5":10,"4":0,"3":0,"2":0,"1":0},"num_ratings":10,"support_threads":1,"support_threads_resolved":1,"active_installs":2000,"downloaded":15979,"last_updated":"2020-08-10 9:12am GMT","added":"2017-10-12","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Accordion and Accordion Slider (Horizontal and Vertical) - Responsive and Touch enabled accordion for WordPress…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/accordion-and-accordion-slider.zip","tags":{"accordion":"Accordion","accordion-image-slider":"accordion image slider","horizontal-accordion":"horizontal accordion","vertical-accordion":"vertical accordion"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/accordion-and-accordion-slider\/assets\/icon-128x128.png?rev=1745171"}},{"name":"Album and Image Gallery plus Lightbox","slug":"album-and-image-gallery-plus-lightbox","version":"1.3.2","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":98,"ratings":{"5":18,"4":2,"3":0,"2":0,"1":0},"num_ratings":20,"support_threads":1,"support_threads_resolved":1,"active_installs":10000,"downloaded":82102,"last_updated":"2020-09-09 11:53am GMT","added":"2016-08-20","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to add and display responsive image gallery and image album in…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/album-and-image-gallery-plus-lightbox.zip","tags":{"album":"album","gallery":"gallery","image-album":"image album","magnific-image-slider":"magnific image slider","magnific-popup":"Magnific Popup"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/album-and-image-gallery-plus-lightbox\/assets\/icon-128x128.png?rev=1479228"}},{"name":"App Mockups Carousel","slug":"app-mockups-carousel","version":"1.1.1","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":100,"ratings":{"5":2,"4":0,"3":0,"2":0,"1":0},"num_ratings":2,"support_threads":1,"support_threads_resolved":0,"active_installs":300,"downloaded":2501,"last_updated":"2020-08-13 9:53am GMT","added":"2017-09-15","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"Plugin create custom post type \u2013 App Mock-ups Carousel, add multiple images and settings. Show…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/app-mockups-carousel.zip","tags":{"app-gallery-carousel":"app gallery Carousel","app-gallery-slider":"app gallery slider","app-mockups-carousel":"app mockups carousel","device-gallery-carousel":"device gallery Carousel","swiper":"swiper"},"donate_link":"http:\/\/idangero.us\/donate\/?for=Swiper%20Donation","icons":{"1x":"https:\/\/ps.w.org\/app-mockups-carousel\/assets\/icon-128x128.png?rev=1730298"}},{"name":"Audio Player with Playlist Ultimate","slug":"audio-player-with-playlist-ultimate","version":"1.1.6","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":72,"ratings":{"5":6,"4":0,"3":0,"2":2,"1":2},"num_ratings":10,"support_threads":3,"support_threads_resolved":1,"active_installs":1000,"downloaded":16729,"last_updated":"2020-08-13 9:54am GMT","added":"2017-09-13","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"Audio Player with Playlist Ultimate plugin is a jQuery HTML5 Music\/Audio Player with Playlist comes with huge possibilities and options.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/audio-player-with-playlist-ultimate.zip","tags":{"album-art":"album art","artist":"artist","audio-player":"audio player","audio-player-with-playlist":"audio player with playlist","multiple-player":"multiple player"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/audio-player-with-playlist-ultimate\/assets\/icon-128x128.png?rev=1729068"}},{"name":"Blog Designer – Post and Widget","slug":"blog-designer-for-post-and-widget","version":"2.0","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":94,"ratings":{"5":20,"4":0,"3":1,"2":0,"1":1},"num_ratings":22,"support_threads":2,"support_threads_resolved":1,"active_installs":10000,"downloaded":113595,"last_updated":"2020-08-13 5:13am GMT","added":"2016-10-22","homepage":"","short_description":"Display Post on your website with 2 designs(Grid and Slider) with 1 widget. Also work…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/blog-designer-for-post-and-widget.zip","tags":{"post":"post","post-design":"post design","post-designer":"post designer","post-designs":"post designs","post-layout":"post layout"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/blog-designer-for-post-and-widget\/assets\/icon-128x128.png?rev=1519671"}},{"name":"Countdown Timer Ultimate","slug":"countdown-timer-ultimate","version":"1.2.5","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":86,"ratings":{"5":18,"4":0,"3":2,"2":1,"1":2},"num_ratings":23,"support_threads":7,"support_threads_resolved":3,"active_installs":20000,"downloaded":169243,"last_updated":"2020-08-13 5:15am GMT","added":"2016-10-01","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to add and display responsive Countdown timer on your website. Also…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/countdown-timer-ultimate.zip","tags":{"countdown":"countdown","countdown-timer":"countdown timer","event-countdown-timer":"event countdown timer","timer":"timer","timer-countdown":"timer countdown"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/countdown-timer-ultimate\/assets\/icon-128x128.png?rev=1920759"}},{"name":"Featured Post Creative","slug":"featured-post-creative","version":"1.1.5","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":84,"ratings":{"5":3,"4":0,"3":2,"2":0,"1":0},"num_ratings":5,"support_threads":1,"support_threads_resolved":0,"active_installs":2000,"downloaded":23750,"last_updated":"2020-08-13 5:33am GMT","added":"2016-10-23","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Display Featured post on your website with 2 shortcode and 1 widget. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/featured-post-creative.zip","tags":{"featured-post":"featured post","featured-post-grid":"featured post grid","featured-post-widget":"featured post widget","responsive-featured-post":"responsive featured post","responsive-featured-post-grid":"responsive featured post grid"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/featured-post-creative\/assets\/icon-128x128.png?rev=1520278"}},{"name":"Footer Mega Grid Columns","slug":"footer-mega-grid-columns","version":"1.1.2","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":92,"ratings":{"5":9,"4":0,"3":0,"2":0,"1":1},"num_ratings":10,"support_threads":1,"support_threads_resolved":1,"active_installs":6000,"downloaded":39089,"last_updated":"2020-08-10 9:07am GMT","added":"2016-12-29","homepage":"","short_description":"Footer Mega Grid Columns - Register a footer widget area for your theme and allow you to add and display footer widgets in grid view with multiple col …","download_link":"https:\/\/downloads.wordpress.org\/plugin\/footer-mega-grid-columns.zip","tags":{"footer":"footer","footer-widgets":"footer widgets","footer-widgets-in-grid":"footer widgets in grid","simple-footer-editor":"simple footer editor","website-footer":"website footer"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/footer-mega-grid-columns\/assets\/icon-128x128.png?rev=1566023"}},{"name":"Frontend Gallery Slider For ACF","slug":"frontend-gallery-slider-for-advanced-custom-field","version":"1.4","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"3.5","tested":"5.5.1","requires_php":false,"rating":96,"ratings":{"5":3,"4":1,"3":0,"2":0,"1":0},"num_ratings":4,"support_threads":2,"support_threads_resolved":1,"active_installs":2000,"downloaded":16797,"last_updated":"2020-08-13 5:40am GMT","added":"2016-06-29","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Display Advanced Custom Field Gallery on frontend of your website with shorcode. Also work with…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/frontend-gallery-slider-for-advanced-custom-field.zip","tags":{"acf-frontend-gallery-slider":"acf frontend gallery slider","frontend-gallery-carousel":"frontend gallery Carousel","frontend-gallery-slider":"frontend gallery slider","slider":"slider","wponlinesupport":"wponlinesupport"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/frontend-gallery-slider-for-advanced-custom-field\/assets\/icon-128x128.png?rev=1445427"}},{"name":"Hero Banner Ultimate","slug":"hero-banner-ultimate","version":"1.2","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":100,"ratings":{"5":1,"4":0,"3":0,"2":0,"1":0},"num_ratings":1,"support_threads":2,"support_threads_resolved":0,"active_installs":1000,"downloaded":11500,"last_updated":"2020-08-13 5:34am GMT","added":"2017-08-09","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"Add hero banner with the help of background image OR background color OR background video.…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/hero-banner-ultimate.zip","tags":{"hero-banner":"hero banner","hero-header":"hero header","hero-image":"hero image","hero-video":"hero video","video-background":"video background"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/hero-banner-ultimate\/assets\/icon-128x128.png?rev=1710715"}},{"name":"InboundWP – A Complete Inbound Marketing Pack","slug":"inboundwp-lite","version":"1.1","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":"5.4","rating":100,"ratings":{"5":5,"4":0,"3":0,"2":0,"1":0},"num_ratings":5,"support_threads":2,"support_threads_resolved":2,"active_installs":300,"downloaded":3590,"last_updated":"2020-08-13 5:41am GMT","added":"2019-04-11","homepage":"https:\/\/www.wponlinesupport.com\/wp-plugin\/inboundwp-marketing-plugin\/","short_description":"InboundWP Marketing - Spin Wheel, Deal Countdown Timer, Social Proof, Marketing PopUp, WhatsApp Chat Support,…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/inboundwp-lite.zip","tags":{"better-heading":"Better Heading","inbound":"Inbound","inbound-marketing":"inbound marketing","social-proof":"social proof","spin-wheel":"Spin Wheel"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/inboundwp-lite\/assets\/icon-128x128.png?rev=2066897"}},{"name":"Maintenance Mode with Timer","slug":"maintenance-mode-with-timer","version":"1.0","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"3.5","tested":"5.5.1","requires_php":false,"rating":0,"ratings":{"5":0,"4":0,"3":0,"2":0,"1":0},"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"active_installs":100,"downloaded":3480,"last_updated":"2020-08-20 6:56am GMT","added":"2017-01-10","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to add and display maintenance mode with countdown timer on your…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/maintenance-mode-with-timer.zip","tags":{"coming-soon":"coming soon","countdown-timer":"countdown timer","maintenance-mode":"maintenance mode","maintenance-mode-with-countdown-timer":"maintenance mode with countdown timer","maintenance-mode-with-timer":"maintenance mode with timer"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/maintenance-mode-with-timer\/assets\/icon-128x128.png?rev=1575367"}},{"name":"Meta slider and carousel with lightbox","slug":"meta-slider-and-carousel-with-lightbox","version":"1.3","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":94,"ratings":{"5":13,"4":0,"3":0,"2":0,"1":1},"num_ratings":14,"support_threads":2,"support_threads_resolved":0,"active_installs":7000,"downloaded":87067,"last_updated":"2020-09-01 9:09am GMT","added":"2016-07-22","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Plugin add a gallery meta box in your post, page and create a Image gallery menu tab. Display with a lightbox. Also work with Gutenberg shortcode bloc …","download_link":"https:\/\/downloads.wordpress.org\/plugin\/meta-slider-and-carousel-with-lightbox.zip","tags":{"frontend-gallery-carousel":"frontend gallery Carousel","frontend-gallery-slider":"frontend gallery slider","image-carousel":"Image carousel","image-slider":"image slider","meta-gallery-slider":"meta gallery slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/meta-slider-and-carousel-with-lightbox\/assets\/icon-128x128.jpg?rev=1458860"}},{"name":"Popup anything on click","slug":"popup-anything-on-click","version":"1.7.7","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":90,"ratings":{"5":40,"4":1,"3":1,"2":1,"1":5},"num_ratings":48,"support_threads":12,"support_threads_resolved":5,"active_installs":40000,"downloaded":251622,"last_updated":"2020-08-13 4:52am GMT","added":"2017-07-06","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"Display a modal popup by clicking on a link, image or button. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/popup-anything-on-click.zip","tags":{"full-screen-popup":"full screen popup","html-popup":"html popup","modal":"modal","modal-popup":"modal popup","popup":"popup"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/popup-anything-on-click\/assets\/icon-128x128.png?rev=1920767"}},{"name":"Portfolio and Projects","slug":"portfolio-and-projects","version":"1.0.7","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":96,"ratings":{"5":8,"4":0,"3":1,"2":0,"1":0},"num_ratings":9,"support_threads":1,"support_threads_resolved":1,"active_installs":3000,"downloaded":30760,"last_updated":"2020-08-13 9:56am GMT","added":"2017-01-02","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Display Portfolio OR Projects in a grid view. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/portfolio-and-projects.zip","tags":{"portfolio":"portfolio","portfolio-listing":"portfolio listing","project-grid":"project grid","project-portfolio":"project portfolio","projects":"projects"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/portfolio-and-projects\/assets\/icon-128x128.png?rev=1566838"}},{"name":"Post Category Image With Grid and Slider","slug":"post-category-image-with-grid-and-slider","version":"1.3.2","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"3.5","tested":"5.5.1","requires_php":false,"rating":100,"ratings":{"5":4,"4":0,"3":0,"2":0,"1":0},"num_ratings":4,"support_threads":2,"support_threads_resolved":1,"active_installs":2000,"downloaded":16500,"last_updated":"2020-08-13 5:44am GMT","added":"2017-08-25","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"Post Category Image With Grid and Slider plugin allow users to upload category image and…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/post-category-image-with-grid-and-slider.zip","tags":{"category":"category","category-image":"category image","post-category-image":"post category image","post-category-image-grid":"post category image grid","post-category-image-slider":"post category image slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/post-category-image-with-grid-and-slider\/assets\/icon-128x128.png?rev=1719140"}},{"name":"Post grid and filter ultimate","slug":"post-grid-and-filter-ultimate","version":"1.2","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":100,"ratings":{"5":23,"4":0,"3":0,"2":0,"1":0},"num_ratings":23,"support_threads":5,"support_threads_resolved":1,"active_installs":5000,"downloaded":34580,"last_updated":"2020-08-27 10:44am GMT","added":"2017-07-01","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to display WordPress post in grid view and post grid with filter. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/post-grid-and-filter-ultimate.zip","tags":{"custom-post-grid":"custom post grid","post":"post","post-category-filter":"post category filter","post-filter":"post filter","post-grid":"post grid"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/post-grid-and-filter-ultimate\/assets\/icon-128x128.png?rev=1688607"}},{"name":"Post Ticker Ultimate","slug":"ticker-ultimate","version":"1.2.6","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":92,"ratings":{"5":3,"4":2,"3":0,"2":0,"1":0},"num_ratings":5,"support_threads":1,"support_threads_resolved":1,"active_installs":2000,"downloaded":25342,"last_updated":"2020-08-13 9:58am GMT","added":"2016-10-10","homepage":"","short_description":"Add and display horizontal or vertical post ticker on your website that work with WordPress posts and Custom Post Type with the help of shortcode.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/ticker-ultimate.zip","tags":{"blog-ticker":"blog ticker","news-ticker":"news ticker","post-ticker":"Post ticker","ticker":"ticker","ticker-slider":"ticker slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/ticker-ultimate\/assets\/icon-128x128.png?rev=1511431"}},{"name":"Preloader for Website","slug":"preloader-for-website","version":"1.0.1","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"3.5","tested":"5.5.1","requires_php":false,"rating":100,"ratings":{"5":1,"4":0,"3":0,"2":0,"1":0},"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"active_installs":400,"downloaded":7953,"last_updated":"2020-08-13 10:14am GMT","added":"2017-01-18","homepage":"","short_description":"Preloader for Website : A loading screen add-on for your WordPress website.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/preloader-for-website.zip","tags":{"animated-pre-loader":"animated pre-loader","animated-preloader":"animated preloader.","loader":"loader","page-load-animations":"page load animations","page-loader":"page loader"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/preloader-for-website\/assets\/icon-128x128.png?rev=1578463"}},{"name":"Product Categories Designs for WooCommerce","slug":"product-categories-designs-for-woocommerce","version":"1.2.2","author":"<a href=\"http:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":80,"ratings":{"5":6,"4":0,"3":0,"2":0,"1":2},"num_ratings":8,"support_threads":1,"support_threads_resolved":1,"active_installs":2000,"downloaded":19735,"last_updated":"2020-08-13 5:47am GMT","added":"2016-09-27","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Display WooCommerce product categories with good designs and grid and silder view. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/product-categories-designs-for-woocommerce.zip","tags":{"categories-designs":"categories Designs","categories-grid":"categories grid","categories-slider":"categories slider","woocommerce-categories-designs":"WooCommerce categories designs","woocommerce-categories-slider":"WooCommerce categories slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/product-categories-designs-for-woocommerce\/assets\/icon-128x128.png?rev=1503311"}},{"name":"Product Slider and Carousel with Category for WooCommerce","slug":"woo-product-slider-and-carousel-with-category","version":"2.3","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"3.1","tested":"5.5.1","requires_php":false,"rating":88,"ratings":{"5":38,"4":1,"3":1,"2":3,"1":4},"num_ratings":47,"support_threads":6,"support_threads_resolved":3,"active_installs":10000,"downloaded":149596,"last_updated":"2020-08-14 8:03am GMT","added":"2016-06-27","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Woocommerce Product, Best Selling Product, Featured Product Slider\/Carousel with category. Also work with Gutenberg shortcode…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/woo-product-slider-and-carousel-with-category.zip","tags":{"best-selling-products":"best selling products","best-selling-products-by-category":"best selling products by category","best-selling-products-slider":"best selling products slider","shortcode":"shortcode","slick-slider":"slick slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/woo-product-slider-and-carousel-with-category\/assets\/icon-128x128.png?rev=2136764"}},{"name":"Search and Navigation Popup","slug":"search-and-navigation-popup","version":"1.1","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.3.4","requires_php":false,"rating":100,"ratings":{"5":2,"4":0,"3":0,"2":0,"1":0},"num_ratings":2,"support_threads":1,"support_threads_resolved":1,"active_installs":1000,"downloaded":5103,"last_updated":"2020-01-06 2:45pm GMT","added":"2017-09-20","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"Display a search box OR navigation popup by clicking on a button.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/search-and-navigation-popup.zip","tags":{"full-screen-popup":"full screen popup","menubar-popup":"menubar popup","navigation-popup":"navigation popup","serchbox-popup":"serchbox popup"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/search-and-navigation-popup\/assets\/icon-128x128.png?rev=1732636"}},{"name":"Slider and Carousel Plus Widget for Social Media","slug":"slider-and-carousel-plus-widget-for-instagram","version":"1.9.3","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":86,"ratings":{"5":10,"4":3,"3":0,"2":0,"1":2},"num_ratings":15,"support_threads":6,"support_threads_resolved":2,"active_installs":10000,"downloaded":85603,"last_updated":"2020-08-13 5:32am GMT","added":"2017-03-20","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A very simple plugin to display your social media pictures in","download_link":"https:\/\/downloads.wordpress.org\/plugin\/slider-and-carousel-plus-widget-for-instagram.zip","tags":{"custom-instagram-feed":"custom instagram feed","feed":"feed","hashtag":"hashtag","instagram":"Instagram","instagram-feed":"instagram feed"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/slider-and-carousel-plus-widget-for-instagram\/assets\/icon-128x128.png?rev=2107209"}},{"name":"SlidersPack – All In One Image\/Post Slider","slug":"sliderspack-all-in-one-image-sliders","version":"1.21","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":96,"ratings":{"5":15,"4":0,"3":0,"2":0,"1":1},"num_ratings":16,"support_threads":4,"support_threads_resolved":3,"active_installs":3000,"downloaded":26107,"last_updated":"2020-09-21 6:22am GMT","added":"2017-10-24","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"SlidersPack - All In One Image Slider plus FancyBox for WordPress. Also work with WordPress…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/sliderspack-all-in-one-image-sliders.zip","tags":{"bxslider":"bxslider","fancybox":"fancybox","flexslider":"flexslider","logo-ticker":"logo ticker","meta-slider":"Meta slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/sliderspack-all-in-one-image-sliders\/assets\/icon-128x128.png?rev=1751649"}},{"name":"Smooth Scroll by WPOS","slug":"smooth-scroll-by-wpos","version":"1.0","author":"<a href=\"http:\/\/sptechnolab.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"3.5","tested":"5.5.1","requires_php":false,"rating":84,"ratings":{"5":4,"4":0,"3":0,"2":0,"1":1},"num_ratings":5,"support_threads":1,"support_threads_resolved":0,"active_installs":600,"downloaded":5714,"last_updated":"2020-08-13 5:30am GMT","added":"2017-05-05","homepage":"","short_description":"A simple plugin contains Smooth Scrolling To Element, Go To Top and MouseWheel Smooth Scroll. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/smooth-scroll-by-wpos.zip","tags":{"go-to-top":"go-to-top","mousewheel-scroll":"mousewheel scroll","scroll":"scroll","scrolling":"scrolling","smooth-scroll":"smooth scroll"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/smooth-scroll-by-wpos\/assets\/icon-128x128.png?rev=1651456"}},{"name":"Styles For WP Pagenavi Addon","slug":"styles-for-wp-pagenavi-addon","version":"1.0.3","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"3.1","tested":"5.4.2","requires_php":false,"rating":100,"ratings":{"5":1,"4":0,"3":0,"2":0,"1":0},"num_ratings":1,"support_threads":1,"support_threads_resolved":0,"active_installs":1000,"downloaded":11679,"last_updated":"2020-07-14 10:29am GMT","added":"2017-10-02","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"Adds a more styling options to Wp-PageNavi WordPress plugin OR the_posts_pagination() WordPress navigation function.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/styles-for-wp-pagenavi-addon.zip","tags":{"navigation":"navigation","pages":"pages","pagination":"pagination","paging":"paging"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/styles-for-wp-pagenavi-addon\/assets\/icon-128x128.png?rev=1739334"}},{"name":"Timeline and History slider","slug":"timeline-and-history-slider","version":"1.3.6","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":86,"ratings":{"5":21,"4":2,"3":0,"2":1,"1":4},"num_ratings":28,"support_threads":6,"support_threads_resolved":5,"active_installs":6000,"downloaded":45355,"last_updated":"2020-08-13 5:23am GMT","added":"2016-07-22","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Timeline Plugin for WordPress. Easy to add and display history OR timeline for your WordPress website. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/timeline-and-history-slider.zip","tags":{"biography":"biography","company-timeline":"company timeline","history-slider":"history slider","responsive-timeline":"Responsive Timeline","timeline-slider":"timeline slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/timeline-and-history-slider\/assets\/icon-128x128.jpg?rev=1458943"}},{"name":"Trending\/Popular Post Slider and Widget","slug":"wp-trending-post-slider-and-widget","version":"1.3.5","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":96,"ratings":{"5":15,"4":0,"3":0,"2":1,"1":0},"num_ratings":16,"support_threads":4,"support_threads_resolved":1,"active_installs":6000,"downloaded":66991,"last_updated":"2020-08-13 5:28am GMT","added":"2016-02-26","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to add Popular\/Trending posts slider, grid block and widget. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-trending-post-slider-and-widget.zip","tags":{"popular-post":"Popular post","popular-posts":"popular posts","trending-post":"trending post","trending-posts":"trending posts","trending-posts-carousel":"trending posts carousel"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-trending-post-slider-and-widget\/assets\/icon-128x128.png?rev=1358591"}},{"name":"Video gallery and Player","slug":"html5-videogallery-plus-player","version":"2.3.5","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":88,"ratings":{"5":11,"4":1,"3":0,"2":0,"1":2},"num_ratings":14,"support_threads":1,"support_threads_resolved":1,"active_installs":3000,"downloaded":71909,"last_updated":"2020-08-13 5:11am GMT","added":"2013-10-26","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Easy to add and display your HTML5, YouTube, Vimeo vedio gallery with Magnific Popup to…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/html5-videogallery-plus-player.zip","tags":{"html5-video":"HTML5 video","video":"video","video-gallery":"video gallery","video-js":"video js","youtube-video-gallery":"Youtube video gallery"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/html5-videogallery-plus-player\/assets\/icon-128x128.png?rev=1450994"}},{"name":"WP Blog and Widget","slug":"wp-blog-and-widgets","version":"1.9","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":90,"ratings":{"5":19,"4":2,"3":1,"2":0,"1":2},"num_ratings":24,"support_threads":3,"support_threads_resolved":1,"active_installs":10000,"downloaded":231793,"last_updated":"2020-08-28 6:25am GMT","added":"2015-09-22","homepage":"","short_description":"A quick, easy way to add a Blog custom post type, Blog widget to WordPress. Also, work with the Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-blog-and-widgets.zip","tags":{"blog-design":"blog design","blog-layout":"blog layout","custom-blog-template":"custom blog template","wordpress-blog":"wordpress blog","wordpress-blog-widget":"wordpress blog widget"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-blog-and-widgets\/assets\/icon-128x128.png?rev=1402789"}},{"name":"WP Featured Content and Slider","slug":"wp-featured-content-and-slider","version":"1.3.5","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":100,"ratings":{"5":8,"4":0,"3":0,"2":0,"1":0},"num_ratings":8,"support_threads":1,"support_threads_resolved":0,"active_installs":4000,"downloaded":58126,"last_updated":"2020-08-13 5:22am GMT","added":"2015-11-20","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to add and display what features your company, product or service offers, using our shortcode OR template code.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-featured-content-and-slider.zip","tags":{"content-slider":"content slider","featured":"featured","features":"features","services":"services","slider":"slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-featured-content-and-slider\/assets\/icon-128x128.png?rev=1402791"}},{"name":"WP Logo Showcase Responsive Slider","slug":"wp-logo-showcase-responsive-slider-slider","version":"2.6","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":98,"ratings":{"5":80,"4":0,"3":0,"2":0,"1":3},"num_ratings":83,"support_threads":6,"support_threads_resolved":6,"active_installs":60000,"downloaded":518146,"last_updated":"2020-08-14 7:19am GMT","added":"2015-11-04","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to add and display Multiple reponsive logo slideshow carousel to your site quickly and easily. Also added Gutenberg block support.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-logo-showcase-responsive-slider-slider.zip","tags":{"client":"Client","client-logo-carousel":"client logo carousel","client-logo-slider":"client logo slider","logo-slider":"logo slider","widget":"widget"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-logo-showcase-responsive-slider-slider\/assets\/icon-128x128.png?rev=1279325"}},{"name":"WP Modal Popup with Cookie Integration","slug":"wp-modal-popup-with-cookie-integration","version":"2.0","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":90,"ratings":{"5":6,"4":1,"3":0,"2":1,"1":0},"num_ratings":8,"support_threads":1,"support_threads_resolved":1,"active_installs":4000,"downloaded":44701,"last_updated":"2020-08-13 10:11am GMT","added":"2016-02-27","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"WP Modal Popup with Cookie Integration is the smart, responsive, customizable and beautifully coded popup for visitors with cookie integration.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-modal-popup-with-cookie-integration.zip","tags":{"advertise":"advertise","lightbox":"lightbox","marketing":"marketing","pop-over":"pop over","pop-up":"pop up"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-modal-popup-with-cookie-integration\/assets\/icon-128x128.png?rev=1359371"}},{"name":"WP News and Scrolling Widgets","slug":"sp-news-and-widget","version":"4.3","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":88,"ratings":{"5":57,"4":1,"3":1,"2":0,"1":10},"num_ratings":69,"support_threads":4,"support_threads_resolved":2,"active_installs":20000,"downloaded":344675,"last_updated":"2020-09-09 11:51am GMT","added":"2013-10-16","homepage":"","short_description":"A quick, easy way to add a News custom post type, News widget, vertical scrolling…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/sp-news-and-widget.zip","tags":{"main-news-page-scrolling":"main news page scrolling","news-website":"news website","wordpress-horizontal-news-plugin-widget":"wordpress horizontal news plugin widget","wordpress-news-plugin":"wordpress news plugin","wordpress-vertical-news-plugin-widget":"wordpress vertical news plugin widget"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/sp-news-and-widget\/assets\/icon-128x128.png?rev=1402776"}},{"name":"WP responsive FAQ with category plugin","slug":"sp-faq","version":"3.3.4","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":86,"ratings":{"5":12,"4":0,"3":1,"2":0,"1":2},"num_ratings":15,"support_threads":1,"support_threads_resolved":0,"active_installs":7000,"downloaded":80089,"last_updated":"2020-08-13 5:19am GMT","added":"2013-10-15","homepage":"","short_description":"A quick, easy way to add an responsive FAQs page. You can use this plugin as a jquery ui accordion. Also work with Gutenberg shortcode block.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/sp-faq.zip","tags":{"faq":"faq","faq-list":"faq list","faq-plugin":"faq plugin","faqs":"faqs","jquery-ui":"jquery ui"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/sp-faq\/assets\/icon-128x128.png?rev=1402779"}},{"name":"WP Responsive Recent Post Slider\/Carousel","slug":"wp-responsive-recent-post-slider","version":"2.4","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":94,"ratings":{"5":76,"4":0,"3":4,"2":3,"1":3},"num_ratings":86,"support_threads":9,"support_threads_resolved":8,"active_installs":30000,"downloaded":400542,"last_updated":"2020-09-22 7:22am GMT","added":"2015-11-12","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Add and display Responsive WordPresss Recent Post Slider and Carousel on your website with 4…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-responsive-recent-post-slider.zip","tags":{"post-slider":"post slider","posts-slider":"posts slider","recent-post-slider":"recent post slider","recent-posts-slider":"recent posts slider","slider":"slider"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-responsive-recent-post-slider\/assets\/icon-128x128.png?rev=1402785"}},{"name":"WP Slick Slider and Image Carousel","slug":"wp-slick-slider-and-image-carousel","version":"2.1","author":"<a href=\"https:\/\/www.wponlinesupport.com\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":88,"ratings":{"5":41,"4":3,"3":3,"2":0,"1":6},"num_ratings":53,"support_threads":8,"support_threads_resolved":5,"active_installs":20000,"downloaded":259786,"last_updated":"2020-08-14 7:56am GMT","added":"2015-11-17","homepage":"https:\/\/www.wponlinesupport.com\/plugins","short_description":"A quick, easy way to add and display mulipale WP Slick Slider and carousel using a shortcode. Also added Gutenberg block support.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-slick-slider-and-image-carousel.zip","tags":{"image-slider":"image slider","slick":"slick","slick-image-slider":"slick image slider","slick-slider":"slick slider","wponlinesupport":"wponlinesupport"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-slick-slider-and-image-carousel\/assets\/icon-128x128.png?rev=1443298"}},{"name":"WP Team Showcase and Slider","slug":"wp-team-showcase-and-slider","version":"2.1.1","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":92,"ratings":{"5":15,"4":0,"3":1,"2":0,"1":1},"num_ratings":17,"support_threads":1,"support_threads_resolved":1,"active_installs":5000,"downloaded":65650,"last_updated":"2020-08-13 5:00am GMT","added":"2016-01-09","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"Easy to add and display your employees, team members in Grid view and Slider view.…","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-team-showcase-and-slider.zip","tags":{"responsive-teamshowcase":"responsive teamshowcase","slider":"slider","team":"team","team-slider":"team slider","teamshowcase":"teamshowcase"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-team-showcase-and-slider\/assets\/icon-128x128.png?rev=2218871"}},{"name":"WP Testimonials with rotator widget","slug":"wp-testimonial-with-widget","version":"2.5.1","author":"<a href=\"https:\/\/www.wponlinesupport.com\/\">WP OnlineSupport<\/a>","author_profile":"https:\/\/profiles.wordpress.org\/wponlinesupport","requires":"4.0","tested":"5.5.1","requires_php":false,"rating":90,"ratings":{"5":20,"4":0,"3":0,"2":0,"1":3},"num_ratings":23,"support_threads":1,"support_threads_resolved":0,"active_installs":10000,"downloaded":97865,"last_updated":"2020-08-13 5:00am GMT","added":"2015-09-07","homepage":"https:\/\/www.wponlinesupport.com\/plugins\/","short_description":"A quick, easy way to add and display responsive, clean client's testimonial on your website using a shortcode or a widget.","download_link":"https:\/\/downloads.wordpress.org\/plugin\/wp-testimonial-with-widget.zip","tags":{"testimonial":"Testimonial","testimonials":"testimonials","widget":"widget"},"donate_link":"","icons":{"1x":"https:\/\/ps.w.org\/wp-testimonial-with-widget\/assets\/icon-128x128.png?rev=1402790"}}]}
|
wpos-plugins/wpos-recommendation.php
ADDED
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPOS Recommended Plugins
|
4 |
+
*
|
5 |
+
* @author WP Online Support
|
6 |
+
* @package Essential Plugins Bundle
|
7 |
+
* @since 1.0
|
8 |
+
*/
|
9 |
+
|
10 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
+
exit; // Exit if accessed directly
|
12 |
+
}
|
13 |
+
|
14 |
+
if ( ! class_exists( 'WPOS_ESPBW' ) ) :
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Main Recommended Plugins Class By WP Online Support.
|
18 |
+
*
|
19 |
+
* @since 1.0
|
20 |
+
*/
|
21 |
+
final class WPOS_ESPBW {
|
22 |
+
|
23 |
+
/**
|
24 |
+
* @var Instance
|
25 |
+
* @since 1.0
|
26 |
+
*/
|
27 |
+
protected static $instance = null;
|
28 |
+
|
29 |
+
/**
|
30 |
+
* Main Instance.
|
31 |
+
*
|
32 |
+
* Insures that only one instance of Analytics exists in memory at any one time.
|
33 |
+
* Also prevents needing to define globals all over the place.
|
34 |
+
*
|
35 |
+
* @since 1.0
|
36 |
+
* @uses WPOS_ESPBW::setup_constants() Setup the constants needed.
|
37 |
+
* @uses WPOS_ESPBW::includes() Include the required files.
|
38 |
+
* @uses WPOS_ESPBW::wpos_espbw_plugins_loaded() load the language files.
|
39 |
+
* @see WPOS_ESPBW()
|
40 |
+
* @return object the one true instance
|
41 |
+
*/
|
42 |
+
public static function instance() {
|
43 |
+
if ( is_null( self::$instance ) ) {
|
44 |
+
self::$instance = new self();
|
45 |
+
}
|
46 |
+
return self::$instance;
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Throw error on object clone.
|
51 |
+
*
|
52 |
+
* The whole idea of the singleton design pattern is that there is a single object therefore, we don't want the object to be cloned.
|
53 |
+
*
|
54 |
+
* @since 1.0
|
55 |
+
* @access protected
|
56 |
+
* @return void
|
57 |
+
*/
|
58 |
+
public function __clone() {
|
59 |
+
// Cloning instances of the class is forbidden.
|
60 |
+
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?' ), '1.0' );
|
61 |
+
}
|
62 |
+
|
63 |
+
/**
|
64 |
+
* Disable unserializing of the class.
|
65 |
+
*
|
66 |
+
* @since 1.0
|
67 |
+
* @access protected
|
68 |
+
* @return void
|
69 |
+
*/
|
70 |
+
public function __wakeup() {
|
71 |
+
// Unserializing instances of the class is forbidden.
|
72 |
+
_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?' ), '1.0' );
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Plugin Constructor.
|
77 |
+
*/
|
78 |
+
public function __construct() {
|
79 |
+
$this->setup_constants();
|
80 |
+
$this->includes();
|
81 |
+
}
|
82 |
+
|
83 |
+
/**
|
84 |
+
* Define constant if not already set.
|
85 |
+
*
|
86 |
+
* @param string $name
|
87 |
+
* @param string|bool $value
|
88 |
+
*/
|
89 |
+
public function define( $name, $value ) {
|
90 |
+
if ( ! defined( $name ) ) {
|
91 |
+
define( $name, $value );
|
92 |
+
}
|
93 |
+
}
|
94 |
+
|
95 |
+
/**
|
96 |
+
* Setup plugin constants. Basic plugin definitions
|
97 |
+
*
|
98 |
+
* @access private
|
99 |
+
* @since 1.0
|
100 |
+
*/
|
101 |
+
private function setup_constants() {
|
102 |
+
$this->define( 'WPOS_ESPBW_VERSION', '1.0' );
|
103 |
+
$this->define( 'WPOS_ESPBW_DIR', plugin_dir_path( __FILE__ ) );
|
104 |
+
$this->define( 'WPOS_ESPBW_URL', plugin_dir_url( __FILE__ ) );
|
105 |
+
}
|
106 |
+
|
107 |
+
/**
|
108 |
+
* Include required files.
|
109 |
+
*
|
110 |
+
* @access private
|
111 |
+
* @since 1.0
|
112 |
+
*/
|
113 |
+
private function includes() {
|
114 |
+
|
115 |
+
// Functions file
|
116 |
+
require_once WPOS_ESPBW_DIR .'/includes/espbw-functions.php';
|
117 |
+
|
118 |
+
// Script Class
|
119 |
+
require_once WPOS_ESPBW_DIR .'/includes/class-espbw-script.php';
|
120 |
+
|
121 |
+
// Admin Class
|
122 |
+
require_once WPOS_ESPBW_DIR .'/includes/admin/class-espbw-admin.php';
|
123 |
+
}
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* The main function responsible for returning the one true
|
128 |
+
* Instance to functions everywhere.
|
129 |
+
*
|
130 |
+
* Use this function like you would a global variable, except without needing
|
131 |
+
* to declare the global.
|
132 |
+
*
|
133 |
+
* Example: <?php $wpos_espbw = WPOS_ESPBW(); ?>
|
134 |
+
*
|
135 |
+
* @since 1.0
|
136 |
+
* @return object The one true Analytics Instance.
|
137 |
+
*/
|
138 |
+
function WPOS_ESPBW_RECOMMEND() {
|
139 |
+
return WPOS_ESPBW::instance();
|
140 |
+
}
|
141 |
+
|
142 |
+
/**
|
143 |
+
*
|
144 |
+
* Initialize Analytics Module
|
145 |
+
*
|
146 |
+
* @since 1.0
|
147 |
+
* @return object The one true Analytics Instance.
|
148 |
+
*/
|
149 |
+
function wpos_espbw_init_module( $args = array() ) {
|
150 |
+
|
151 |
+
global $wpos_espbw_module;
|
152 |
+
|
153 |
+
$defaul_args = array(
|
154 |
+
'prefix' => '',
|
155 |
+
'menu' => false,
|
156 |
+
'position' => 4,
|
157 |
+
);
|
158 |
+
|
159 |
+
$args = wp_parse_args( $args, $defaul_args );
|
160 |
+
|
161 |
+
// If required data is not there then simply return
|
162 |
+
if( empty( $args['menu'] ) ) {
|
163 |
+
return false;
|
164 |
+
}
|
165 |
+
|
166 |
+
// Taking some variables
|
167 |
+
$wpos_espbw_module = ! empty( $wpos_espbw_module ) ? $wpos_espbw_module : array();
|
168 |
+
$wpos_espbw_module[] = $args;
|
169 |
+
|
170 |
+
return $wpos_espbw_module;
|
171 |
+
}
|
172 |
+
|
173 |
+
/**
|
174 |
+
*
|
175 |
+
* Initialize Analytics Class Once all stuff has been loaded
|
176 |
+
*
|
177 |
+
* @since 1.0
|
178 |
+
* @return object The one true Analytics Instance.
|
179 |
+
*/
|
180 |
+
function wpos_espbw_plugins_loaded() {
|
181 |
+
|
182 |
+
// Get Analytics Running.
|
183 |
+
WPOS_ESPBW_RECOMMEND();
|
184 |
+
}
|
185 |
+
add_action( 'plugins_loaded', 'wpos_espbw_plugins_loaded', 12 );
|
186 |
+
|
187 |
+
endif; // End if class_exists check
|