Title: Button trigger
Last modified: September 4, 2018

---

# Button trigger

 *  Resolved [Rick Hodges Jr](https://wordpress.org/support/users/dimu505/)
 * (@dimu505)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/)
 * 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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbutton-trigger-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/#post-10656073)
 * 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](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](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](https://wordpress.org/support/users/dimu505/)
 * (@dimu505)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/#post-10660498)
 * 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
 * [http://prntscr.com/kr0hax](http://prntscr.com/kr0hax)
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/#post-10662874)
 * _*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](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/#post-10662889)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/)
    Sigh.. in that
   case at least give me the opportunity to copy my response and post it here…
 *  Plugin Author [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/#post-10662901)
 * 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](https://wordpress.org/support/users/dimu505/)
 * (@dimu505)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/#post-10663776)
 * 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.

 * ![](https://ps.w.org/off-canvas-sidebars/assets/icon-256x256.png?rev=1474678)
 * [Off-Canvas Sidebars & Menus (Slidebars)](https://wordpress.org/plugins/off-canvas-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/off-canvas-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/off-canvas-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/off-canvas-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/off-canvas-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/off-canvas-sidebars/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Rick Hodges Jr](https://wordpress.org/support/users/dimu505/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/button-trigger-2/#post-10663776)
 * Status: resolved