Tagged: searchbar
Hello,
I would like to remove the red marked lettering (see picture) “Portfolio Einträge”. Because a visitor should not know that it is a portfolio entry. (It’s only about the label, not about the entries, because they should still be displayed.)
Unfortunately I haven’t found any settings for the search bar. I hope someone can help me here.
Screenshot: https://picload.org/view/dlcwgwil/enfoldsuche.png.html
Thank you in advance.
Hey platin611,
Thanks for the screenshot. Could you post a link to the page in question as well so that we can take a closer look please?
Best regards,
Rikard
Hey Rikard,
thank you for your answer. Because the website is currently not publicly accessible, I have set up an account for you.
It’s about the “ajax” search in the header. You can enter anything to test it. E.g. “flug”. Then you see the label that declares the results as portfolio entries.
Thanks for your help.
Many greetings
Felix
Hi,
You can add this code to the child theme functions.php to remove the portfolio label:
add_filter('avf_ajax_search_label_names','avf_ajax_search_label_names_mod', 10, 1);
function avf_ajax_search_label_names_mod($label)
{
$label = '';
return $label;
}
Best regards,
Dude
Thank you very much, it works wonderfully! :)
Hi,
Great, glad we could help you :)
Best regards,
Dude