Using ACF fields in player shortcode
-
Hi,
Im trying to build custom post type which will output all player shortcode attributes wrapped in the player shortcode. Im using ACF to store and output attributes such as:
feed_url
apple_sub
google_suband so on,
my issue is how to output these values into a short code. I have tried nesting acf shortcodes within the podcast player short code like this:
[podcastplayer feed_url=”[acf field=”feed_url”]”] but it does not work, I get a “RSS Error: Please provide a valid URL” – I have checked that parsing the naked acf field shortcode [acf field=”feed_url”] does output the RSS feed correctly, so this is just an issue of nesting shortcodes, if that is even possible.
Would like to know if there’s a way to get this working.
Much appreciated!
- The topic ‘Using ACF fields in player shortcode’ is closed to new replies.