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.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #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
    #7059

    Hey 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
    #7060

    Can 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
    #7061

    Hey 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

    Anonymous
    #7062

    Yes! That is awesome, just what I need to set initial results sort by title:) Yay!!!

    Ross Moderator
    #7093

    ๐Ÿ™‚

    Ross Moderator
    #7306

    Hey Colette

    This is now live in an update today (1.3.0) ๐Ÿ™‚

    Thanks

    Anonymous
    #7345

    This works awesome, thank you!!!

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