Shortcodes within Shortcodes
-
Hi there,
I have a text widget in my sidebar that looks something like the following. I am not sure exactly what I did, but the embedded shortcodes (e.g. [button color=”red” style=”flat” url=”#bookingform”]Book now[/button]), which WERE working without any problem, are no longer working. The shortcode is simply echoed. However, anywhere else within the widget outside of the [event] shortcodes, shortcodes and embedded shortcodes are processed with no problems.
[event]<p><strong>Event:</strong> #_EVENTNAME</p> <p><strong>When:</strong> #_EVENTDATES, #_EVENTTIMES</p> {has_location} <p><strong>Location:</strong> #_LOCATIONNAME</p> <i style="font-size:0.9em;color:#999;">#_LOCATIONNOTES</i> {/has_location} {has_spaces}[box color="blue"]This event still has spaces available.[/box] [button color="red" style="flat" url="#bookingform"]Book now[/button]{/has_spaces} {fully_booked} [box color="red"]<strong>This event is now fully booked. Thank you.</strong>[/box] {/fully_booked} [/event]
I must be overlooking something simple, but I’m just not seeing it right now. Any help would be greatly appreciated.
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘Shortcodes within Shortcodes’ is closed to new replies.