Setup Assistance | Search & Filter Pro

Forums › Forums › Search & Filter Pro › Setup Assistance | Search & Filter Pro

  • This topic has 36 replies, 2 voices, and was last updated 8 years ago by Anonymous.
Viewing 10 posts – 21 through 30 (of 37 total)
  • Trevor
    #188612

    It depends how the results are being made into content on the page. For example, are you using WPBakery Page Builder to do that?

    Anonymous
    #188625
    This reply has been marked as private.
    Trevor
    #188628
    Anonymous
    #188744
    This reply has been marked as private.
    Trevor
    #188775
    This reply has been marked as private.
    Anonymous
    #188869
    This reply has been marked as private.
    Trevor
    #188874
    This reply has been marked as private.
    Trevor
    #188946

    Grant, Ross has given me this code (goes in the child theme functions.php file), as a function to retain the sort order.

    function add_order_to_sf_results_url( $url,  $sfid) {
      // Process URL here
      if(isset($_GET['order_post'])){
    	$order_post = sanitize_key($_GET['order_post']);
    	$url = add_query_arg('order_post', $order_post, $url);
      }
      return $url;
    }
    add_filter( 'sf_results_url', 'add_order_to_sf_results_url', 10, 2 );
    Trevor
    #188948
    This reply has been marked as private.
    Anonymous
    #188952
    This reply has been marked as private.
Viewing 10 posts – 21 through 30 (of 37 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.