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

Randomize Results

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17287
    WheelboundWheelbound
    Participant

    Hi,
    We love your tool, but are having a hard time getting the results to generate randomly. The user selects from the custom fields to select the best fit. Right now, that works, but we’d like the results to be randomized for the posts that fit that criteria.

    Also, if it’s not too much trouble, we’d like to have an option for the checkmark boxes be contained in a dropdown box. I see that there is an option for the dropdown to have multiple selections available, but we like the way our site looks like right now, if that makes sense.

    #17289
    WheelboundWheelbound
    Participant

    If possible, we would be willing to pay to make the results to show the most relevant if we choose the OR logic for the custom fields (If someone chooses 3 options that best fits someone who matches all 3 selections) and add a percentage result- see example attached. I know it’s a bit much to ask, but it’s a need.

    #17317
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    If I understand correctly, you want the results randomly ordered? That could be possible with a small custom code snippet.

    Try adding this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!

    This should only activate when less than 3 meta filters are chosen – so if all three are selected, it should return the ordering by relevance.

    The drop-down with checkboxes is much more difficult, I am not even sure if it’s possible without major customizations. Unfortunately we are not available for custom jobs, but I usually suggest this service: wpkraken.io
    They are a dedicated team of developers specialized in WordPress, so they should be able to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Randomize Results’ is closed to new replies.