Continue reading Premium 2.26 / Free 4.23

Premium 2.26 / Free 4.23

…settings page. Premium. Minor fix: ‘Hide Relevanssi on edit pages’ didn’t affect the block editor sidebar visibility. It does now. 2.26.0 / 4.23.0 New feature: New filter hook relevanssi_forbidden_post_types filters the list of post types excluded from Relevanssi indexing. New feature: New filter hook relevanssi_forbidden_taxonomies filters the list of taxonomies……excluded from Relevanssi indexing. New feature: New filter hook relevanssi_show_password_protected controls whether password-protected posts are shown in the search results. Premium. New feature: The Relevanssi metabox has new CSS classes and added HTML tags to allow better styling and to make it easier to hide sections of the metabox. New……feature: Relevanssi settings tabs have more CSS IDs to help hide individual settings. New feature: Support for the post_mime_type query parameter. Premium. Changed behaviour: The pre_relevanssi_related and post_relevanssi_related action hooks get the post ID as a parameter, as it’s not always available otherwise. Changed behaviour: Password-protected posts are excluded from…

Read more Premium 2.26 / Free 4.23 0 Comment on Premium 2.26 / Free 4.23
Continue reading Premium 2.10 / Free 4.8

Premium 2.10 / Free 4.8

After the Summer break, Relevanssi is back with new versions, both to Premium and free. These are mostly small improvements, but when testing the new version, I discovered a bug in the comment indexing that has made Relevanssi not index comments when they are added. I’m not sure why this……hasn’t come up in tests before this. Relevanssi also now requires PHP 7. It should not be possible to update Relevanssi on sites that are still running PHP 5. If your site is running PHP 5, it’s badly irresponsible and you really, really should update the PHP version to something……is available from the WordPress plugin repository. You can get the Premium version from the Download page or with the automatic update. The download page shows two different versions of the plugin available. The basic version no longer includes tests or anything else you won’t need when actually using the…

Read more Premium 2.10 / Free 4.8 0 Comment on Premium 2.10 / Free 4.8
Continue reading Related Posts

Related Posts

…Relevanssi uses a simple CSS grid to lay out the related posts. This setting determines the minimum width of each element. Experiment with different values to see what works. If you want to style the related posts, Relevanssi wraps everything inside div#relevanssi_related, the header is in div.relevanssi_related_grid_header, and the grid……itself is in div#relevanssi_related_grid. Each post is a div.relevanssi_related_post. If you want to make more extensive modifications, you can create your template. Relevanssi will look for the relevanssi-related.php template inside the current theme templates directory, and if it finds one, it will use that instead of the default template. When……// Display the related posts, here’s a very plain example. echo ‘<div><h3>Related Pages</h3><ul>’; foreach ( $objects as $object ) { $link = get_permalink( $object->ID ); echo “<li><a href=’$link’>$object->post_title</a></li>”; } echo ‘</ul></div>’; Another way to deal with caching is to use the relevanssi_related_posts_cache_id filter hook introduced in 2.15.3: // This goes

Read more Related Posts 0 Comment on Related Posts
Continue reading Premium 2.2.4.2

Premium 2.2.4.2

Relevanssi Premium 2.2.4.2 is a small bug fix, again fixing unexpected little details for the related posts feature. There was some deprecated JS code in the plugin, which caused issues for users who didn’t have the migration code on their site. Here’s the full changelog: Fixes couple of JS issues with the metabox scripts. Improves…

Read more Premium 2.2.4.2 0 Comment on Premium 2.2.4.2