Title: shortcode for jquery not working?
Last modified: April 1, 2026

---

# shortcode for jquery not working?

 *  [jkacher](https://wordpress.org/support/users/jkacher/)
 * (@jkacher)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/shortcode-for-jquery-not-working/)
 * I created a test script to prevent the <a> from firing, pasted the code [cmruncode
   name=”jk3″] as a Paragraph (it created a shortcode template), enabled the code,
   but when run the link opens as always.

Viewing 1 replies (of 1 total)

 *  Thread Starter [jkacher](https://wordpress.org/support/users/jkacher/)
 * (@jkacher)
 * [2 months, 1 week ago](https://wordpress.org/support/topic/shortcode-for-jquery-not-working/#post-18868580)
 * I solved this one myself, apparently the $ shortcut was used by other libraries
   in WP, had to use 
   var $j = jQuery.noConflict();

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-for-jquery-not-working%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/code-manager/assets/icon-128x128.png?rev=2392773)
 * [Code Manager](https://wordpress.org/plugins/code-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/code-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/code-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/code-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/code-manager/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jkacher](https://wordpress.org/support/users/jkacher/)
 * Last activity: [2 months, 1 week ago](https://wordpress.org/support/topic/shortcode-for-jquery-not-working/#post-18868580)
 * Status: not resolved