• Resolved erikture

    (@erikture)


    I am using the latest version of this theme and I have the following code in my child thems functions.php file.

    add_filter( ‘tc_search_results_title’ , ‘my_search_results_title’);
    function my_search_results_title(){
    $my_search_results_title = __(‘S?kresultat :’, ‘customizr-child’);
    return $my_search_results_title;
    }

    I am almost sure that it used to replace the text “Search results for:” on the seach result page, but not any more.

    Why?

    /Erik

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello there’s an option in
    Appearance -> Customize -> Content .. -> Post Lists .. ->
    ARCHIVE TITLES.

    But you should still be able to use that snippet by adding some priority, like:
    add_filter( 'tc_search_results_title' , 'my_search_results_title', 50);

    Hope this helps.

    Thread Starter erikture

    (@erikture)

    I have been using the theme config option but it does not work for me.
    But setting the priority did it.

    Thanks!

    /Erik

    Thread Starter erikture

    (@erikture)

    I have been using the theme config option but it does not work for me.
    But setting the priority did it.

    Thanks!

    /Erik

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Replace text "Search results for" not working’ is closed to new replies.