Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Upcoming Events showing draft events | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Upcoming Events showing draft events

Upcoming Events showing draft events

Posted: August 8, 2013 at 4:50 am

Viewing 5 reply threads


inspectahdeck

August 8, 2013 at 4:50 am

Hi there,

I have an upcoming events widget – surely it shouldn’t show draft events right?


Dean

  • Support Staff

August 8, 2013 at 4:59 am

Hey,

No it shouldn’t but it seems that it is. I will get a developer to look into this. Sorry about that.


inspectahdeck

August 8, 2013 at 5:10 am

Thanks its also showing on the events listing..

if you need access to it, let me know..


Dean

  • Support Staff

August 8, 2013 at 5:21 am

Hi,

No access needed it can be re-created, but thanks.


inspectahdeck

August 13, 2013 at 2:37 am

Any news on this? Do keep us updated as we have a live website where it becomes hard to create new events while in draft mode.

Many thanks!


Anonymous

August 13, 2013 at 4:34 am

Hi inspectahdeck,

As a temp fix you can exclude the Draft events from the widget by editing the template file.

If you copy event-espresso/templates/widget.php to wp-content/uploads/espresso/templates/ and look at line 125. You should see ‘break;’.

Under that line copy and paste this:

                        case 'DRAFT':
                        //Don't show the event if event is draft.
                        break;

That will strip out the draft events from the widget.

Viewing 5 reply threads

The support post ‘Upcoming Events showing draft events’ 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.

Event Espresso - Staging Server