How to change tab’s title in search results pages? [closed]
You have to hook into the document_title_parts filter to adjust it to your needs. Example: /** * Modify the document title for the search page */ add_filter( ‘document_title_parts’, function( $title ) { if ( is_search() ) $title[‘title’] = sprintf( esc_html__( ‘“%s” result page’, ‘my-theme-domain’ ), get_search_query() ); return $title; } ); For Multiple paged search … Read more