Go to Top

Callback Request WordPress Plugin

Whilst working on a few things on my website the other day i decided it would be a nice feature to add a callback form to my website so users can simply enter a name, phone number and time they would like a call back and i could get in touch with them to call them back.

So like most people first thing i did was search the plugins database to see if there was something that suited my needs.

After trying several different plugins and forms i just couldnt get any of them to work the way i wanted it to.

So what now? Give up on an idea as noone has created a solution for it yet?

I figured it was time to dip my toe into the world of WordPress Plugins and develop my own plugin.

As a start i knew i wanted several basic features.
– A form for the user to enter their information.
– An email alert to tell me someone has requested a callback.
– A simple backend admin configuration.

As i started creating the plugin more features sprung to mind.
– Simple themeing options to customize the submit button.
– Validation on user inputs.

Thankfully there were plenty of tutorials online to creating wordpress plugins. Along with the excellent WordPress codex website at http://codex.wordpress.org/ which helped me through the process and allowed me to find out how wordpress plugins are created.

After a few days coding and verification i’m pleased to announce my first WordPress Plugin is finished and you can get it now.

Click here to go to WordPress to download the plugin now.

Installation and Usage Instructions:

1. Upload `callback_request` folder to your `/wp-content/plugins/` directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress – Look for Callback Request and click activate.
3. Go to the plugin settings page and enter your settings, then click Save Settings.
4. Place [callback_shortcode] into any of your posts or pages to display the form.


Administration Screen:
Callback Request Screenshot 1
Website Shortcode Example:
Callback Request Screenshot 2

If you have any questions/comments feel free to leave them below. Feedback is always appreciated.

, , ,

