[Resolved] Shortcode key=value pairs
You give these instructions for using your plugin outside the widget:
If you’re not able to change your theme you can also use the shortcode
[utcw]anywhere in your posts or pages. You can pass any of the settings along with the shortcode in the format of
key="value", for instance if you’d like to change the widget title:
[utcw title="Most awesome title ever"]
I am using the Easy Digital Downloads plugin and ultimately want to create product tags utilizing your plugin inside yet another plugin – WP UI-Tabs, Accordions, Sliders.
I succeeded in finding a list of key=value pairs in your config.php file. Some of them work as written there, some of them do not. I’m also trying to cross-reference the settings that appear from your installed UTC widget to determine the correct syntax, but can’t seem to land on the right value for some of the options such as viewing the “Downloads Tags” taxonomy in Easy Digital Downloads. I’ve tried things from changing cases to adding underscores to adding/subtracting certain letters (taxonomy=”Downloads Tags”, “downloads tags”, “downloads_tags”, etc.).
With color variation, I’ve tried using color_span_from and color_span_to as well as a variety of other options, but without success. Is there documentation and/or are there examples of the exact use of each key=value pair for shortcode use? That would be exceedingly useful.
Thanks, Rickard, for being so generous with such a great product.
- The topic ‘[Resolved] Shortcode key=value pairs’ is closed to new replies.