Relevanssi not working on Genesis
-
Hi everyone, I’m using the Genesis framework and Relevanssi is not replacing my regular search. I built the index and did everything, but when I search, it still shows the regular search results.
I am using the child theme “Portlight”, but the search.php was under Genesis, not Portlight. I’m unsure if that means the problem is Genesis.
Here is the code for the search.php:
add_action( 'genesis_before_loop', 'genesis_do_search_title' ); /** * Echo the title with the search term. * * @since 1.9.0 */ function genesis_do_search_title() { $title = sprintf( '<div class="archive-description"><h1 class="archive-title">%s %s</h1></div>', apply_filters( 'genesis_search_title_text', __( 'Search Results for:', 'genesis' ) ), get_search_query() ); echo apply_filters( 'genesis_search_title_output', $title ) . "\n"; } genesis();
The website is https://potentspeaking.com
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Relevanssi not working on Genesis’ is closed to new replies.