Nesting another shortcode inside
-
Hi,
Does anyone know how I could nest another shortcode inside this one?
e.g.
[gdoc key=”https://docs.google.com/spreadsheets/……” use_cache=”no” query=”select A, B, C where A = “[urlparam param=”domain” /]”]
The [urlparam] shortcode grabs a get variable from the url. Works on it’s own but does not work when inside gdoc shortcode.
Was reading about do_shortcode needing to be applied to the outside shortcode i.e. gdoc, but having trouble working this out.
Many thanks!
https://ww.wp.xz.cn/plugins/inline-google-spreadsheet-viewer/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Nesting another shortcode inside’ is closed to new replies.