Posted: March 14, 2014 at 12:38 pm
|
WordPress Version: Hi, I am trying to hide an event using the waitlist feature, but the event is still showing up in our list. http://mikeleebasketball.net/upcoming/ http://mikeleebasketball.net/?page_id=4219®event_action=register&event_id=125 What do I need to do to hide this? Didn’t there used to be a “private” option in the drop down box “Draft, waitlist, etc.”?
|
Hi Mike, Could you please backup your WordPress and update to the current version of Event Espresso: https://eventespresso.com/wiki/change-log/ — |
|
|
Lorenzo, I just updated it, but it’s still not working. Any other thoughts? |
Hi Mike, If you are logged into the WordPress admin, then you’ll be able to view all events. Could you please logout and then refresh this page? http://mikeleebasketball.net/upcoming/ — |
|
|
I did that already and it still was showing up so I’ve changed it back to the draft form. I also tried it in a different browser and it still showed up. |
Could you switch it back to waitlist and then update this forum post? — |
|
|
The event is now listed as wait list and shows up at http://www.mikeleebasketball.net/upcoming Thanks! |
Hi Mike, Can you tell me the shortcode that is being used on the page http://mikeleebasketball.net/upcoming/ please? |
|
|
[ESPRESSO_EVENTS] is being used right now. I tried using [EVENT_LIST] on a new page, but that broke the code. Warning: Invalid argument supplied for foreach() in /home/mikelee/public_html/wp-content/uploads/espresso/templates/event_list.php on line 86 – Didn’t there used to be a “private” event option? |
[EVENT_LIST] can not be used in place of [ESPRESSO_EVENTS] although the output is similar, ESPRESSO_EVENTS is a core shortcode, it must be on a publicically accessible page and that page selected within EVent Espresso -> General Settings. Main registration page. It would appear your is set correctly, I’m just explaining why you received an error. As far as I’m aware there has never been a private event option. It would appear there are custom templates within wp-content/uploads/espresso/templates/ which is what I suspect is caused the waitlist events to be displayed. Testing this locally the default templates do not display waitlist events so it likely due to the modifications within those files. If you open up wp-conent/uploads/espresso/templates/event_list.php and look around line 156 (it may be different depending on the customisations made) Do you see: $sql .= $show_secondary == 'false' ? " AND e.event_status != 'S' " : ''; there or within that file? |
|
The support post ‘Hide Event’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.