Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

Grimlock event section upcoming events

This topic is resolved
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • Federico
    Participant
    • 2 Topics
    • 7 Posts
    @fbessone

    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?

    Themosaurusrex
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 2048 Posts
    @themosaurusrex

    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.

    Federico
    Participant
    • 2 Topics
    • 7 Posts
    @fbessone
    This reply has been marked as private.
    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6288 Posts
    @themodactyl

    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,

    Federico
    Participant
    • 2 Topics
    • 7 Posts
    @fbessone
    This reply has been marked as private.
    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6288 Posts
    @themodactyl

    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,

    Federico
    Participant
    • 2 Topics
    • 7 Posts
    @fbessone
    This reply has been marked as private.
    Jason
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 426 Posts
    @themoceratops

    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:

    Adding Custom PHP Without Changing Your Child Theme

    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,

    Federico
    Participant
    • 2 Topics
    • 7 Posts
    @fbessone

    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
    Federico

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6288 Posts
    @themodactyl

    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,

    Manathan
    Keymaster
    Themosaurus Support
    • 0 Topics
    • 6288 Posts
    @themodactyl

    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-2617980

    Kindest regards,

Roboraptor 🦖
Themosaurus Topic Closer

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.

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Grimlock event section upcoming events’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site