2012-06-06, 20:50:25
m1k3y Wrote:Unfortunately that doesnt work for me ,as I use Jquery Masonry, so the two <ul>s with the class "search results" break my layout and the elements don't get positioned the way i want it....
I recognized, that by default the last saved elements are at the top, and i wondered if i could rewrite this that certain categories are at the top and others not
If you use the function return_i18n_search_results, you can do anything with the results, but you have to loop through the entries yourself and display them.
I plan on adding a hook to specify a function for sorting/filtering the results before it is displayed in the next plugin version.