Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer - Version 1.4.4

Version Description

New to Buttonizer: - Whatsapp sharing is added for mobile users! Check out the 'Social sharing buttons'! - Earn free premium! Update Buttonizer and check out the 'Free premium' page for more information :)

Bug fix: - Fixed label-hovering PHP Notice. - Small bug fixes

Download this release

Release Info

Developer buttonizer
Plugin Icon wp plugin Smart Floating / Sticky Buttons – Call, Sharing, Chat Widgets & More – Buttonizer
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.4

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.4.3
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.4.3');
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.4.4
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.4.4');
38
 
39
  # No script kiddies
40
  defined( 'ABSPATH' ) or die('No script kiddies please!');
classes/Admin/Admin.php CHANGED
@@ -152,6 +152,7 @@ class Admin {
152
  $this->register_buttonizer_page_categories();
153
  $this->register_buttonizer_opening_settings();
154
  $this->register_buttonizer_video();
 
155
  $this->register_buttonizer_reset_everything();
156
  }
157
 
@@ -256,6 +257,8 @@ class Admin {
256
 
257
  echo '<a href="?page=Buttonizer&tab=buttonizer_general_settings#buttonizer-tour" class="nav-tab" style="float: right; border: 0; color:#F08419; background: none; outline: none !important;" id="take-the-tour">Take the tour</a>';
258
 
 
 
259
  echo '</h1>';
260
  }
261
 
@@ -309,12 +312,27 @@ class Admin {
309
  // FAB Button Settings
310
  add_settings_section(
311
  'buttonizer_video', // ID
312
- 'Turorials ', // Title
313
  array($this, 'getPageVideo'), // Callback
314
  'buttonizer_video' // Page
315
  );
316
  }
317
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
318
  public function getPageGeneralSettings() {
319
  require BUTTONIZER_DIR . '/classes/Admin/General.php';
320
 
@@ -343,9 +361,13 @@ class Admin {
343
  }
344
 
345
  public function getPageVideo(){
346
- require BUTTONIZER_DIR . '/classes/Admin/Video.php';
347
  }
348
 
 
 
 
 
349
  /* Buttonizer Page Categories */
350
  private function register_buttonizer_page_categories() {
351
  $this->aPluginTabs['buttonizer_page_categories'] = __('Page categories', BUTTONIZER_SLUG);
152
  $this->register_buttonizer_page_categories();
153
  $this->register_buttonizer_opening_settings();
154
  $this->register_buttonizer_video();
155
+ $this->register_buttonizer_FreePremium();
156
  $this->register_buttonizer_reset_everything();
157
  }
158
 
257
 
258
  echo '<a href="?page=Buttonizer&tab=buttonizer_general_settings#buttonizer-tour" class="nav-tab" style="float: right; border: 0; color:#F08419; background: none; outline: none !important;" id="take-the-tour">Take the tour</a>';
259
 
260
+ echo '<a href="?page=Buttonizer&tab=buttonizer_freePremium" class="nav-tab" style="float: right; border: 0; color:; background: none; outline: none !important;" id="take-the-tour">Free premium</a>';
261
+
262
  echo '</h1>';
263
  }
264
 
312
  // FAB Button Settings
313
  add_settings_section(
314
  'buttonizer_video', // ID
315
+ 'Tutorials ', // Title
316
  array($this, 'getPageVideo'), // Callback
317
  'buttonizer_video' // Page
318
  );
319
  }
320
 
321
+ function register_buttonizer_freePremium()
322
+ {
323
+
324
+
325
+ register_setting('buttonizer_freePremium', 'buttonizer_freePremium');
326
+
327
+ // FAB Button Settings
328
+ add_settings_section(
329
+ 'buttonizer_freePremium', // ID
330
+ 'Earn your premium ', // Title
331
+ array($this, 'getPageFreePremium'), // Callback
332
+ 'buttonizer_freePremium' // Page
333
+ );
334
+ }
335
+
336
  public function getPageGeneralSettings() {
337
  require BUTTONIZER_DIR . '/classes/Admin/General.php';
338
 
361
  }
362
 
363
  public function getPageVideo(){
364
+ require BUTTONIZER_DIR . '/views/Video.php';
365
  }
366
 
