Find Answers and Get Support › Forums › Gwangi – PRO Multi-Purpose Membership, Social Network & BuddyPress Community Theme › Website Setup › Events › Grimlock event section upcoming events
- This topic has 10 replies, 4 voices, and was last updated 3 years, 8 months ago by
Manathan.
-
AuthorPosts
-
FedericoParticipant@fbessone
- 2 Topics
- 7 Posts
Hello,
I’m using the Grimlock Event Section on the home page and i’d like to show the upcomings AND current events (the events that have already started but not yet finished).
If i select, as query, the upcomings the current ones arent showed. What can i do?May 13, 2021 at 10:07 #31471@themosaurusrex- 0 Topics
- 2048 Posts
Hi Federico,
Thank you for your question!
Could you confirm the current events you’re referring to are spanning on multiple days? Could you share the URL to your website with us please? You can post it in your next reply and mark it as private to keep this between us.
Thank you.
May 13, 2021 at 17:08 #31491@themodactyl- 0 Topics
- 6695 Posts
Hi Federico,
Thank you for your patience.
We investigated. Unfortunately, we can’t reproduce this issue with our demo. My best guess is that your issue might probably caused by some conflicting third party plugin or some extra code snippet as we don’t encounter this issue with our demos.
Could you deactivate all plugins that have not been installed with your theme during its setup and all existing custom PHP code snippets please? And then, could you confirm me that the issue is still persisting please?
Please also make sure that you have the latest theme version and that all recommended plugins are up-to-date. Finally, you could also consider clearing all activated caching system as well as your browser cache before investigating any further.
We’re waiting for your feedback.
Best,
May 17, 2021 at 13:26 #31541@themodactyl- 0 Topics
- 6695 Posts
Hi Federico,
We investigated. Unfortunately, we didn’t face this issue. All the events on the Events page were the same displayed on the Grimlock Events
Can you please check to make sure this issue still appears?
Best,
May 18, 2021 at 10:31 #31556@themoceratops- 1 Topics
- 430 Posts
Hi Federico,
Thank you for the video, I have taken a look and the issue is indeed clear as day! This is definitely an issue with our widget, which we will make sure to fix in the next update we push for Grimlock for The Events Calendar.
In the meantime, here is a code snippet that should fix the issue for you while waiting for the update :
add_filter( 'grimlock_query_section_args', function( $component_args ) { if ( ! empty( $component_args['query'] ) ) { $query = $component_args['query']; if ( in_array( $query->get( 'eventDisplay' ), array( 'upcoming', 'list' ) ) ) { $query_args = array( 'post_type' => 'tribe_events', 'posts_per_page' => $query->get( 'posts_per_page' ), 'orderby' => $query->get( 'orderby' ), 'order' => $query->get( 'order' ), 'tribeHideRecurrence' => $query->get( 'tribeHideRecurrence' ), 'eventDisplay' => $query->get( 'eventDisplay' ), 'ends_after' => 'now', 'featured' => $query->get( 'featured' ), 'start_date' => $query->get( 'start_date' ), 'end_date' => $query->get( 'start_date' ), 'tax_query' => $query->get( 'tax_query' ), ); $component_args['query'] = tribe_get_events( $query_args, true ); } } return $component_args; }, 100 );
To add this code snippet to your site, we recommend that you use the Code Snippets plugin (https://wordpress.org/plugins/code-snippets/). If you have never activated this plugin, please read the following post:
As a side note, please be aware that this is exceptional as we don’t usually provide any code snippet or theme customization. We always try our best to help theme users whenever we can and only provide code snippets out of courtesy to prevent them from waiting for the next update.
Hope this helps!
Regards,
May 20, 2021 at 12:47 #31630FedericoParticipant@fbessone- 2 Topics
- 7 Posts
Thank God but most of all Thank You 🙂
Thanks for the snippet too!Question: if i add it what will happen when i’ll update the Grimlock for The Events Calendar plugin?
Will i have to delete the snippet to prevent further issues?Thanks again. I’ll take a note to use more support request videos in the future 🙂
Please give my thanks to your co-workers
FedericoMay 20, 2021 at 13:35 #31636@themodactyl- 0 Topics
- 6695 Posts
Hi Frederico,
I’m glad to read Jason has been able to help you! We thank you for your message. 🙂
Note that once this issue will be fixed in the next update, you may delete this snippet, as it will no longer be useful.
Be sure we’ll be back to you as soon as this update is available.
Cheers,
May 21, 2021 at 08:36 #31643@themodactyl- 0 Topics
- 6695 Posts
Hi Frederico,
We have just released a new update of Grimlock for The Events Calendar. Updating this plugin to the latest version should fix this issue.
After the update, the problem should now be fixed. However, you might still be seeing the issue because your browser cache is showing you an older version of the page (browsers do that to load pages faster). To see that the issue is resolved you will need to empty your browser cache and reload the page. If you want to read more on what browser cache is and how to clear it, here is an article that might help you:
https://www.lifewire.com/how-to-clear-cache-2617980Kindest regards,
June 11, 2021 at 13:15 #32451 -
AuthorPosts
Hi there,
This topic has been inactive for a while now so we will be closing it to keep the forum tidy. Don't hesitate to create a new topic if you still need help and we'll be glad to help you!
Best regards,
The Themosaurus team.
The topic ‘Grimlock event section upcoming events’ is closed to new replies.