Forums Forums Search & Filter Pro Show specific category and/or ID first

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #182340

    Hi,

    I have a search form which searches everything in the website. I would like to output the results with products first, then all other search results.

    Is this possible with the PRO version? If so, please could you point me in the right direction.

    Many thanks

    Trevor
    #182345

    Whilst our plugin settings allow you to sort by Post Type, that might not put products first. Instead, I think you would need to refer to the WordPress Codex for sorting WP_Query and use our Edit Query Arguments filter:

    https://searchandfilter.com/documentation/action-filter-reference/#edit-query-arguments

Viewing 2 posts - 1 through 2 (of 2 total)