ACF relationship field filter

Home Forums Product Support Forums Ajax Search Pro for WordPress Support ACF relationship field filter

This topic contains 7 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #41530
    unobvious
    unobvious
    Participant

    Hello.
    In version 4.25 of the Ajax Search Pro plugin, in the blog post, you talk about ACF relationship field filter support. I’m trying to use one of the relationship fields from ACF but it only shows the values from the database and not related value in the field. How can I show the correct value?

    You can check the filter at https://gama.unobvious.ag/feeders-funds/
    Scroll down the page and see the table with the filters. “Gestoras” filters take values from a related field.

    Tks

    #41538
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Thank you very much for the details!

    I logged in to find the issue, and a field check failed in the code. Luckily I was able to make a correction, now it should be okay.

    I will make sure to include this fix in the next upcoming patch.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #41542
    unobvious
    unobvious
    Participant

    Hi.
    Thanks for your support.
    After the change, the Elementor builder is not loading and an array is appearing at the top of all pages and at the top of the filter on the page. when I deactivate the plugin, everything works again.

    Thanks

    #41543
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Sorry about that, I forgot to disable the maintenance messages. It should be okay now.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #42060
    unobvious
    unobvious
    Participant

    Hi.
    I’m having a new problem with these filters. I’m using the WPML plugin and it’s loading the fields duplicated in both existing languages. How can I make the filter only show the fields from the same language as the page?

    You can check the filter at https://gama.unobvious.ag/fundos/

    See the attached image, please.

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #42069
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Thank you very much for the details!

    I had to make a few direct changes to the plugin code so that the post objects not belonging to the current language are filtered out. It should be okay now.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #42071
    unobvious
    unobvious
    Participant

    Perfect!
    Thank you very much for the quick support.

    Best regards,
    Diego Vasconcelos

    #42072
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

You must be logged in to reply to this topic.