Title: Add shortcode to button
Last modified: August 30, 2016

---

# Add shortcode to button

 *  Resolved [S Cullen Photography](https://wordpress.org/support/users/s-cullen-photography/)
 * (@s-cullen-photography)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/add-shortcode-to-button/)
 * Is it possible to use the generated shortcode from the created contact form with
   another plugin?
 * Ive got a pricing tables plugin and I’m wanting to use the button that appears
   at the bottom of the pricing table and goes with that plugin, which i’ve labelled“
   Book Now” but include the shortcode for the contact form, so the customer is 
   able to click on the Book Now button and get the popup contact form.
 * Can this be done?
 * When I go to the ‘Tips’ page on your plugin it says that I can use < a href=”#”
   class=”pwebcontact1_toggler”>Click here</ a> as a link, but when I go to put 
   it into the pricing table plugin, it doesn’t work?
 * Simon
 * [https://wordpress.org/plugins/pwebcontact/](https://wordpress.org/plugins/pwebcontact/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Gator Forms Support](https://wordpress.org/support/users/perfect-web-support/)
 * (@perfect-web-support)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/add-shortcode-to-button/#post-6901840)
 * Hello,
 * the syntax found in Tips tab is the correct way to do what you want, although
   you must also include our shortcode somewhere on this page (or set it to all 
   pages) and set in Location & Effects: Hidden before opening and one of the Lightbox
   layouts. Also make sure that the ID of the form matches with the code, for example
   if your shortcode is [pwebcontact id=2] then the form has ID: 2 and the code 
   should be:
    `<a href="#" class="pwebcontact2_toggler">Click here</ a>`
 * If you need more help please contact us through our support form ([https://www.perfect-web.co/wordpress-plugins/contact-form/documentation](https://www.perfect-web.co/wordpress-plugins/contact-form/documentation))
   and include a link to your website there.
 * Best regards

Viewing 1 replies (of 1 total)

The topic ‘Add shortcode to button’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pwebcontact_d0e7f0.svg)
 * [Gator Forms: the WordPress Contact Form with bite!](https://wordpress.org/plugins/pwebcontact/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pwebcontact/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pwebcontact/)
 * [Active Topics](https://wordpress.org/support/plugin/pwebcontact/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pwebcontact/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pwebcontact/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Gator Forms Support](https://wordpress.org/support/users/perfect-web-support/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/add-shortcode-to-button/#post-6901840)
 * Status: resolved