Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you can do the same with a widget with events_list shortcode (see our site for documentation)

    Thread Starter scharc

    (@scharc)

    thanks

    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?

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    you’d have to hook into the events list shortcode somehow and run do_shortcodes through the content before it’s output

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Events Manager] do_shortcode() filter on widget text?’ is closed to new replies.