This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko 7 years, 3 months ago.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Buddypress profile fields
This topic contains 2 replies, has 2 voices, and was last updated by Ernest Marcinko 7 years, 3 months ago.
Hi there, i am facing bit of a difficulty in setting it up to work fine.
Users have a profile field called About me and lets taken an example for a user’s profile field value:
About me: Account Executive | 5 Years | Delhi | MBA
Now i want the following search terms to show up the above profile:
Account executive in delhi
Account executives in delhi
accountants in delhi
Accounts executives in delhi with 5 years experience
What to do?Please help
Hey i figured that out. So ignore that question.
But here is a question:
While the search results are displayed, i want the profile field to be displayed as well. I an configured the search for a profile field called “about me”, so i want the about me information to be displayed in the search results drop down too so that users can decide which one of from they should click on.
Hi!
For that purpose I believe you will have to use a custom function. Try putting this one to the functions.php file in your theme directory:
Change the $profile_field variable value to the field you want to use.
Best,You must be logged in to reply to this topic.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |