Try Query Monitor. What kind of query the search results page runs?
What is in that search results template?
It’s very hard for me to help, because I’m blind here – I don’t know what Bricks does, and since it’s a premium product, I can’t give it a go. I have never heard of it before, so no previous experience either…
Hi Mikko, the Search template is:
<?php
namespace Bricks;
get_header();
$data = Database::get_template_data( 'search' );
if ( is_array( $data ) ) {
// Template content
echo '<main id="bricks-content-wrapper" class="bricks-content-wrapper">';
echo Frontend::render_data( $data, get_the_ID(), 'content', true );
echo '</main>';
} else {
// Default content
echo '<div class="bricks-archive-title-wrapper bricks-container">';
echo '<h1 class="title">' . esc_html__( 'Search results for:', 'bricks' ) . ' ' . get_search_query() . '</h1>';
echo '</div>';
include( locate_template( 'template-parts/content.php' ) );
}
get_footer();
`
I could give you access to a dev site if you are interested.
-
This reply was modified 4 years, 8 months ago by
neilgee.
Ah, I see, that’s a bit of a black box there. I’d really need the Bricks Builder source code to be able to help here.
I can send the code if you were to give me a contact option – if not no big deal.
I dropped you a note on the Making WordPress Slack.
This was resolved, the next version of Relevanssi + Bricks 1.3.2 will work together.