-
AuthorPosts
-
October 6, 2017 at 12:18 am #860798
How can I change the word “Products” that appears in the ajax search menu results to “Resources”
October 6, 2017 at 4:26 am #860825Hey danieltjohnston,
To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
Best regards,
John TorvikOctober 6, 2017 at 3:20 pm #861044Here’s the url:
October 9, 2017 at 4:45 pm #861974Hi danieltjohnston,
What is the word that we have to search for to get that?
Best regards,
VictoriaOctober 9, 2017 at 4:59 pm #861982Hi,
You can try searching for the word “Christmas”October 10, 2017 at 6:01 am #862278Hi,
You can try adding this custom code in your functions.php
function replacing_searchtext() { jQuery(".ajax_search_response h4").append("Employees"); }Best regards,
John TorvikOctober 12, 2017 at 6:57 pm #863571Thanks for your help.
That didn’t seem to work. Here’s the part of the search that I’d like to change:
October 15, 2017 at 10:44 pm #864581Hi,
Please give us a link of your web site, lets see if we can target the specific class and replace the CSS attribute content with whta you need.
it is an idea, lets see if we can make it happen!Best regards,
BasilisOctober 16, 2017 at 8:55 pm #864936Thanks. Here’s the link: http://www.learninggoodnews.com
October 19, 2017 at 4:42 am #866050Hi,
Please use the “avf_ajax_search_label_names” in the functions.php file. Example:
add_filter('avf_ajax_search_label_names','avf_ajax_search_label_names_mod', 10, 1); function avf_ajax_search_label_names_mod($label) { if($label == 'Products') $label = 'CHANGE THE LABEL HERE'; if($label == 'Portfolio Items') $label = 'CHANGE THE LABEL HERE'; return $label; }Adjust the label as needed.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.
