Make WordPress Core

Opened 4 months ago

Last modified 5 weeks 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
5 weeks ago

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