Posted: April 20, 2016 at 1:43 pm
|
I apologies upfront as I know there are many topics with this title but I have read a number and I still cannot get the calender to show. I am currently trying to get the events calender showing in a private user portal powered by WP-Client. I have read many of the other related topics and have tried to resolve this on my own but I am not a seasoned WordPress developer. I have inherited the theme and most of the blog setup from a company who originally made the website for my client.
Can you advise anything else I can look at to figuring out what is going on? Thanks in advance
|
|
Sorry BTW the website is http://jbtotalfitness.co.uk/ |
Hi Thomas, As it’s a private page we can’t view it, but any JS errors can cause issues with the Calendar. Viewing your home page there is issue with the GA code you have in the theme currently. It looks like Can you send us temporary login details using this form: https://eventespresso.com/send-login-details/ So we can view the page and see what we can find please? |
|
|
Thanks Tony, Ok I will look into this error. I have sent the credentials via the form you requested. Your help is really appreciated. Tom |
Hi Tom, Can you double check those login details please, I’m getting invalid username when I try to log into the Dashboard. |
|
|
Hi Tony, Any other advise to get this calender working. Does the theme have the correct jQuery version? Thanks Tom |
Hi Tom, It turns out the reason that the calendar isn’t displaying is because the calendar short code is placed directly within the page template instead of the page’s content. Event Espresso only loads the calendar’s assets if it detects the short code in the content. You can add the code from the documentation to the top of the theme’s espresso_classes.php template ( just before the call to https://eventespresso.com/wiki/events-calendar-add-on/#ee4customizations |
|
|
Hi Josh, Thank you for your help this is brilliant and worked a charm. Really appreciate the help and apologise for having not read that part of the docs. Is there a way I can update this post’s title etc to help others find a solution to this problem if they are having it themselves? Thanks again, |
Hi Tom, Sure, what do you want to change the post title to? |
|
|
I don’t know, something like: “Event Calender not showing when using shortcode in theme template” |
Hi Thomas, My apologies for not spotting that sooner, I’m glad Josh did 🙂 The good news is that if you still had the Google Anayltics code running that your previously did you would likey run into problems with the Calendar JS anyway, so it all wasn’t a waste. Also I’ve updated your thread title to the title you requested. Any further problems please do let us know. |
|
The support post ‘Event Calender not showing when using shortcode in theme template’ 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.