Support » Plugin: Events Manager » Sidebar widget too long listing tagged Events

  • Resolved Steve Greenham


    Hi, I’ve created a sidebar widget to feature particular events (those tagged “feature”. This works fine except I find I have to create an events_list that has all forthcoming events and then only display the tagged ones:

    #_ATT{skipper} #_AVAILABLESPACES spaces<br>

    What seems to be happening is a blank line is created for every event, even those not tagged, so the sidebar widget is way too tall.

    With the Events-Manager sidebar widget I get a similar effect, except the stylesheet contains an <hr> so generates blocks of lines for each untagged event.

    It would be preferable to only select the tagged events in the initial [events_list] call, but if that is not possible how can I suppress the blank lines?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • OK, spending more time reading through old topics I found

    [events_list tag="feature"]

    That seems to have resolved my blank lines issue (especially if I can combine with has_available_spaces). Sadly it doesn’t seem to be possible to pass the tag to the Events-Manager sidebar widget. That only respects filtering by categories, which is a shame because the formatting is so much better than my text box.



    Blank lines are created by the ever-annoying wpautop() filter. That automatically adds paragraphs to your content.

    Here’s more info:

    Also how t disable it. (On my sites I aways disable it immediately.)

    Thanks. That is worth knowing but now I have restricted my events list to only the events I want to show the additional line isn’t a problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sidebar widget too long listing tagged Events’ is closed to new replies.