This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Advanced Custom Fields and Frontend Filters #32656
    tavy87tavy87
    Participant

    Ok thanks for the response. I have a separate question then:

    I’m using the live search with frontend filters, and a custom vertical.php for the search results. I’m currently using ACF in the search results, but I’d like to show 1 of 2 ACF field values depending on one of the frontend filters. I’m unsure how I can access the current search variables from vertical.php. I’m not seeing anything in s_options that would help. Any ideas?

    Thanks

    tavy87tavy87
    Participant

    I also know I can modify the user_registered field with my custom date data, and then use the sort by date feature in Ordering. The main issue with this is I don’t know how to have a frontend search field to toggle it on and off. (Also I don’t want to keep overwriting the user_registered field with my custom data). Any thoughts would be appreciated!

    in reply to: Keydown and Keyup not working as expected in Vertical mode #21328
    tavy87tavy87
    Participant

    Thank you! I wasn’t sure if it was because I customized the vertical template or not, but that makes sense that it only seems to be an issue at high viewport sizes. Do you know when you expect the fix to occur approximately? I don’t mind waiting, I just want to be aware of when I should test it again.

    Thank you

    in reply to: Checkboxes AND logic #20632
    tavy87tavy87
    Participant

    My bad, I realize I’m actually using a Dropdown with Multiselect set to true to simulate checkboxes. This is due to the fact the styling of checkboxes is cumbersome on mobile. Can the logic for multiselect dropdowns by changed to AND?

    Thank you!

    in reply to: Randomize matched results? #20613
    tavy87tavy87
    Participant

    I decided to randomize my results in the following way, I think it works, and I hope it can help others!

    add_filter('asp_user_results', 'randomize_results', 10, 2);
    function randomize_results($user_results, $search_id) {
    	if ($search_id == 1) {
    		shuffle($user_results);
    	}
    	return $user_results;
    }
Viewing 5 posts - 1 through 5 (of 5 total)