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

Is there a way to display taxonomy fields before custom fields?

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Is there a way to display taxonomy fields before custom fields?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #18769
    wikotwikot
    Participant

    Hello, as the title says I’m wondering if there’s a way to display the taxonomy fields before the custom fields in a search bar since I didn’t find a related setting in the plugin’s configuration
    Also, I was wondering if there’s a way to setup a default option in the custom fields like the one in the taxonomy fields.
    Thanks.

    #18771
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Yes, you can change the ordering under the Frontend Search Settings -> Advanced panel, right here: https://i.imgur.com/kbDW4vQ.png

    The default option in custom field filters is the one that has the double stars at the end of line **. For example, in this case, sample_value2 is the default value. For more details, you can check the documentation here.

    #18779
    wikotwikot
    Participant

    Thank you very much, that worked.
    Now I have a bug when there’s not a match in the search, the search field gets duplicated and I’m not sure why. I attached a screenshot of the issue, I hope you can help me with this.
    Thanks again for the help.

    #18785
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #18801
    wikotwikot
    Participant

    You cannot access this content.

    #18805
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Thank you very much. Can you please copy/paste the shortcode you are using there exactly? I think there might be a problem with that, I am not sure. It looks like it is only a minor visual issue though.

    Also, this custom css should get rid off the problem permanently:

    [html].asp_sb_2_2 {
    display: none !important;
    }[/html]

    Thank you!

    #18835
    wikotwikot
    Participant

    Hello,
    Thanks for the fix, it does hide the second bar.
    Here is the shortcode I’m using in the website:
    [code] [wd_asp elements='search,settings' ratio='20%,80%' id=2] [/code]
    Thank you again for the help!

    #18841
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.