More bug reports and non-working Relevanssi installations, hence a new bug fix release. Heavily recommended; I’m also terribly sorry of my flaky quality control.
Envira Gallery
Envira Gallery is a gallery plugin for WordPress. Since it uses a custom post type for the galleries, it works fine with Relevanssi. However, the gallery post type doesn’t have any information about the actual images: no titles, tags or other details like that. Since the images are uploaded in……return $content; // Not a gallery post, skip. } $args = array( ‘post_parent’ => $post->ID, ‘posts_per_page’ => -1, ); $children = get_children( $args ); // Fetches all the attached images. foreach ( $children as $child ) { $content .= ‘ ‘ . $child->post_title; // Adds the image title. $content .=……the Media Library and are attached to the gallery posts, this is easy to remedy using the very helpful relevanssi_content_to_index filter hook. Add the following code to your site, set Relevanssi to index the envira post type and rebuild the index: add_filter( ‘relevanssi_content_to_index’, ‘rlv_envira_gallery_content’, 10, 2 ); /** * Indexes…