Continue reading Premium 2.26 / Free 4.23

Premium 2.26 / Free 4.23

…the search results by default to protect their contents. Premium. Minor fix: Click-tracking front-end JS code now uses wp_print_inline_script_tag(). Premium. Minor fix: Related posts template CSS now uses wp_add_inline_style(). Premium. Minor fix: An array _rt tag won’t cause a fatal error anymore. Premium. Minor fix: To avoid crashes, the Relevanssi……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……enabled with a filter function. 2.26.1 / 4.23.1 Security fix: Prevent an XSS attack by a malicious contributor. This attack is based on a contributor injecting an attack in a custom field name. It then gets triggered if the admin views the list of custom field names in the indexing…

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

…include numbers. Relevanssi init is now moved from priority 10 to priority 1 on the init hook to avoid problems with missing TablePress compatibility. Major fixes Relevanssi didn’t index new comments when they were added; when a post was indexed or the whole index rebuilt, comment content was included. I…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……now supports date parameters. New feature: Both relevanssi_fuzzy_query and relevanssi_term_where now get the current search term as a parameter. New feature: New filter hook relevanssi_tabs can be used to adjust the tabs in Relevanssi settings page to add, modify or delete the tabs. (Premium) Major fix: The post_relevanssi_related action hook…

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

Related Posts

…display a set of posts with the default settings. relevanssi_the_related_posts( $post->ID ); // Then add a filter to adjust the settings on the fly. add_filter( ‘pre_option_relevanssi_related_settings’, function( $value ) { if ( empty( $value ) ) { // $value is empty by default, so get the settings from the database….…show a single set of related posts. However, it’s possible to get around this restriction, but it requires some work. The trick is first to display a set of related posts based on the plugin settings, then adjust the settings on the fly and then generate another set. To get……in the template: // First display a set of posts with the default settings. relevanssi_the_related_posts( $post->ID ); global $doing_second_related_posts; $doing_second_related_posts = true; // Get the post objects with the new settings. relevanssi_the_related_posts( $post->ID ); // This can be in theme functions.php: // Add a filter to adjust the settings on…

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