Home › Forums › Support › Removing title from search results page This topic has 3 replies, 2 voices, and was last updated 2 years, 11 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts March 25, 2023 at 9:04 am #2581827 Christian I have used the following snippet to remove the title from my archive pages: add_action( 'wp', 'lh_remove_archive_title' ); function lh_remove_archive_title() { remove_action( 'generate_archive_title', 'generate_archive_title' ); } This works great. My question is, is it possible to remove the title from the search results page in the same way? (i.e. remove the entire text where it says ‘Search results for: “whatever it is”‘ Regards, Chris March 25, 2023 at 9:16 am #2581846 DavidStaff Customer Support Hi there, try: add_action( 'wp', 'lh_remove_archive_title' ); function lh_remove_archive_title() { remove_action( 'generate_archive_title', 'generate_archive_title' ); remove_action( 'generate_before_loop', 'generate_do_search_results_title' ); } March 26, 2023 at 12:38 am #2582273 Christian Worked very well – thanks. March 26, 2023 at 5:11 am #2582500 DavidStaff Customer Support Glad to hear that Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In