Posted: October 10, 2017 at 11:33 pm
|
Hey! |
Hey there, The Calendar shortcode will not load the necessary assets include the JavaScript files and stylesheets(CSS) to render the calendar if you use the shortcode in a https://eventespresso.com/wiki/events-calendar-add-on/#ee4customizations |
|
|
Hey josh that issue is now resolved i just add filter before get_header() function .. Can you please help me out in this issue “I am getting all the post by custom query i want to show venue title on the basis of current event ID.. $post_id = $event_obj->ID; |
Just to note, there’s a fair amount of repetition in your code.
To get the venue title you can use the event object to pull the venue, for that you do this:
Or we have helper functions that can do a lot of this for you:
|
|
|
Over here you add a code to display calendar by slug i want to add class on each event by category slug is it possible? |
|
Over here : |
|
in Event calendar |
If I understand correctly, what you are asking for is available within the Calendar options. Go to Event Espresso -> Calendar -> Basic Settings. Set ‘Enable CSS for Categories’ to Yes and it will add the category slug to each events classes. |
|
|
Thanks Tony! I have one more question is it possible to display content of the Event in a div on click to the event from a calendar instead of tooltip.. I want to display content of the event in right side.. |
|
And is it possible if Events in calendar not redirect us to event detail/single page? |
|
I am using this query but it still displaying expiry event i want to hide expiry events and displays events of current month. )); foreach($posts as $post){ $post_id = $event_obj->ID; |
We don’t have an option to do that with the calendar, a developer may be able to add that for you. If you are not currently working with a developer you can try one of the devs listed here: https://eventespresso.com/developers/event-espresso-pros/
You can set an ‘Alternative registration URL’ within the vent and the calendar will direct you to the link provided there but it depends what you are trying to do.
https://github.com/eventespresso/event-espresso-core/tree/master/docs/G–Model-System |
|
The support post ‘Calendar Shortcode is not working’ 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.