Shortcodes with Filtered Styles
-
Hello,
I’m attempting to use the ASA shortcode to generate an inline style with attribute info from Amazon (width, height, etc. of an Amazon product).
I am somewhat familiar with the shortcode API (and its standards), but am having trouble echoing the shortcode as an inline style.
Currently, I am doing something along the lines of
echo do_shortcode("<div [asa style-template]ASIN[/asa]></div>");Unfortunately, do_shortcode fails to recognize the shortcode.
Any help or advice on whether or not this is doable would be greatly appreciated.
Thanks for your time.
Regards,
Blaine
The topic ‘Shortcodes with Filtered Styles’ is closed to new replies.