Skip to main contentSkip to footer

For the most part, Relevanssi Premium simply works with Document Library Pro. If you set Relevanssi to index the dlp_document post type, searching for document contents should work without issues.

If you want to enable Relevanssi in the search box above the Document Library Pro document lists, you can add this function to your site:

add_filter( 'document_library_pro_query_args', 'rlv_dlp_support' );

function rlv_dlp_support( array $args ) {
	$args['relevanssi'] = true;
	return $args;
}

This will enable Relevanssi in that search. This may have unwanted side effects in other searches on your site, so check that everything works after adding this.

Your account

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

Search

Popular Resources

Blocking pre and code tags
If your posts have lots of programming code examples in <pre> and <code> tags, those might look pretty bad in…
Direct access to the query engine
Relevanssi can’t be used in any situation, because it checks the presence of search with the is_search() function. This causes some…

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