Currently using bbPress as a forum. But now I have some conflict and archive post page is displaying instead of forum? How should I proceed? Any ideas?
EDIT:
Actually found the causing problem. It is that function that seems is interupting somehow with my forums. The function is for displaying custom post type in author archive page. Still don't have a solution for that problem.
function namespace_add_custom_types( $query ) {
if( is_archive() && empty( $query->query_vars['suppress_filters'] ) ) {
$query->set( 'post_type', array(
'post', 'vehicles'
));
return $query;
}
}
add_filter( 'pre_get_posts', 'namespace_add_custom_types' );