Forums Forums Search & Filter Pro Can't get sort order to work

Viewing 10 posts - 1 through 10 (of 39 total)
  • Anonymous
    #189314

    Hi,

    I’m trying to get the S&F sort order to work but I am having difficulty.

    I have the sort order form placed as a sidebar widget on a page, and once I try to sort the items, the page reloads without the sort order dropdown.

    I thought this was an ajax issue (as per similar support threads), but both pages are running #content in some capacity, so I’m now stumped on what might be causing the problem.

    Also, is there a way to create a ‘live’ sort order, whereby the page does not have to keep reloading, and the results can be filtered instantaneously from the sort order widget?

    Any help on these would be greatly appreciated!

    Cheers,

    M

    Trevor
    #189315

    Are you able to send me a live link/URL to your search page so I can take a look?

    Anonymous
    #189317
    This reply has been marked as private.
    Anonymous
    #189347
    This reply has been marked as private.
    Trevor
    #189349

    It is possible that one sort order is overriding the other. Is one in our form and one not?

    Anonymous
    #189351

    As far as I am aware, all sort orders are done through S&F. I can’t remember adding or changing anything that would interfere with the S&F sort order. Is there a way I can check this just to make sure?

    Anonymous
    #189377

    Hi Trevor,

    I think the issue may be within the theme template(s).

    What will be the code that is overriding the S&F sort order? I will try to search for and then delete this code.

    Cheers,

    Matt

    Trevor
    #189389

    It might also be in a functions.php file or any of the theme files.

    It might be a pre_get_posts() function, or it might be where the arguments for running a wp_query() are set up (an array of parameters).

    Anonymous
    #189401
    This reply has been marked as private.
    Trevor
    #189403

    Unless it is obvious, it may be trial and error. It is the argument array you are looking for. Do nay have a sort order set?

Viewing 10 posts - 1 through 10 (of 39 total)