367
+ public function getPageFreePremium(){
368
+ require BUTTONIZER_DIR . '/views/FreePremium.php';
369
+ }
370
+
371
  /* Buttonizer Page Categories */
372
  private function register_buttonizer_page_categories() {
373
  $this->aPluginTabs['buttonizer_page_categories'] = __('Page categories', BUTTONIZER_SLUG);
classes/Admin/Buttons.php CHANGED
@@ -363,7 +363,7 @@ class Buttons
363
  */
364
  $html = '<select name="buttonizer_buttons[' . $fieldName . ']" id="button_category"><option value="-5">Show on every page</option><option value="-4">Hide everywhere</option>';
365
  foreach ( $pageOrders as $id => $data ) {
366
- if ( $pageKey == -1 ) {
367
  continue;
368
  }
369
  $html .= '<option value="' . $id . '"' . (( $id == $is_selected ? 'selected="selected"' : '' )) . '>' . $data['title'] . '</option>';
@@ -439,6 +439,13 @@ class Buttons
439
  return '<input type="text" name="buttonizer_buttons[' . $fieldName . ']" id="' . $fieldName . '" value="' . $fieldValue . '" class="button_input" placeholder="" />';
440
  }
441
 
 
 
 
 
 
 
 
442
  /**
443
  * New tab
444
  *
363
  */
364
  $html = '<select name="buttonizer_buttons[' . $fieldName . ']" id="button_category"><option value="-5">Show on every page</option><option value="-4">Hide everywhere</option>';
365
  foreach ( $pageOrders as $id => $data ) {
366
+ if ( !isset( $data['title'] ) ) {
367
  continue;
368
  }
369
  $html .= '<option value="' . $id . '"' . (( $id == $is_selected ? 'selected="selected"' : '' )) . '>' . $data['title'] . '</option>';
439
  return '<input type="text" name="buttonizer_buttons[' . $fieldName . ']" id="' . $fieldName . '" value="' . $fieldValue . '" class="button_input" placeholder="" />';
440
  }
441
 
442
+ function buttonGetSocial( $iButtonId = 0 )
443
+ {
444
+ $fieldName = 'button_' . $iButtonId . '_social';
445
+ $fieldValue = ( isset( $this->aSavedData[$fieldName] ) ? $this->aSavedData[$fieldName] : '' );
446
+ return '<input type="text" name="buttonizer_buttons[' . $fieldName . ']" id="' . $fieldName . '" value="' . $fieldValue . '" class="button_input" placeholder="" />';
447
+ }
448
+
449
  /**
450
  * New tab
451
  *
classes/Admin/General.php CHANGED
@@ -228,10 +228,8 @@ class General
228
  $this->aSubPages['social'] .= $this->createFormField( 'Share on LinkedIn', array( &$this, 'field_share_linkedin' ) );
229
  // Email share button
230
  $this->aSubPages['social'] .= $this->createFormField( 'Share on Email', array( &$this, 'field_share_email' ) );
231
- // We know, we want it too! Next update! :)
232
- // // Whatsapp share button
233
- // $this->aSubPages['social'] .= $this->createFormField('Share on Whatsapp', array(&$this, 'field_share_whatsapp'));
234
- //
235
  // // Pinterest share button
236
  // $this->aSubPages['social'] .= $this->createFormField('Share on Pinterest', array(&$this, 'field_share_pinterest'));
237
  $this->aSubPages['social'] .= '<tr>
@@ -496,5 +494,21 @@ class General
496
  $share_email_text = ( isset( $this->aSavedData['share_email_text'] ) ? $this->aSavedData['share_email_text'] : 'Share this on Email' );
497
  return '<span class="before-input"><input type="checkbox" name="buttonizer_general_settings[share_email]" value="1" ' . (( $share_email == '1' ? 'checked="checked"' : '' )) . ' class="socialSharingCheckbox" onchange="checkSelection()"/></span> <input type="text" name="buttonizer_general_settings[share_email_text]" value="' . $share_email_text . '" class="before-input-padding" placeholder="Share this on Email" />';
498
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
499
 
500
  }
228
  $this->aSubPages['social'] .= $this->createFormField( 'Share on LinkedIn', array( &$this, 'field_share_linkedin' ) );
229
  // Email share button
230
  $this->aSubPages['social'] .= $this->createFormField( 'Share on Email', array( &$this, 'field_share_email' ) );
231
+ // Whatsapp share button
232
+ $this->aSubPages['social'] .= $this->createFormField( 'Share on Whatsapp', array( &$this, 'field_share_whatsapp' ) );
 
 
233
  // // Pinterest share button
234
  // $this->aSubPages['social'] .= $this->createFormField('Share on Pinterest', array(&$this, 'field_share_pinterest'));
235
  $this->aSubPages['social'] .= '<tr>
494
  $share_email_text = ( isset( $this->aSavedData['share_email_text'] ) ? $this->aSavedData['share_email_text'] : 'Share this on Email' );
495
  return '<span class="before-input"><input type="checkbox" name="buttonizer_general_settings[share_email]" value="1" ' . (( $share_email == '1' ? 'checked="checked"' : '' )) . ' class="socialSharingCheckbox" onchange="checkSelection()"/></span> <input type="text" name="buttonizer_general_settings[share_email_text]" value="' . $share_email_text . '" class="before-input-padding" placeholder="Share this on Email" />';
496
  }
497
+
498
+ // Next update social sharing features :)
499
+ // function field_share_pinterest()
500
+ // {
501
+ // $share_pinterest = (isset($this->aSavedData['share_pinterest']) ? ($this->aSavedData['share_pinterest']) : '');
502
+ // $share_pinterest_text = (isset($this->aSavedData['share_pinterest_text']) ? ($this->aSavedData['share_pinterest_text']) : 'Share this on Pinterest');
503
+ //
504
+ // return '<span class="before-input"><input type="checkbox" name="buttonizer_general_settings[share_pinterest]" value="1" ' . ($share_pinterest == '1' ? 'checked="checked"' : '') . ' class="socialSharingCheckbox" onchange="checkSelection()"/></span> <input type="text" name="buttonizer_general_settings[share_pinterest_text]" value="' . $share_pinterest_text . '" class="before-input-padding" placeholder="Share this on Pinterest" />';
505
+ // }
506
+ //
507
+ function field_share_whatsapp()
508
+ {
509
+ $share_whatsapp = ( isset( $this->aSavedData['share_whatsapp'] ) ? $this->aSavedData['share_whatsapp'] : '' );
510
+ $share_whatsapp_text = ( isset( $this->aSavedData['share_whatsapp_text'] ) ? $this->aSavedData['share_whatsapp_text'] : 'Share this on Whatsapp' );
511
+ return '<span class="before-input"><input type="checkbox" name="buttonizer_general_settings[share_whatsapp]" value="1" ' . (( $share_whatsapp == '1' ? 'checked="checked"' : '' )) . ' class="socialSharingCheckbox" onchange="checkSelection()"/></span> <input type="text" name="buttonizer_general_settings[share_whatsapp_text]" value="' . $share_whatsapp_text . '" class="before-input-padding" placeholder="Share this on Whatsapp" />';
512
+ }
513
 
514
  }
classes/Button.php CHANGED
@@ -409,13 +409,15 @@ class Button
409
  }
410
 
411
  // Coming next update: :)
412
- // if(isset($this->aSettings["share_whatsapp"]) && '1' == $this->aSettings["share_whatsapp"]) {
413
- // $buttonText = (isset($this->aSettings['share_whatsapp_text']) && $this->aSettings['share_whatsapp_text'] != '' ? ($this->aSettings['share_whatsapp_text']) : 'Share this on Whatsapp');
414
- //
415
- // $this->sOutput = '<a href="javascript:void(0)" onclick="onButtonizerClickEvent(\'Whatsapp share click\'); onButtonizerButtonWhatsapp();" class="is_extra share share_' . ($this->iAmountOfShareButtons + 1) . '">' . ($buttonText != "" ? '<div class="text"><div>' . $buttonText . '</div></div>' : '') . '<i class="fa fa-whatsapp"></i></a>' . $this->sOutput;
416
- //
417
- // $this->iAmountOfShareButtons++;
418
- // }
 
 
419
  //
420
  // if(isset($this->aSettings["share_pinterest"]) && '1' == $this->aSettings["share_pinterest"]) {
421
  // $buttonText = (isset($this->aSettings['share_pinterest_text']) && $this->aSettings['share_pinterest_text'] != '' ? ($this->aSettings['share_pinterest_text']) : 'Share this on Pinterest');
@@ -487,7 +489,7 @@ class Button
487
 
488
  // Label hovering
489
 
490
- if ( $this->aSettings['buttons_label_show_on_hover'] == 'default' ) {
491
  $labelStyle = 'buttonizer_label_default';
492
  } else {
493
 
409
  }
410
 
411
  // Coming next update: :)
412
+ if ( wp_is_mobile() == true ) {
413
+
414
+ if ( isset( $this->aSettings["share_whatsapp"] ) && '1' == $this->aSettings["share_whatsapp"] ) {
415
+ $buttonText = ( isset( $this->aSettings['share_whatsapp_text'] ) && $this->aSettings['share_whatsapp_text'] != '' ? $this->aSettings['share_whatsapp_text'] : 'Share this on Whatsapp' );
416
+ $this->sOutput = '<a href="javascript:void(0)" onclick="onButtonizerClickEvent(\'Whatsapp share click\'); onButtonizerButtonWhatsapp();" class="is_extra share share_' . ($this->iAmountOfShareButtons + 1) . '">' . (( $buttonText != "" ? '<div class="text"><div>' . $buttonText . '</div></div>' : '' )) . '<i class="fa fa-whatsapp"></i></a>' . $this->sOutput;
417
+ $this->iAmountOfShareButtons++;
418
+ }
419
+
420
+ }
421
  //
422
  // if(isset($this->aSettings["share_pinterest"]) && '1' == $this->aSettings["share_pinterest"]) {
423
  // $buttonText = (isset($this->aSettings['share_pinterest_text']) && $this->aSettings['share_pinterest_text'] != '' ? ($this->aSettings['share_pinterest_text']) : 'Share this on Pinterest');
489
 
490
  // Label hovering
491
 
492
+ if ( !isset( $this->aSettings['buttons_label_show_on_hover'] ) || $this->aSettings['buttons_label_show_on_hover'] == 'default' ) {
493
  $labelStyle = 'buttonizer_label_default';
494
  } else {
495
 
css/style.css CHANGED
@@ -924,4 +924,30 @@ input[type=checkbox]:checked:before {
924
  color: white !important;
925
  border-color: #d6720e !important;
926
  border-bottom-width: 2px !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
927
  }
924
  color: white !important;
925
  border-color: #d6720e !important;
926
  border-bottom-width: 2px !important;
927
+ }
928
+
929
+ /* Free premium stuff */
930
+ .buttonizer-fp-card{
931
+
932
+ }
933
+
934
+
935
+ .buttonizer-fp-card, .buttonizer {
936
+
937
+ box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
938
+ transition: 0.3s;
939
+ width: 50%;
940
+ border-radius: 5px;
941
+ height: 560px;
942
+ }
943
+
944
+ .buttonizer-fp-card:hover{
945
+ box-shadow: 0 8px 16px 0 rgba(73,134,152,0.8);
946
+ }
947
+
948
+ .buttonizer-fp-text{
949
+ color: #498698;
950
+ }
951
+ .buttonizer-fp-footer{
952
+ text-align: center;
953
  }
js/buttonizer.js CHANGED
@@ -104,14 +104,14 @@ function onButtonizerButtonLinkedin() {
104
  }
105
 
106
  function onButtonizerButtonEmail() {
107
- window.location.href = "mailto:?subject=" + document.title + "&body= Hey! Check out this link:" + document.location.href;
108
  }
109
 
110
  // Next update, we promise! :)
111
 
112
- // function onButtonizerButtonWhatsapp() {
113
- // window.location.href = "whatsapp:?text=Hey! I recoomend using Buttonizer!";
114
- // }
115
  //
116
  // function onButtonizerButtonPinterest() {
117
  // window.open('http://www.pinterest.com/pin/create/button/?url=/node'+ document.location.href +'&description='+ document.title, 'popupTwitter', 'width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0'); return false;
104
  }
