Title: Creating Jquery shortcode
Last modified: August 20, 2016

---

# Creating Jquery shortcode

 *  Resolved [EarlSnappy](https://wordpress.org/support/users/earlsnappy/)
 * (@earlsnappy)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/creating-jquery-shortcode/)
 * Hi, I want to create a Jquery dialog button that opens a dialog box – can I do
   this with you plug in?
 * The code I’ve got at the moment which works on the page is below – I got it from
   [here](http://jqueryui.com/dialog/) click ‘view source’ to get full code:
 * I know I would have to put the stylesheet url in my child theme header, but was
   wondering if I can use your plugin for the Jscript/div?
 * <link rel=”stylesheet” href=”[http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css&#8221](http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css&#8221);/
   >
    <script src=”[http://code.jquery.com/jquery-1.8.3.js”></script&gt](http://code.jquery.com/jquery-1.8.3.js”></script&gt);
   <script src=”[http://code.jquery.com/ui/1.10.0/jquery-ui.js”></script&gt](http://code.jquery.com/ui/1.10.0/jquery-ui.js”></script&gt);
   <link rel=”stylesheet” href=”/resources/demos/style.css” /> <script> $(function(){
   $( “#dialog” ).dialog(); }); </script>
 * <div id=”dialog” title=”Basic dialog”>
    <p>This is the default dialog which is
   useful for displaying information. The dialog window can be moved, resized and
   closed with the ‘x’ icon.</p> </div>
 * Any help much appreciated, Earl
 * [http://wordpress.org/extend/plugins/shortcodes-ui/](http://wordpress.org/extend/plugins/shortcodes-ui/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Bainternet](https://wordpress.org/support/users/bainternet/)
 * (@bainternet)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/creating-jquery-shortcode/#post-3443962)
 * Yes you can.

Viewing 1 replies (of 1 total)

The topic ‘Creating Jquery shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcodes-ui_dbeef6.svg)
 * [ShortCodes UI](https://wordpress.org/plugins/shortcodes-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcodes-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcodes-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcodes-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcodes-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcodes-ui/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Bainternet](https://wordpress.org/support/users/bainternet/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/creating-jquery-shortcode/#post-3443962)
 * Status: resolved