Support

Home Forums Event Espresso Premium Upcoming Events Widget Not Showing in Sidebar

Upcoming Events Widget Not Showing in Sidebar

Posted: January 20, 2017 at 8:16 am


RePose

January 20, 2017 at 8:16 am

Hi,
I have a web designer helping me. She has been trying to get the Upcoming Events widget to work but it is not showing up. Here is what she says:

“Through the sidebar plugin I added earlier this week each event page gave an option to add a sidebar. However – it’s not showing up.

I’ve accessed the EE documentation twice today to find a solution – I tried a few troubleshooting things but nothing is working.”

Thanks for your help!
Jennifer


Josh

  • Support Staff

January 20, 2017 at 8:38 am

Hi there,

Does the Upcoming Events widget display if you use the Widget settings in Appearance > Widgets?


RePose

January 20, 2017 at 1:05 pm

Hi Josh 🙂 I’m the designer working on Jenn’s site.

I’ve created a custom sidebar in the Widgets section using the Upcoming Events + Calendar widgets. Then, on each event page I’ve selected to add the custom sidebar with EE widgets – but it doesn’t show up on the page when viewed. (the Register button doesn’t either on 2 of 3 events created, but that’s another story… :))

It wasn’t even giving an option to add a sidebar on any pages so I added a sidebar plugin to support/troubleshoot the process.

I’d love some help – thank you!!
Jacqueline


Tony

  • Support Staff

January 20, 2017 at 1:24 pm

Hi Jacqueline,

So is this on the single events page /events/{event-name}/, the /events/ page or both?

Which sidebar plugin did you add?

This is likely due to how the theme is setup (EE events are treated as posts so use your single.php template for output) but we need more details to help troubleshoot.


RePose

January 20, 2017 at 2:49 pm

Yes, both – the single events page AND the /events.
The plugin used is Custom Sidebars. Someone recommended it here in the EE troubleshooting section. https://wordpress.org/plugins/custom-sidebars/
The /events does have a sidebar automatically but it’s one for the Blog. I can’t seem to change it b/c there’s no way to edit the /Events page.

Hope this makes sense.


RePose

January 21, 2017 at 12:20 am

The website does have a blog and the sidebars are being used on the Blog pages.

Any chance we can share the u/p and you could take a look at it?

Thanks.


RePose

January 22, 2017 at 10:41 pm

Hi again,
It looks like Event Espresso is trying to upload insecure content when my website is a secure site. Host is wpengine and already checked off the “secure all URLs” box and I’m not using any force SSL plugins.

It is blocking the events from loading (no events will load after clicking on them). And might be the problem with the widget not showing up and the calendar only displaying after refreshing the page.

The insecure loads are coming from google recaptcha and schema. Are these from Event Espresso? It looks like they are.
http://schema.org/WebPage” and ‘http://www.google.com/recaptcha/api/js/recaptcha_ajax.js?ver=4.7.1’></script>

The error messages:
Mixed Content: The page at ‘https://www.reposelifestyle.com/events/’ was loaded over HTTPS, but requested an insecure script ‘http://www.google.com/recaptcha/api/js/recaptcha_ajax.js?ver=4.7.1’. This request has been blocked; the content must be served over HTTPS.

There was a similar error for schema but can’t find it now. Also this one when trying to get to an event from events page:

Uncaught SyntaxError: Unexpected token :
at eval (<anonymous>)
at jquery.js?ver=1.12.4:2
at Function.globalEval (jquery.js?ver=1.12.4:2)
at HTMLScriptElement.<anonymous> (ajax.min.js?ver=4.7.1:1)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at slideInNewPage (ajax.min.js?ver=4.7.1:1)
at j (ajax.min.js?ver=4.7.1:1)
at Object.success (ajax.min.js?ver=4.7.1:1)
at i (jquery.js?ver=1.12.4:2)

Any suggestions?


Tony

  • Support Staff

January 23, 2017 at 10:00 am

I’m not using any force SSL plugins.

How have you setup WordPress to use HTTPS?

I’d recommend installing this plugin: https://en-gb.wordpress.org/plugins/really-simple-ssl/

It is blocking the events from loading (no events will load after clicking on them). And might be the problem with the widget not showing up and the calendar only displaying after refreshing the page.

Those warnings should not stop the events from loading, they will stop registrations from working correctly, but not the event pages loading.

Your site is maintenance mode so we cant view the pages currently, can you send temporary login details so we can take a look using this form:

https://eventespresso.com/send-login-details/


RePose

January 23, 2017 at 10:27 am

I use WPEngine as a host. You have instructions on your site to configure in WPEngine directly and NOT use SSL software. So I am confused. I will send the temporary login details.


RePose

January 23, 2017 at 11:50 am

This is your page where you suggest that if I’m using WP Engine as the host to follow different instructions and NOT use force SSL software.https://eventespresso.com/wiki/espresso-sslhttps/


Tony

  • Support Staff

