Query filters - default taxonomy

Hi, is there a way to set default taxonomy term instead of list of all ? Second question: Can I sort buttons/radio manually ?


Thanx

2 Likes

Hi pesiiin,
did you find a way - we have 500 tags…similar issue…

thanks

Unfortunately, no. I just made a true/false ACF field for the client to use to pin the posts of their choice to the front page.

Hey there,

In case any one else stumbles upon this, I came to a similar problem, and I solved it by creating a function that hooks to “template_redirect” in order to apply the URL query param if it’s not set yet:

add_action('template_redirect', 'qcwp_ensure_status_on_specific_page');
function qcwp_ensure_status_on_specific_page() {
   if (!isset($_GET['bricks']) && !is_admin() && is_page(2348) && !isset($_GET['status'])) {
        $query_params = $_GET;
        $query_params['status'] = 'completed'; 
        
        $new_url = add_query_arg($query_params, home_url($_SERVER['REQUEST_URI']));
        wp_safe_redirect($new_url);
        exit;
    }
}

And then applied “pointer-events:none” in CSS to disallow users from removing a radio selection

%root% .brx-option-active {
    pointer-events: none;
}