105
 
106
  function onButtonizerButtonEmail() {
107
+ window.location.href = "mailto:?subject=" + document.title + "&body= Hey! Check out this link: " + document.location.href;
108
  }
109
 
110
  // Next update, we promise! :)
111
 
112
+ function onButtonizerButtonWhatsapp() {
113
+ window.location.href = "whatsapp:?" + document.title + " Hey! Check out this link:" + document.location.href;
114
+ }
115
  //
116
  // function onButtonizerButtonPinterest() {
117
  // window.open('http://www.pinterest.com/pin/create/button/?url=/node'+ document.location.href +'&description='+ document.title, 'popupTwitter', 'width=610, height=480, resizable=0, toolbar=0, menubar=0, status=0, location=0, scrollbars=0'); return false;
js/dashboard.js CHANGED
@@ -738,8 +738,11 @@ var buttonizer = {
738
 
739
  if(currentAction == 'backtotop') {
740
  currentButtonInput.attr("disabled", "disabled");
741
- }else if(currentAction == 'gobackpage'){
742
  currentButtonInput.attr("disabled", "disabled");
 
 
 
743
  } else {
744
  currentButtonInput.removeAttr("disabled", "disabled");
745
  }
738
 
739
  if(currentAction == 'backtotop') {
740
  currentButtonInput.attr("disabled", "disabled");
741
+ }else if(currentAction == 'gobackpage') {
742
  currentButtonInput.attr("disabled", "disabled");
743
+
744
+ }else if(currentAction == 'socialsharing'){
745
+ currentButtonInput.attr("hidden", "hidden");
746
  } else {
747
  currentButtonInput.removeAttr("disabled", "disabled");
748
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Buy plugin: https://buttonizer.pro
4
  Tags: Conversion, action button, call, marketing, Social Sharing
5
  Requires at least: 4.2
6
  Tested up to: 4.9.4
7
- Stable tag: 1.4.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -33,14 +33,14 @@ Download the Buttonizer for free and make your first Smart Conversion Button in
33
  * **Social Sharing** - Add Social Sharing Buttons;
34
  * PRO: **Opening hours** - Choose to show your button only between, or outside opening hours;
35
  * PRO: **Page categories & Rules** - Add page categories so you can choose to show buttons on specific pages;
36
- * PRO: **Webvisitor behaviour** - Let your buttons show on your webvisitors behaviour (show you button on scroll depth of session duration);
37
  * **Button animations** - Give your Action Buttons small animations to convince web visitors to click on it;
38
  * PRO: **Add your own** - Image, logo or moving icon to your button.
39
 
40
- Download the free version or go premium and get to add an infinite number of buttons and page rules.
41
-
42
- = CHOOSE BETWEEN A NUMBER OF BUTTON CLICK ACTIONS =
43
- Click to call, Whats'app chat, Back to top, Click to E-mail, Open URL & Open Javascript code,
44
 
45
 
46
  = CALL NOW: MAKE A FLOATING CALL BUTTON ONLY FOR MOBILE WITH BUTTONIZER =
@@ -121,6 +121,15 @@ And the beauty of all: All actions are hidden in one button. The moment a visito
121
  In fact the Buttonizer is an addiction to use. You&#39;re website visitors will interact as never before.
122
 
123
  == Changelog ==
 
 
 
 
 
 
 
 
 
124
  = 1.4.3 =
125
  Bug fix:
126
  - Button label problem fixed
4
  Tags: Conversion, action button, call, marketing, Social Sharing
5
  Requires at least: 4.2
6
  Tested up to: 4.9.4
7
+ Stable tag: 1.4.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
33
  * **Social Sharing** - Add Social Sharing Buttons;
34
  * PRO: **Opening hours** - Choose to show your button only between, or outside opening hours;
35
  * PRO: **Page categories & Rules** - Add page categories so you can choose to show buttons on specific pages;
36
+ * PRO: **Webvisitor behaviour** - Let your buttons show on your webvisitors behaviour (show you button on scroll depth of session duration);
37
  * **Button animations** - Give your Action Buttons small animations to convince web visitors to click on it;
38
  * PRO: **Add your own** - Image, logo or moving icon to your button.
39
 
40
+ Download the free version or go premium and get to add an infinite number of buttons and page rules.
41
+
42
+ = CHOOSE BETWEEN A NUMBER OF BUTTON CLICK ACTIONS =
43
+ Click to call, Whats'app chat, Back to top, Click to E-mail, Open URL & Open Javascript code,
44
 
45
 
46
  = CALL NOW: MAKE A FLOATING CALL BUTTON ONLY FOR MOBILE WITH BUTTONIZER =
121
  In fact the Buttonizer is an addiction to use. You&#39;re website visitors will interact as never before.
122
 
123
  == Changelog ==
124
+ = 1.4.4 =
125
+ New to Buttonizer:
126
+ - Whatsapp sharing is added for mobile users! Check out the 'Social sharing buttons'!
127
+ - Earn free premium! Update Buttonizer and check out the 'Free premium' page for more information :)
128
+
129
+ Bug fix:
130
+ - Fixed label-hovering PHP Notice.
131
+ - Small bug fixes
132
+
133
  = 1.4.3 =
134
  Bug fix:
135
  - Button label problem fixed
views/FreePremium.php ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ This program is free software; you can redistribute it and/or
4
+ modify it under the terms of the GNU General Public License
5
+ as published by the Free Software Foundation; either version 2
6
+ of the License, or (at your option) any later version.
7
+
8
+ This program is distributed in the hope that it will be useful,
9
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License
14
+ along with this program; if not, write to the Free Software
15
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16
+
17
+ Copyright 2017 Buttonizer
18
+ */
19
+
20
+ # No script kiddies
21
+ defined( 'ABSPATH' ) or die('No script kiddies please!');
22
+ ?>
23
+ <section style="background-color: white; border: 1px solid #e0d5d5; border-bottom-width: 2px; padding-left: 5%; margin-bottom: 35px;">
24
+
25
+ <table>
26
+ <tr>
27
+ <td>
28
+ <img src="<?php echo plugins_url('/assets/plugin-icon.png', BUTTONIZER_PLUGIN_DIR); ?>" style="width: auto; height: 100px;">
29
+ <div style="float: right;">
30
+ <h2 class="buttonizer-fp-text">We <i class="fa fa-heart" style="color: #f08419"></i> our Fans and fans have to be rewarded for their Buzz</h2>
31
+ <p style="float: ">&nbsp;&nbsp;So do you like Buttonizer and want to Buzz a step further? </p>
32
+ </div>
33
+ </td>
34
+ </tr>
35
+ </table>
36
+ </section>
37
+ <table style="padding-left:10%;margin-left: 10%;">
38
+ <tr>
39
+ <td>
40
+ <div class="buttonizer-fp-card">
41
+ <div class="card buttonizer">
42
+ <h1><b style="color: #498698;">Buttonizer review <i>(Buzz)</i></b></h1>
43
+ <div class="container card-body">
44
+ <label>
45
+ <i class="fa fa-star" style="color: #f08419;"></i>
46
+ <i class="fa fa-star" style="color: #f08419;"></i>
47
+ <i class="fa fa-star" style="color: #f08419;"></i>
48
+ <i class="fa fa-star" style="color: #f08419;"></i>
49
+ <i class="fa fa-star" style="color: #f08419;"></i>
50
+ </label>
51
+ <h4>Are you just as hyped as we are?<br/> Do you want more of it?</h4>
52
+ <p>Leave a great review for the Buttonizer <i>in Wordpress</i></p>
53
+ <h2><b>Earn</b> 1 <i class="fa fa-ticket" style="color: #f08419;"></i> <b>Premium</b></h2>
54
+ <hr/>
55
+ <p style="text-align:left;"><i><b>Conditions:</b> </i></p>
56
+ <p>
57
+ <ol>
58
+ <li><a href="https://wordpress.org/support/plugin/buttonizer-multifunctional-button/reviews/#new-post" target="_blank" style="color:#f08820; ">Write a <b>great</b> review for the Buttonizer with your feedback</li></a>
59
+ <li>Make a screenshot of the review</li>
60
+ <li>Send your screenshot to contact@buttonizer.pro with the title "Promotional Premium".</li>
61
+ <li><b>Get 1 promotional code for free!</b></li>
62
+ </ol>
63
+ <br/>
64
+ <small><b><i</i></b></small>
65
+ <div class="buttonizer-fp-footer">
66
+ <a href="mailto: contact@buttonizer.pro" class="button button-primary" title="Send your proof to Buttonizer" style="height: 50px; line-height: 50px; width: 150px; margin-top: 40px;">Buzz your proof</a>
67
+ </div>
68
+ </p>
69
+ </div>
70
+ </div>
71
+ <hr/>
72
+ </div>
73
+ </td>
74
+ <td>
75
+ <div class="buttonizer-fp-card">
76
+ <div class="card buttonizer">
77
+ <div class="container">
78
+ <h1><b style="color: #498698;">Blog post <i>(Buzz Buzz)</i></b></h1>
79
+ </div>
80
+ <div class="container">
81
+ <label>
82
+ <i class="fa fa-pencil" style="color: #f08419;"></i>
83
+ <i class="fa fa-pencil" style="color: #f08419;"></i>
84
+ <i class="fa fa-pencil" style="color: #f08419;"></i>
85
+ <i class="fa fa-pencil" style="color: #f08419;"></i>
86
+ <i class="fa fa-pencil" style="color: #f08419;"></i>
87
+ </label>
88
+ <p>
89
+ <br/>
90
+ <b>Are you crazy in love with the Buttonizer?</b><br/>
91
+ <b>Do you want to create some Buzz?</b><br/><br/>
92
+ Write a blog about Buttonizer, with a link
93
+ <br/>
94
+ <b>Need inspiration? </b><i>Send a email to contact@buttonizer.pro</i>
95
+ </p>
96
+ <h2><b>Earn</b> 4 <i class="fa fa-ticket" style="color: #f08419;"></i> <b>Premium</b></h2>
97
+ <hr/>
98
+ <p style="text-align:left;"><i><b>Conditions:</b> </i></p>
99
+ <ol>
100
+ <li>
101
+ containing: at least 1000 words without keyword spamming<br/>
102
+ </li>
103
+ <li>Make a screenshot of the blog, including a link to the blog</li>
104
+ <li>Send your screenshot and link to contact@buttonizer.pro with the title "Promotional Premium".</li>
105
+ <li><b>Get 4 promotional code for free!</b></li>
106
+ </ol>
107
+ <div class="buttonizer-fp-footer">
108
+ <a href="mailto: contact@buttonizer.pro" class="button button-primary" title="Send your proof to Buttonizer" style="height: 50px; line-height: 50px; width: 150px;">Buzz your proof</a>
109
+ </div>
110
+ </p>
111
+ </div>
112
+ </div>
113
+ <hr/>
114
+ </div>
115
+ </td>
116
+ </tr>
117
+ </table>
views/Video.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <section style="background-color: white; border: 1px solid #e0d5d5; border-bottom-width: 2px; padding-left: 5%; margin-bottom: 35px;">
2
+ <table>
3
+ <tr>
4
+ <td>
5
+ <h2>Need help? Want a pop-up for Buttonizer? </h2>
6
+ <p> Here you can find video explainations! <!-- and otherwise ask Japper, he knows --></p>
7
+ </td>
8
+ </tr>
9
+ </table>
10
+ </section>
11
+ <table style="padding-left:10%;">
12
+ <tr>
13
+ <td style="padding-right: 15%;">
14
+
15
+ <label><b>How to add a whatsapp button</b><br/><br/></label><!-- whatsapp integration comes soon though! -->
16
+ <iframe width="500" height="315" src="https://www.youtube.com/embed/-2c2PaThkcA" frameborder="0" encrypted-media" allowfullscreen></iframe>
17
+ <hr/>
18
+ </td>
19
+ <td>
20
+ <label><b>How to add a PDF download button</b><br/><br/></label>
21
+ <iframe width="500" height="315" src="https://www.youtube.com/embed/aeoCdTv_Prs" frameborder="0" encrypted-media" allowfullscreen></iframe>
22
+ <hr/>
23
+ </td>
24
+
25
+ </tr>
26
+ <tr>
27
+ <td>
28
+ <label><b>How to install a direct navigate button</b><br/><br/></label>
29
+ <iframe width="500" height="315" src="https://www.youtube.com/embed/kRw89BkXkJQ" frameborder="0" encrypted-media" allowfullscreen></iframe>
30
+ <hr/>
31
+ </td>
32
+ <td>
33
+ <label><b>How to make a pop-up </b><br/><br/></label>
34
+ <iframe width="500" height="315" src="https://www.youtube.com/embed/DR2bS5Zjsw0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
35
+ <hr/>
36
+ </td>
37
+ </tr>
38
+ </table>