Skip to:
Content
Pages
Categories
Search
Top
Bottom

How i can put in the search bar in default “Post” search??

  • Hi, the quest is simple, How i can put in the search bar of Buddypress in default “Post search”.

    Thanks

Viewing 1 replies (of 1 total)

  • pcwriter
    Participant

    @pcwriter

    @denisjoel

    You can simply replace the WordPress search form code in your theme template with the following (it will give you the standard BP search form for Members, Groups, Blogs, Forums, Posts). Plus, the “Search anything…” default text will disappear when the user clicks in it.

    `<form action="” method=”post” id=”search-form”>
    <input type="text" id="search-terms" name="search-terms" value="” onfocus=”if (this.value == ” ) { this.value = ”; }” onblur=”if (this.value == ”) { this.value = ”;}” /> in

    <input type="submit" name="search-submit" id="search-submit" value="” />

    `

Viewing 1 replies (of 1 total)
  • The topic ‘How i can put in the search bar in default “Post” search??’ is closed to new replies.
Skip to toolbar