Call Now Button - Version 0.4.1

Version Description

Download this release

Release Info

Developer jgrietveld
Plugin Icon 128x128 Call Now Button
Version 0.4.1
Comparing to
See all releases

Code changes from version 0.4.0 to 0.4.1

Files changed (3) hide show
  1. call-now-button.js +0 -6
  2. call-now-button.php +4 -9
  3. readme.txt +2 -2
call-now-button.js CHANGED
@@ -3,12 +3,6 @@ jQuery(document).ready(function($){
3
  $('.cnb-color-field').wpColorPicker();
4
  $('.cnb-iconcolor-field').wpColorPicker();
5
 
6
- // Add textlink for PayPal donate button
7
- $("a#paypalLink").click(function(e){
8
- e.preventDefault();
9
- $("#paypal").click();
10
- });
11
-
12
  // Reveal additional button placements when clicking "more"
13
  $("#cnb-more-placements").click(function(e){
14
  e.preventDefault();
3
  $('.cnb-color-field').wpColorPicker();
4
  $('.cnb-iconcolor-field').wpColorPicker();
5
 
 
 
 
 
 
 
6
  // Reveal additional button placements when clicking "more"
7
  $("#cnb-more-placements").click(function(e){
8
  e.preventDefault();
call-now-button.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Call Now Button
4
  Plugin URI: https://callnowbutton.com
5
  Description: Mobile visitors will see a <strong>Call Now Button</strong> on your website. Easy to use but flexible to meet more demanding requirements. Change placement and color, hide on specific pages, track how many people click them or conversions of your Google Ads campaigns. It's all optional but possible.
6
- Version: 0.4.0
7
  Author: Jerry Rietveld
8
  Author URI: http://www.jgrietveld.com
9
  License: GPL2
@@ -26,7 +26,7 @@ License: GPL2
26
  */
27
  ?>
28
  <?php
29
- define('CNB_VERSION','0.4.0');
30
  define('CNB_BASENAME', plugin_basename( __FILE__ ) );
31
  define('CNB_BASEFOLDER', plugin_basename( dirname( __FILE__ ) ) );
32
  define('CNB_FILENAME', str_replace( CNB_BASEFOLDER.'/', '', CNB_BASENAME ) );
@@ -372,7 +372,7 @@ if( isset( $_GET[ 'tab' ] ) ) {
372
  <p class="cnb-center cnb-spacing">
373
  <a href="<?php echo CNB_SUPPORT; cnb_utm_params("footer-links", "support"); ?>" target="_blank" title="Support">Support</a> &middot;
374
  <a href="<?php echo CNB_WEBSITE; ?>feature-request/<?php cnb_utm_params("footer-links", "suggestions"); ?>" target="_blank" title="Feature Requests">Suggestions</a> &middot;
375
- <a href="#donate" id="paypalLink">Donate</a> &middot;
376
  <a href="<?php echo CNB_WEBSITE; ?>praise/<?php cnb_utm_params("footer-links", "thanks"); ?>" target="_blank" title="Praise">Just say thanks :-)</a>
377
  </p>
378
  <!--// Display notification about the testing program -->
@@ -383,12 +383,7 @@ if( isset( $_GET[ 'tab' ] ) ) {
383
  </div>
384
 
385
  <div class="donate cnb-center">
386
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
387
- <input type="hidden" name="cmd" value="_s-xclick">
388
- <input type="hidden" name="hosted_button_id" value="Q82GBVSERC9AW">
389
- <input id="paypal" type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
390
- <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
391
- </form>
392
  </div><!--.donate-->
393
  </div>
394
      </div>
3
  Plugin Name: Call Now Button
4
  Plugin URI: https://callnowbutton.com
5
  Description: Mobile visitors will see a <strong>Call Now Button</strong> on your website. Easy to use but flexible to meet more demanding requirements. Change placement and color, hide on specific pages, track how many people click them or conversions of your Google Ads campaigns. It's all optional but possible.
6
+ Version: 0.4.1
7
  Author: Jerry Rietveld
8
  Author URI: http://www.jgrietveld.com
9
  License: GPL2
26
  */
27
  ?>
28
  <?php
29
+ define('CNB_VERSION','0.4.1');
30
  define('CNB_BASENAME', plugin_basename( __FILE__ ) );
31
  define('CNB_BASEFOLDER', plugin_basename( dirname( __FILE__ ) ) );
32
  define('CNB_FILENAME', str_replace( CNB_BASEFOLDER.'/', '', CNB_BASENAME ) );
372
  <p class="cnb-center cnb-spacing">
373
  <a href="<?php echo CNB_SUPPORT; cnb_utm_params("footer-links", "support"); ?>" target="_blank" title="Support">Support</a> &middot;
374
  <a href="<?php echo CNB_WEBSITE; ?>feature-request/<?php cnb_utm_params("footer-links", "suggestions"); ?>" target="_blank" title="Feature Requests">Suggestions</a> &middot;
375
+ <a href="https://www.paypal.com/paypalme/jgrietveld">Donate</a> &middot;
376
  <a href="<?php echo CNB_WEBSITE; ?>praise/<?php cnb_utm_params("footer-links", "thanks"); ?>" target="_blank" title="Praise">Just say thanks :-)</a>
377
  </p>
378
  <!--// Display notification about the testing program -->
383
  </div>
384
 
385
  <div class="donate cnb-center">
386
+ <a href="https://www.paypal.com/paypalme/jgrietveld"><img src="https://callnowbutton.com/wp-content/uploads/2020/10/btn_donateCC_LG.gif"></a>
 
 
 
 
 
387
  </div><!--.donate-->
388
  </div>
389
      </div>
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: jgrietveld
3
  Donate link: http://callnowbutton.com/donate/
4
  Tags: call button, click to call, convert, call now button, contact button
5
  Requires at least: 2.7
6
- Tested up to: 5.4
7
- Stable tag: 0.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
3
  Donate link: http://callnowbutton.com/donate/
4
  Tags: call button, click to call, convert, call now button, contact button
5
  Requires at least: 2.7
6
+ Tested up to: 5.7
7
+ Stable tag: 0.4.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10