Title: [Plugin: ShortCodes UI] Shortcode not inserting parameter value
Last modified: August 20, 2016

---

# [Plugin: ShortCodes UI] Shortcode not inserting parameter value

 *  Resolved [mendocinotim](https://wordpress.org/support/users/mendocinotim/)
 * (@mendocinotim)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-shortcodes-ui-shortcode-not-inserting-parameter-value/)
 * Please watch this short movie to see what I’m doing and what’s not working.
    
   [http://jing.videvent.com/2012-04-23_14-10-17.mp4](http://jing.videvent.com/2012-04-23_14-10-17.mp4)
 * SUMMERY:
    I have the following code that I want Shortcode UI to insert, with 
   a single parameter that would be passed ..
 *     ```
       <!-- START EMBED CODE -->
   
       <script type="text/javascript" src="http://sspd.videvent.com/m/embed.js"></script>
   
       <div id="gallery-7">
   
       </div>
   
       <script type="text/javascript">
       	SlideShowPro({
       		attributes: {
       			id: "gallery-7",
       			width: 625,
       			height: 475
       		},
       		mobile: {
       			auto: false,
       			poster: "vignette"
       		},
       		params: {
       			bgcolor: "#000000",
       			allowfullscreen: true
       		},
       		flashvars: {
       			xmlFilePath: "http://sspd.videvent.com/images.php?gallery=7",
       			paramXMLPath: "http://sspd.videvent.com/m/params/salt.xml",
       			startup: "Open Gallery",
       			videoAutoStart: "Off",
       			navAppearance: "Visible on Rollover",
       			feedbackPreloaderAppearance: "Spinner",
       			transitionLength: 1
       		}
       	});
       </script>
   
       <!-- END EMBED CODE -->
       ```
   
 * In this code shown above I replaced the value of the xmlFilePath parameter with
   a Shortcode Attribute, like this..
 *     ```
       <!-- START EMBED CODE -->
   
       <script type="text/javascript" src="http://sspd.videvent.com/m/embed.js"></script>
   
       <div id="gallery-7">
   
       </div>
   
       <script type="text/javascript">
       	SlideShowPro({
       		attributes: {
       			id: "gallery-7",
       			width: 625,
       			height: 475
       		},
       		mobile: {
       			auto: false,
       			poster: "vignette"
       		},
       		params: {
       			bgcolor: "#000000",
       			allowfullscreen: true
       		},
       		flashvars: {
       			xmlFilePath: "{XMLpath}",
       			paramXMLPath: "http://sspd.videvent.com/m/params/salt.xml",
       			startup: "Open Gallery",
       			videoAutoStart: "Off",
       			navAppearance: "Visible on Rollover",
       			feedbackPreloaderAppearance: "Spinner",
       			transitionLength: 1
       		}
       	});
       </script>
   
       <!-- END EMBED CODE -->
       ```
   
 * Then when I use Shortcode UI, where it asks me for the XMLpath (the way it should),
   it for some reason does not insert the value I ask for – leaving the xmlFilePath
   value out, as seen when I view the resulting WP page’s html source.
 * I am using the Simple One Tag ShortCode method.
 * Please advise on this, if you don’t mind.
 * And thank you.
 * [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)
 * [14 years ago](https://wordpress.org/support/topic/plugin-shortcodes-ui-shortcode-not-inserting-parameter-value/#post-2706079)
 * Hi,
 * I saw your video and it does look like you are doing everything right accept 
   you are using capital letters in the attribute name which sadly will never work,
   so try changing `XMLpath` to `xmlpath` in the attribute you create and in the
   template.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: ShortCodes UI] Shortcode not inserting parameter value’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Bainternet](https://wordpress.org/support/users/bainternet/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/plugin-shortcodes-ui-shortcode-not-inserting-parameter-value/#post-2706079)
 * Status: resolved