Continue reading Premium 2.15.3 / Free 4.13.3

Premium 2.15.3 / Free 4.13.3

These versions collect all the bug fixes and small improvements that I ran into during the summer. Next up is Premium 2.16, which will add bigger new features: at the moment I’m looking at developing proximity sorting (ie. show results that are nearest based on coordinates) and better search tracking….…return really weird long suggestions from the search logs. That won’t happen anymore. Oxygen compatibility has been improved. Rich text fields and updating posts when they are saved in Oxygen now work better, and revisions are no longer indexed. Improved tax_query handling in fringe cases with multiple AND clauses joined……These will take some time to develop, though, so I wanted these smaller improvements out first. New features You can add a post type dropdown to searchform shortcode forms with dropdown=’post_type’. Premium. New filter hook relevanssi_sku_boost controls the WooCommerce _sku field weight boost. Premium. New filter hook relevanssi_related_posts_cache_id lets you…

Read more Premium 2.15.3 / Free 4.13.3 0 Comment on Premium 2.15.3 / Free 4.13.3
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