http://awesomescreenshot.com/04e1q8pi94 here you can see coments
“This is the code you gave me:
lines 110-113
if ( $query === $wp_the_query && $query->is_main_query() && tribe_get_option( ‘showEventsInMainLoop’, false ) && !is_page() && !is_admin() && !is_single() && !is_singular() && ( ( is_home() && !$query->tribe_is_event_query ) || is_archive() || is_category() || is_tax() ) ) {
$query->query_vars[‘post_type’] = isset( $query->query_vars[‘post_type’] ) ? (array) $query->query_vars[‘post_type’] : array( ‘post’ );
$query->query_vars[‘post_type’][] = TribeEvents::POSTTYPE;
}
I meant to say, instead of using what you’ve given me, use the code below int the exact same place:
$query->query_vars[‘post_type’] = isset( $query->query_vars[‘post_type’] ) ? (array) $query->query_vars[‘post_type’] : array( ‘post’ );
$query->query_vars[‘post_type’][] = TribeEvents::POSTTYPE;
Regards,
Dwain – WooThemes Ninja
WooThemes Support ”
This works but now the static pages don’t work shown an 404 error