buddypress custom fields.

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5388
    Christian Nießing
    Christian Nießing

    I have a specifc question. I have a buddypress installation. I also have a custom post type “stellennummer” with custom fields like phone number (Telefon), tasks (Aufgaben) etc.

    In backend I admin can connect user to a specfic “stellennummer”. all customs fields that belong to the custom post type are listed in the members page: http://schauundhorch.de/intranet2015/mitarbeiter/

    I can select all custom fields as “Available public custom fields types” in ajax search pro settings. My aim is now to show the member connected to that fields. Is there any possibility for that?

    Ernest Marcinko
    Ernest Marcinko


    I believe the only possible way is to either modify the search code, or use one of the filters. I can’t really think of an easy solution, I’m sorry.

    You can take a look at some examples in the knowledge base how to parse and modify the results, for example: https://wp-dreams.com/knowledge-base/numbering-the-results/
    In that example you have access to the post ID as well with the


    variable in the foreach loop.
    Then if you know the post ID, you can use wordpress core functions the get custom fields and so on.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)

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

You must be logged in to reply to this topic.