Closed EmilEriksen closed 8 years ago
The is the correct and expected behavior for Hybrid Core, which filters the_archive_title
on search pages. This is also for back-compatibility with HC's old behavior before core WP had archive title/desc functions.
If you want to have different behavior, you can always roll your own custom search template or change how it works in Hybrid Base.
I'm closing this since it works how I want it to work.
hybrid_is_plural() is true if is_search() is true which means that archive-header.php is loaded on the search results page. This template uses the_archive_title() which doesn't handle search. It also tries to get an archive description on the search page.