WordPress.org

Ready to get started?Download WordPress

Forums

Relevanssi - A Better Search
Filter THEN sort results (2 posts)

  1. itailulu
    Member
    Posted 1 year ago #

    Hello,
    Right now i'm using one filter ( order_the_results) for both filtering (based on user roles) and sorting (based on url eg. "orderby=some_custom_field")
    Then i use add_filter for this function:
    add_filter('relevanssi_hits_filter', 'order_the_results');

    What will be the correct\preferred way of doing this?

    http://wordpress.org/extend/plugins/relevanssi/

  2. Mikko Saari
    Member
    Plugin Author

    Posted 1 year ago #

    I'm not sure I understand the question. Please elaborate.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags