Home Forums General Issues Post Object meta query Reply To: Post Object meta query

  • Hi @mathishuettl

    Could you please share the JSON or XML export field of your field group?

    Also, could you please check if the Select multiple values? is set to “Yes” or “No”?

    If it’s set to “No”, then you need to query it like this:

    $query = new WP_Query(array(
        "post_type" => "mycustomposttype",
        "meta_query" => array(
            'key' => 'my_custom_field',
            'value' => get_the_ID()

    Thanks 🙂