Skip to main contentSkip to footer

Small bug fix release this time.

  • Fixed a problem causing “Attempt to modify property of non-object” errors.
  • Fixed a warning message.

Your account

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

Search

Popular Resources

Proximity sorting

…post. You give the location with the relevanssi_proximity_coordinates filter hook, which filters the coordinates and gets the post ID as the parameter. Often the coordinates are in a custom field. The necessary function will look something like this: add_filter( ‘relevanssi_proximity_coordinates’, function( $coordinates, $post_id ) { return get_post_meta( $post_id, ‘coordinates’, true……on the relevanssi_proximity_comparison filter hook. That function should return the coordinates as a string. If you don’t use the coordinates query variable, you need this snippet to remove a PHP warning: add_action( ‘init’, function() { remove_filter( ‘relevanssi_search_params’, ‘relevanssi_pick_up_coordinates’ ); } ); Then you need to provide the coordinates for each……a fixed spot or something the search user provides. Relevanssi looks for this in the coordinates query variable and it should have the coordinates in the “latitude, longitude” format. If this is not possible or easy, you can also provide the coordinates with a filter function. Add a filter function…

User Access Manager
Relevanssi has a conflict with User Access Manager plugin. Both plugins attach to the same `the_posts` filter hook with the…

Related Posts:

Currently there are no related posts available.

Comment Section:

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