you can do the same with a widget with events_list shortcode (see our site for documentation)
Thread Starter
scharc
(@scharc)
its me again…
i tried to get the text-widget to work and run into some more problems:
i added to my themefunction
add_filter('widget_text', 'do_shortcode');
for the shortcode-support and made a custom shortcode function
[foobar]
when i use the [events_list] shortcode its doing well.
when i do
[foobar]
[events_list limit="3" ]do something
[/events_list]
its doing its job as well … and my custom shortcode gets replaced as well
BUT
when i do
[events_list limit="3" ]do something [foobar]
[/events_list]
the [foobar} shortcode is not replaced!
any suggestions?
you’d have to hook into the events list shortcode somehow and run do_shortcodes through the content before it’s output