Version Description
(Bug) Fixes: - It's not possible anymore to insert any other caracter than numbers inside the placing procent-box - Ordering label problem fixed, no overlaying labels anymore when hovering - When 'Show on scroll' enabled the buttons will now animate in and out, instead of just hiding and showing. - The label next to the button when mirrored is now at the right side (as it supposed to be)
Download this release
Release Info
Developer | buttonizer |
Plugin | Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- buttonizer.php +2 -2
- classes/admin/General.php +2 -2
- classes/default/main.php +6 -6
- css/buttonizer.css +18 -19
- readme.txt +9 -1
buttonizer.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Buttonizer - Smart Floating Action Button
|
4 |
Plugin URI: https://buttonizer.pro
|
5 |
Description: The Buttonizer is a new way to give a boost to your number of interactions, actions and conversions from your website visitor by adding one or multiple Customizable Smart Floating Button in the corner of your website.
|
6 |
-
Version: 1.
|
7 |
Author: Buttonizer
|
8 |
Author URI: https://buttonizer.pro
|
9 |
License: GPL2
|
@@ -34,7 +34,7 @@ define('BUTTONIZER_NAME', 'buttonizer');
|
|
34 |
define('BUTTONIZER_DIR', dirname(__FILE__));
|
35 |
define('BUTTONIZER_SLUG', basename(BUTTONIZER_DIR));
|
36 |
define('BUTTONIZER_PLUGIN_DIR', __FILE__ );
|
37 |
-
define('BUTTONIZER_VERSION','1.
|
38 |
|
39 |
# No script kiddies
|
40 |
defined( 'ABSPATH' ) or die('No script kiddies please!');
|
3 |
Plugin Name: Buttonizer - Smart Floating Action Button
|
4 |
Plugin URI: https://buttonizer.pro
|
5 |
Description: The Buttonizer is a new way to give a boost to your number of interactions, actions and conversions from your website visitor by adding one or multiple Customizable Smart Floating Button in the corner of your website.
|
6 |
+
Version: 1.3
|
7 |
Author: Buttonizer
|
8 |
Author URI: https://buttonizer.pro
|
9 |
License: GPL2
|
34 |
define('BUTTONIZER_DIR', dirname(__FILE__));
|
35 |
define('BUTTONIZER_SLUG', basename(BUTTONIZER_DIR));
|
36 |
define('BUTTONIZER_PLUGIN_DIR', __FILE__ );
|
37 |
+
define('BUTTONIZER_VERSION','1.3');
|
38 |
|
39 |
# No script kiddies
|
40 |
defined( 'ABSPATH' ) or die('No script kiddies please!');
|
classes/admin/General.php
CHANGED
@@ -315,14 +315,14 @@ class General
|
|
315 |
function field_position_horizontal()
|
316 |
{
|
317 |
$position_right = ( isset( $this->aSavedData['position_horizontal'] ) ? $this->aSavedData['position_horizontal'] : (( isset( $this->aSavedData['position_right'] ) ? $this->aSavedData['position_right'] : '5' )) );
|
318 |
-
return '<input type="text" name="buttonizer_general_settings[position_horizontal]" value="' . $position_right . '" placeholder="Fill in a number from 0 to 100"/><small><i class="after-input">%</i>
|
319 |
<div class="buttonizer-note">When the button placing is set on \'right\', this will be the space between the button and the right page corner. When your button placing is at the left corner, this will be the left space of your button. Recommended value is 5%.</div> ';
|
320 |
}
|
321 |
|
322 |
function field_position_bottom()
|
323 |
{
|
324 |
$position_bottom = ( isset( $this->aSavedData['position_bottom'] ) ? $this->aSavedData['position_bottom'] : '5' );
|
325 |
-
return '<input type="text" name="buttonizer_general_settings[position_bottom]" value="' . $position_bottom . '" placeholder="Fill in a number from 0 to 100"/><small><i class="after-input">%</i><br>Recommended 5% then it will position itself on the bottom corner</small>';
|
326 |
}
|
327 |
|
328 |
/**
|
315 |
function field_position_horizontal()
|
316 |
{
|
317 |
$position_right = ( isset( $this->aSavedData['position_horizontal'] ) ? $this->aSavedData['position_horizontal'] : (( isset( $this->aSavedData['position_right'] ) ? $this->aSavedData['position_right'] : '5' )) );
|
318 |
+
return '<input type="text" name="buttonizer_general_settings[position_horizontal]" value="' . $position_right . '" onkeypress="return event.charCode >= 48 && event.charCode <= 57" placeholder="Fill in a number from 0 to 100"/><small><i class="after-input">%</i>
|
319 |
<div class="buttonizer-note">When the button placing is set on \'right\', this will be the space between the button and the right page corner. When your button placing is at the left corner, this will be the left space of your button. Recommended value is 5%.</div> ';
|
320 |
}
|
321 |
|
322 |
function field_position_bottom()
|
323 |
{
|
324 |
$position_bottom = ( isset( $this->aSavedData['position_bottom'] ) ? $this->aSavedData['position_bottom'] : '5' );
|
325 |
+
return '<input type="text" name="buttonizer_general_settings[position_bottom]" value="' . $position_bottom . '" onkeypress="return event.charCode >= 48 && event.charCode <= 57" placeholder="Fill in a number from 0 to 100"/><small><i class="after-input">%</i><br>Recommended 5% then it will position itself on the bottom corner</small>';
|
326 |
}
|
327 |
|
328 |
/**
|
classes/default/main.php
CHANGED
@@ -51,10 +51,10 @@ class Button
|
|
51 |
add_action( 'wp_footer', function () {
|
52 |
// Setup
|
53 |
$this->setup();
|
54 |
-
// Generate
|
55 |
-
$this->generate();
|
56 |
// Share buttons
|
57 |
$this->share_btns();
|
|
|
|
|
58 |
// Output
|
59 |
$this->output();
|
60 |
} );
|
@@ -101,7 +101,7 @@ class Button
|
|
101 |
if ( 'continue' == $sButton ) {
|
102 |
continue;
|
103 |
} else {
|
104 |
-
$this->sOutput
|
105 |
}
|
106 |
|
107 |
$this->iAmountOfButtons++;
|
@@ -339,21 +339,21 @@ class Button
|
|
339 |
|
340 |
if ( isset( $this->aSettings["share_facebook"] ) && '1' == $this->aSettings["share_facebook"] ) {
|
341 |
$buttonText = ( isset( $this->aSettings['share_facebook_text'] ) && $this->aSettings['share_facebook_text'] != '' ? $this->aSettings['share_facebook_text'] : 'Share this on Facebok' );
|
342 |
-
$this->sOutput
|
343 |
$this->iAmountOfShareButtons++;
|
344 |
}
|
345 |
|
346 |
|
347 |
if ( isset( $this->aSettings["share_twitter"] ) && '1' == $this->aSettings["share_twitter"] ) {
|
348 |
$buttonText = ( isset( $this->aSettings['share_twitter_text'] ) && $this->aSettings['share_twitter_text'] != '' ? $this->aSettings['share_twitter_text'] : 'Share this on Twitter' );
|
349 |
-
$this->sOutput
|
350 |
$this->iAmountOfShareButtons++;
|
351 |
}
|
352 |
|
353 |
|
354 |
if ( isset( $this->aSettings["share_linkedin"] ) && '1' == $this->aSettings["share_linkedin"] ) {
|
355 |
$buttonText = ( isset( $this->aSettings['share_linkedin_text'] ) && $this->aSettings['share_linkedin_text'] != '' ? $this->aSettings['share_linkedin_text'] : 'Share this on LinkedIn' );
|
356 |
-
$this->sOutput
|
357 |
$this->iAmountOfShareButtons++;
|
358 |
}
|
359 |
|
51 |
add_action( 'wp_footer', function () {
|
52 |
// Setup
|
53 |
$this->setup();
|
|
|
|
|
54 |
// Share buttons
|
55 |
$this->share_btns();
|
56 |
+
// Generate
|
57 |
+
$this->generate();
|
58 |
// Output
|
59 |
$this->output();
|
60 |
} );
|
101 |
if ( 'continue' == $sButton ) {
|
102 |
continue;
|
103 |
} else {
|
104 |
+
$this->sOutput = $sButton . $this->sOutput;
|
105 |
}
|
106 |
|
107 |
$this->iAmountOfButtons++;
|
339 |
|
340 |
if ( isset( $this->aSettings["share_facebook"] ) && '1' == $this->aSettings["share_facebook"] ) {
|
341 |
$buttonText = ( isset( $this->aSettings['share_facebook_text'] ) && $this->aSettings['share_facebook_text'] != '' ? $this->aSettings['share_facebook_text'] : 'Share this on Facebok' );
|
342 |
+
$this->sOutput = '<a href="javascript:void(0)" onclick="onButtonizerClickEvent(\'Facebook share click\'); onButtonizerButtonFacebook();" class="is_extra share share_' . ($this->iAmountOfShareButtons + 1) . '">' . (( $buttonText != "" ? '<div class="text"><div>' . $buttonText . '</div></div>' : '' )) . '<i class="fa fa-facebook"></i></a>' . $this->sOutput;
|
343 |
$this->iAmountOfShareButtons++;
|
344 |
}
|
345 |
|
346 |
|
347 |
if ( isset( $this->aSettings["share_twitter"] ) && '1' == $this->aSettings["share_twitter"] ) {
|
348 |
$buttonText = ( isset( $this->aSettings['share_twitter_text'] ) && $this->aSettings['share_twitter_text'] != '' ? $this->aSettings['share_twitter_text'] : 'Share this on Twitter' );
|
349 |
+
$this->sOutput = '<a href="javascript:void(0)" onclick="onButtonizerClickEvent(\'Twitter share click\'); onButtonizerButtonTwitter();" class="is_extra share share_' . ($this->iAmountOfShareButtons + 1) . '">' . (( $buttonText != "" ? '<div class="text"><div>' . $buttonText . '</div></div>' : '' )) . '<i class="fa fa-twitter"></i></a>' . $this->sOutput;
|
350 |
$this->iAmountOfShareButtons++;
|
351 |
}
|
352 |
|
353 |
|
354 |
if ( isset( $this->aSettings["share_linkedin"] ) && '1' == $this->aSettings["share_linkedin"] ) {
|
355 |
$buttonText = ( isset( $this->aSettings['share_linkedin_text'] ) && $this->aSettings['share_linkedin_text'] != '' ? $this->aSettings['share_linkedin_text'] : 'Share this on LinkedIn' );
|
356 |
+
$this->sOutput = '<a href="javascript:void(0)" onclick="onButtonizerClickEvent(\'Linkedin share click\'); onButtonizerButtonLinkedin();" class="is_extra share share_' . ($this->iAmountOfShareButtons + 1) . '">' . (( $buttonText != "" ? '<div class="text"><div>' . $buttonText . '</div></div>' : '' )) . '<i class="fa fa-linkedin"></i></a>' . $this->sOutput;
|
357 |
$this->iAmountOfShareButtons++;
|
358 |
}
|
359 |
|
css/buttonizer.css
CHANGED
@@ -9,6 +9,12 @@
|
|
9 |
|
10 |
.buttonizer-button .buttonizer_inner {
|
11 |
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
}
|
13 |
|
14 |
.buttonizer-button:hover .c5 {
|
@@ -56,10 +62,10 @@
|
|
56 |
cursor:pointer;
|
57 |
outline:none;
|
58 |
position: relative;
|
59 |
-
transition: all 0.2s ease-out;
|
60 |
-
-moz-transition: all 0.2s ease-out;
|
61 |
-
-webkit-transition: all 0.2s ease-out;
|
62 |
-
-o-transition: all 0.2s ease-out;
|
63 |
margin-top: 5px;
|
64 |
line-height: 56px;
|
65 |
}
|
@@ -140,21 +146,9 @@
|
|
140 |
font-size: 18px;
|
141 |
}
|
142 |
|
143 |
-
.buttonizer-button.hide .buttonizer_inner
|
144 |
-
|
145 |
-
|
146 |
-
height: 0;
|
147 |
-
bottom: 20px;
|
148 |
-
right: 20px;
|
149 |
-
opacity: 0;
|
150 |
-
}
|
151 |
-
|
152 |
-
.buttonizer-button.hide #buttonizer-sys {
|
153 |
-
width:0;
|
154 |
-
height: 0;
|
155 |
-
bottom: 20px;
|
156 |
-
right: 20px;
|
157 |
-
opacity: 0;
|
158 |
}
|
159 |
|
160 |
.buttonizer-button .buttonizer_inner.opened .share_1 .text,
|
@@ -186,6 +180,11 @@
|
|
186 |
-webkit-border-radius: 3px;
|
187 |
}
|
188 |
|
|
|
|
|
|
|
|
|
|
|
189 |
.buttonizer-button .share .text {
|
190 |
opacity: 0;
|
191 |
visibility: hidden;
|
9 |
|
10 |
.buttonizer-button .buttonizer_inner {
|
11 |
position: relative;
|
12 |
+
transition: all 0.2s ease-in;
|
13 |
+
-moz-transition: all 0.2s ease-in;
|
14 |
+
-webkit-transition: all 0.2s ease-in;
|
15 |
+
-o-transition: all 0.2s ease-in;
|
16 |
+
bottom: 0;
|
17 |
+
opacity: 1;
|
18 |
}
|
19 |
|
20 |
.buttonizer-button:hover .c5 {
|
62 |
cursor:pointer;
|
63 |
outline:none;
|
64 |
position: relative;
|
65 |
+
transition: all 0.2s ease-in-out;
|
66 |
+
-moz-transition: all 0.2s ease-in-out;
|
67 |
+
-webkit-transition: all 0.2s ease-in-out;
|
68 |
+
-o-transition: all 0.2s ease-in-out;
|
69 |
margin-top: 5px;
|
70 |
line-height: 56px;
|
71 |
}
|
146 |
font-size: 18px;
|
147 |
}
|
148 |
|
149 |
+
.buttonizer-button.hide .buttonizer_inner {
|
150 |
+
bottom: -100px !important;
|
151 |
+
opacity: 0 !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
}
|
153 |
|
154 |
.buttonizer-button .buttonizer_inner.opened .share_1 .text,
|
180 |
-webkit-border-radius: 3px;
|
181 |
}
|
182 |
|
183 |
+
.buttonizer-button[label-style="mirrored"] .buttonizer_head .text {
|
184 |
+
left: 70px;
|
185 |
+
right: auto;
|
186 |
+
}
|
187 |
+
|
188 |
.buttonizer-button .share .text {
|
189 |
opacity: 0;
|
190 |
visibility: hidden;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Buy plugin: https://buttonizer.pro
|
|
4 |
Tags: floating menu, action button, call button, floating action button, Social Sharing button
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.9.1
|
7 |
-
Stable tag: 1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -117,6 +117,14 @@ In fact the Buttonizer is an addiction to use. You're website visitors will
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
= 1.2 =
|
121 |
New to Buttonizer: Repositionize the button easier! You are able to reposition the button from the left bottom corner, or from the right bottom corner. We have added button mirroring also: Mirror the style of the button and change the position of the label from the right side of the button, to the left side of the button.
|
122 |
|
4 |
Tags: floating menu, action button, call button, floating action button, Social Sharing button
|
5 |
Requires at least: 4.2
|
6 |
Tested up to: 4.9.1
|
7 |
+
Stable tag: 1.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
= 1.3 =
|
121 |
+
|
122 |
+
(Bug) Fixes:
|
123 |
+
- It's not possible anymore to insert any other caracter than numbers inside the placing procent-box
|
124 |
+
- Ordering label problem fixed, no overlaying labels anymore when hovering
|
125 |
+
- When 'Show on scroll' enabled the buttons will now animate in and out, instead of just hiding and showing.
|
126 |
+
- The label next to the button when mirrored is now at the right side (as it supposed to be)
|
127 |
+
|
128 |
= 1.2 =
|
129 |
New to Buttonizer: Repositionize the button easier! You are able to reposition the button from the left bottom corner, or from the right bottom corner. We have added button mirroring also: Mirror the style of the button and change the position of the label from the right side of the button, to the left side of the button.
|
130 |
|