Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Search – Relevant Post Links Broken


Lazza
Participant

@lazza

I have the same problem right now with bbPress 1.0.3. If you’re interested, you can put this piece of code before the “if ( $relevant ) ” line:

<?php
foreach ( $relevant as $elementKey => $bb_post ) {
if(!($bb_post->post_text)) unset($relevant[$elementKey]);
}
?>

This deletes the relevant posts which are already in the recent posts, and so are broken.

Skip to toolbar