Support » Theme: Astra » Search Results for:

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @jorgearaujo25

    We do not have an option to disable the string.

    But you can use this article it would help you modify the string, and if you pass empty do see how it goes.

    I hope that helps.

    Regards,
    Suman

    already tested and it didn’t work

    Hello @jorgearaujo25 ,

    Can you please try with the following filter:

    add_filter( 'astra_the_search_page_title', 'astra_the_search_page_title_func' );
    function astra_the_search_page_title_func() {
        $title = '';
        if ( is_search() ) {
            $title = sprintf( __( '%s', 'astra' ), '<span>' . get_search_query() . '</span>' );
        }
        return $title;
    }

    Please add the above code in the functions.php file of your child theme.

    I hope this helps. Let me know.

    Regards,
    Sweta

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