Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search results not showing up with front page set to Buddypress Activity page


  • htrev
    Participant

    @htrev

    Hi guys

    I have the site front page set to a static page (the Buddypress Activity page).

    Now search isn’t working – if I submit from the search form, I get the front page (with search query appended i.e. http://www.site.com/?s=query&search=Search), not the search results page.

    If I set the front page to show my latests posts (WP default), it works fine – just not when I change it to a static page.

    Any ideas? Do I have to create a separate search results page? My theme (Razor) includes a custom search results layout that I’d want to hook up to this page. My coding skills are minimal so a dummy-proof solution would be great – otherwise I guess I’ll just dive in.

Viewing 2 replies - 1 through 2 (of 2 total)

  • htrev
    Participant

    @htrev

    Just to clarify what’s happening here:

    The search results page I’d like to see is the standard WP one – i.e. showing matching blog posts. This is what happens when the home page is set to show latest posts (in Appearance > Customise > Site front page), which is fine. However my site’s home page is set it to show the default Buddypress Activity page, and now the search results (i.e. a URL of the form http://www.site.com/?s=query) shows matching activity updates. This applies whether I’m using a custom theme or the default Buddypress theme. Is there any way this can be configured so that this page shows matching blog posts instead?


    modemlooper
    Moderator

    @modemlooper

    BuddyPress hijacks the WordPress loop and replaces content with component content. So, any posts returned are wiped out and replaced

    You could try a custom second loop but there may be issues

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search results not showing up with front page set to Buddypress Activity page’ is closed to new replies.
Skip to toolbar