Make WordPress Core

Opened 12 months ago

Last modified 9 months ago

#58952 new enhancement

Add search to get_the_archive_title()

Reported by: huubl's profile huubl Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Themes Keywords:
Focuses: Cc:


Add search archive title to get_the_archive_title():

if ( is_search()) {
        $title = __( 'Search results' );
} elseif( is_category() ) { ...

Change History (1)

#1 @sabernhardt
9 months ago

  • Component changed from General to Themes
Note: See TracTickets for help on using tickets.