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

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);

Reviews

November 11, 2020
Ничего лишнего, четко справляется со своей задачей. Легко кастомизируется через CSS. Радует наличие интеграции с Google Аналитикой. Автору - благодарность за создание и поддержку необходимого и удобного инструмента. П.С. Нельзя ли добавить поле для навешивания доп. классов на окно?)
September 22, 2020
Спасибо автору. Удалось поменять цвет и размер по его совету. Все работает.
November 28, 2020
Все отлично, но почему-то не работают стили дочерней темы - скорей всего проблемы в коде самой (основной темы) - а плагин берет стили оформления как раз из основной темы.
July 21, 2020
Пользуюсь несколько месяцев- все отлично. Из пожеланий-хотелось бы возможность изменять размер телефонного значка для мобильной версии. Он в ней получается большой и перекрывает часть кнопок
Read all 24 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.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.