Support » Plugin: The Events Calendar » Like it, but Pro works better

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor geoffgraham

    (@geoffgraham)

    Hey @swami12, thanks so much for the kind review! We typically see reviews on either the far 1 or 5 star end, so the fact that you gave us 4 stars for The Events Calendar tells you gave this thoughtful consideration. And, the fact that you would give Events Calendar PRO a perfect 5 stars is equally awesome and much appreciated!

    Please do let us know if there’s anything we can do to take The Events Calendar to the next level. We’re always looking for new ideas and ways to make the plugin better for folks like yourself. 🙂

    Cheers and thanks again for your review!

    Geoff

    You are welcome. One thing I just encountered was that I don’t see a way to show upcoming events in list view with an offset.

    I have the next event shown, and in a list below, want to show subsequent!

    Home

    Thanks, Nancy

    Plugin Contributor geoffgraham

    (@geoffgraham)

    Oh, that’s an interesting idea!

    I think that would be possible by hooking into the event query and using the offset variable to define where to start the loop. Something like this (untested):

    add_filter('pre_get_posts', 'tribe_custom_offset');
    function tribe_custom_offset($offset) {
      if(is_upcoming() {
        $post_type = get_query_var('post_type');
    	if($post_type)
    	    $post_type = array('tribe_events');
        $query->set('offset',-1);
    	return $query;
        }
    }

    Thank you for the suggestion, but I was thinking a short code – don’t want to offset every time which I think is what that would do??

    Appreciate your time!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Like it, but Pro works better’ is closed to new replies.