Version Description
- June 22 2018 =
- Added Call to action widget.
- Minor Changes
Download this release
Release Info
Developer | iamadi |
Plugin | Widgets for SiteOrigin |
Version | 1.3.7 |
Comparing to | |
See all releases |
Code changes from version 1.3.6 to 1.3.7
- admin/admin.php +46 -73
- admin/img/helpscout-beacon-docs.png +0 -0
- admin/img/helpscout-beacon-message.png +0 -0
- admin/img/helpscout-beacon.png +0 -0
- inc/functions.php +12 -0
- readme.txt +15 -5
- widgets-for-siteorigin.php +2 -2
- widgets/ink-alrt-widget/ink-alrt-widget.php +2 -2
- widgets/ink-ardn-widget/ink-ardn-widget.php +2 -2
- widgets/ink-auds-widget/ink-auds-widget.php +2 -2
- widgets/ink-barc-widget/ink-barc-widget.php +2 -2
- widgets/ink-blgs-widget/ink-blgs-widget.php +2 -2
- widgets/ink-blgs-widget/tpl/thumb-above.php +1 -1
- widgets/ink-blgs-widget/tpl/thumb-behind.php +1 -1
- widgets/ink-blgs-widget/tpl/thumb-left.php +1 -1
- widgets/ink-blgs-widget/tpl/thumb-none.php +1 -1
- widgets/ink-blgs-widget/tpl/thumb-right.php +1 -1
- widgets/ink-btns-widget/ink-btns-widget.php +2 -2
- widgets/ink-crlc-widget/ink-crlc-widget.php +2 -2
- widgets/ink-ctoa-widget/assets/banner.svg +21 -0
- widgets/ink-ctoa-widget/css/call-to-action.css +54 -0
- widgets/ink-ctoa-widget/ink-ctoa-widget.php +460 -0
- widgets/ink-ctoa-widget/js/alert.js +22 -0
- widgets/ink-ctoa-widget/js/alert.min.js +1 -0
- widgets/ink-ctoa-widget/styles/call-to-action.less +373 -0
- widgets/ink-ctoa-widget/tpl/call-to-action.php +59 -0
- widgets/ink-dvdr-widget/ink-dvdr-widget.php +2 -2
- widgets/ink-fard-widget/ink-fard-widget.php +2 -2
- widgets/ink-imge-widget/ink-imge-widget.php +2 -2
- widgets/ink-mbox-widget/ink-mbox-widget.php +2 -2
- widgets/ink-numc-widget/ink-numc-widget.php +2 -2
- widgets/ink-prit-widget/ink-prit-widget.php +2 -2
- widgets/ink-prsn-widget/ink-prsn-widget.php +2 -2
- widgets/ink-ptfl-widget/ink-ptfl-widget.php +2 -2
- widgets/ink-sldr-widget/ink-sldr-widget.php +2 -2
- widgets/ink-tabb-widget/ink-tabb-widget.php +2 -2
- widgets/ink-tsml-widget/ink-tsml-widget.php +2 -2
- widgets/ink-vids-widget/ink-vids-widget.php +2 -2
admin/admin.php
CHANGED
@@ -30,52 +30,23 @@ function wpinked_so_admin_page() {
|
|
30 |
|
31 |
add_submenu_page(
|
32 |
'wpinked-widgets',
|
33 |
-
'
|
34 |
-
__( '
|
35 |
'manage_options',
|
36 |
-
'wpinked-
|
37 |
-
'
|
38 |
);
|
39 |
}
|
40 |
add_action( 'admin_menu', 'wpinked_so_admin_page' );
|
41 |
|
42 |
-
function
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
!function(e,o,n){window.HSCW=o,window.HS=n,n.beacon=n.beacon||{};var t=n.beacon;t.userConfig={},t.readyQueue=[],t.config=function(e){this.userConfig=e},t.ready=function(e){this.readyQueue.push(e)},o.config={docs:{enabled:!0,baseUrl:"//wpinked-widgets.helpscoutdocs.com/"},contact:{enabled:!0,formId:"6a408b97-9b94-11e6-91aa-0a5fecc78a4d"}};var r=e.getElementsByTagName("script")[0],c=e.createElement("script");c.type="text/javascript",c.async=!0,c.src="https://djtflbt20bdde.cloudfront.net/",r.parentNode.insertBefore(c,r)}(document,window.HSCW||{},window.HS||{});
|
51 |
-
|
52 |
-
HS.beacon.config( {
|
53 |
-
color: '#e40046',
|
54 |
-
icon: 'beacon',
|
55 |
-
topArticles: true,
|
56 |
-
topics: [
|
57 |
-
{ val: 'technical-support', label: 'Technical Support' },
|
58 |
-
{ val: 'billing', label: 'Billing'},
|
59 |
-
{ val: 'feature-request', label: 'Feature Request' },
|
60 |
-
{ val: 'customization', label: 'Customization'},
|
61 |
-
{ val: 'pre-sale', label: 'Pre-Sale Question' },
|
62 |
-
{ val: 'bug', label: 'Bug'},
|
63 |
-
{ val: 'other', label: 'Other'}
|
64 |
-
],
|
65 |
-
attachment: true,
|
66 |
-
instructions:'We will be with you as soon as we are able.'
|
67 |
-
} );
|
68 |
-
|
69 |
-
HS.beacon.ready( function() {
|
70 |
-
HS.beacon.identify( {
|
71 |
-
name: '<?php echo $current_user->display_name; ?>',
|
72 |
-
email: '<?php echo $current_user->user_email; ?>',
|
73 |
-
} );
|
74 |
-
} );
|
75 |
-
|
76 |
-
</script>
|
77 |
-
<?php }
|
78 |
-
add_action( 'admin_footer', 'wpinked_so_admin_beacon' );
|
79 |
|
80 |
function wpinked_so_admin_page_content() {
|
81 |
?>
|
@@ -88,8 +59,8 @@ function wpinked_so_admin_page_content() {
|
|
88 |
<h2 class="iw-admin-tagline">Modern Widgets for Beautiful Websites</h2>
|
89 |
<p class="iw-admin-links">
|
90 |
Show you appreciation with a <a href="https://wordpress.org/support/view/plugin-reviews/widgets-for-siteorigin#postform" class="thankyou" target="_blank" title="Ok, you deserved it">5-star rating</a> |
|
91 |
-
|
92 |
-
Refer : <a href="
|
93 |
</p>
|
94 |
|
95 |
</div>
|
@@ -101,55 +72,66 @@ function wpinked_so_admin_page_content() {
|
|
101 |
<div class="feature">
|
102 |
<h3 class="feature-title">Blog Enhanced</h3>
|
103 |
<p class="feature-content">Extending on the blog widget, this widget comes with a set of predesigned article templates. It also comes equipped with AJAX powered navigation.</p>
|
104 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/blog-enhanced-widget/" target="_blank">Demo</a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
</div>
|
|
|
106 |
<div class="feature">
|
107 |
<h3 class="feature-title">Blog Slider</h3>
|
108 |
<p class="feature-content">This widget lets you easily add eye catching post sliders anywhere on your website. It is typically used at the top of pages and goes great in conjunction with the Blog Widget.</p>
|
109 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/blog-slider-widget/" target="_blank">Demo</a
|
110 |
</div>
|
111 |
<div class="feature">
|
112 |
<h3 class="feature-title">Charts</h3>
|
113 |
<p class="feature-content">This widget allows you to visualise your data in a number of different ways. Choose from 6 chart types, each of them animated, fully customisable and engaging.</p>
|
114 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/chart-widget/" target="_blank">Demo</a
|
115 |
</div>
|
116 |
-
<div class="row-sep"></div>
|
117 |
<div class="feature">
|
118 |
<h3 class="feature-title">Person Slider</h3>
|
119 |
<p class="feature-content">This widget is perfectly suited to showcase your personnel on About Me or Team Member pages, where you would like to highlight their bio. It brings together text, imagery, social media links and a smooth slider in a cohesive manner.</p>
|
120 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/person-slider-widget/" target="_blank">Demo</a
|
121 |
</div>
|
|
|
122 |
<div class="feature">
|
123 |
<h3 class="feature-title">Testimonial Slider</h3>
|
124 |
<p class="feature-content">This widget gives you is a great way to encourage trust from your visitors by displaying quotes from your customers. It fits snuggly in your Sales, Pricing or Home pages.</p>
|
125 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/testimonial-slider-widget/" target="_blank">Demo</a
|
126 |
</div>
|
127 |
<div class="feature">
|
128 |
<h3 class="feature-title">Flip Box</h3>
|
129 |
<p class="feature-content">The Flip Box widget is a simple and elegant combination of text and media. This widget is a fantastic way to highlight small bits of information, such as skills, features or services you offer.</p>
|
130 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/flip-box-widget/" target="_blank">Demo</a
|
131 |
</div>
|
132 |
-
<div class="row-sep"></div>
|
133 |
<div class="feature">
|
134 |
<h3 class="feature-title">Gallery</h3>
|
135 |
<p class="feature-content">Present your image collections in a visually rich masonry layout. It is complemented well with the lightbox feature.</p>
|
136 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/gallery-widget/" target="_blank">Demo</a
|
137 |
</div>
|
|
|
138 |
<div class="feature">
|
139 |
<h3 class="feature-title">Slider Pro</h3>
|
140 |
<p class="feature-content">This widget gives you is a great way to encourage trust from your visitors by displaying quotes from your customers. It fits snuggly in your Sales, Pricing or Home pages.</p>
|
141 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/slider-pro-widget/" target="_blank">Demo</a
|
142 |
</div>
|
143 |
<div class="feature">
|
144 |
<h3 class="feature-title">Animations</h3>
|
145 |
<p class="feature-content">This feature gives you an easy way to animate widgets and rows. Choose from 18 different animation effects.</p>
|
146 |
-
<p class="feature-links"><a href="http://widgets.wpinked.com/the-animation-feature/" target="_blank">Demo</a
|
147 |
</div>
|
148 |
-
<div class="row-sep"></div>
|
149 |
<div class="feature">
|
150 |
<h3 class="feature-title">Page Builder</h3>
|
151 |
<p class="feature-content">This feature enables the use of the page builder in tabs, accordions and filter accordions.</p>
|
152 |
</div>
|
|
|
153 |
<div class="feature">
|
154 |
<h3 class="feature-title">Custom Fonts</h3>
|
155 |
<p class="feature-content">This feature lets you apply custom fonts to important elements in your widgets. Choose from hundreds of fonts.</p>
|
@@ -173,31 +155,22 @@ function wpinked_so_admin_page_content() {
|
|
173 |
<?php
|
174 |
}
|
175 |
|
176 |
-
function
|
177 |
|
178 |
-
<div class="iw-admin-page
|
179 |
|
180 |
<div class="iw-page-header">
|
181 |
-
|
182 |
-
<
|
183 |
-
<p class="
|
184 |
-
|
|
|
|
|
|
|
185 |
</div>
|
186 |
|
187 |
<div class="iw-page-content">
|
188 |
|
189 |
-
<img src="<?php echo plugin_dir_url(__FILE__); ?>img/helpscout-beacon.png">
|
190 |
-
<img src="<?php echo plugin_dir_url(__FILE__); ?>img/helpscout-beacon-docs.png">
|
191 |
-
<img src="<?php echo plugin_dir_url(__FILE__); ?>img/helpscout-beacon-message.png">
|
192 |
-
|
193 |
-
<div class="iw-admin-box pro">
|
194 |
-
<div class="buy-pro">
|
195 |
-
<a href="https://wpinked.com/downloads/widgets-for-siteorigin-pro/" target="_blank">
|
196 |
-
<img src="<?php echo plugin_dir_url(__FILE__); ?>img/get-pro-now.jpg">
|
197 |
-
</a>
|
198 |
-
</div>
|
199 |
-
</div>
|
200 |
-
|
201 |
</div>
|
202 |
|
203 |
</div>
|
30 |
|
31 |
add_submenu_page(
|
32 |
'wpinked-widgets',
|
33 |
+
'Craft',
|
34 |
+
__( 'Craft Theme', 'wpinked-widgets' ),
|
35 |
'manage_options',
|
36 |
+
'wpinked-craft-theme',
|
37 |
+
'wpinked_so_admin_craft'
|
38 |
);
|
39 |
}
|
40 |
add_action( 'admin_menu', 'wpinked_so_admin_page' );
|
41 |
|
42 |
+
function wpinked_so_admin_craft_external_link() {
|
43 |
+
$menu_redirect = isset( $_GET['page'] ) ? $_GET['page'] : false;
|
44 |
+
if ( $menu_redirect == 'wpinked-craft-theme' ) {
|
45 |
+
header( 'Location: https://wpinked.com/downloads/craft-theme/ ' );
|
46 |
+
exit();
|
47 |
+
}
|
48 |
+
}
|
49 |
+
add_action( 'admin_init', 'wpinked_so_admin_craft_external_link', 1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
|
51 |
function wpinked_so_admin_page_content() {
|
52 |
?>
|
59 |
<h2 class="iw-admin-tagline">Modern Widgets for Beautiful Websites</h2>
|
60 |
<p class="iw-admin-links">
|
61 |
Show you appreciation with a <a href="https://wordpress.org/support/view/plugin-reviews/widgets-for-siteorigin#postform" class="thankyou" target="_blank" title="Ok, you deserved it">5-star rating</a> |
|
62 |
+
<a href="https://wpinked.com/forums/" target="_blank">Support Forum</a> |
|
63 |
+
Refer : <a href="https://wpinked.com/widgets-for-siteorigin-docs/" target="_blank">Documentation</a> • <a href="http://widgets.wpinked.com/" target="_blank">Demo</a>
|
64 |
</p>
|
65 |
|
66 |
</div>
|
72 |
<div class="feature">
|
73 |
<h3 class="feature-title">Blog Enhanced</h3>
|
74 |
<p class="feature-content">Extending on the blog widget, this widget comes with a set of predesigned article templates. It also comes equipped with AJAX powered navigation.</p>
|
75 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/blog-enhanced-widget/" target="_blank">Demo</a></p>
|
76 |
+
</div>
|
77 |
+
<div class="feature new">
|
78 |
+
<h3 class="feature-title">Portfolio Enhanced</h3>
|
79 |
+
<p class="feature-content">Extending on the portfolio widget, this widget comes more project templates. It also has an option to use a vertical layout for the filters.</p>
|
80 |
+
<p class="feature-links"><a href="http://913.68b.myftpupload.com/portfolio-enhanced-widget-pro/" target="_blank">Demo</a></p>
|
81 |
+
</div>
|
82 |
+
<div class="feature new">
|
83 |
+
<h3 class="feature-title">WooCommerce Products</h3>
|
84 |
+
<p class="feature-content">This nifty plugin allows for listing of WooCommerce products in a neat grid</p>
|
85 |
+
<p class="feature-links"><a href="http://913.68b.myftpupload.com/woocommerce-products-widget-pro/" target="_blank">Demo</a></p>
|
86 |
</div>
|
87 |
+
<div class="row-sep"></div>
|
88 |
<div class="feature">
|
89 |
<h3 class="feature-title">Blog Slider</h3>
|
90 |
<p class="feature-content">This widget lets you easily add eye catching post sliders anywhere on your website. It is typically used at the top of pages and goes great in conjunction with the Blog Widget.</p>
|
91 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/blog-slider-widget/" target="_blank">Demo</a></p>
|
92 |
</div>
|
93 |
<div class="feature">
|
94 |
<h3 class="feature-title">Charts</h3>
|
95 |
<p class="feature-content">This widget allows you to visualise your data in a number of different ways. Choose from 6 chart types, each of them animated, fully customisable and engaging.</p>
|
96 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/chart-widget/" target="_blank">Demo</a></p>
|
97 |
</div>
|
|
|
98 |
<div class="feature">
|
99 |
<h3 class="feature-title">Person Slider</h3>
|
100 |
<p class="feature-content">This widget is perfectly suited to showcase your personnel on About Me or Team Member pages, where you would like to highlight their bio. It brings together text, imagery, social media links and a smooth slider in a cohesive manner.</p>
|
101 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/person-slider-widget/" target="_blank">Demo</a></p>
|
102 |
</div>
|
103 |
+
<div class="row-sep"></div>
|
104 |
<div class="feature">
|
105 |
<h3 class="feature-title">Testimonial Slider</h3>
|
106 |
<p class="feature-content">This widget gives you is a great way to encourage trust from your visitors by displaying quotes from your customers. It fits snuggly in your Sales, Pricing or Home pages.</p>
|
107 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/testimonial-slider-widget/" target="_blank">Demo</a></p>
|
108 |
</div>
|
109 |
<div class="feature">
|
110 |
<h3 class="feature-title">Flip Box</h3>
|
111 |
<p class="feature-content">The Flip Box widget is a simple and elegant combination of text and media. This widget is a fantastic way to highlight small bits of information, such as skills, features or services you offer.</p>
|
112 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/flip-box-widget/" target="_blank">Demo</a></p>
|
113 |
</div>
|
|
|
114 |
<div class="feature">
|
115 |
<h3 class="feature-title">Gallery</h3>
|
116 |
<p class="feature-content">Present your image collections in a visually rich masonry layout. It is complemented well with the lightbox feature.</p>
|
117 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/gallery-widget/" target="_blank">Demo</a></p>
|
118 |
</div>
|
119 |
+
<div class="row-sep"></div>
|
120 |
<div class="feature">
|
121 |
<h3 class="feature-title">Slider Pro</h3>
|
122 |
<p class="feature-content">This widget gives you is a great way to encourage trust from your visitors by displaying quotes from your customers. It fits snuggly in your Sales, Pricing or Home pages.</p>
|
123 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/slider-pro-widget/" target="_blank">Demo</a></p>
|
124 |
</div>
|
125 |
<div class="feature">
|
126 |
<h3 class="feature-title">Animations</h3>
|
127 |
<p class="feature-content">This feature gives you an easy way to animate widgets and rows. Choose from 18 different animation effects.</p>
|
128 |
+
<p class="feature-links"><a href="http://widgets.wpinked.com/the-animation-feature/" target="_blank">Demo</a</p>
|
129 |
</div>
|
|
|
130 |
<div class="feature">
|
131 |
<h3 class="feature-title">Page Builder</h3>
|
132 |
<p class="feature-content">This feature enables the use of the page builder in tabs, accordions and filter accordions.</p>
|
133 |
</div>
|
134 |
+
<div class="row-sep"></div>
|
135 |
<div class="feature">
|
136 |
<h3 class="feature-title">Custom Fonts</h3>
|
137 |
<p class="feature-content">This feature lets you apply custom fonts to important elements in your widgets. Choose from hundreds of fonts.</p>
|
155 |
<?php
|
156 |
}
|
157 |
|
158 |
+
function wpinked_so_admin_craft_content() { ?>
|
159 |
|
160 |
+
<div class="iw-admin-page craft-teaser">
|
161 |
|
162 |
<div class="iw-page-header">
|
163 |
+
<h1 class="iw-admin-welcome">Explore Craft Theme</h1>
|
164 |
+
<h2 class="iw-admin-tagline">Creative Lightweight Multipurpose WordPress Theme</h2>
|
165 |
+
<p class="iw-admin-links">
|
166 |
+
|
|
167 |
+
<a href="https://wpinked.com/forums/" target="_blank">Support Forum</a> |
|
168 |
+
Refer : <a href="https://wpinked.com/craft-theme-docs/" target="_blank">Documentation</a> • <a href="http://widgets.wpinked.com/" target="_blank">Demo</a>
|
169 |
+
</p>
|
170 |
</div>
|
171 |
|
172 |
<div class="iw-page-content">
|
173 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
174 |
</div>
|
175 |
|
176 |
</div>
|
admin/img/helpscout-beacon-docs.png
DELETED
Binary file
|
admin/img/helpscout-beacon-message.png
DELETED
Binary file
|
admin/img/helpscout-beacon.png
DELETED
Binary file
|
inc/functions.php
CHANGED
@@ -191,6 +191,18 @@ function wpinked_so_blog_post_col($count, $cols) {
|
|
191 |
}
|
192 |
endif;
|
193 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
if ( ! function_exists ( 'wpinked_so_unique_id' ) ) :
|
195 |
function wpinked_so_unique_id() {
|
196 |
return mt_rand(1111, 9999) . '-' . mt_rand(1111, 9999) . '-' . mt_rand(1111, 9999);
|
191 |
}
|
192 |
endif;
|
193 |
|
194 |
+
if ( ! function_exists ( 'wpinked_so_project_terms' ) ) :
|
195 |
+
function wpinked_so_project_terms( $terms ) {
|
196 |
+
$filtering_links = array();
|
197 |
+
foreach ( $terms as $term ) {
|
198 |
+
$filtering_links[] = $term->slug;
|
199 |
+
}
|
200 |
+
$filtering = join( ", ", $filtering_links );
|
201 |
+
$types = join( " ", $filtering_links );
|
202 |
+
return array( $types, $filtering );
|
203 |
+
}
|
204 |
+
endif;
|
205 |
+
|
206 |
if ( ! function_exists ( 'wpinked_so_unique_id' ) ) :
|
207 |
function wpinked_so_unique_id() {
|
208 |
return mt_rand(1111, 9999) . '-' . mt_rand(1111, 9999) . '-' . mt_rand(1111, 9999);
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: iamadi
|
3 |
Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
|
4 |
Requires at least: 3.9
|
5 |
-
Tested up to: 4.9
|
6 |
-
Stable tag: 1.3.
|
7 |
License: GPLv3 or later
|
8 |
|
9 |
A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
@@ -40,6 +40,8 @@ Included widgets
|
|
40 |
|
41 |
> 1. **Slider Widget** lets you choose from a number of slider settings and styling options to create simple image slider.
|
42 |
|
|
|
|
|
43 |
> 1. **Alert widgets** are useful elements that can be dropped into a form or inline on a page. It can communicate success, warnings, failure or just information. Choose between 6 beautiful designs and an option to add a close button.
|
44 |
|
45 |
> 1. **Number Counter Widget** is an engaging way to display numerical statistics to your visitors. This widget is commonly used as a marketing tool to impress visitors.
|
@@ -62,6 +64,8 @@ Additional Feature:
|
|
62 |
|
63 |
> 1. **Blog Slider Widget** lets you easily add eye catching post sliders anywhere on your website. This widget is typically used at the top of pages and goes great in conjunction with the Blog Widget.
|
64 |
|
|
|
|
|
65 |
> 1. **Person Slider Widget** is the best way to showcase your personnel on About Me or Team Member pages, where you would like to highlight their bio. This widget brings together text, imagery, social media links and a smooth slider in a cohesive manner. Use the many settings provided to create unique designs.
|
66 |
|
67 |
> 1. **Testimonial Slider Widget** is a great way to encourage trust from your visitors by displaying quotes from your customers. This widget will snuggly fit in your Sales, Pricing or Home pages. Use the many settings provided to create unique designs.
|
@@ -74,11 +78,13 @@ Additional Feature:
|
|
74 |
|
75 |
> 1. **Flip Box Widget** Interactive media box with flip animations. is a simple and elegant combination of text and media. This widget is a fantastic way to highlight small bits of information, such as skills, features or services you offer. The box also has 3D animated which flips the box on hover. Choose to use icons or images. In addition you can easily link to other webpages using a highly customizable button.
|
76 |
|
|
|
|
|
77 |
> 1. **Animation feature** lets you an easily animate widgets. Choose from 18 different animation effects.
|
78 |
|
79 |
-
Check out <a target="_blank" href="http://widgets.wpinked.com/">**DEMO**</a> and <a target="_blank" href="
|
80 |
|
81 |
-
|
82 |
|
83 |
== Installation ==
|
84 |
|
@@ -96,7 +102,11 @@ Once installed, you can choose to Active/Deactivate widget from Plugins -> SiteO
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
-
= 1.3.
|
|
|
|
|
|
|
|
|
100 |
* Removed admin notice.
|
101 |
|
102 |
= 1.3.5 - December 30 2017 =
|
2 |
Contributors: iamadi
|
3 |
Tags: bundle, widget, button, alert, accordion, audio, video, blog, divider, person, portfolio, tabs, testimonial, siteorigin
|
4 |
Requires at least: 3.9
|
5 |
+
Tested up to: 4.9.6
|
6 |
+
Stable tag: 1.3.7
|
7 |
License: GPLv3 or later
|
8 |
|
9 |
A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
40 |
|
41 |
> 1. **Slider Widget** lets you choose from a number of slider settings and styling options to create simple image slider.
|
42 |
|
43 |
+
> 1. **Call to Action Widget** The call to action widget can be customised to create eye catching user interfaces.
|
44 |
+
|
45 |
> 1. **Alert widgets** are useful elements that can be dropped into a form or inline on a page. It can communicate success, warnings, failure or just information. Choose between 6 beautiful designs and an option to add a close button.
|
46 |
|
47 |
> 1. **Number Counter Widget** is an engaging way to display numerical statistics to your visitors. This widget is commonly used as a marketing tool to impress visitors.
|
64 |
|
65 |
> 1. **Blog Slider Widget** lets you easily add eye catching post sliders anywhere on your website. This widget is typically used at the top of pages and goes great in conjunction with the Blog Widget.
|
66 |
|
67 |
+
> 1. **Portfolio Enhanced Widget** builds up on the portfolio widget. Has more layout and template options.
|
68 |
+
|
69 |
> 1. **Person Slider Widget** is the best way to showcase your personnel on About Me or Team Member pages, where you would like to highlight their bio. This widget brings together text, imagery, social media links and a smooth slider in a cohesive manner. Use the many settings provided to create unique designs.
|
70 |
|
71 |
> 1. **Testimonial Slider Widget** is a great way to encourage trust from your visitors by displaying quotes from your customers. This widget will snuggly fit in your Sales, Pricing or Home pages. Use the many settings provided to create unique designs.
|
78 |
|
79 |
> 1. **Flip Box Widget** Interactive media box with flip animations. is a simple and elegant combination of text and media. This widget is a fantastic way to highlight small bits of information, such as skills, features or services you offer. The box also has 3D animated which flips the box on hover. Choose to use icons or images. In addition you can easily link to other webpages using a highly customizable button.
|
80 |
|
81 |
+
> 1. **WooCommerce Products Widget** Display a neat grid of WooCommerce products.
|
82 |
+
|
83 |
> 1. **Animation feature** lets you an easily animate widgets. Choose from 18 different animation effects.
|
84 |
|
85 |
+
Check out <a target="_blank" href="http://widgets.wpinked.com/">**DEMO**</a> and <a target="_blank" href="https://wpinked.com/widgets-for-siteorigin-docs/">**DOCS**</a>.
|
86 |
|
87 |
+
<a target="_blank" href="https://wpinked.com/forums/">**Support Forum**</a>.
|
88 |
|
89 |
== Installation ==
|
90 |
|
102 |
|
103 |
== Changelog ==
|
104 |
|
105 |
+
= 1.3.7 - June 22 2018 =
|
106 |
+
* Added Call to action widget.
|
107 |
+
* Minor Changes
|
108 |
+
|
109 |
+
= 1.3.6 - January 06 2018 =
|
110 |
* Removed admin notice.
|
111 |
|
112 |
= 1.3.5 - December 30 2017 =
|
widgets-for-siteorigin.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Widgets for SiteOrigin
|
5 |
* Plugin URI: http://widgets.wpinked.com/
|
6 |
* Description: A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
7 |
-
* Version: 1.3.
|
8 |
* Author: wpinked
|
9 |
* Author URI: widgets.wpinked.com
|
10 |
* License: GPL-2.0+
|
@@ -18,7 +18,7 @@
|
|
18 |
*
|
19 |
*/
|
20 |
|
21 |
-
define( 'INKED_SO_VER', '1.3.
|
22 |
|
23 |
// Allow JS suffix to be pre-set
|
24 |
if ( ! defined( 'INKED_JS_SUFFIX' ) ) {
|
4 |
* Plugin Name: Widgets for SiteOrigin
|
5 |
* Plugin URI: http://widgets.wpinked.com/
|
6 |
* Description: A collection of highly customizable and thoughtfully crafted widgets. Built on top of the SiteOrigin Widgets Bundle.
|
7 |
+
* Version: 1.3.7
|
8 |
* Author: wpinked
|
9 |
* Author URI: widgets.wpinked.com
|
10 |
* License: GPL-2.0+
|
18 |
*
|
19 |
*/
|
20 |
|
21 |
+
define( 'INKED_SO_VER', '1.3.7' );
|
22 |
|
23 |
// Allow JS suffix to be pre-set
|
24 |
if ( ! defined( 'INKED_JS_SUFFIX' ) ) {
|
widgets/ink-alrt-widget/ink-alrt-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Alert
|
5 |
Description: Communicate success, warnings, failure or just information.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Alert_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Alert_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Alert', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Communicate success, warnings, failure or just information.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Alert
|
5 |
Description: Communicate success, warnings, failure or just information.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Alert_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Alert', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Communicate success, warnings, failure or just information.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#Alert'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-ardn-widget/ink-ardn-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Accordion
|
5 |
Description: Expand and collapse content that is broken into logical sections.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Accordion_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Accordion_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Accordion', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Expand and collapse content that is broken into logical sections.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Accordion
|
5 |
Description: Expand and collapse content that is broken into logical sections.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Accordion_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Accordion', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Expand and collapse content that is broken into logical sections.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#accordion'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-auds-widget/ink-auds-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Audio
|
5 |
Description: Play self or externally hosted audios.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Audio_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Audio_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Audio', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Play self or externally hosted audios.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Audio
|
5 |
Description: Play self or externally hosted audios.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Audio_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Audio', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Play self or externally hosted audios.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#audio'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-barc-widget/ink-barc-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Bar Counter
|
5 |
Description: Animated bars to display your stats.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Bar_Counter_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Bar_Counter_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Bar Counter', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Animated bars to display your stats.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Bar Counter
|
5 |
Description: Animated bars to display your stats.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Bar_Counter_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Bar Counter', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Animated bars to display your stats.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#bar-counter'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-blgs-widget/ink-blgs-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Blog
|
5 |
Description: A widget to display Blog posts.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Blog_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Blog_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Blog', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'A widget to display Blog posts.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Blog
|
5 |
Description: A widget to display Blog posts.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Blog_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Blog', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'A widget to display Blog posts.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#blog'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-blgs-widget/tpl/thumb-above.php
CHANGED
@@ -157,7 +157,7 @@ $query_result = new WP_Query( $processed_query );
|
|
157 |
<?php if ($instance['design']['button']) : ?>
|
158 |
|
159 |
<div class="iw-so-article-button">
|
160 |
-
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url(
|
161 |
<?php echo $instance['design']['btn-text']; ?>
|
162 |
</a>
|
163 |
</div>
|
157 |
<?php if ($instance['design']['button']) : ?>
|
158 |
|
159 |
<div class="iw-so-article-button">
|
160 |
+
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url( get_permalink() ); ?>">
|
161 |
<?php echo $instance['design']['btn-text']; ?>
|
162 |
</a>
|
163 |
</div>
|
widgets/ink-blgs-widget/tpl/thumb-behind.php
CHANGED
@@ -152,7 +152,7 @@ $query_result = new WP_Query( $processed_query );
|
|
152 |
<?php if ($instance['design']['button']) : ?>
|
153 |
|
154 |
<div class="iw-so-article-button">
|
155 |
-
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url(
|
156 |
<?php echo $instance['design']['btn-text']; ?>
|
157 |
</a>
|
158 |
</div>
|
152 |
<?php if ($instance['design']['button']) : ?>
|
153 |
|
154 |
<div class="iw-so-article-button">
|
155 |
+
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url( get_permalink() ); ?>">
|
156 |
<?php echo $instance['design']['btn-text']; ?>
|
157 |
</a>
|
158 |
</div>
|
widgets/ink-blgs-widget/tpl/thumb-left.php
CHANGED
@@ -164,7 +164,7 @@ $query_result = new WP_Query( $processed_query );
|
|
164 |
<?php if ($instance['design']['button']) : ?>
|
165 |
|
166 |
<div class="iw-so-article-button">
|
167 |
-
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url(
|
168 |
<?php echo $instance['design']['btn-text']; ?>
|
169 |
</a>
|
170 |
</div>
|
164 |
<?php if ($instance['design']['button']) : ?>
|
165 |
|
166 |
<div class="iw-so-article-button">
|
167 |
+
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url( get_permalink() ); ?>">
|
168 |
<?php echo $instance['design']['btn-text']; ?>
|
169 |
</a>
|
170 |
</div>
|
widgets/ink-blgs-widget/tpl/thumb-none.php
CHANGED
@@ -142,7 +142,7 @@ $query_result = new WP_Query( $processed_query );
|
|
142 |
<?php if ($instance['design']['button']) : ?>
|
143 |
|
144 |
<div class="iw-so-article-button">
|
145 |
-
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url(
|
146 |
<?php echo $instance['design']['btn-text']; ?>
|
147 |
</a>
|
148 |
</div>
|
142 |
<?php if ($instance['design']['button']) : ?>
|
143 |
|
144 |
<div class="iw-so-article-button">
|
145 |
+
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url( get_permalink() ); ?>">
|
146 |
<?php echo $instance['design']['btn-text']; ?>
|
147 |
</a>
|
148 |
</div>
|
widgets/ink-blgs-widget/tpl/thumb-right.php
CHANGED
@@ -164,7 +164,7 @@ $query_result = new WP_Query( $processed_query );
|
|
164 |
<?php if ($instance['design']['button']) : ?>
|
165 |
|
166 |
<div class="iw-so-article-button">
|
167 |
-
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url(
|
168 |
<?php echo $instance['design']['btn-text']; ?>
|
169 |
</a>
|
170 |
</div>
|
164 |
<?php if ($instance['design']['button']) : ?>
|
165 |
|
166 |
<div class="iw-so-article-button">
|
167 |
+
<a class="<?php echo esc_attr( implode( ' ', $btn_class) ); ?>" href="<?php esc_url( get_permalink() ); ?>">
|
168 |
<?php echo $instance['design']['btn-text']; ?>
|
169 |
</a>
|
170 |
</div>
|
widgets/ink-btns-widget/ink-btns-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Buttons
|
5 |
Description: The power of click!
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Buttons', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'The power of click!', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(),
|
22 |
false,
|
4 |
Widget Name: Inked Buttons
|
5 |
Description: The power of click!
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Buttons_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Buttons', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'The power of click!', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#button'
|
20 |
),
|
21 |
array(),
|
22 |
false,
|
widgets/ink-crlc-widget/ink-crlc-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Circle Counter
|
5 |
Description: Animated circles to display your stats.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Circle_Counter_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Circle_Counter_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Circle Counter', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Animated circles to display your stats.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Circle Counter
|
5 |
Description: Animated circles to display your stats.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Circle_Counter_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Circle Counter', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Animated circles to display your stats.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#circle-counter'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-ctoa-widget/assets/banner.svg
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<svg width="240px" height="240px" viewBox="0 0 240 240" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3 |
+
<!-- Generator: Sketch 3.6 (26304) - http://www.bohemiancoding.com/sketch -->
|
4 |
+
<title>Alert</title>
|
5 |
+
<desc>Created with Sketch.</desc>
|
6 |
+
<defs>
|
7 |
+
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50%" id="radialGradient-1">
|
8 |
+
<stop stop-color="#F5515F" offset="0%"></stop>
|
9 |
+
<stop stop-color="#9F031B" offset="100%"></stop>
|
10 |
+
</radialGradient>
|
11 |
+
</defs>
|
12 |
+
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
13 |
+
<g id="Widget-Icons" transform="translate(-625.000000, -24.000000)">
|
14 |
+
<g id="Alert" transform="translate(625.000000, 24.000000)">
|
15 |
+
<rect id="Rectangle" fill="url(#radialGradient-1)" x="0" y="0" width="240" height="240"></rect>
|
16 |
+
<path d="M106.669084,24.2909651 C114.031546,20.5008641 125.974511,20.5039819 133.330916,24.2909651 L206.669084,62.0445158 C214.031546,65.8346168 220,75.6227107 220,83.9055336 L220,156.866109 C220,165.149515 214.025489,174.940144 206.669084,178.727127 L133.330916,216.480678 C125.968454,220.270779 114.025489,220.267661 106.669084,216.480678 L33.330916,178.727127 C25.9684544,174.937026 20,165.148932 20,156.866109 L20,83.9055336 C20,75.6221279 25.974511,65.831499 33.330916,62.0445158 L106.669084,24.2909651 Z" id="Polygon" stroke="#FFFFFF" stroke-width="5"></path>
|
17 |
+
<path d="M139,57 L129.826158,154.242188 L111.173842,154.242188 L102,57 L139,57 Z M111,166 L129,166 L129,183 L111,183 L111,166 Z" id="Combined-Shape" stroke="#FFFFFF" stroke-width="5"></path>
|
18 |
+
</g>
|
19 |
+
</g>
|
20 |
+
</g>
|
21 |
+
</svg>
|
widgets/ink-ctoa-widget/css/call-to-action.css
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.iw-so-call-to-action {
|
2 |
+
max-width: 100%;
|
3 |
+
margin-left: auto;
|
4 |
+
margin-right: auto;
|
5 |
+
padding: 25px; }
|
6 |
+
.iw-so-call-to-action::after {
|
7 |
+
clear: both;
|
8 |
+
content: "";
|
9 |
+
display: table; }
|
10 |
+
.iw-so-call-to-action .iw-so-c2a-text {
|
11 |
+
padding-right: 25px; }
|
12 |
+
.iw-so-call-to-action .iw-so-c2a-text .iw-so-c2a-title {
|
13 |
+
margin: 0; }
|
14 |
+
.iw-so-call-to-action .iw-so-c2a-text .iw-so-c2a-subtitle {
|
15 |
+
margin: 0; }
|
16 |
+
.iw-so-call-to-action .iw-so-c2a-buttons .iw-so-c2a-btn-base {
|
17 |
+
margin: 15px 0; }
|
18 |
+
.iw-so-call-to-action .iw-so-c2a-buttons .iw-so-c2a-btn-base::after {
|
19 |
+
clear: both;
|
20 |
+
content: "";
|
21 |
+
display: table; }
|
22 |
+
.iw-so-call-to-action .iw-so-c2a-buttons .iw-so-c2a-btn-base .iw-so-button {
|
23 |
+
-webkit-appearance: none;
|
24 |
+
-moz-appearance: none;
|
25 |
+
-ms-appearance: none;
|
26 |
+
-o-appearance: none;
|
27 |
+
appearance: none;
|
28 |
+
cursor: pointer;
|
29 |
+
font-weight: normal;
|
30 |
+
line-height: normal;
|
31 |
+
position: relative;
|
32 |
+
text-align: center;
|
33 |
+
text-decoration: none;
|
34 |
+
display: inline-block;
|
35 |
+
-webkit-transition: all 0.15s ease-in-out;
|
36 |
+
-moz-transition: all 0.15s ease-in-out;
|
37 |
+
transition: all 0.15s ease-in-out; }
|
38 |
+
@media only screen and (min-width: 40.0625em) {
|
39 |
+
.iw-so-call-to-action .iw-so-c2a-buttons .iw-so-c2a-btn-base .iw-so-button {
|
40 |
+
display: inline-block; } }
|
41 |
+
.iw-so-call-to-action.iw-so-c2a-horizontal .iw-so-c2a-text {
|
42 |
+
float: left;
|
43 |
+
display: block;
|
44 |
+
margin-right: 4.82916%;
|
45 |
+
width: 65.05695%; }
|
46 |
+
.iw-so-call-to-action.iw-so-c2a-horizontal .iw-so-c2a-text:last-child {
|
47 |
+
margin-right: 0; }
|
48 |
+
.iw-so-call-to-action.iw-so-c2a-horizontal .iw-so-c2a-buttons {
|
49 |
+
float: left;
|
50 |
+
display: block;
|
51 |
+
margin-right: 4.82916%;
|
52 |
+
width: 30.11389%; }
|
53 |
+
.iw-so-call-to-action.iw-so-c2a-horizontal .iw-so-c2a-buttons:last-child {
|
54 |
+
margin-right: 0; }
|
widgets/ink-ctoa-widget/ink-ctoa-widget.php
ADDED
@@ -0,0 +1,460 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
Widget Name: Inked Call to Action
|
5 |
+
Description: Simple and effective CTA.
|
6 |
+
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
+
*/
|
9 |
+
|
10 |
+
class Inked_Call_To_Action_SO_Widget extends SiteOrigin_Widget {
|
11 |
+
|
12 |
+
function __construct() {
|
13 |
+
parent::__construct(
|
14 |
+
|
15 |
+
'ink-call-to-action',
|
16 |
+
__( 'Inked Call to Action', 'wpinked-widgets' ),
|
17 |
+
array(
|
18 |
+
'description' => __( 'Simple and effective CTA.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#call-to-action'
|
20 |
+
),
|
21 |
+
array(
|
22 |
+
),
|
23 |
+
false,
|
24 |
+
plugin_dir_path(__FILE__)
|
25 |
+
);
|
26 |
+
}
|
27 |
+
|
28 |
+
function get_widget_form() {
|
29 |
+
return array(
|
30 |
+
|
31 |
+
'text' => array(
|
32 |
+
'type' => 'section',
|
33 |
+
'label' => __( 'Text' , 'wpinked-widgets' ),
|
34 |
+
'hide' => true,
|
35 |
+
'fields' => array(
|
36 |
+
|
37 |
+
'title' => array(
|
38 |
+
'type' => 'text',
|
39 |
+
'label' => __( 'Title', 'wpinked-widgets' ),
|
40 |
+
'default' => ''
|
41 |
+
),
|
42 |
+
|
43 |
+
'subtitle' => array(
|
44 |
+
'type' => 'text',
|
45 |
+
'label' => __( 'Subtitle', 'wpinked-widgets' ),
|
46 |
+
'default' => ''
|
47 |
+
),
|
48 |
+
|
49 |
+
)
|
50 |
+
),
|
51 |
+
|
52 |
+
'styling' => array(
|
53 |
+
'type' => 'section',
|
54 |
+
'label' => __( 'Styling' , 'wpinked-widgets' ),
|
55 |
+
'hide' => true,
|
56 |
+
'fields' => array(
|
57 |
+
|
58 |
+
'orientation' => array(
|
59 |
+
'type' => 'select',
|
60 |
+
'label' => __( 'Orientation', 'wpinked-widgets' ),
|
61 |
+
'default' => 'horizontal',
|
62 |
+
'options' => array(
|
63 |
+
'horizontal' => __( 'Horizontal', 'wpinked-widgets' ),
|
64 |
+
'vertical' => __( 'Vertical', 'wpinked-widgets' ),
|
65 |
+
),
|
66 |
+
),
|
67 |
+
|
68 |
+
'background' => array(
|
69 |
+
'type' => 'color',
|
70 |
+
'label' => __( 'Background Color', 'wpinked-widgets' ),
|
71 |
+
'default' => '#fff'
|
72 |
+
),
|
73 |
+
|
74 |
+
'align' => array(
|
75 |
+
'type' => 'select',
|
76 |
+
'label' => __( 'Text Alignment', 'wpinked-widgets' ),
|
77 |
+
'default' => 'left',
|
78 |
+
'options' => array(
|
79 |
+
'left' => __( 'Left', 'wpinked-widgets' ),
|
80 |
+
'right' => __( 'Right', 'wpinked-widgets' ),
|
81 |
+
'center' => __( 'Center', 'wpinked-widgets' ),
|
82 |
+
),
|
83 |
+
),
|
84 |
+
|
85 |
+
'title_font' => array(
|
86 |
+
'type' => 'premium',
|
87 |
+
'label' => __( 'Title Font', 'wpinked-widgets' ),
|
88 |
+
),
|
89 |
+
|
90 |
+
'title_color' => array(
|
91 |
+
'type' => 'color',
|
92 |
+
'label' => __( 'Title Color', 'wpinked-widgets' ),
|
93 |
+
'default' => ''
|
94 |
+
),
|
95 |
+
|
96 |
+
'title_size' => array(
|
97 |
+
'type' => 'measurement',
|
98 |
+
'label' => __( 'Title Font Size', 'wpinked-widgets' ),
|
99 |
+
'default' => '',
|
100 |
+
),
|
101 |
+
|
102 |
+
'subtitle_font' => array(
|
103 |
+
'type' => 'premium',
|
104 |
+
'label' => __( 'Subtitle Font', 'wpinked-widgets' ),
|
105 |
+
),
|
106 |
+
|
107 |
+
'subtitle_color' => array(
|
108 |
+
'type' => 'color',
|
109 |
+
'label' => __( 'Subtitle Color', 'wpinked-widgets' ),
|
110 |
+
'default' => ''
|
111 |
+
),
|
112 |
+
|
113 |
+
'subtitle_size' => array(
|
114 |
+
'type' => 'measurement',
|
115 |
+
'label' => __( 'Subtitle Font Size', 'wpinked-widgets' ),
|
116 |
+
'default' => '',
|
117 |
+
),
|
118 |
+
|
119 |
+
)
|
120 |
+
),
|
121 |
+
|
122 |
+
'btn-styling' => array(
|
123 |
+
'type' => 'section',
|
124 |
+
'label' => __( 'Button Styles' , 'wpinked-widgets' ),
|
125 |
+
'hide' => true,
|
126 |
+
'fields' => array(
|
127 |
+
|
128 |
+
// 'fullwidth' => array(
|
129 |
+
// 'type' => 'checkbox',
|
130 |
+
// 'default' => true,
|
131 |
+
// 'label' => __( 'Fullwidth ?', 'wpinked-widgets' ),
|
132 |
+
// ),
|
133 |
+
|
134 |
+
'theme' => array(
|
135 |
+
'type' => 'select',
|
136 |
+
'label' => __( 'Theme', 'wpinked-widgets' ),
|
137 |
+
'default' => 'classic',
|
138 |
+
'options' => array(
|
139 |
+
'classic' => __( 'Classic', 'wpinked-widgets' ),
|
140 |
+
'flat' => __( 'Flat', 'wpinked-widgets' ),
|
141 |
+
'outline' => __( 'Outline', 'wpinked-widgets' ),
|
142 |
+
'threed' => __( '3D', 'wpinked-widgets' ),
|
143 |
+
'shadow' => __( 'Shadow', 'wpinked-widgets' ),
|
144 |
+
'deline' => __( 'Deline', 'wpinked-widgets' ),
|
145 |
+
),
|
146 |
+
),
|
147 |
+
|
148 |
+
'font' => array(
|
149 |
+
'type' => 'premium',
|
150 |
+
'label' => __( 'Font', 'wpinked-widgets' ),
|
151 |
+
),
|
152 |
+
|
153 |
+
'hover' => array(
|
154 |
+
'type' => 'checkbox',
|
155 |
+
'default' => true,
|
156 |
+
'label' => __( 'Use hover effect ?', 'wpinked-widgets' ),
|
157 |
+
),
|
158 |
+
|
159 |
+
'click' => array(
|
160 |
+
'type' => 'checkbox',
|
161 |
+
'default' => true,
|
162 |
+
'label' => __( 'Use click effect ?', 'wpinked-widgets' ),
|
163 |
+
),
|
164 |
+
|
165 |
+
'corners' => array(
|
166 |
+
'type' => 'select',
|
167 |
+
'label' => __( 'Corners', 'wpinked-widgets' ),
|
168 |
+
'default' => '0.25em',
|
169 |
+
'options' => array(
|
170 |
+
'0em' => __( 'Sharp', 'wpinked-widgets' ),
|
171 |
+
'0.25em' => __( 'Slightly curved', 'wpinked-widgets' ),
|
172 |
+
'0.75em' => __( 'Highly curved', 'wpinked-widgets' ),
|
173 |
+
'1.5em' => __( 'Round', 'wpinked-widgets' ),
|
174 |
+
),
|
175 |
+
),
|
176 |
+
|
177 |
+
'size' => array(
|
178 |
+
'type' => 'select',
|
179 |
+
'label' => __( 'Size', 'wpinked-widgets' ),
|
180 |
+
'default' => 'standard',
|
181 |
+
'options' => array(
|
182 |
+
'tiny' => __( 'Tiny', 'wpinked-widgets' ),
|
183 |
+
'small' => __( 'Small', 'wpinked-widgets' ),
|
184 |
+
'standard' => __( 'Standard', 'wpinked-widgets' ),
|
185 |
+
'large' => __( 'Large', 'wpinked-widgets' ),
|
186 |
+
),
|
187 |
+
),
|
188 |
+
|
189 |
+
)
|
190 |
+
),
|
191 |
+
|
192 |
+
'btn-1' => array(
|
193 |
+
'type' => 'section',
|
194 |
+
'label' => __( 'Button 1' , 'wpinked-widgets' ),
|
195 |
+
'hide' => true,
|
196 |
+
'fields' => array(
|
197 |
+
|
198 |
+
'text' => array(
|
199 |
+
'type' => 'text',
|
200 |
+
'label' => __( 'Button text', 'wpinked-widgets' ),
|
201 |
+
),
|
202 |
+
|
203 |
+
'url' => array(
|
204 |
+
'type' => 'link',
|
205 |
+
'label' => __( 'Destination URL', 'wpinked-widgets' ),
|
206 |
+
),
|
207 |
+
|
208 |
+
'new_window' => array(
|
209 |
+
'type' => 'checkbox',
|
210 |
+
'default' => false,
|
211 |
+
'label' => __( 'Open in a new window', 'wpinked-widgets' ),
|
212 |
+
),
|
213 |
+
|
214 |
+
'icon' => array(
|
215 |
+
'type' => 'icon',
|
216 |
+
'label' => __( 'Icon', 'wpinked-widgets' ),
|
217 |
+
),
|
218 |
+
|
219 |
+
'icon_location' => array(
|
220 |
+
'type' => 'select',
|
221 |
+
'label' => __( 'Icon Location', 'wpinked-widgets' ),
|
222 |
+
'default' => 'left',
|
223 |
+
'options' => array(
|
224 |
+
'left' => __( 'Before Text', 'wpinked-widgets' ),
|
225 |
+
'right' => __( 'After Text', 'wpinked-widgets' ),
|
226 |
+
'above' => __( 'Above Text', 'wpinked-widgets' )
|
227 |
+
)
|
228 |
+
),
|
229 |
+
|
230 |
+
'button_color' => array(
|
231 |
+
'type' => 'color',
|
232 |
+
'label' => __( 'Highlight Color', 'wpinked-widgets' ),
|
233 |
+
'description' => __( 'Typically used as button background.', 'wpinked-widgets' ),
|
234 |
+
),
|
235 |
+
|
236 |
+
'text_color' => array(
|
237 |
+
'type' => 'color',
|
238 |
+
'label' => __( 'Base Color', 'wpinked-widgets' ),
|
239 |
+
'description' => __( 'Typically used as text color.', 'wpinked-widgets' ),
|
240 |
+
),
|
241 |
+
|
242 |
+
'id' => array(
|
243 |
+
'type' => 'text',
|
244 |
+
'label' => __( 'Button ID', 'wpinked-widgets' ),
|
245 |
+
'description' => __( 'An ID attribute allows you to target this button in Javascript.', 'wpinked-widgets' ),
|
246 |
+
),
|
247 |
+
|
248 |
+
'title' => array(
|
249 |
+
'type' => 'text',
|
250 |
+
'label' => __( 'Title attribute', 'wpinked-widgets' ),
|
251 |
+
'description' => __( 'Adds a title attribute to the button link.', 'wpinked-widgets' ),
|
252 |
+
),
|
253 |
+
|
254 |
+
'onclick' => array(
|
255 |
+
'type' => 'text',
|
256 |
+
'label' => __( 'Onclick', 'wpinked-widgets' ),
|
257 |
+
'description' => __( 'Run this Javascript when the button is clicked. Ideal for tracking.', 'wpinked-widgets' ),
|
258 |
+
),
|
259 |
+
|
260 |
+
'class' => array(
|
261 |
+
'type' => 'text',
|
262 |
+
'label' => __( 'Button Class', 'wpinked-widgets' ),
|
263 |
+
'description' => __( 'A Class attribute allows you to style this button with CSS.', 'wpinked-widgets' ),
|
264 |
+
),
|
265 |
+
|
266 |
+
)
|
267 |
+
),
|
268 |
+
|
269 |
+
'btn-2' => array(
|
270 |
+
'type' => 'section',
|
271 |
+
'label' => __( 'Button 2' , 'wpinked-widgets' ),
|
272 |
+
'hide' => true,
|
273 |
+
'fields' => array(
|
274 |
+
|
275 |
+
'text' => array(
|
276 |
+
'type' => 'text',
|
277 |
+
'label' => __( 'Button text', 'wpinked-widgets' ),
|
278 |
+
),
|
279 |
+
|
280 |
+
'url' => array(
|
281 |
+
'type' => 'link',
|
282 |
+
'label' => __( 'Destination URL', 'wpinked-widgets' ),
|
283 |
+
),
|
284 |
+
|
285 |
+
'new_window' => array(
|
286 |
+
'type' => 'checkbox',
|
287 |
+
'default' => false,
|
288 |
+
'label' => __( 'Open in a new window', 'wpinked-widgets' ),
|
289 |
+
),
|
290 |
+
|
291 |
+
'icon' => array(
|
292 |
+
'type' => 'icon',
|
293 |
+
'label' => __( 'Icon', 'wpinked-widgets' ),
|
294 |
+
),
|
295 |
+
|
296 |
+
'icon_location' => array(
|
297 |
+
'type' => 'select',
|
298 |
+
'label' => __( 'Icon Location', 'wpinked-widgets' ),
|
299 |
+
'default' => 'left',
|
300 |
+
'options' => array(
|
301 |
+
'left' => __( 'Before Text', 'wpinked-widgets' ),
|
302 |
+
'right' => __( 'After Text', 'wpinked-widgets' ),
|
303 |
+
'above' => __( 'Above Text', 'wpinked-widgets' )
|
304 |
+
)
|
305 |
+
),
|
306 |
+
|
307 |
+
'button_color' => array(
|
308 |
+
'type' => 'color',
|
309 |
+
'label' => __( 'Highlight Color', 'wpinked-widgets' ),
|
310 |
+
'description' => __( 'Typically used as button background.', 'wpinked-widgets' ),
|
311 |
+
),
|
312 |
+
|
313 |
+
'text_color' => array(
|
314 |
+
'type' => 'color',
|
315 |
+
'label' => __( 'Base Color', 'wpinked-widgets' ),
|
316 |
+
'description' => __( 'Typically used as text color.', 'wpinked-widgets' ),
|
317 |
+
),
|
318 |
+
|
319 |
+
'id' => array(
|
320 |
+
'type' => 'text',
|
321 |
+
'label' => __( 'Button ID', 'wpinked-widgets' ),
|
322 |
+
'description' => __( 'An ID attribute allows you to target this button in Javascript.', 'wpinked-widgets' ),
|
323 |
+
),
|
324 |
+
|
325 |
+
'title' => array(
|
326 |
+
'type' => 'text',
|
327 |
+
'label' => __( 'Title attribute', 'wpinked-widgets' ),
|
328 |
+
'description' => __( 'Adds a title attribute to the button link.', 'wpinked-widgets' ),
|
329 |
+
),
|
330 |
+
|
331 |
+
'onclick' => array(
|
332 |
+
'type' => 'text',
|
333 |
+
'label' => __( 'Onclick', 'wpinked-widgets' ),
|
334 |
+
'description' => __( 'Run this Javascript when the button is clicked. Ideal for tracking.', 'wpinked-widgets' ),
|
335 |
+
),
|
336 |
+
|
337 |
+
'class' => array(
|
338 |
+
'type' => 'text',
|
339 |
+
'label' => __( 'Button Class', 'wpinked-widgets' ),
|
340 |
+
'description' => __( 'A Class attribute allows you to style this button with CSS.', 'wpinked-widgets' ),
|
341 |
+
),
|
342 |
+
|
343 |
+
)
|
344 |
+
),
|
345 |
+
);
|
346 |
+
}
|
347 |
+
|
348 |
+
function get_template_name( $instance ) {
|
349 |
+
return 'call-to-action';
|
350 |
+
}
|
351 |
+
|
352 |
+
function get_style_name( $instance ) {
|
353 |
+
return 'call-to-action';
|
354 |
+
}
|
355 |
+
|
356 |
+
function initialize() {
|
357 |
+
|
358 |
+
$this->register_frontend_styles(
|
359 |
+
array(
|
360 |
+
array( 'iw-call-to-action-css', plugin_dir_url(__FILE__) . 'css/call-to-action.css', array(), INKED_SO_VER )
|
361 |
+
)
|
362 |
+
);
|
363 |
+
|
364 |
+
}
|
365 |
+
|
366 |
+
function get_less_variables( $instance ) {
|
367 |
+
|
368 |
+
if( empty( $instance ) ) return array();
|
369 |
+
|
370 |
+
$less_variables = array(
|
371 |
+
'background' => $instance['styling']['background'],
|
372 |
+
'title-color' => $instance['styling']['title_color'],
|
373 |
+
'title-size' => $instance['styling']['title_size'],
|
374 |
+
'subtitle-color' => $instance['styling']['subtitle_color'],
|
375 |
+
'subtitle-size' => $instance['styling']['subtitle_size'],
|
376 |
+
// 'btn-fullwidth' => $instance['btn-styling']['fullwidth'],
|
377 |
+
'btn-theme' => $instance['btn-styling']['theme'],
|
378 |
+
'btn-corners' => $instance['btn-styling']['corners'],
|
379 |
+
'btn-size' => $instance['btn-styling']['size'],
|
380 |
+
'btn-1-h-color' => $instance['btn-1']['button_color'],
|
381 |
+
'btn-1-t-color' => $instance['btn-1']['text_color'],
|
382 |
+
'btn-2-h-color' => $instance['btn-2']['button_color'],
|
383 |
+
'btn-2-t-color' => $instance['btn-2']['text_color'],
|
384 |
+
'btn-1-icon' => $instance['btn-1']['icon_location'],
|
385 |
+
'btn-2-icon' => $instance['btn-2']['icon_location'],
|
386 |
+
);
|
387 |
+
if ( $instance['styling']['title_font'] && function_exists( 'wpinked_pro_so_widgets' ) ) {
|
388 |
+
$selected_font = siteorigin_widget_get_font( $instance['styling']['title_font'] );
|
389 |
+
$less_variables['title-font-fly'] = $selected_font['family'];
|
390 |
+
if( ! empty( $selected_font['weight'] ) ) {
|
391 |
+
$less_variables['title-font-wt'] = $selected_font['weight'];
|
392 |
+
}
|
393 |
+
}
|
394 |
+
if ( $instance['styling']['subtitle_font'] && function_exists( 'wpinked_pro_so_widgets' ) ) {
|
395 |
+
$selected_font = siteorigin_widget_get_font( $instance['styling']['subtitle_font'] );
|
396 |
+
$less_variables['subtitle-font-fly'] = $selected_font['family'];
|
397 |
+
if( ! empty( $selected_font['weight'] ) ) {
|
398 |
+
$less_variables['subtitle-font-wt'] = $selected_font['weight'];
|
399 |
+
}
|
400 |
+
}
|
401 |
+
if ( $instance['btn-styling']['font'] && function_exists( 'wpinked_pro_so_widgets' ) ) {
|
402 |
+
$selected_font = siteorigin_widget_get_font( $instance['btn-styling']['font'] );
|
403 |
+
$less_variables['btn-font-fly'] = $selected_font['family'];
|
404 |
+
if( ! empty( $selected_font['weight'] ) ) {
|
405 |
+
$less_variables['btn-font-wt'] = $selected_font['weight'];
|
406 |
+
}
|
407 |
+
}
|
408 |
+
return $less_variables;
|
409 |
+
|
410 |
+
}
|
411 |
+
|
412 |
+
function get_template_variables( $instance, $args ) {
|
413 |
+
|
414 |
+
if( empty( $instance ) ) return array();
|
415 |
+
|
416 |
+
return array(
|
417 |
+
'title' => $instance['text']['title'],
|
418 |
+
'subtitle' => $instance['text']['subtitle'],
|
419 |
+
'orientation' => $instance['styling']['orientation'],
|
420 |
+
'align' => $instance['styling']['align'],
|
421 |
+
'btn_hover' => $instance['btn-styling']['hover'],
|
422 |
+
'btn_click' => $instance['btn-styling']['click'],
|
423 |
+
'btn_1_text' => $instance['btn-1']['text'],
|
424 |
+
'btn_1_url' => $instance['btn-1']['url'],
|
425 |
+
'btn_1_target' => $instance['btn-1']['new_window'],
|
426 |
+
'btn_1_icon' => $instance['btn-1']['icon'],
|
427 |
+
'btn_1_id' => $instance['btn-1']['id'],
|
428 |
+
'btn_1_title' => $instance['btn-1']['title'],
|
429 |
+
'btn_1_onclick' => $instance['btn-1']['onclick'],
|
430 |
+
'btn_1_class' => $instance['btn-1']['class'],
|
431 |
+
'btn_2_text' => $instance['btn-2']['text'],
|
432 |
+
'btn_2_url' => $instance['btn-2']['url'],
|
433 |
+
'btn_2_target' => $instance['btn-2']['new_window'],
|
434 |
+
'btn_2_icon' => $instance['btn-2']['icon'],
|
435 |
+
'btn_2_id' => $instance['btn-2']['id'],
|
436 |
+
'btn_2_title' => $instance['btn-2']['title'],
|
437 |
+
'btn_2_onclick' => $instance['btn-2']['onclick'],
|
438 |
+
'btn_2_class' => $instance['btn-2']['class'],
|
439 |
+
);
|
440 |
+
}
|
441 |
+
|
442 |
+
function get_google_font_fields( $instance ) {
|
443 |
+
if( empty( $instance ) || ! function_exists( 'wpinked_pro_so_widgets' ) ) return array();
|
444 |
+
|
445 |
+
$fonts = array();
|
446 |
+
if ( $instance['styling']['title_font'] ) {
|
447 |
+
$fonts[] = $instance['styling']['title_font'];
|
448 |
+
}
|
449 |
+
if ( $instance['styling']['subtitle_font'] ) {
|
450 |
+
$fonts[] = $instance['styling']['subtitle_font'];
|
451 |
+
}
|
452 |
+
if ( $instance['btn-styling']['font'] ) {
|
453 |
+
$fonts[] = $instance['btn-styling']['font'];
|
454 |
+
}
|
455 |
+
return $fonts;
|
456 |
+
}
|
457 |
+
|
458 |
+
}
|
459 |
+
|
460 |
+
siteorigin_widget_register( 'ink-call-to-action', __FILE__, 'Inked_Call_To_Action_SO_Widget' );
|
widgets/ink-ctoa-widget/js/alert.js
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(
|
2 |
+
function ( $ ) {
|
3 |
+
|
4 |
+
$.fn.iwInitAlert = function(){
|
5 |
+
"use strict";
|
6 |
+
|
7 |
+
if( $( '.iw-so-alert' ).length ) {
|
8 |
+
$( '.iw-so-alert' ).each( function() {
|
9 |
+
$(this).find( '.close' ).click( function( e ) {
|
10 |
+
e.preventDefault();
|
11 |
+
$(this).closest( '.widget_ink-alert' ).fadeOut( 500 );
|
12 |
+
} );
|
13 |
+
} );
|
14 |
+
}
|
15 |
+
}
|
16 |
+
|
17 |
+
}
|
18 |
+
)( jQuery );
|
19 |
+
|
20 |
+
jQuery( function ( $ ) {
|
21 |
+
$( document ).iwInitAlert();
|
22 |
+
} );
|
widgets/ink-ctoa-widget/js/alert.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(t){t.fn.iwInitAlert=function(){"use strict";t(".iw-so-alert").length&&t(".iw-so-alert").each(function(){t(this).find(".close").click(function(e){e.preventDefault(),t(this).closest(".widget_ink-alert").fadeOut(500)})})}}(jQuery),jQuery(function(t){t(document).iwInitAlert()});
|
widgets/ink-ctoa-widget/styles/call-to-action.less
ADDED
@@ -0,0 +1,373 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@import "../mixins/less/mixins";
|
2 |
+
|
3 |
+
.widget-function('import_google_font');
|
4 |
+
|
5 |
+
@background: #fff;
|
6 |
+
@title-color: '';
|
7 |
+
@title-size: '';
|
8 |
+
@subtitle-color:'';
|
9 |
+
@subtitle-size: '';
|
10 |
+
@btn-fullwidth: '';
|
11 |
+
@btn-theme: classic;
|
12 |
+
@btn-corners: 0.25em;
|
13 |
+
@btn-size: standard;
|
14 |
+
@btn-1-h-color: transparent;
|
15 |
+
@btn-1-t-color: '';
|
16 |
+
@btn-2-h-color: transparent;
|
17 |
+
@btn-2-t-color: '';
|
18 |
+
@title-font-fly: default;
|
19 |
+
@title-font-wt: '';
|
20 |
+
@subtitle-font-fly: default;
|
21 |
+
@subtitle-font-wt: '';
|
22 |
+
@btn-font-fly: default;
|
23 |
+
@btn-font-wt: '';
|
24 |
+
@btn-1-icon: left;
|
25 |
+
@btn-2-icon: left;
|
26 |
+
|
27 |
+
.iw-so-call-to-action {
|
28 |
+
background: @background;
|
29 |
+
|
30 |
+
.iw-so-c2a-text {
|
31 |
+
.iw-so-c2a-title {
|
32 |
+
color: @title-color;
|
33 |
+
font-size: @title-size;
|
34 |
+
.font(@title-font-fly, @title-font-wt);
|
35 |
+
}
|
36 |
+
.iw-so-c2a-subtitle {
|
37 |
+
color: @subtitle-color;
|
38 |
+
font-size: @subtitle-size;
|
39 |
+
.font(@subtitle-font-fly, @subtitle-font-wt);
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
.iw-so-c2a-buttons {
|
44 |
+
.iw-so-c2a-btn-base {
|
45 |
+
.iw-so-button {
|
46 |
+
.font(@btn-font-fly, @btn-font-wt);
|
47 |
+
|
48 |
+
border-radius: @btn-corners;
|
49 |
+
|
50 |
+
.btn-size() when (@btn-size = tiny) {
|
51 |
+
font-size: 0.75em;
|
52 |
+
padding: 0.625em 1.25em;
|
53 |
+
}
|
54 |
+
.btn-size() when (@btn-size = small) {
|
55 |
+
font-size: 0.9em;
|
56 |
+
padding: 0.875em 1.75em;
|
57 |
+
}
|
58 |
+
.btn-size() when (@btn-size = standard) {
|
59 |
+
font-size: 1.2em;
|
60 |
+
padding: 1em 2em ;
|
61 |
+
}
|
62 |
+
.btn-size() when (@btn-size = large) {
|
63 |
+
font-size: 1.75em;
|
64 |
+
padding: 1.125em 2.25em;
|
65 |
+
}
|
66 |
+
.btn-size();
|
67 |
+
|
68 |
+
[class^="sow-icon-"] {
|
69 |
+
|
70 |
+
.icon-size() when (@btn-size = tiny) {
|
71 |
+
font-size: 0.9em;
|
72 |
+
}
|
73 |
+
.icon-size() when (@btn-size = small) {
|
74 |
+
font-size: 1.1em;
|
75 |
+
}
|
76 |
+
.icon-size() when (@btn-size = standard) {
|
77 |
+
font-size: 1.5em;
|
78 |
+
}
|
79 |
+
.icon-size() when (@btn-size = large) {
|
80 |
+
font-size: 2em;
|
81 |
+
}
|
82 |
+
.icon-size();
|
83 |
+
|
84 |
+
height: 1em;
|
85 |
+
width: auto;
|
86 |
+
display: block;
|
87 |
+
|
88 |
+
}
|
89 |
+
|
90 |
+
&.iw-so-button-1 {
|
91 |
+
color: @btn-1-t-color;
|
92 |
+
.btn-theme() when (@btn-theme = classic) {
|
93 |
+
.gradient(@btn-1-h-color, darken(@btn-1-h-color, 15%), @btn-1-h-color);
|
94 |
+
border: 1px solid;
|
95 |
+
border-color: darken(@btn-1-h-color, 8%) darken(@btn-1-h-color, 10%) darken(@btn-1-h-color, 13%) darken(@btn-1-h-color, 10%);
|
96 |
+
}
|
97 |
+
.btn-theme() when (@btn-theme = flat) {
|
98 |
+
background: @btn-1-h-color;
|
99 |
+
border: 1px solid @btn-1-h-color;
|
100 |
+
}
|
101 |
+
.btn-theme() when (@btn-theme = outline) {
|
102 |
+
background: transparent;
|
103 |
+
border: 2px solid @btn-1-h-color;
|
104 |
+
color: @btn-1-h-color;
|
105 |
+
}
|
106 |
+
.btn-theme() when (@btn-theme = threed) {
|
107 |
+
background: @btn-1-h-color;
|
108 |
+
box-shadow: 0px 5px 0px 0px darken(@btn-1-h-color, 10%);
|
109 |
+
}
|
110 |
+
.btn-theme() when (@btn-theme = shadow) {
|
111 |
+
.drop-shadow(1px, 1px, 4px, 0.4);
|
112 |
+
background: @btn-1-h-color;
|
113 |
+
border: 1px solid @btn-1-h-color;
|
114 |
+
}
|
115 |
+
.btn-theme() when (@btn-theme = deline) {
|
116 |
+
background: @btn-1-h-color;
|
117 |
+
border: 2px solid @btn-1-h-color;
|
118 |
+
}
|
119 |
+
.btn-theme();
|
120 |
+
|
121 |
+
[class^="sow-icon-"] {
|
122 |
+
|
123 |
+
.icon-loc() when (@btn-1-icon = left) {
|
124 |
+
float: left;
|
125 |
+
margin: -0.1em 0.75em -0.2em 0em;
|
126 |
+
}
|
127 |
+
.icon-loc() when (@btn-1-icon = right) {
|
128 |
+
float: right;
|
129 |
+
margin: -0.1em 0em -0.2em 0.75em;
|
130 |
+
}
|
131 |
+
.icon-loc() when (@btn-1-icon = above) {
|
132 |
+
margin: -0.1em auto 0.5em auto;
|
133 |
+
}
|
134 |
+
.icon-loc();
|
135 |
+
|
136 |
+
}
|
137 |
+
|
138 |
+
&:hover {
|
139 |
+
|
140 |
+
.dft-theme() when (@btn-theme = classic) {
|
141 |
+
color: @btn-1-t-color;
|
142 |
+
}
|
143 |
+
.dft-theme() when (@btn-theme = flat) {
|
144 |
+
color: @btn-1-t-color;
|
145 |
+
}
|
146 |
+
.dft-theme() when (@btn-theme = outline) {
|
147 |
+
color: @btn-1-h-color;
|
148 |
+
}
|
149 |
+
.dft-theme() when (@btn-theme = threed) {
|
150 |
+
color: @btn-1-t-color;
|
151 |
+
}
|
152 |
+
.dft-theme() when (@btn-theme = shadow) {
|
153 |
+
color: @btn-1-t-color;
|
154 |
+
}
|
155 |
+
.dft-theme() when (@btn-theme = deline) {
|
156 |
+
color: @btn-1-t-color;
|
157 |
+
}
|
158 |
+
.dft-theme();
|
159 |
+
|
160 |
+
}
|
161 |
+
|
162 |
+
&.iw-so-button-hover {
|
163 |
+
|
164 |
+
&:hover {
|
165 |
+
color: @btn-1-t-color;
|
166 |
+
|
167 |
+
.btn-hover() when (@btn-theme = classic) {
|
168 |
+
.gradient(lighten(@btn-1-h-color, 2%), darken(@btn-1-h-color, 20%), lighten(@btn-1-h-color, 2%));
|
169 |
+
border-color: darken(@btn-1-h-color, 4%) darken(@btn-1-h-color, 6%) darken(@btn-1-h-color, 18%) darken(@btn-1-h-color, 6%);
|
170 |
+
color: @btn-1-t-color;
|
171 |
+
}
|
172 |
+
.btn-hover() when (@btn-theme = flat) {
|
173 |
+
background: darken(@btn-1-h-color, 7.5%);
|
174 |
+
border-color: darken(@btn-1-h-color, 7.5%);
|
175 |
+
}
|
176 |
+
.btn-hover() when (@btn-theme = outline) {
|
177 |
+
background: @btn-1-h-color;
|
178 |
+
color: @btn-1-t-color;
|
179 |
+
}
|
180 |
+
.btn-hover() when (@btn-theme = threed) {
|
181 |
+
background: lighten(@btn-1-h-color, 10%);
|
182 |
+
}
|
183 |
+
.btn-hover() when (@btn-theme = shadow) {
|
184 |
+
background: lighten(@btn-1-h-color, 5%);
|
185 |
+
border-color: lighten(@btn-1-h-color, 5%);
|
186 |
+
.drop-shadow(1px, 1px, 8px, 0.4);
|
187 |
+
}
|
188 |
+
.btn-hover() when (@btn-theme = deline) {
|
189 |
+
color: @btn-1-h-color;
|
190 |
+
background: transparent;
|
191 |
+
}
|
192 |
+
.btn-hover();
|
193 |
+
}
|
194 |
+
}
|
195 |
+
|
196 |
+
&.iw-so-button-click {
|
197 |
+
&:active {
|
198 |
+
.btn-active() when (@btn-theme = classic) {
|
199 |
+
.box-shadow(inset 0 3px 25px darken(@btn-1-h-color, 25%));
|
200 |
+
}
|
201 |
+
.btn-active() when (@btn-theme = flat) {
|
202 |
+
background: darken(@btn-1-h-color, 15%);
|
203 |
+
border-color: darken(@btn-1-h-color, 15%);
|
204 |
+
}
|
205 |
+
.btn-active() when (@btn-theme = outline) {
|
206 |
+
background: lighten(@btn-1-h-color, 10%);
|
207 |
+
border-color: lighten(@btn-1-h-color, 10%);
|
208 |
+
color: @btn-1-t-color;
|
209 |
+
}
|
210 |
+
.btn-active() when (@btn-theme = threed) {
|
211 |
+
-webkit-transform: translate(0, 5px);
|
212 |
+
-moz-transform: translate(0, 5px);
|
213 |
+
-ms-transform: translate(0, 5px);
|
214 |
+
-o-transform: translate(0, 5px);
|
215 |
+
transform: translate(0, 5px);
|
216 |
+
box-shadow: 0px 1px 0px 0px;
|
217 |
+
}
|
218 |
+
.btn-active() when (@btn-theme = shadow) {
|
219 |
+
background: darken(@btn-1-h-color, 4%);
|
220 |
+
border-color: darken(@btn-1-h-color, 4%);
|
221 |
+
}
|
222 |
+
.btn-active() when (@btn-theme = deline) {
|
223 |
+
color: lighten(@btn-1-h-color, 20%);
|
224 |
+
border-color: lighten(@btn-1-h-color, 20%);
|
225 |
+
background: transparent;
|
226 |
+
}
|
227 |
+
.btn-active();
|
228 |
+
}
|
229 |
+
}
|
230 |
+
}
|
231 |
+
|
232 |
+
&.iw-so-button-2 {
|
233 |
+
color: @btn-2-t-color;
|
234 |
+
.btn-theme() when (@btn-theme = classic) {
|
235 |
+
.gradient(@btn-2-h-color, darken(@btn-2-h-color, 15%), @btn-2-h-color);
|
236 |
+
border: 1px solid;
|
237 |
+
border-color: darken(@btn-2-h-color, 8%) darken(@btn-2-h-color, 10%) darken(@btn-2-h-color, 13%) darken(@btn-2-h-color, 10%);
|
238 |
+
}
|
239 |
+
.btn-theme() when (@btn-theme = flat) {
|
240 |
+
background: @btn-2-h-color;
|
241 |
+
border: 1px solid @btn-2-h-color;
|
242 |
+
}
|
243 |
+
.btn-theme() when (@btn-theme = outline) {
|
244 |
+
background: transparent;
|
245 |
+
border: 2px solid @btn-2-h-color;
|
246 |
+
color: @btn-2-h-color;
|
247 |
+
}
|
248 |
+
.btn-theme() when (@btn-theme = threed) {
|
249 |
+
background: @btn-2-h-color;
|
250 |
+
box-shadow: 0px 5px 0px 0px darken(@btn-2-h-color, 10%);
|
251 |
+
}
|
252 |
+
.btn-theme() when (@btn-theme = shadow) {
|
253 |
+
.drop-shadow(1px, 1px, 4px, 0.4);
|
254 |
+
background: @btn-2-h-color;
|
255 |
+
border: 1px solid @btn-2-h-color;
|
256 |
+
}
|
257 |
+
.btn-theme() when (@btn-theme = deline) {
|
258 |
+
background: @btn-2-h-color;
|
259 |
+
border: 2px solid @btn-2-h-color;
|
260 |
+
}
|
261 |
+
.btn-theme();
|
262 |
+
|
263 |
+
[class^="sow-icon-"] {
|
264 |
+
|
265 |
+
.icon-loc() when (@btn-2-icon = left) {
|
266 |
+
float: left;
|
267 |
+
margin: 0 0.75em 0 0;
|
268 |
+
}
|
269 |
+
.icon-loc() when (@btn-2-icon = right) {
|
270 |
+
float: right;
|
271 |
+
margin: 0 0 0 0.75em;
|
272 |
+
}
|
273 |
+
.icon-loc() when (@btn-2-icon = above) {
|
274 |
+
margin: -0.1em auto 0.5em auto;
|
275 |
+
}
|
276 |
+
.icon-loc();
|
277 |
+
|
278 |
+
}
|
279 |
+
|
280 |
+
&:hover {
|
281 |
+
|
282 |
+
.dft-theme() when (@btn-theme = classic) {
|
283 |
+
color: @btn-2-t-color;
|
284 |
+
}
|
285 |
+
.dft-theme() when (@btn-theme = flat) {
|
286 |
+
color: @btn-2-t-color;
|
287 |
+
}
|
288 |
+
.dft-theme() when (@btn-theme = outline) {
|
289 |
+
color: @btn-2-h-color;
|
290 |
+
}
|
291 |
+
.dft-theme() when (@btn-theme = threed) {
|
292 |
+
color: @btn-2-t-color;
|
293 |
+
}
|
294 |
+
.dft-theme() when (@btn-theme = shadow) {
|
295 |
+
color: @btn-2-t-color;
|
296 |
+
}
|
297 |
+
.dft-theme() when (@btn-theme = deline) {
|
298 |
+
color: @btn-2-t-color;
|
299 |
+
}
|
300 |
+
.dft-theme();
|
301 |
+
}
|
302 |
+
|
303 |
+
&.iw-so-button-hover {
|
304 |
+
&:hover {
|
305 |
+
color: @btn-1-t-color;
|
306 |
+
.btn-hover() when (@btn-theme = classic) {
|
307 |
+
.gradient(lighten(@btn-2-h-color, 2%), darken(@btn-2-h-color, 20%), lighten(@btn-2-h-color, 2%));
|
308 |
+
border-color: darken(@btn-2-h-color, 4%) darken(@btn-2-h-color, 6%) darken(@btn-2-h-color, 18%) darken(@btn-2-h-color, 6%);
|
309 |
+
color: @btn-1-t-color;
|
310 |
+
}
|
311 |
+
.btn-hover() when (@btn-theme = flat) {
|
312 |
+
background: darken(@btn-2-h-color, 7.5%);
|
313 |
+
border-color: darken(@btn-2-h-color, 7.5%);
|
314 |
+
}
|
315 |
+
.btn-hover() when (@btn-theme = outline) {
|
316 |
+
background: @btn-2-h-color;
|
317 |
+
color: @btn-1-t-color;
|
318 |
+
}
|
319 |
+
.btn-hover() when (@btn-theme = threed) {
|
320 |
+
background: lighten(@btn-2-h-color, 10%);
|
321 |
+
}
|
322 |
+
.btn-hover() when (@btn-theme = shadow) {
|
323 |
+
background: lighten(@btn-2-h-color, 5%);
|
324 |
+
border-color: lighten(@btn-2-h-color, 5%);
|
325 |
+
.drop-shadow(1px, 1px, 8px, 0.4);
|
326 |
+
}
|
327 |
+
.btn-hover() when (@btn-theme = deline) {
|
328 |
+
color: @btn-2-h-color;
|
329 |
+
background: transparent;
|
330 |
+
}
|
331 |
+
.btn-hover();
|
332 |
+
}
|
333 |
+
}
|
334 |
+
|
335 |
+
&.iw-so-button-click {
|
336 |
+
&:active {
|
337 |
+
.btn-active() when (@btn-theme = classic) {
|
338 |
+
.box-shadow(inset 0 3px 25px darken(@btn-2-h-color, 25%));
|
339 |
+
}
|
340 |
+
.btn-active() when (@btn-theme = flat) {
|
341 |
+
background: darken(@btn-2-h-color, 15%);
|
342 |
+
border-color: darken(@btn-2-h-color, 15%);
|
343 |
+
}
|
344 |
+
.btn-active() when (@btn-theme = outline) {
|
345 |
+
background: lighten(@btn-2-h-color, 10%);
|
346 |
+
border-color: lighten(@btn-2-h-color, 10%);
|
347 |
+
color: @btn-1-t-color;
|
348 |
+
}
|
349 |
+
.btn-active() when (@btn-theme = threed) {
|
350 |
+
-webkit-transform: translate(0, 5px);
|
351 |
+
-moz-transform: translate(0, 5px);
|
352 |
+
-ms-transform: translate(0, 5px);
|
353 |
+
-o-transform: translate(0, 5px);
|
354 |
+
transform: translate(0, 5px);
|
355 |
+
box-shadow: 0px 1px 0px 0px;
|
356 |
+
}
|
357 |
+
.btn-active() when (@btn-theme = shadow) {
|
358 |
+
background: darken(@btn-2-h-color, 4%);
|
359 |
+
border-color: darken(@btn-2-h-color, 4%);
|
360 |
+
}
|
361 |
+
.btn-active() when (@btn-theme = deline) {
|
362 |
+
color: lighten(@btn-2-h-color, 20%);
|
363 |
+
border-color: lighten(@btn-2-h-color, 20%);
|
364 |
+
background: transparent;
|
365 |
+
}
|
366 |
+
.btn-active();
|
367 |
+
}
|
368 |
+
}
|
369 |
+
}
|
370 |
+
}
|
371 |
+
}
|
372 |
+
}
|
373 |
+
}
|
widgets/ink-ctoa-widget/tpl/call-to-action.php
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
$btn_1_classes = array( 'iw-so-button', 'iw-so-button-1' );
|
3 |
+
if ( ! empty( $btn_hover ) ) $btn_1_classes[] = 'iw-so-button-hover';
|
4 |
+
if ( ! empty( $btn_click ) ) $btn_1_classes[] = 'iw-so-button-click';
|
5 |
+
if ( ! empty( $btn_1_class ) ) $btn_1_classes[] = esc_attr( $btn_1_class );
|
6 |
+
$btn_1_attributes = array( 'class' => esc_attr ( implode ( ' ', $btn_1_classes ) ) );
|
7 |
+
if ( ! empty( $btn_1_target ) ) $btn_1_attributes['target'] = '_blank';
|
8 |
+
if ( ! empty( $btn_1_url ) ) $btn_1_attributes['href'] = sow_esc_url( $btn_1_url );
|
9 |
+
if ( ! empty( $btn_1_id ) ) $btn_1_attributes['id'] = esc_attr( $btn_1_id );
|
10 |
+
if ( ! empty( $btn_1_title ) ) $btn_1_attributes['title'] = esc_attr( $btn_1_title );
|
11 |
+
if ( ! empty( $btn_1_onclick ) ) $btn_1_attributes['onclick'] = esc_attr( $btn_1_onclick );
|
12 |
+
|
13 |
+
$btn_2_classes = array( 'iw-so-button', 'iw-so-button-2' );
|
14 |
+
if ( ! empty( $btn_hover ) ) $btn_2_classes[] = 'iw-so-button-hover';
|
15 |
+
if ( ! empty( $btn_click ) ) $btn_2_classes[] = 'iw-so-button-click';
|
16 |
+
if ( ! empty( $btn_2_class ) ) $btn_2_classes[] = esc_attr( $btn_2_class );
|
17 |
+
$btn_2_attributes = array( 'class' => esc_attr ( implode ( ' ', $btn_2_classes ) ) );
|
18 |
+
if ( ! empty( $btn_2_target ) ) $btn_2_attributes['target'] = '_blank';
|
19 |
+
if ( ! empty( $btn_2_url ) ) $btn_2_attributes['href'] = sow_esc_url( $btn_2_url );
|
20 |
+
if ( ! empty( $btn_2_id ) ) $btn_2_attributes['id'] = esc_attr( $btn_2_id );
|
21 |
+
if ( ! empty( $btn_2_title ) ) $btn_2_attributes['title'] = esc_attr( $btn_2_title );
|
22 |
+
if ( ! empty( $btn_2_onclick ) ) $btn_2_attributes['onclick'] = esc_attr( $btn_2_onclick );
|
23 |
+
|
24 |
+
$icon_styles = array();
|
25 |
+
?>
|
26 |
+
|
27 |
+
<div class="iw-so-call-to-action iw-so-c2a-<?php echo esc_attr( $orientation ); ?>">
|
28 |
+
|
29 |
+
<div class="iw-so-c2a-text">
|
30 |
+
|
31 |
+
<?php if ( $title ): ?>
|
32 |
+
<h3 class="iw-so-c2a-title iw-text-<?php echo esc_attr( $align ); ?>"><?php echo wp_kses_post( $title ); ?></h3>
|
33 |
+
<?php endif; ?>
|
34 |
+
<?php if ( $subtitle ): ?>
|
35 |
+
<p class="iw-so-c2a-subtitle iw-text-<?php echo esc_attr( $align ); ?>"><?php echo wp_kses_post( $subtitle ); ?></p>
|
36 |
+
<?php endif; ?>
|
37 |
+
|
38 |
+
</div>
|
39 |
+
|
40 |
+
<div class="iw-so-c2a-buttons">
|
41 |
+
<?php if ( $btn_1_text ): ?>
|
42 |
+
<div class="iw-so-c2a-btn-base iw-text-center">
|
43 |
+
<a <?php foreach($btn_1_attributes as $name => $val) echo $name . '="' . $val . '" ' ?>>
|
44 |
+
<?php echo siteorigin_widget_get_icon( $btn_1_icon, $icon_styles ); ?>
|
45 |
+
<?php echo esc_html( $btn_1_text ); ?>
|
46 |
+
</a>
|
47 |
+
</div>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php if ( $btn_2_text ): ?>
|
50 |
+
<div class="iw-so-c2a-btn-base iw-text-center">
|
51 |
+
<a <?php foreach($btn_2_attributes as $name => $val) echo $name . '="' . $val . '" ' ?>>
|
52 |
+
<?php echo siteorigin_widget_get_icon( $btn_2_icon, $icon_styles ); ?>
|
53 |
+
<?php echo esc_html( $btn_2_text ); ?>
|
54 |
+
</a>
|
55 |
+
</div>
|
56 |
+
<?php endif; ?>
|
57 |
+
</div>
|
58 |
+
|
59 |
+
</div>
|
widgets/ink-dvdr-widget/ink-dvdr-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Divider/Gap
|
5 |
Description: Draw seperators or create gaps in your page.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Divider_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Divider_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Divider', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Draw seperators or create gaps in your page.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Divider/Gap
|
5 |
Description: Draw seperators or create gaps in your page.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Divider_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Divider', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Draw seperators or create gaps in your page.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#divider'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-fard-widget/ink-fard-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Filter Accordion
|
5 |
Description: Expand and collapse content that is broken into logical sections.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Filter_Accordion_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Filter_Accordion_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Filter Accordion', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Expand and collapse content that is broken into logical sections.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Filter Accordion
|
5 |
Description: Expand and collapse content that is broken into logical sections.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Filter_Accordion_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Filter Accordion', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Expand and collapse content that is broken into logical sections.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#filter-accordion'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-imge-widget/ink-imge-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Image
|
5 |
Description: Spice up your images.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Image_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Image_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Image', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Spice up your images.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Image
|
5 |
Description: Spice up your images.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Image_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Image', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Spice up your images.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#image'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-mbox-widget/ink-mbox-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Media Box
|
5 |
Description: Highlight important bits of information.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Media_Box_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Media_Box_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Media Box', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Highlight important bits of information.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Media Box
|
5 |
Description: Highlight important bits of information.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Media_Box_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Media Box', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Highlight important bits of information.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#media-box'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-numc-widget/ink-numc-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Number Counter
|
5 |
Description: Animated numbers to display your stats.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Number_Counter_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Number_Counter_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Number Counter', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Animated numbers to display your stats.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Number Counter
|
5 |
Description: Animated numbers to display your stats.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Number_Counter_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Number Counter', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Animated numbers to display your stats.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#number-counter'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-prit-widget/ink-prit-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Pricing Table
|
5 |
Description: Simple responsive pricing tables.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Pricing_Table_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Pricing_Table_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Pricing Table', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Simple responsive pricing tables.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Pricing Table
|
5 |
Description: Simple responsive pricing tables.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Pricing_Table_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Pricing Table', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Simple responsive pricing tables.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#pricing-table'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-prsn-widget/ink-prsn-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Person
|
5 |
Description: Getting to know you better.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Person_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Person_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Person', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Getting to know you better.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Person
|
5 |
Description: Getting to know you better.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Person_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Person', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Getting to know you better.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#person'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-ptfl-widget/ink-ptfl-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Portfolio
|
5 |
Description: Show off your work.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Folio_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Folio_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Portfolio', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Show off your work.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Portfolio
|
5 |
Description: Show off your work.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Folio_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Portfolio', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Show off your work.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#portfolio'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-sldr-widget/ink-sldr-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Slider
|
5 |
Description: A most basic image slider to leave a great impression.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Slider_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Slider_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Slider', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'A most basic image slider to leave a great impression.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Slider
|
5 |
Description: A most basic image slider to leave a great impression.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Slider_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Slider', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'A most basic image slider to leave a great impression.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#slider'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-tabb-widget/ink-tabb-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Tabs
|
5 |
Description: Organize and navigate multiple documents in a single container.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Tabs_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Tabs_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Tabs', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Organize and navigate multiple documents in a single container.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Tabs
|
5 |
Description: Organize and navigate multiple documents in a single container.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Tabs_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Tabs', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Organize and navigate multiple documents in a single container.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#tabs'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-tsml-widget/ink-tsml-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Testimonial
|
5 |
Description: Highlight what your customers think of you.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Testimonial_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Testimonial_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Testimonial', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Highlight what your customers think of you.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Testimonial
|
5 |
Description: Highlight what your customers think of you.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Testimonial_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Testimonial', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Highlight what your customers think of you.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#testimonial'
|
20 |
),
|
21 |
array(
|
22 |
),
|
widgets/ink-vids-widget/ink-vids-widget.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Widget Name: Inked Video
|
5 |
Description: Play self or externally hosted videos.
|
6 |
Author: wpinked
|
7 |
-
Author URI:
|
8 |
*/
|
9 |
|
10 |
class Inked_Video_SO_Widget extends SiteOrigin_Widget {
|
@@ -16,7 +16,7 @@ class Inked_Video_SO_Widget extends SiteOrigin_Widget {
|
|
16 |
__( 'Inked Video', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Play self or externally hosted videos.', 'wpinked-widgets' ),
|
19 |
-
'help' => '
|
20 |
),
|
21 |
array(
|
22 |
),
|
4 |
Widget Name: Inked Video
|
5 |
Description: Play self or externally hosted videos.
|
6 |
Author: wpinked
|
7 |
+
Author URI: https://wpinked.com
|
8 |
*/
|
9 |
|
10 |
class Inked_Video_SO_Widget extends SiteOrigin_Widget {
|
16 |
__( 'Inked Video', 'wpinked-widgets' ),
|
17 |
array(
|
18 |
'description' => __( 'Play self or externally hosted videos.', 'wpinked-widgets' ),
|
19 |
+
'help' => 'https://wpinked.com/widgets-for-siteorigin-docs/#video'
|
20 |
),
|
21 |
array(
|
22 |
),
|