Support

Home Forums Event Espresso Premium Calendar Showing not showing on one page but showing fine on another

Calendar Showing not showing on one page but showing fine on another

Posted: August 21, 2018 at 9:35 am

Viewing 10 reply threads


fishwinkmarketing

August 21, 2018 at 9:35 am

Hi there!

We have a few different types of events that each have their own page.

I would like to show a filtered calendar for each (ex: Seminars calendar with only seminars and Yoga calendar with only yoga classes).

The calendar on the Yoga page shows up fine but the one on the seminars page won’t show up.

Here is the bypass URL to access the site ==> https://rvacreativewellness.org?bypass=wellness

And here are the links to both of those pages:

Yoga ==> https://rvacreativewellness.org/classes/yoga/

Seminars ==> https://rvacreativewellness.org/seminars/

Please help!


Josh

  • Support Staff

August 21, 2018 at 9:50 am

Hi,

Can you switch editors on the Seminars page and use the native WP editor instead of the page builder plugin there? The calendar shortcode needs to be inserted into the post’s post_content field in order to display. Oftentimes page builders will store the post’s content outside of the post_content field, which does not allow for the calendar’s scripts to load on that page.


fishwinkmarketing

August 21, 2018 at 10:05 am

Thanks for the quick response. I tried switching back to classic mode on that page (not sure if that’s what you are referring to as WP native editor) and it still doesn’t show up.

The Yoga page is set up the same way with the page builder and somehow works fine. I need to use the page builder for these pages to keep layouts consistent with the rest of the site.

Any ideas on how to get this work?

Thanks!


Josh

  • Support Staff

August 21, 2018 at 10:17 am

After you’ve switched to the classic mode, then added the shortcode, then saved the changes, does the calendar display then?


fishwinkmarketing

August 21, 2018 at 10:23 am

No, unfortunately, it still doesn’t display. I also just tried creating a new page in classic mode with only the shortcode on it and that didn’t show up either.


Josh

  • Support Staff

August 21, 2018 at 10:42 am

If you temporarily deactivate the page builder plugin, then add the shortcode to a page does the calendar display then?


fishwinkmarketing

August 21, 2018 at 12:32 pm

Ok so I deactivated the WP Bakery page builder plugin and cleared the cache. I entered the shortcode again into the page (while the page builder was deactivated) and updated and it’s still not showing up on the Seminar or Events page.

It’s still only working on the Yoga page though.

Any other ideas?

Thanks!


Josh

  • Support Staff

August 21, 2018 at 12:34 pm

With the page builder plugin deactivated, can you create a new page, then add the Calendar shortcode to the page, then publish the page?


fishwinkmarketing

August 21, 2018 at 12:42 pm

Ok I created a new page with it deactivated and the calendar did show up this time. Good news! But now I need to figure out how to get to work with the layouts we already created.

I believe we only need this calendar on 4 pages on the site that are already set up with layouts. It’s working on 1, the Yoga page.

What can we do to get it to work on these other 3 pages with the page builder?

I really appreciate your help with this.


Josh

  • Support Staff

August 21, 2018 at 1:41 pm

There is a way to manually load in the calendar scripts. So instead of relying on the post shortcode tracking that normally does this (which tends to get short-circuited by page builder plugins) you can add this code to its own little plugin:

https://gist.github.com/joshfeck/bca903a5db194f5620462032b92e445c

then edit the array to include all your site’s page slugs that will have a calendar.

You can add the above to a functions plugin. The above link has more information about how to add & activate a little functions plugin.


fishwinkmarketing

August 21, 2018 at 1:53 pm

Awesome! That worked perfectly. Thanks again for your help!

Viewing 10 reply threads

The support post ‘Calendar Showing not showing on one page but showing fine on another’ 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