{has_spaces} conditional not working correctly
-
Hey,
I’m using the {has_spaces} conditional placeholder on my event calendar, see https://ibiza2013.net/calendar however, it still displays events that have passed, even though the conditional shortcode should, in theory not display it. I’ve tried with multiple combinations of shortcodes etc but none seem to work, here’s the code that’s loaded into the calendar for each event:
<li><div style="background: url(#_LATT{icon});" class="fullcalicon"></div><a href="#_EVENTURL">#_NAME</a> <br> {has_spaces} <a href="#_EVENTURL"><div class="eventbuy_container" style="margin-top:10px; margin-bottom:10px;"><div class="eventbuy">Tickets</div><div class="eventbuy_price"> #_EVENTPRICEMIN </div></div></a> {/has_spaces} <span>Display Details</span> <div class="panel"><p><strong>Line-up</strong>: #_EVENTTAGS<br/><strong>Venue</strong>: #_LOCATIONNAME<br/><a href="#_EVENTURL"><strong>+ More Details</strong></a></p></div></li>
Also. I’m having issues with the multi-booking cart widget, for some reason if you add an event to the cart it displays very oddily, do you know if you have a fix for this as I’ve tried it all over the theme (not just in the sidebar) and it doesn’t work anywhere.
See: https://meakin.staging.wpengine.com/boat-parties/pukka-up-friday-boat-party-in-san-antonio/ and add a ticket to the cart.
Thanks
Russell
- The topic ‘{has_spaces} conditional not working correctly’ is closed to new replies.