January 23, 2017 at 4:21 pm

Hi there,

I wanted to double check within the code to confirm this, but the recaptcha_ajax.js being added to the page and throwing this error:

The error messages:
Mixed Content: The page at ‘https://www.reposelifestyle.com/events/’ was loaded over HTTPS, but requested an insecure script ‘http://www.google.com/recaptcha/api/js/recaptcha_ajax.js?ver=4.7.1’. This request has been blocked; the content must be served over HTTPS.

Is not from Event Espresso, its from your theme.

If you look on your homepage you’ll notice the same error being thrown there.

To prevent that error you can disable the themes reCaptcha feature within Quode Options -> Contact -> Use Recaptcha.

The theme developers need to fix the function to use HTTPS when needed.

The issue with 2 events not showing the register button is because your tickets have a ‘sell until’ date that has passed so they are expired (note the date and the gray ‘status’ bar on the right here – http://take.ms/HFSz5)

As you have no ‘active’ ticket no register button is shown, you need to alter the sell until dates so the ticket demain active for the time you want to sell them for.

I use WPEngine as a host. You have instructions on your site to configure in WPEngine directly and NOT use SSL software. So I am confused. I will send the temporary login details.

My apologies, you can ignore my previous comment. Your site is correctly setup for https and EE is adding any scripts/styles it needs using https – http://take.ms/Tbz1S

The sidebar issue is from how your theme works and will require custom templates are created based on the current files) for EE output to include the sidebars.

The Event archive showing ‘Archive’ is also down to how your theme outputs archives, this will take a custom function to alter the text specifically for EE events.

You could hide the text on that output using:

.post-type-archive-espresso_events .title_subtitle_holder_inner {
    display: none;
}

We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these.


RePose

January 24, 2017 at 12:06 am

Hi again,

There are several other things still not working. I am unclear about your comment: “The sidebar issue is from how your theme works and will require custom templates are created based on the current files) for EE output to include the sidebars.”

Are you referring to why the Upcoming Events Widget is not showing up in the Sidebar? It now has started showing on the Main Events page but not on the individual Events page. Is this what you are referring to. Are you able to support the code that would make it appear on individual events pages?

Also, several other issues remain: The calendar/schedule page – when you go to that page the calendar does not show up unless you refresh the page. Not sure why?

The links to the individual events don’t work. You can see the events on the events page but the links to them don’t go anywhere.

Also, when you went into the site did you change the format of how the Events are appearing on the events page? They were showing up like blog posts and are now appearing in columns that have code embedded in them. If you changed this could you please change it back?

Thank- you!


Tony

  • Support Staff

January 24, 2017 at 2:58 am

Are you referring to why the Upcoming Events Widget is not showing up in the Sidebar? It now has started showing on the Main Events page but not on the individual Events page. Is this what you are referring to. Are you able to support the code that would make it appear on individual events pages?

If the single event pages were cached by WPEngine (see below) that will explain why the sidebars didn’t show but now do on the singe event pages.

For the archive page you need a custom template that can be used to display a sidebar when displaying the EE events archive, yes we can create this for you if you would like to purchase a support token.

Also, several other issues remain: The calendar/schedule page – when you go to that page the calendar does not show up unless you refresh the page. Not sure why?

Does the same happen if you preview one of the default themes such as twentyfourteen?

Have you followed the documentation for setting up WPEngine to work with EE?

https://eventespresso.com/wiki/setup-wpengine-hosting-event-espresso/

You’ll need to have them exclude the URL’s mentioned in that thread from their caching and also enable the Heartbeat API on your site.

The links to the individual events don’t work. You can see the events on the events page but the links to them don’t go anywhere.

Try flushing your permalinks.

Go to Dashboard -> Settings -> Permalinks

Make no changes and just save the settings there, do the events work then?

Also, when you went into the site did you change the format of how the Events are appearing on the events page? They were showing up like blog posts and are now appearing in columns that have code embedded in them. If you changed this could you please change it back?

I haven’t changed anything on the site, I logged in, looked at your events within Event Espresso -> Events to confirm why some did not show the register button but made no changes at all.


RePose

January 24, 2017 at 8:38 am

Thank you. I will check with the developer on whether she followed the WPEngine set up guidelines and let you know if we need more help with the schedule not appearing until refresh.

As for the archive page – it is showing the widget/sidebar. This must be because the developer used the sidebar plugin and created the template. That is working. But it is the individual event pages (that you can’t navigate to within the site because the links don’t work) – when i navigate to them from the dashboard to see them, the widget/upcoming events sidebar does not appear on those pages.

I tried going to permalink and saving the settings but it did not allow the event pages links to work.


Tony

  • Support Staff

January 31, 2017 at 9:22 am

Hi there,

I just wanted to check in to see if your developer had WPEngine exclude the EE pages from caching and the event pages now work as expected?

The support post ‘Upcoming Events Widget Not Showing in Sidebar’ 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