Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Sidebar widget too long listing tagged Events

$
0
0

Replies: 0

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:

[events_list]
{has_tag_feature}
#_EVENTIMAGE{200,0}<br>
#_EVENTDATES<br>
#_EVENTLINK<br>
#_ATT{skipper} #_AVAILABLESPACES spaces<br>
{/has_tag_feature}
[/events_list]

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?


Viewing all articles
Browse latest Browse all 59525

Trending Articles