Forums › Forums › Search & Filter Pro › Setup Assistance | Search & Filter Pro
Tagged: Paid Support, Setup
- This topic has 36 replies, 2 voices, and was last updated 6 years, 1 month ago by Anonymous.
-
Trevor(Private) September 17, 2018 at 6:10 pm #188628
If it is WPBakery Page Builder, this post may be of interest:
https://support.searchandfilter.com/forums/topic/formatting-functionality-issues/page/2/#post-184167
Trevor(Private) September 20, 2018 at 4:18 pm #188946Grant, 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 );
-
AuthorPosts