Skip to main contentSkip to footer

Brizy is another WordPress site builder and as usual, it too has hard-coded queries that don’t play nice with Relevanssi. Fortunately, the Brizy post loop also has a filter hook for adjusting the loop arguments, so you can make Brizy use Relevanssi with a simple function. Add this to your site:

add_filter( 'brizy_post_loop_args', function( $args ) { 
  $args['relevanssi'] = true; 
  return $args; 
} ); 

This turns on the relevanssi flag in the query parameters. This makes Relevanssi capture the query and run the search.

Your account

Not logged in. Log in to see your license details.

Search

Popular Resources

Indexing embedded PDFs for the parent post

…post_id FROM $wpdb->postmeta WHERE meta_key = ‘_wp_attached_file’ AND meta_value = %s )”, $pdf_url ) ); $content .= $pdf_content; } return $content; } DearFlip DearFlip uses a shortcode that points to the flipbook post, which has a custom field with the PDF URL: add_filter( ‘relevanssi_content_to_index’, ‘rlv_dearflip_content’, 10, 2 ); function rlv_dearflip_content(…

Related Posts:

Comment Section:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fill out this field
Fill out this field
Please enter a valid email address.
You need to agree with the terms to proceed