Adds a simple, configurable request call back button to your site. Visitors can provide their name and number via lightbox or embedded request form.
As the developer of several WordPress microsites, a commonly requested feature is to add a request call back button to the website header that links to a call back request form.
I originally made this plugin for myself to simplify the process of adding this basic feature, but recently decided to make it public just in case others find it useful.
There are other plugins available that do a similar task to this, but I wanted this to do more than just add a form to a page.
By default, this plugin displays a call back button that can be added anywhere on the site via a single line of code (e.g. header.php), which when clicked will open the request form in a lightbox. The button label, colour, position is configurable from the plugin settings page.
The plugin also provides the option to add the request form to an existing WordPress page instead of opening a lightbox, if preferred. This feature is useful if you don’t want to use the built-in request button and want to use your own link instead.
request-callback
” directory to the “/wp-content/plugins/
” directoryPlugins
” menu in WordPressSettings > Request Call Back
“. Note: the plugin will work with default settings, however it is recommended to configure your email address and “thank you
” page.<?php do_action('wpcallback_button'); ?>
” in your template file where you want the button to appear (e.g. header.php). Note: you need this code if using lightbox mode (default). If “Display mode
” is set to use an existing page, adding the button code is optional.Sending emails is done using WordPress’s built in mail function. If emails aren’t sending and your email address has been configured in the plugin options, it is likely that your entire WordPress site is unable to send emails. This could be due to an incorrectly set up mail server, or emails getting lost in your spam folders.
If you’re still having trouble then you will have to get in contact with your server host.
In plugin settings “Settings > Request Call Back
“, scroll down and set “Display mode
” to “Display form on an existing page
“, then select the page you want to attach it to.