WordPress.org

Ready to get started?Download WordPress

Forums

Responsive
How to make call-to-action button load a widget? (1 post)

  1. jay187
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic