1
vote
0answers
91 views

BBPress Search results in Wordpress search

I want to display in Wordpress search results page - 10 or less found results from BBPress (plugin) forums. I know that BBPress use custom post types (forum, topic, reply) but I don't know how to do ...
0
votes
1answer
349 views

Can't place two custom post types into the Wordpress search query?

I placed the following code into my functions.php file: function filter_search($query) { if ($query->is_search) { $query->set('post_type', array('topic', 'reply')); }; return ...