• Blake

    (@alexanderblake)


    I LOVE Shortcodes Ultimate for the versatility, but I’ve reached a snag I can’t seem to fix.

    I recently added a service to my site that uses a shortcode to open in a lightbox for booking rentals and what not. The popup works beautifully, but I lost the ability to have a button make it open.

    I want to have [su_button] execute [popup_shortcode] when clicked, but I can’t seem to make it work.

    Here’s what I put on the page:

    <div class="fare-harbor" style="display: none;">
    <div id="BookNow">[lightframe shortname="saylorvillelakemarina" view_item="16595" full_items="yes"]</div>
    </div>
    [su_button url="#BookNow" class="fare-harbor" style="glass" size="5" center="yes"]BOOK YOUR RESERVATION NOW[/su_button]

    No dice.

    Is there other lines of code I need to add in other places to make it work?

    Thanks!

    Blake

    https://ww.wp.xz.cn/plugins/shortcodes-ultimate/

The topic ‘Shortcode WITHIN Button Shortcode’ is closed to new replies.