/**
  * Checks where we are are and determines if we should show events in the main loop
  *
  * @param WP_Query $query
  * @return WP_Query
  * @since 2.1
  */
 public static function showInLoops($query)
 {
     if (!is_admin() && tribe_get_option('showInLoops') && ($query->is_home() || $query->is_tag) && empty($query->query_vars['post_type']) && false == $query->query_vars['suppress_filters']) {
         // 3.3 know-how for main query check
         // if (method_exists($query, 'is_main_query')) {
         if (self::is_main_loop($query)) {
             self::$isMainLoop = true;
             $post_types = array('post', TribeEvents::POSTTYPE);
             $query->set('post_type', $post_types);
         }
     }
     return $query;
 }