• Hello,

    I’m trying to test your plugin to filter custom post types by custom fields, post types are trips (so custom fields are price, people, date and so on).

    When I try to open cpt archieve (/trips/) I see my post with basic data, however when I try to dump all metadata I see that there are my custom fields.

    There is also sidebar with filters, but I only see information: “There are no terms yet”, however I prepared filter set connected to my cpt and used meta key from database.

    When I try to dump terms on plugin code there is empty array, so something is wrong, because there are couple post with that specific fields filled (I can show them on front).

    Do you have any idea why your plugin doesn’t show dropdown/checkbox field on archieve page with posts that have those meta data filled?

    Best regards,
    Patrick.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Patrixer

    (@patrixer)

    I also checked couple things:

    1. When editing filter, with “more option” expanded there are exclude/include terms, but the list is empty.

    2. One of my custom fields is “Food” which is not working, so I tried to make names like “food”, “_food”, “food_type”, “foodType” – but non of them work

    3. I tried to prepare custom fields not only manual but by ACF plugin but same efect.

    4. I tried to prepare filter by you suggestion from bottom of page: “_thumbnail_id” and it’s only one which was working, however none of option was working (filter results was empty).

    5. Last thing I did was new CPT with different name from some generator (I thought my functions.php code was bad or something) but still no efect. I see it on “post type to filter” list but there are no results.

    Of course meta key which I use was from DB from postmeta table. Also when I display all meta data from post by vardump there are same names as in DB.

    Plugin Author stepasyuk

    (@stepasyuk)

    Hello @patrixer

    Thank you for your interest in Filter Everything plugin.

    As I know you use PRO version but here is support forum for the Free version only. If your questions are related with PRO version I suggest you to continue discussion in the comments section of the page, where you purchased the PRO.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom field from CPT shows no results’ is closed to new replies.