Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Taxonomy name with Custom Field | Write & Search Taxonomy

Viewing 9 posts - 1 through 9 (of 9 total)
  • Muhammed Mervan Cantürk
    #254200

    Hello there,

    I have 2 Question.

    1. I want to list taxonomies name with custom field. We are using code field for that. For Example, i have taxonomy name “Taxo 1” and acf field named code as “11.213”, and we are using on frontend like “11.213 Taxo 1”. Are there any way i can apply this in that plugin? I would like to check if taxo has code field, merge with name.

    2. I have to many taxonomy and when i added into single form, it is easily timeout. Are there any change about not load all taxonomies, load after search? I tried hide empty but it didn’t work.

    Thanks.

    PS. I have 11 custom taxonomy and each one almost has .5 Million taxonomy with all child objects.

    Trevor Moderator
    #254213

    How many posts do you have, if you have nearly that many taxonomy terms, and these are just the parents? If you count parent and child terms, how many is that?

    Do you have a visualization (image) of what the form will look like?

    If I understand, it is not possible to combine different terms sources into one field control, sorry.

    Muhammed Mervan Cantürk
    #254215

    I dont have many post yet, in my test case, i have 4 post only.

    this is the form in wpadmin: https://prnt.sc/tq2csc

    here is the test taxonomies : https://prnt.sc/tq2d4h https://prnt.sc/tq2df5

    i cant open search page, it is timeout after 120 second.

    When i write : [searchandfilter id=”XXX”], page is timeout. I can open in local but it takes more than 500 seconds.

    And i dont want to merge fields, i just want to print their name with custom fields.

    Muhammed Mervan Cantürk
    #254217

    and my single taxonomy search config is: https://prnt.sc/tq2ggj

    Muhammed Mervan Cantürk
    #254219

    i opened local version and here is the how form looks https://prnt.sc/tq2jai.

    Trevor Moderator
    #254305
    This reply has been marked as private.
    Ross Moderator
    #254314
    This reply has been marked as private.
    Muhammed Mervan Cantürk
    #254320

    Hello Ross,

    Thank you for your honest answer.

    First, I have other pages for your plugin so i don’t want to refund.

    After i’have check every taxonomy for timeout, i made a form without timeout. Of course i had to remove some taxonomies.

    I can make autocomplete by myself but can you help me about injection those fields to search results?

    By the way, i can manage 0.5 M results in mysql via wp-admin ajax cache easily. Believe me, i have done this before 🙂 [if you want to see, you can check https://turksoz.kz/?lang=tr write ‘aba’, and it was a ajax post and wp_query in milions of words. ] Anyway thank you for your warning. I appreciate that.

    Ross Moderator
    #254437

    Hi Muhammed

    Haha if you know you can handle that kind of volume then great 🙂

    In regards to building a filter… hmm.. it could be possible, but its not ideal:

    1) Create your own field external to the search form and build it how you want
    2) Create the real field to correspond to this taxonomy in S&F, but hide it with CSS
    3) Make sure the real S&F field is always empty (to prevent loading of taxonomy terms) – we use wp_list_categories so you can use the WP filter, to change the arguments so that they don’t return any taxonomies.
    4) Then whenever you update your own field, using JavaScript, add that as an option to the invisible S&F field, and set it.
    5) When the form is submitted, this hidden field will be submitted with the correct value, and affect the results accordingly.

    Ouch! I don’t like that as an approach, which is why we’re building an API in S&F v3, to allow you to much more easily create any kind of field you want :/

    Anyway, I hope that helps 🙂

    Best

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.