• How do I go about adding a trigger to a button on my site? It works with the menu item ‘instant quote’ but I can’t figure out how to use the same trigger on the pages…Thanks!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi Rick,

    You can also add items with the OCS widget, shortcodes or with the PHP API:
    Shortcodes: https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/Shortcodes
    PHP API: https://github.com/JoryHogeveen/off-canvas-sidebars/wiki/PHP-API#the_ocs_control_trigger

    For a shortcode generator, please go the Appearance >> Off-Canvas Sidebars >> Shortcode (Tab).

    Also, if you like the plugin, please consider leaving a nice review, it will help the plugin grow ??

    Regards, Jory

    Thread Starter Rick Hodges Jr

    (@dimu505)

    Thanks! I got the shortcode situated…One more thing…are you familiar with slider revolution? I was wondering if you knew how to add the trigger function to a button in that plugin…I attached a screenshot

    https://prntscr.com/kr0hax

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    *Looks*

    Side note:

    Jory, I’ve archived that duplicate topic, please continue on the original one, this one.

    Rick, Please do not create duplicate topics. Your newer dupe was archived, you can get help on this topic.

    Plugin Author Jory Hogeveen

    (@keraweb)

    @jdembowski
    Sigh.. in that case at least give me the opportunity to copy my response and post it here…

    Plugin Author Jory Hogeveen

    (@keraweb)

    Anyhow,

    I was wondering if you knew how to add the trigger function to a button in that plugin

    On the sidebar settings tab you can see the CSS classes needed to trigger sidebars.
    Triggers made with the menu, widget and shortcodes already have that built in. But you can also do this your own way.

    I’m not familiar with the Revolution Slider (other than that I know the plugin) but I’d guess you can add your own HTML in there?
    If so, please go tho the shortcode generator again and you’ll see that there is also HTML generated on the right side of the page.
    You can simply copy that, or only take the structure (classes etc.) to put in your slider.

    Hope this helps!

    Regards, Jory

    Thread Starter Rick Hodges Jr

    (@dimu505)

    Hey sorry about that guys…Once i saw the ‘resolved’ tag on the post I created a new one…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Button trigger’ is closed to new replies.