Skip to:
Content
Pages
Categories
Search
Top
Bottom

More search options in default drop down of bp search

  • Avatar of imath
    imath
    Moderator

    @imath

    Hi, kendyman70 posted this on a WordPress forum and i think, this should be a better place to discuss about his need :

    `BuddyPress has its own search field, which searches Groups, Members, Post, etc. But for my site we have just members, groups, posts.

    Is there a way to add two more search fields or more to the drop down menu of the BuddyPress Search, to include a search function for ‘classified’ and other wp pages.

    This link is somewhat similar to what I want but NOT for ‘activity’ and for other pages at my site.

    http://buddydev.com/buddypress/making-buddypress-activity-searchable/

    I hope it was clear enough. Thanks for the support, I would really appreciate it.

    Cheers!`

Viewing 4 replies - 1 through 4 (of 4 total)
  • Avatar of imath
    imath
    Moderator

    @imath

    Sorry i don’t know Classified, maybe it’s this plugin, but as it hasn’t been updated for 2 years..

    So as on twitter i understood that Kendyman70 was looking for a way to add a category search from this box (search box in bp default header), this is what i’ve tested :

    https://gist.github.com/4582027

    If you knwow ‘classified’ or other way to help, i’m sure Kendyman70 would appreciate ;)

    Avatar of kendyman70
    kendyman70
    Participant

    @kendyman70

    Thx imath!! I will try my best but thanks for the support.

    Avatar of jonatasleal
    jonatasleal
    Participant

    @jonatasleal

    Hello, guys!
    @imath I tried the code and it worked very fine!
    I’m trying now to search in activity by the post’s author.
    I added a function to the code (http://pastebin.com/UpsWh6kc) that retrieves the author’s data from wp_bp_activity. The problem is how display the results in the activity page?
    Can you guys help me?
    Thanks a lot!

    Avatar of Cidade Sonho
    Cidade Sonho
    Participant

    @somdefabrica

    Is there a way to display a Custom Post Type?

    Thanks for the code in github, but I wish post type, not categories.

    brazil :)

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

The forum ‘BP-Default’ is closed to new topics and replies.