Support » Plugin: Easy Modal » Adding a modal to a shortcode button

  • Resolved brandonecarr

    (@brandonecarr)


    ‘[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/

Viewing 1 replies (of 1 total)
  • Plugin Author danieliser

    (@danieliser)

    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.