Scott N (@scott_n)

Forum Replies Created

Viewing 1 replies (of 1 total)
  • @scott_n

    Participant

    @talkedtv — I know it’s been three years, but if you can remember and describe here how your theme caused this problem and how you fixed it, I’d be most appreciative! My forum search is exhibiting the exact same behavior, and I am using a highly customized theme, including custom bbPress templates.

    EDIT: I did come up with a workaround, but it’s clunky as it requires creating a blank placeholder page with the slug search. In my page.php template, right after the_post() is called, I added this:

    if ( strpos($_SERVER['REQUEST_URI'], '/search/') === 0 ) {
        $post = get_page_by_path('search');
    }
Viewing 1 replies (of 1 total)