Shortcode inside a shortcode


#1

Hi all,

I was hoping somebody could give me a magic line to throw in my functions file to allow a shortcode inside a shortcode - it doesn’t seem to work for me.

I know I had to write a line or two to get my shortcodes working inside text widgets and I’m assuming there’s something very similar to do this?

Cheers!


#2

Place do_shortcode($content) instead of $content when returning.


#3

Cheers, Pheonix!

Feel a bit silly making a thread for this now lol :stuck_out_tongue:


#4

Especially because it’s been discussed in a lot of threads by now maybe? :wink: Anyways, cheers to you :slight_smile: