OK, I found the code who make this issue.
function SearchFilter($query) {
if ( $query->is_search && !is_woocommerce() && !is_admin()) {
$query->set( 'post_type', 'post,page' );
}
if ( function_exists( 'is_woocommerce' ) ) :
if ( $query->is_search && is_woocommerce() && !is_admin()) {
$query->set( 'post_type', 'product' );
}
endif;
return $query;
}
add_filter('pre_get_posts','SearchFilter');
I put this function in functions.php because without that I can’t search on my blog AND Woocommerce with the plugin Releanssi).
But what the problem with this function?
EDIT: I found a topic and the fix of @robin-w
Topics not appearing in forum
I will try this fix very soon.
Hello,
Is it available for phpBB 3.1.x?
I tried the script of @hypnoticdan but I don’t have
http://my_phpbb_domain.com/viewtopic.php?f=1&t=2
to:
http://my_wordpress_domain.com/forums/topic/corresponding_topic/
I get only a redirection from phpbb to bbpress (index to index)