WordPress.org

Ready to get started?Download WordPress

Forums

FIlter order of posts based on search results (1 post)

  1. circleatseven
    Member
    Posted 2 years ago #

    Hello all,

    We are working on a website for a restaurant that wants to promote their catering services… Through search results, we need to drive the user to a landing page that displays the most appropriate results at the top while still listing the other catering services they offer underneath. For example, let's say the restaurant offers the following categories of catering: Kids Party, Salad Bar, Sandwich Bar, Appetizer Bar, and Pizza Buffet.. :
    1. User searches for "kids party catering"
    2. Google link contains the variables 'kids', 'party', 'catering' like so:
    http://www.clientwebsite.com/?s=kids%2C+party%2C+catering
    3. User clicks link
    4. WordPress sorts the information with the 'kids + party + catering' related information listed at the top and all other services listed below in the order of relevance to the search.

    QUESTIONS:
    1. Should I just set up a separate search template that only displays results within a certain category or is there a better way to go about this?
    2. Does the default WordPress search function return results in any specific order? Can that order be controlled?

    Thanks for the help!

Topic Closed

This topic has been closed to new replies.

About this Topic