Title: Adding a modal to a shortcode button
Last modified: August 20, 2016

---

# Adding a modal to a shortcode button

 *  Resolved [brandonecarr](https://wordpress.org/support/users/brandonecarr/)
 * (@brandonecarr)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/adding-a-modal-to-a-shortcode-button/)
 * ‘[button align=”right” color=”black” size=”small” link=”#”]APPLY[/button]’
 * So, I’m attempting to place the eModal eModal-1 within the above shortcode on
   my site. However, I can’t seem to get it to work. I’ve tried the following with
   no luck:
 * ‘[button align=”right” color=”black” size=”small” link=”#” class=”eModal eModal-
   1″]APPLY[/button]’
 * Would really appreciate the help. Thanks!
 * [http://wordpress.org/extend/plugins/easy-modal/](http://wordpress.org/extend/plugins/easy-modal/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * (@danieliser)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/adding-a-modal-to-a-shortcode-button/#post-3486998)
 * Hmm.. What plugin are you using to create buttons? It may not have the ability
   to pass classes to the button. If this is the case then you could do either
    `
   <div class="eModal eModal-1">[button align="right" color="black" size="small"
   link="#"]APPLY[/button]</div>`
 * or
 * `[button align="right" color="black" size="small" link="#"]<span class="eModal
   eModal-1">APPLY</span>[/button]`

Viewing 1 replies (of 1 total)

The topic ‘Adding a modal to a shortcode button’ is closed to new replies.

 * ![](https://ps.w.org/easy-modal/assets/icon-256x256.png?rev=982657)
 * [Easy Modal](https://wordpress.org/plugins/easy-modal/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-modal/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-modal/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-modal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-modal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-modal/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Iser](https://wordpress.org/support/users/danieliser/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/adding-a-modal-to-a-shortcode-button/#post-3486998)
 * Status: resolved