I am using this plugin: http://wordpress.org/extend/plugins/worldcurrency/

Shortcode syntax:

[worldcurrency cur="EUR" value="25"] 

However, I’m 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="25"]

Any remedies here?

Update
I think I need to be using the

add_filter('xx','do_shortcode');

somehow?

3 Answers
3

I haven’t tried this, but you could try pseudo-changing the priority of your shortcode hook.

Basically, you force your shortcode to execute before it would normally. That link shows how to execute your shortcode separately – and, more importantly, before – the other shortcodes get implemented.

This works by caching and temporarily removing all existing shortcodes, executing yours, then reestablishing the other shortcodes.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *