Short code – inside of short code – need help please
-
My knowledge level is very low when it comes to php, codex, functions etc.
I “fumble” my way through things so please forgive my incorrect lingo at times.What I need help with is how to be able to use a short code inside of a short code and get the contents to “parse”? (not sure what else to call it).
For example on a post I might have a Gallery inserted through a plugin that I want to password protect with another plugin…like this.
[password-protect]
[nggallery id=1]
[/password-protect]
If I do this now I get the outter short code to work but what’s inside it just gets printed as text instead of actually inserting / doing whatever it should…in this case displaying an embedded gallery.
I have read enough to know I need to edit the php itself but when I read this page:
https://codex.www.ads-software.com/Function_Reference/do_shortcodeI have no clue what to edit..and how to edit it, may as well be written in Latin…lol.
Your help (hopefully in newbie terms) would be greatly appreciated.
Thank you.
- The topic ‘Short code – inside of short code – need help please’ is closed to new replies.