VDZ CallBack Plugin

Description

Simple CallBack Shortcode with customization and phone mask. Compatible with Bootstrap / Foundation / WPML / Polylang. SEND events to Google Analytics

Translateble, working with Multilingual plugins as WPML and Polylang.

Usage: [vdz_cb]popup button[/vdz_cb]

You can use a lot of shortcodes button for VDZ Call Back:
[vdz_cb]popup button 1[/vdz_cb]
[vdz_cb]<span class="my_custom_class">popup button 2</span>[/vdz_cb]
[vdz_cb]popup button 3[/vdz_cb]


Use in php: <?php echo do_shortcode('[vdz_cb]popup button 1[/vdz_cb]');?>
or: <?=do_shortcode('[vdz_cb]popup button 1[/vdz_cb]');?>

TEST your Shortcode whith param in admin on Settings plugin page

Check out other plugins by VDZ:

Screenshots

  • Foundation style
  • Popup settings
  • Plugin settings
  • Test plugin shortcode in admin
  • Data

Installation

Just upload the plugin from your WordPress Plugins menu and activate it or download from *** and upload to your WP Plugin directory (/wp-content/plugins/).

And use this shortcode in pages, posts, etc:

FAQ

Add custom image in button

use this shortcode [vdz_cb]<img src="/my_image.jpg" alt="">[/vdz_cb].

More options in shortcode

use this shortcode [vdz_cb vdz_cb_popup_title="Call back Title" vdz_cb_popup_mask="(999) 999-99-99" vdz_cb_popup_name="Name" vdz_cb_popup_name_required="true" vdz_cb_popup_phone="Phone" vdz_cb_popup_text="Some text" vdz_cb_popup_button="Send" vdz_cb_popup_error="Error" vdz_cb_popup_success="Thank you!" vdz_cb_popup_button_class="custom_class" vdz_cb_popup_action_button_class="custom_class_btn" ]Open Cell back[/vdz_cb].

Off phone mask in shortcode

use this shortcode [vdz_cb vdz_cb_popup_mask_off=1]Call back[/vdz_cb]. this option disable phone mask in widget too

Use custom colors

Paste in your custom css settings in WordPress #vdz_cb_widget{background-color: rgba(82,78,162, 0.5) !important;border-color: rgba(82,78,162, 0.3) !important;} #vdz_cb_widget:before{border-color: rgba(82,78,162, 0.5) !important;}#vdz_cb_widget:after{background-color: rgba(82,78,162, 0.3)!important;}

Change sender name and email

Add in your function.php theme file next filters:
//name from
add_filter( ‘wp_mail_from_name’, function(){
return ‘NEW NAME’;
} );
//email from
add_filter( ‘wp_mail_from’, function(){
return ‘new_email_from@your.site’;
} );

Change position widget

use this code in custom style
#vdz_cb_widget{
bottom: 40px;
right: initial !important;
left: 40px !important;
}

Add event to YandexMetrika

(function ($) {
$(document).on(‘ready’, function () {
$( document ).ajaxComplete(function( event, xhr, settings ) {
if (( settings.url === window.vdz_cb.ajax_url ) && /action=vdz_cb_send/.test(settings.data)) {
console.log(‘YandexMetrika SEND’);
ym(XXX, ‘reachGoal’, ‘YYY’, goalParams);
}
});
});
})(jQuery);

Change size widget on mobile

use this code in custom style
@media screen and (max-width: 767px){#vdz_cb_widget{width: 50px;height: 50px;line-height: 48px;}.vdz_cb_widget span svg{width: 30px;height: 30px;}}

Reviews

April 5, 2021
Спасибо, все работает.
Read all 31 reviews

Contributors & Developers

“VDZ CallBack Plugin” is open source software. The following people have contributed to this plugin.

Contributors

Translate “VDZ CallBack Plugin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.15.13

Update ReadMe

1.15.12

Update API

1.15.11

Update notification

1.15.10

Update Readme & add mobile widget style

1.15.9

Update Readme

1.15.8

Tested up to: 5.8.1

1.15.7

Add translation files

1.15.6

Update translation

1.15.5

Fix PopUp class

1.15.4

Fix code v1

1.15.3

Allow use shortcode for fields: “Popup Text” and “Custom form fields” in popup

1.15.2

Tested up to WP 5.8

1.15.1

Remove Magnific Popup

1.15.0

Change popup modal library & remove php short tags

1.14.6

Security fixes

1.14.5

Tested up to: 5.7.2

1.14.4

Tested up to: 5.7.1

1.14.3

Tested up to: 5.6.1

1.14.2

Tested up to: 5.6

1.14.1

Fix

1.14

Update ReadMe + Update Google Analytics event category

1.13.1

Tested up to: 5.5.1

1.13.0

Tested up to: 5.5

1.12.0

Add Google Analytics / Google Tag Manager Event for send form

1.11.0

Add title for widget button, new disabled name field option, fix styles. Tested up to: 5.4.2

1.10.0

Add attributes checked/pattern for input in Custom form fields

1.9.6

Tested up to: 5.4.1

1.9.5

Add Remove All Data from callback & Tested up to: 5.4

1.9.4

Add required checkbox for Name field & add shortcode param vdz_cb_popup_name_required

1.9.3

Update ReadMe

1.9.2

Fix Dependencies jquery & add .htaccess

1.9.1

Fix custom field add required attribute

1.9.0

Add update api

1.8.3

Tested up to: 5.3.2

1.8.2

Tested up to WP 5.3

1.8.1

Tested up to WP 5.2.4

1.8

Add custom fields in form

1.7.9

Check Working in WP 5.2

1.7.8

Add touch event for mobile

1.7.7

Check Working in WP 4.9.8

1.7.6

Check Working in WP 4.9.5

1.7.5

Add new field settings “Send to other Emails”

1.7.0

Add customize email text/subject & disable phone mask flag

1.6.0

Add Phone widget

1.5.1

Fix custom class for plugin settings & shortcode attributes

1.5

Add option “class” for action & popup buttons
Check Working in WP 4.9

1.4.6

Check Working in WP 4.8.3

1.4.5

Check Working in WP 4.8.2

1.4.4.1

fix version

1.4.4

Check Working in WP 4.8 & fix link on masked input plugin

1.4.3

Check Working in WP 4.7.4

1.4.2

fix Contributors

1.4.1

Check Working in WP 4.7.3

1.4

Add download all data in csv format file

1.3

Fix error if files *.log & *.db not exist.
Add usage many shortcode buttons.
Disable plugin if is not supported wordpress version.

1.2

WordPress 4.7 compatibility.
Add api

1.1

update admin styles

1.0

First release.