Support Forums

There is a new way to get support - via the support tab in your account.

Our support systems are changing, for the better. You'll be able to manage all your support requests from your account, and respond to any tickets via email.

These support forums are now closed - existing tickets will be closed after a month.

Forums Forums Search & Filter Pro Initial Results Order Not Working

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • David Fares
    #269382

    Hi There, the filters are working well other than the fact that I have set the default order to be “Title”, but the results seem to be based off of an internalized order instead (neither slug, nor date).

    I have tried rebuilding the cache, however it still does not work as expected.

    Any help you can provide would be greatly appreciated.

    https://stgmohmuseum.wpengine.com/recipient-database

    (Titles are based off of [Last Name], [First Name] )

    Trevor Moderator
    #269387

    Do the results go in the correct order after a search?

    In the initial order, do they appear to be in last created first (or the reverse)?

    Do you have any ‘order’ type plugins (like Post Types Order) or do you use any code that uses the WordPress pre_get_posts() function?

    David Fares
    #269490

    I don’t think I have pre_get_posts set up anywhere, however I am using a post types order, but have disabled it, and it is still in the wrong order.

    Any suggestions for an overwrite or workaround? I can rewrite the pre_get_posts manually if that would help.

    Trevor Moderator
    #269510

    There is some guidance on this page:

    https://searchandfilter.com/documentation/search-results/custom/#pre-get-posts

    You might also experiment by deactivating other plugins, to see if they are the cause.

    Abdel oueryemchi
    #276620

    Hi Trevor,

    I have the same issue and am using the Post Type order plugin to order posts in other area, can I keep the plugin active while using S&F? is it possible to resolve the conflict from the other plugin?

    Thanks

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

You must be logged in to reply to this topic.