Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sortismarketing

    (@sortismarketing)

    seems like the system is inserting the title of the first result as the header text

    Plugin Author Sumit Singh

    (@5um17)

    Hi,

    It seems the problem from theme. You should contact the theme author regrading this.

    However, in default theme the search title is constructed using this code.

    printf(
    	/* translators: %s: Search term. */
    	esc_html__( 'Results for "%s"', 'twentytwentyone' ),
    	'<span class="page-description search-term">' . esc_html( get_search_query() ) . '</span>'
    );

    Thanks

    • This reply was modified 1 year, 8 months ago by Sumit Singh.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘change header text’ is closed to new replies.