nested php snippet
-
Hello!
Got a question about nested shortcodes for you.
I need to generate a list of checkboxes from a custom post type.
Watch it here https://www.test3.websitehebben.com/sandbox/
I use a php snippet to output the list. I call it from a shortcode, which works with CF7.
However I need to use it nested! Unfortunately I can’t get it to work. I tried accordeons, double quotes, single qoutes, the works.
Any help would be much appreciated ??
Below is what my CF7 edit screen looks like
Regards
Janco
‘
I want to create something like this:<p>Checkboxes:
[checkbox checkbox-204 use_label_element “8 footer” “10 footer” “12 footer” “14 footer”]</p><p>Checkboxes:
[checkbox checkbox-204 use_label_element “list of boats”]</p>When I include the php snippet not nested it outputs this:
[php snippet=5]
Which is fine.However, when I inlcude it nested it outputs this:
[checkbox checkbox-204 use_label_element [php snippet=5] ]
Which is a bummer.How now?
‘
- The topic ‘nested php snippet’ is closed to new replies.