• Resolved luluchengtw

    (@yilu1113)


    Hello,

    I am trialing your plugin and I am having trouble with filtering the custom field with the plugin.

    The custom field items appear correctly in the filtereverything widget, but I am not able to filter with items from this custom field items. When I submit it, it will show 404 page.

    Thanks in advance for your help.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author stepasyuk

    (@stepasyuk)

    Hello @yilu1113

    You should use latin characters as values stored in your custom fields. So filtering links will look like https://staging.twosevenths.com/category/location/tainan/?custom_eventtype=hand-made-by-wen-qing
    but not like
    https://staging.twosevenths.com/category/location/tainan/?custom_eventtype=%e6%96%87%e9%9d%92%e6%89%8b%e4%bd%9c

    ACF allows you to create dropdown options where values and labels are different (latin and chinese). And you can also use next code example to translate this values from latin to chinese for filters widget – https://gist.github.com/wpserve/3132c49f24a3c51a1ec54d9436008f19

    I think I will add support of chinese (and other languages) in my plugin by default, but it will be not so fast.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom field items couldn’t be filtered’ is closed to new replies.