Title: Shortcode and JS
Last modified: December 6, 2021

---

# Shortcode and JS

 *  Resolved [lokorn](https://wordpress.org/support/users/lokorn/)
 * (@lokorn)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/shortcode-and-js/)
 * Hello All
 * I am interested in purchasing the shortcode and triggers bundle. I am using Woo
   Commerce in catalog mode. I would like to trigger a slider with a Ninja Form 
   from a send inquiry button. I only have the option to trigger it with a URL, 
   not a shortcode. I think. Is that an option?
 * Also, I wanted to add some JS to the Ninja Form, for some reason it does not 
   work (not an expert in JS). It works fine if I write it in slider in HTML instead
   of using a shortcode to Ninja Forms. Is there an option to combine shortcode 
   and HTML in the slider?
 * Thank you.
 * BR,
    L

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

 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/shortcode-and-js/#post-15140164)
 * Hi [@lokorn](https://wordpress.org/support/users/lokorn/),
 * Thanks for using the plugin,
 * I hope you are doing well, No it is not possible. You can either add a slider
   using shortcode or add HTML.
 * You can use the Custom JS plugin to add custom js.
 * Thanks
 *  Thread Starter [lokorn](https://wordpress.org/support/users/lokorn/)
 * (@lokorn)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/shortcode-and-js/#post-15153367)
 * Thank you for your reply.
 * I think you are referring to my second question about the JS possibilities.
 * I would also like to know if it’s possible to trigger the slider from a button
   using a URL instead of a shortcode?
 * BR,
    L
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/shortcode-and-js/#post-15157294)
 * Hi [@lokorn](https://wordpress.org/support/users/lokorn/),
 * At the moment it is not possible to add a URL in the trigger.
 * Thanks
 *  Plugin Author [WPExperts.io](https://wordpress.org/support/users/wpexpertsio/)
 * (@wpexpertsio)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/shortcode-and-js/#post-15186842)
 * Hi [@arsalantariq](https://wordpress.org/support/users/arsalantariq/),
 * We haven’t heard from you so we’re going to mark this thread as resolved. Feel
   free to open a new one if you need.
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/shortcode-and-js/#post-15197119)
 * Hi [@lokorn](https://wordpress.org/support/users/lokorn/),
 * Wp Contact Slider “Triggers & Shortcodes” Add-on should meet the requirements
   you are looking for.

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

The topic ‘Shortcode and JS’ is closed to new replies.

 * ![](https://ps.w.org/wp-contact-slider/assets/icon-256x256.png?rev=3171432)
 * [WP Contact Slider – Contact Form Slider Widget](https://wordpress.org/plugins/wp-contact-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-contact-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-contact-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-contact-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-contact-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-contact-slider/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 5 replies
 * 3 participants
 * Last reply from: [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/shortcode-and-js/#post-15197119)
 * Status: resolved