ProThemesWP jQuery Shortcode

Add jQuery (and/or javascript) to your posts using a shortcode e.g. [jquery]$('p').css('background','blue');[/jquery].

Author:ProThemesWP (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:5.3.3
Plugin version:1.1
Added to WordPress repository:12-09-2019
Last updated:31-10-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:https://prothemeswp.com/tutorials/how-to-add-...
Total downloads:134
plugin download
Click to start download

Easily add jQuery (and/or javascript) inline in your posts, pages and custom posts using a shortcode.

Here is an example of the shortcode called [jquery] in use.

[jquery]
$( ‘#button’ ).click( function() {
alert( ‘button clicked’ );
}
);
[/jquery]

You can place any javascript within the [jquery]…[/jquery] shortcode – not just jQuery.

If you have any questions, please don’t hesitate to create a new topic on the WordPress forum.