• Resolved gabriela

    (@gabrielle90)


    I’m using Filter Everything 1.9.1 (free version) and encountered an issue where filters based on ACF custom fields don’t return any results, even though data exists.

    Filters based on taxonomies work perfectly — results are displayed correctly after selecting any taxonomy term. However, when I use filters connected to ACF fields, no posts are shown at all.

    Additionally, when I had a numeric range (price slider) filter added, it behaved incorrectly:

    • on initial load the range displayed correctly (e.g. 1–10000),
    • after selecting any other filter, the range automatically changed to 0–0,
    • at that point no results appeared,
    • results only appeared again after manually moving the slider.

    I removed the price range filter to test without it, but since then no ACF based filters show any results at all.

    Can you help me?

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @gabrielle90

    Please check this page about ACF: https://filtereverything.pro/resources/acf-and-fe/#important

    Also, make sure that you are using the correct meta keys for ACF fields. It’s important to note that the range slider filter can only work with numerical values if it’s connected to ACF fields. If you are using WooCommerce, the default price meta key is _price

    Best Regards,
    Victor

    Thread Starter gabriela

    (@gabrielle90)

    Thank you for your reply. I’m not using WooCommerce. I followed the instructions from your ACF integration guide:

    If you encounter any issues with ACF data, create a new custom field with a unique name (meta key) that has not been used before. Assign it to the necessary post type and add the data to your posts. Afterward, create a filter using the freshly created custom field’s name (meta key) and test it to ensure that it works correctly.

    I did exactly that, but unfortunately, it still doesn’t work. The meta keys are correct, but none of the ACF-based filters return any results. Only taxonomy-based filters work properly.

    Plugin Support fesupportteam

    (@fesupportteam)

    @gabrielle90 After you add a new custom field to your post type, you need to apply the required values to your posts and hit the Update button on your post.

    Then, just in case, clear the cache, update the filter set, and check if the values from the custom field are displayed.

    If not, please make a video showing how you set everything up and send us the link so we can check it all.

    Best Regards,
    Victor

    Thread Starter gabriela

    (@gabrielle90)

    I’ve already done that. I also cleared the cache and updated the filter set.

    Unfortunately, the issue still persists. I’m attaching screenshots that show how everything is configured.

    https://infoblogerka.pl/acf-fep/

    Plugin Support fesupportteam

    (@fesupportteam)

    Hi @gabrielle90

    Unfortunately, only one screenshot is displayed; the rest are broken, like this: https://prnt.sc/q29kJlWL7oWW

    Can you please check it and fix it?

    Also, you need to check the database and see what values are stored in the custom fields.

    Last but not least, it can be the issuewith the custom queries, it only works partially with the taxonomies, as the free version only works with the default main query.

    Best Regards,
    Victor

    • This reply was modified 6 months, 3 weeks ago by fesupportteam.
    Thread Starter gabriela

    (@gabrielle90)

    Hi @fesupportteam I fixed screenshots (sorry)

    I’m using the default CPT archive (no static page with the same slug. The Filter Set is assigned to the CPT archive (Post Type Archive of my custom post type). ACF fields are simple fields (no repeater/group), values are saved directly in wp_postmeta under the same meta_key I use in filters (verified in the database). Filters based on taxonomies work correctly. Any filter based on those ACF fields returns 0 results. I’ve cleared the cache, refreshed the filter set, and rebuilt it again to rule out any setup errors.

    Plugin Support fesupportteam

    (@fesupportteam)

    Hi @gabrielle90

    We would check the database in the next way: use the custom field meta key, which in your case is tescik, and check all of the values — by “all” we mean every value — to see if any are saved as plain text “some data” and others as 1:{“some data”: “other data”}. If there are mixed data types like this, it can cause issues.

    In general, you can also test it on the staging site: on a staging site, use a clean WordPress installation with the default 2025 theme and default posts. Add the FE plugin and create the custom field on your posts with the data, then test the functionality. (do not use default values in the custom field in ACF)

    Best Regards,
    Victor

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘acf filter not working’ is closed to new replies.