Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › buddypress custom fields. › Reply To: buddypress custom fields.
July 21, 2015 at 6:33 pm
#5393
Hi!
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
$results[$k]->id
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 :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)