Skip to main contentSkip to footer

Co-Authors Plus is a neat plugin that makes it possible to have multiple authors for one post in WordPress. This is a useful feature WordPress doesn’t yet support.

Relevanssi only picks up the first author from the post, but making Relevanssi find the other authors as well is very simple, thanks to good design choices made by the Co-authors Plus developers. The plugin stores the extra authors in a custom taxonomy. Indexing custom taxonomies is elementary for Relevanssi.

In order to make Relevanssi index all authors for posts, simply add “author” to the “Choose taxonomies to index” option and re-index.

Your account

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

Search

Popular Resources

Using phrases in Related posts searches

…Wimsey and so on. Phrase search for multi-word taxonomy terms was required. Then the taxonomy restriction wouldn’t be necessarily required – it doesn’t matter where in the post “Lord Peter Wimsey” is mentioned, it’s definitely related. The relevanssi_related_words hook Relevanssi Premium gives us enough filter hooks to make building this…

CodeMirror Blocks
CodeMirror Blocks is a good plugin for displaying good-looking code blocks in WordPress (you can see it in action right…
MemberPress Downloads add-on

…need to tell Relevanssi to look for mpdl-file posts instead of attachment posts using the relevanssi_get_attachment_posts_query filter hook. By default, Relevanssi looks for posts with the post type attachment, post status inherit and a suitable MIME type. These all need to be changed, because the Downloads posts have the post……type mdpl-file, status of publish and no MIME type. Add this to your site: add_filter( ‘relevanssi_get_attachment_posts_query’, ‘rlv_mpdl_query’ ); /** * Filters the MySQL query for getting the attachments. * * Finds and replaces the ‘attachment’ post type restriction to look for mpdl-file * posts and also changes the post_status filtering…

Related Posts:

Comment Section:

29 Comments. Leave new

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