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

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)