55 Responses to "Callback Request WordPress Plugin"

  • Nic
    May 6, 2015 - 11:10 am Reply

    Hi, is it possible to remove the “Suitable Time” field from the form ?

    • Jo
      May 9, 2015 - 11:09 am Reply

      Hi Nic,
      It certainly is but will need code modification. Are you comfortable doing this yourself?

  • Liz Painter
    December 16, 2014 - 5:27 pm Reply

    Hi Jo
    I can’t get it send to send me an email. I didn’t get the settings page so just inserted my email address into the code, but maybe I’ve put it in the wrong place?
    Or is it that it doesn’t work with WordPress 4.0.1?
    Is there a fix?

    • Jo
      March 14, 2015 - 2:42 pm Reply

      Hi Liz, are you still having this issue?
      I replied to the comment when it was recieved but it looks like wordpress never sent it!

  • Hi Jo
    October 23, 2014 - 3:20 pm Reply

    Hi Jo, I cannot get the plugin to work within a widget area. The site is not live so cannot give you a link at present. Any help would be appreciated. Many thanks, Tom

    The functions.php for the child theme looks like this…

    __(‘Section via hook’, ‘framework’),
    ‘desc’ => __(‘This is a section created by adding a filter to the sections array. Can be used by child themes to add/remove sections from the options.’, ‘framework’),
    ‘icon’ => ‘el-icon-paper-clip’,
    // Leave this as a blank section, no options just some intro text set above.
    ‘fields’ => array()

    return $sections;


    • Tom
      December 11, 2014 - 12:16 pm Reply

      Hi Joey,

      My site is now live. However I have a couple of issues.

      I deleted the tick icon from the success message, strangely as a result the page now refreshes at the top, therefore the user can no longer see the success or failure message.

      The failure message displays rather unusually it spans over 2 lines and the 2nd line overlaps the white box and the error icon.

      Could you please have a quick look for me and let me know what the best way of fixing this is.

      Many thanks, Tom

      • Jo
        March 14, 2015 - 2:43 pm Reply

        Hi tom,
        Are you still having trouble with the styling?

  • mohi
    October 8, 2014 - 11:07 am Reply

    hi jo thanks for ypur plugin
    i take this code [callback_shortcode] to my header but
    its not show any thing ?

    • Jo
      October 8, 2014 - 6:03 pm Reply

      It looks to me like your theme doesn’t support shortcodes.
      There’s a page on my site that explains how to do this( display callback request in a widget area).
      Let me know if you need anymore help.


  • Patrick
    September 14, 2014 - 10:38 pm Reply

    Hi. I installed your plug-in. It was easy and displays properly. However, I am not receiving any of the messages. I don’t know what I’m doing wrong but I cannot get ANY form plug-ins to work on my website. I think it’s the idiots at Netfirms.com don’t have my server settings set properly or something.

    • Jo
      October 4, 2014 - 2:00 pm Reply

      Did you receive any emails when your site was originally setup with wordpress?
      Have you asked your hosts if there are any known issues from their end? They may block certain emails sending.

      Let me know if you need further help.

  • Ewan
    June 3, 2014 - 9:43 am Reply

    Hi, Do you know if this plug in is compatible with WPML (ie. WordPress multi lingual)?
    Thanks, Ewan

    • Jo
      June 5, 2014 - 6:41 pm Reply

      Hi Ewan,

      I personally don’t use WPML however from looking at it if the plugins use the wordpress api for languages then it should work fine with WPML so there should be no problem with this plugin as it is fully translation ready.
      Let me know if you have any problems!


  • Luna
    November 21, 2013 - 5:54 am Reply

    Thanks for this nice plugin! I’m using the shortcode on a page and displays properly; however when I iFrame the page in Facebook the button doesn’t appear only the shortcode text. What should I do please?

    • Jo
      November 23, 2013 - 3:53 pm Reply

      Hi Luna,

      That’s very strange, theres no reason why it shouldn’t be working within an iframe.

      Are you able to provide me with your url so i can check?

      Many thanks


      • Pauline
        May 3, 2014 - 2:31 pm Reply

        Hi Jo!
        Great plugin, thank you!
        I put a background image to have my own button and can’t figure how to move the label over, would you mind having a look please?
        Thanks in advance,


        • Jo
          May 7, 2014 - 5:38 pm Reply

          Hi Pauline,

          I’d be happy to have a look. Could you email me details of the site and where the issue is so i can have a look?


  • Nikita
    November 1, 2013 - 4:39 pm Reply

    Hi Jo!

    Can you add russian localization to correct displaying cyrillic symbols?


  • Ula
    October 25, 2013 - 3:16 pm Reply

    Dear Jo, I have placed the short code (well, what I think
    the short code is anyway) on a page, but instead of displaying the
    call back form, it’s only displaying the text. Could you please
    help me out? What is the exact short code that should be placed on
    the page? Thank you. Regards, Ula.

    • Jo
      October 27, 2013 - 1:10 pm Reply

      Hi Ula,

      It sounds like your theme doesn’t support shortcodes.

      Please have a look at my other post on how to display callback request in a widget area.

      Please don’t hesitate to contact me if you require any further assistance.


  • post
    October 22, 2013 - 11:25 am Reply

    I’ve send u a Russian localization files to info at
    joeybdesign.co.uk Thank u for your job!

    • Jo
      October 27, 2013 - 1:11 pm Reply

      Thankyou very much. I will add these to the plugin for other users.

  • Dawie
    October 8, 2013 - 11:03 am Reply

    Hi, im a installed the plugin , but not sure where to get
    the shortcode u talking about that I have to put in my header file
    ( im still new at this ) Thankz

  • Gillian Andries
    September 12, 2013 - 10:56 pm Reply

    Hi Jo: Great plugin. I was hoping the button would be bigger, so it can stand out on the page. Any way to make it twice the size?

    • Jo
      September 13, 2013 - 12:25 pm Reply

      Hi Gillian,

      Thanks for getting in touch. The submit button can be changed in any way that you want however it does involve editing some of the style code involved.

      If you open up the callback_shortcode.php file, on line 9 you will find the CSS for the button. Feel free to add anything onto that to style it in the way that you want.

      Let me know if you require any further help.

      Many thanks


  • Basil
    May 13, 2013 - 7:20 am Reply

    Will be great if You add unicode (utf-8 for example) support for sended emails.

    • Jo
      May 14, 2013 - 1:00 pm Reply

      Hi Basil,
      I can certainly look into doing this.
      Could i ask why you would like this integrating?


  • Adrian Stephenson
    May 3, 2013 - 4:24 pm Reply

    Hi Jo,

    Sorry, me again!

    This time I’m trying to put the plugin inside a widget. It just shows as text but I’ve seen your reply further down this comments section, so I know that I need to add the code:add_filter(‘widget_text’, ‘do_shortcode’);

    However I’m a total novice at this and so trying to locate the place to add it is a major challenge because there are loads of ?php’s on the page, and almost as many ?>’s

    Could you be a bit more specific as to where it needs to go (eg. are there any words/phrases to look for that will help me find the correct place?).


    • Jo
      May 3, 2013 - 4:29 pm Reply

      Hi Adrian,

      If i’m correct in thinking you are using a theme called pinboard?

      If so what you need to do is edit the file called functions.php.

      Scroll all the way down the to bottom you should have 2314 lines, create a new line right at the bottom under endif; and copy and paste the following line in:

      add_filter(‘widget_text’, ‘do_shortcode’);

      Please ensure there is no blank line left after this line as this could cause some issues.

      Let me know how you get on!


  • Adrian Stephenson
    May 3, 2013 - 3:46 pm Reply

    Hi Jo,

    I’ve just uploaded your plugin to my site and it works perfectly. 🙂

    However, I’d like to change the colour of the request callback button. So have made the amendments in the Plugin Settings, but nothing changes on the site.

    What is strange is that I can amend the left/centre/right settings without any problem.

    I’ve also tried changing the colours with the ‘Use Button Styling’ box checked and unchecked, but it doesn’t make any difference.

    Any ideas what might be the problem?


    • Jo
      May 3, 2013 - 4:07 pm Reply

      Hi Adrian,

      Could you email me your URL and give me a login for your wordpress?

      I’d be more than happy to have a look and see if i can spot why this is happening, i had a look at the end of your email address and went to that site however you don’t appear to have your functions.php file set up correctly to allow shortcodes in widget areas which could be causing the issue if this is the site in question?

      Let me know!


  • vivin
    April 5, 2013 - 4:00 am Reply

    Great plugin Joey – very simple to use!
    I am using this in a widget and a page.

    However, when I change teh style settings of buttons etc, nothing happens! I have refreshed the webpage and tried everything else.
    please help.

    • Jo
      April 6, 2013 - 4:03 pm Reply

      Hi Vivin,

      Please reply to the email i’ve sent to you, i will try my best to assist!


  • james
    March 6, 2013 - 1:28 pm Reply

    hi jo
    great plugin. i installed it through the plugin search within the WP admin page i cant seem to find the settings page after installation…

    any help greatly apricaited

    • Jo
      March 6, 2013 - 5:08 pm Reply

      Hi James
      It should appear in your side bar in the admin pages.
      Make sure the plugin is activated. If it is and it still doesn’t show up try removing the plugin then adding it again.


  • Ash
    January 30, 2013 - 9:22 am Reply

    Hi Jo, Thanks for getting back to me so quickly, It just comes up as plain text.

    • Jo
      January 30, 2013 - 10:22 am Reply

      Hi Ash
      It would appear that your functions.php file isnt properly configured, maybe the add_filter isn’t in the correct place. Would you be able to email me a copy of it so I can have a look at it for you? My email address is at the top of my website.
      Many thanks

  • Jo
    January 29, 2013 - 4:44 pm Reply

    Hi Ash,

    Thats definately a strange issue, when you add the shortcode to your widget area does it show up as plain text or does it not show up at all?


  • frank
    December 18, 2012 - 3:56 pm Reply

    Hi jo,

    I downloaded and installed your nice plug-in.
    I ‘m trying to understand if your plug-in is really useful for me!

    I need to create a request form with these fields:
    Name, email, phone number, message.

    But I have to put also a flag (like checkbox) that if it is checked, automatically send an other email (the same email in the field up) at the email address of the person that is writing the message.

    I hope you understand me and can help me.


    ps: my english could be terrible 🙂

    • Jo
      January 2, 2013 - 9:41 am Reply

      Hi Frank,
      Sorry for the delay in getting back to you.

      The plugin would work for you yes, however it would require some modification to allow you to have the extra fields that you would like and also to add the extra email sending.

      If you know some php then it should be fairly simple.

      Let me know if you have any further queries.

      Many thanks

  • Darren
    November 3, 2012 - 5:27 pm Reply

    Fantastic Plugin much appreciated. I’d like to place the Call Back form in the html in the header is this possible?

    • Jo
      November 7, 2012 - 8:18 pm Reply

      Thanks for your comment. sorry for the delay in replying. This should be possible, however instead of using the shortcode you simply include the file for the shortcode in the header using include_once(‘www.mysite.com/plugins/callback-request/callback_shortcode.php’); something along those lines (double check where your system has saved the plugin file!

  • williams
    October 23, 2012 - 12:12 am Reply

    hello jo. Thanks for the plugin, I wonder how can I modify the css, I want to change the size of the form

    • Jo
      October 23, 2012 - 4:14 pm Reply

      Hi, it is possible to change the size of the boxes however not through CSS at the moment. I will be releasing an update soon that will allow people to add/change CSS and the size of the buttons.
      Many thanks.

  • Jack
    October 18, 2012 - 10:34 am Reply

    That is what I’m after, but when I put the shortcode in the text widget box, it’s just the shortcode that appears, not the form.

    • Jo
      October 18, 2012 - 10:47 am Reply

      Hi Jack,
      Thats strange as it works ok for me that way.
      Send me an email with what website you’ve got it on and I’ll have a look for you if you’d like? My email is in the header of my website.

      • Jo
        October 18, 2012 - 11:38 am Reply

        Incase anyone else runs into the same issue where if the shortcode is put into a widget area and it just displays as text rather than the callback request form please follow these instructions:
        > Log into your admin page for your wordpress
        > Go to Appearance – Editor
        > Select your theme and find the functions.php file
        > Add the following line between your < ?php and ?> tags
        add_filter(‘widget_text’, ‘do_shortcode’);

        This should enable the option for your theme to display shortcodes in widget text areas.


  • Jack
    October 18, 2012 - 9:52 am Reply

    I’m happy to wait.

    Without being too cheeky, have you got any plans to make the Callback Request form available as a widget?



    • Jo
      October 18, 2012 - 10:15 am Reply

      Hi Jack,
      You know what they say if you don’t ask you dont get! Are you after putting the plugin inside a widget area? If so go to Appearance> Widgets then put a text widget in the area that you want the plugin in. You dont need to add any title to the widget just add the shortcode for the callback request form in there and it should show in your widget area. Thats the advantage of using a shortcode rather than anything else. If that’s not what you were after let me know and I’ll see what I can do!

  • Jack
    October 17, 2012 - 3:45 pm Reply

    Hi Jo,

    Love the plugin, is there anyway you could add more fields to the callback request?

    Basically I need a business name and job title field to come up in the email as well as a name and phone number?

    Copy the html code, I managed to add another field in, but I this may have thrown off how the rest of the plugin works.



    • Jo
      October 18, 2012 - 9:37 am Reply

      Hi Jack,
      Many thanks for your comment. I will certainly look at putting this into an update for you. Or would you like me to give you the code to do it yourself? There are several sections that the extra fields would need to be added to so if you’re happy to wait for a short while I will get it updated.
      Many thanks

  • Ted Mount
    October 11, 2012 - 12:15 pm Reply

    Hi Jo,
    Just wanted to say that your callback request plugin is exactly what I wanted and works great.
    One question, in the screenshot it shows a nice green notification when the form has been sent, but I just get the text and no nice green banner thingy.

    • Jo
      October 11, 2012 - 3:30 pm Reply

      Hi Ted,
      Many thanks for your feedback. I am currently moving house but I will try an release and update as soon as I can which will include styling for the success message.

Leave a Reply

Your email address will not be published. Required fields are marked *

4 − two =