Forums › Forums › Search & Filter Pro › Sort order not working
- This topic has 7 replies, 2 voices, and was last updated 10 years ago by Anonymous.
-
Anonymous(Private) November 4, 2014 at 9:09 pm #7030
I am trying to sort by name or slug for alpha sort of my posts. I am using AJAX with shortcode and it is not sorting the posts. I have tried this in the form advanced options several times. Please let me know if this is something that should work or if it is in the process of being fixed. Thank you.
Ross Moderator(Private) November 5, 2014 at 2:25 pm #7059Hey Colette
Are you using a “sort order” field? This is currently the only way you can sort your psots.
It sounds like what you are referring to is the advanced options section of categories, tags or taxonomy fields…
If this is the case, this “sorting” is not for your posts but the terms names in your field. For example, if I had a category field, which is displayed as a dropdown, I could choose to sort the items in the dropdown alphabetically – but this would not affect the search results themselves.
Thanks
Anonymous(Private) November 5, 2014 at 2:48 pm #7060Can I add to the lopp in my results.php file? Do you have any suggestions for this implementation?
http://codex.wordpress.org/Class_Reference/WP_Query
<?php while ($query->have_posts()) { $query->the_post(); ?>
Ross Moderator(Private) November 5, 2014 at 2:56 pm #7061Hey Colette
Do you mean so that you are able to set the initial sorting of your results?
If this is the case, this is an update I plan to release this week and you should be able to change this via the settings panel ๐
Thanks
Ross Moderator(Private) November 10, 2014 at 12:15 pm #7306Hey Colette
This is now live in an update today (1.3.0) ๐
Thanks
-
AuthorPosts