Results 1 to 9 of 9
Feb 5, 2013, 09:38 #1
- Join Date
- Feb 2013
- 0 Post(s)
- 0 Thread(s)
Execute Shortcode within Shortcode
0 down vote favorite
Hello there guys, newbie here
Working with wordpress. Not sure if this is the right forum to post.
I am using this plugin
[worldcurrency cur="EUR" value="25"]
However, i am using Advanced custom fields and the shortcode for custom fields is not being executed within the shortcode for worldcurrency.
[worldcurrency curr="[acf field="fl_currency"]" value="[acf field="fl_value"]"]
If you look at the ACF shortcode in source (api.php), it just uses the API function get_field on the shortcode's field attribute.
I could probably write my own shortcode or custom function that combines the two, using the output of world currency with ACF's get_field to fetch the attributes from fields I specify.
Any ideas on how to achieve this?