Trying to use shortcode from the WordPress-Amazon-Associate plugin. It generates the following for an album we reviewed:
[amazon_enhanced asin=”B00723NWJE” container=”” container_class=”” larger_image=”false” price=”New” background_color=”FFFFFF” link_color=”000000″ text_color=”0000FF” /]
If I put that in a sidebar TEXT/HTML widget, it displays properly. If I put it in the PHP/TEXT/HTML widget, it simply shows the shortcode.
I want to use the PHP widget so I generate the ASIN part of the shortcode dynamically. Is it possible?
- The topic ‘[Plugin: PHP Code Widget] Is there a way to use shortcode?’ is closed to new replies.