Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #860798

    How can I change the word “Products” that appears in the ajax search menu results to “Resources”

    #860825

    Hey 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 Torvik

    #861044

    Here’s the url:

    #861974

    Hi danieltjohnston,

    What is the word that we have to search for to get that?

    Best regards,
    Victoria

    #861982

    Hi,
    You can try searching for the word “Christmas”

    #862278

    Hi,

    You can try adding this custom code in your functions.php

    
    function replacing_searchtext() {
        jQuery(".ajax_search_response h4").append("Employees");
    }
    

    Best regards,
    John Torvik

    #863571

    Thanks for your help.

    That didn’t seem to work. Here’s the part of the search that I’d like to change:

    #864581

    Hi,

    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,
    Basilis

    #864936

    Thanks. Here’s the link: http://www.learninggoodnews.com

    #866050

    Hi,

    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

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.