When FacetWP is enabled, the search results page doesn’t include the search terms after the text “Search Results for:”. When FacetWP is disabled, the search terms are shown as expected after that text. We reached out to FacetWP support and they asked if we’re calling the search terms value by using
<?php echo get_search_query(); ?>
The GP code appears a bit different, but seems to be similar:
<?php
printf(
/* translators: 1: Search query name */
__( 'Search Results for: %s', 'generatepress' ),
'<span>' . get_search_query() . '</span>'
);
?>
Any idea what may be conflicting here?