• Resolved neilgee

    (@neilgee)


    Hi,
    Looking to see if Relevanssi can be compatible with Bricks Builder, currently when active no results are shown on a search in the front end.

    I checked the search template in the theme and no query_posts is being called.

    The backend admin search does show results and the backend debug Post ID returns a title and content value.

    Anything else I can try for the front end?

    • This topic was modified 3 years, 4 months ago by neilgee.
    • This topic was modified 3 years, 4 months ago by neilgee.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mikko Saari

    (@msaari)

    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…

    Thread Starter neilgee

    (@neilgee)

    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 3 years, 4 months ago by neilgee.
    Plugin Author Mikko Saari

    (@msaari)

    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.

    Thread Starter neilgee

    (@neilgee)

    I can send the code if you were to give me a contact option – if not no big deal.

    Plugin Author Mikko Saari

    (@msaari)

    I dropped you a note on the Making WordPress Slack.

    Plugin Author Mikko Saari

    (@msaari)

    This was resolved, the next version of Relevanssi + Bricks 1.3.2 will work together.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bricksbuilder compatibility’ is closed to new replies.