WordPress.org

Support

Support » Themes and Templates » How to make call-to-action button load a widget?

How to make call-to-action button load a widget?

  • Hi,

    I would like to add this code so that it loads when the call-to-action button is clicked but I cannot seem to get it to work:

    <a href="javascript:void(0)" onClick="show_widget();">Click Here To Launch Widget</a>

    It will work fine if I place it anywhere else on my page, I just can’t figure out how to link it to the CTA button.

    Any help greatly appreciated.

  • The topic ‘How to make call-to-action button load a widget?’ is closed to new replies.