WordPress.org

Forums

Easy Modal
[resolved] Adding a modal to a shortcode button (2 posts)

  1. brandonecarr
    Member
    Posted 2 years ago #

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

  2. danieliser
    Member
    Plugin Author

    Posted 2 years ago #

    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]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.