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

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • Dave Buettlerallchemist
    Participant

    You cannot access this content.

    Dave Buettlerallchemist
    Participant

    I use Elementor Pro

    Dave Buettlerallchemist
    Participant

    ❤❤❤ YIPIEEE I LOVE AJAX SEARCH PRO 4EVER! ❤❤❤

    Dave Buettlerallchemist
    Participant

    Dear Ernest

    A new DIFFICULT question about this topic: Is it possible to autoselect in a dynamic way ACF Custom Fields in a Search instance? I guess this is not possible?

    I have this Post Downloads Page here. In the red is the content of Custom fields about the product (e.g. color, black & white, transparency). This are all ACF custom fields from the post.

    https://www.illuminatoren.com/downloads/kopie-pa-test-special-bonus-ultracopy/

    Let’s say a user will click the first Custom field: “farbig” (Value of custom field). The Website redirects the user to the search results page. In the moment the clicked Custom field is not attached to the link and the user sees just all search results.

    Is it possible to pass some arguments (chosen custom fields) with the URL to autoselect the Custom Fields in the Search instance?
    https://www.illuminatoren.com/downloads/

    I guess this is not possible and a workaround would be to create new taxonomies instead of custom fields?

    With categories & tags it works. If you click on the Post Downloads Product page (above) on one of this categories or tags, then WordPress redirects to a Archive Page and Ajax Search Pro is with the Custom Code (see postings above) able to autoselect the categories & tags.

    Post Tags & Categories
    Künstler: Hugentobler Hansi
    Kategorien: Bistum, Bistum Basel, Familie, Feiertage, Firmung, Jugendliche, Ort Location, Verlorenes Schaf (Parabel), Vom Kamel und dem Nadelöhr, Weihnachten

    I use Elementor Pro and EDD Easy Digital Downloads.

    Thank you & greetings from Switzerland, Luzern

    Dave Buettlerallchemist
    Participant

    But can you “imagine” to implement this popular feature to “count numbers” maybe in 2022, or 2023? Is this maybe realistic? I would be very happy about that and I think others too.

    • This reply was modified 5 years, 4 months ago by Dave Buettlerallchemist.
    Dave Buettlerallchemist
    Participant

    Dear Ernest

    I will not display so many images at the same time, I will do pagination etc. but I just wonder how long the search process will take then with a huge database. But that’s not a question to answer now

    OK, I trust you, maybe I was wrong with my impression. 🙂

    • This reply was modified 5 years, 4 months ago by Dave Buettlerallchemist.
    Dave Buettlerallchemist
    Participant

    Do you think this feature will be available in a future update?

    I’m still in the beginning of constructing the different, but similar website projects and checking which plugin to use finally. Don’t worry, your support was so helpful, I will not refund. 😉 But I somehow I need some functions. This is one of them.

    Dave Buettlerallchemist
    Participant

    Thank you for your answer. Your Custom Code works, I have put it in the Code Snippet plugin. The child terms are not selected anymore now. Great!

    I highly recommend you to implement this function in the rework on the filter system, because this behaviour is a real problem if you want to precise, exact search for a parent category with many child terms, e.g. “shoe” as parent category and 30 child terms with different brands. Then the users have to uncheck ALL child terms if they just want to search for the parent category (Shoes)? Or did I get something wrongt?

    I have got the impression that the site got a bit slow in reactions with the two modifications (first modification was here with Trigger Live Search: https://wp-dreams.com/forums/topic/how-trigger-live-search-after-custom-code-automatically-select-filter-values/). If you klick around a bit selecting different categories in the sidebar you can feel it. And this are just 8 (?) images, I wonder how it will be with 500 or 1000 images.
    https://www.illuminatoren.com/downloads/

    kind regards
    Dave

    Dave Buettlerallchemist
    Participant

    That’s fine. I see, it’s not so easy and the problem is not existential. OK, so I will keep it like it is now. Thank you. 🙂

    Topic solved

    Dave Buettlerallchemist
    Participant

    Dear Ernest

    Thank you for your fast reply. It helped and it works now. I am happy. 🙂 I used the option 2: auto-populate. I hope I will not notice any negative

    For Option 1. I wouldn’t know how to add ?asp_s= to the custom code or the Ajax search instance.

    The only a bit negative detail is that you see the page refresh moment. The post widget shows first all images and then automatically refreshes to show the selected search results. This makes the user experience a bit slower and could look like a bug. But ok, I can live with that.

    But now let’s continue the user experience. The problem is now the URL. Is it possible to redirect from the Archive URL, Categories, Tags URL automatically to the main downloads-post URL?
    If Ajax Search Pro is handling all search results, it would make sense, that WordPress shows no category & tag archive URLs, but always just this base URL for all downloads-post types:
    https://www.illuminatoren.com/downloads/

    Otherwise it will be somehow confusing if the user is watching the URL while selecting other taxonomies. It looks confusing because Ajax Search Pro takes over the WordPress Search results. So in functionality anything is fine, the user can deselect the “evodia-aus-philiippi” category and choose new categories or tags and Ajax Search Pro will show the correct results, but the URL looks strange, because it remains at the the first WordPress archive query. So the user will see search results that are the opposite of the URL. Some critical user with technical attention could think that there is something wrong and that they are missing some search results because of this wrong URL.
    https://www.illuminatoren.com/downloads/category/bibelfiguren-charaktere-der-biblischen-geschichten/evodia-aus-philippi/

    This is not a very dramatic problem, I could live with this, but it would be nice if it is possible to solve. But I am not sure if this is a problem from Ajax Search Pro or I have to solve it differently.

    Thank you for your answer. 🙂

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