Support

Account

Home Forums General Issues checkbox query not working

Unread

checkbox query not working

  • I am trying to use checkbox to call up some custom post types on a page

    “post_type” => “action”,
    “meta_key” => “action_group”,
    “meta_value” => get_field(“wycd_group”, $post),
    “meta_compare” => “LIKE”,
    “orderby” => “menu_order”,
    “order” => “ASC”,
    “numberposts” => 4

    and its not working, if I change wycd_group to a text field and type it in the value, then it works, but I would rather use a checkbox, simply because users make mistakes, I know I do

    any idea what went wrong?

    thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.