-
Author
-
January 23, 2016 at 01:27 #100071
JunctionPro
ParticipantOn the Member Directory page (members-loop.php) I want to show a different image at the top of the page depending on the search term that is used in BP Profile Search. I got it to work with search queires, but can’t find the value of the BP Profile Search. Below is an example of what I put in for the search query…
?php $search_query = get_search_query(); if( $search_query == ‘envato’ ) { ?
So is the search term is envato, I have it display the image I want it to show.
Does this make sense?
Your help would be greatly appreciated.
Thanks
January 24, 2016 at 21:10 #100225Laura
ModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
January 27, 2016 at 20:13 #100846Radu
ModeratorHi,
This is an advanced customization and it will require some middle-advanced php knowledges from your side.
You will have to check values that are send to server via GET like in example below.
COPY CODEif(isset($_GET['id'])) { // id index exists }http://stackoverflow.com/questions/12019684/how-to-verify-if-get-exists
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.

