[Plugin: ShortCodes UI] Shortcode not inserting parameter value
-
Please watch this short movie to see what I’m doing and what’s not working.
https://jing.videvent.com/2012-04-23_14-10-17.mp4SUMMERY:
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="https://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: "https://sspd.videvent.com/images.php?gallery=7", paramXMLPath: "https://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="https://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: "https://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.
- The topic ‘[Plugin: ShortCodes UI] Shortcode not inserting parameter value’ is closed to new replies.