0
votes
2answers
111 views

How to search for articles containing two words?

I'd like to serach my blog for articles that contain the two words bash and variable. There is an article that contains both words, but it is not found. It seems to me that the wordpress search only ...
0
votes
1answer
368 views

How to order separated Custom Post Search results

I am using the technique described here Seperating Custom Post Search Results and here posts_groupby problem to seperate my search results and group them by post type. This means I have the following ...
0
votes
1answer
148 views

Order search results by category

I'm using this code to order my search results by post type and title, but I would like to order by category too. How can I do it? add_filter('posts_orderby','my_sort_custom',10,2); function ...
3
votes
1answer
208 views

Is there a way to do multiple ordering on a multiple meta_query?

I'm experimenting with searches and multiple criterias and ordering. Let's say we have a real estate site, all posts have 2 custom fields (price and surface), and we want the visitor to be able to ...