I can populate selectbox options like this:
<?php
$args = array(
'taxonomy' => array(
'country',
),
'hide_empty' => 0,
'name' => 'country'
);
?>
<?php wp_dropdown_categories($args); ?>
But the problem is how to make a checkbox list instead of a dropdown?
I mean something like this:
Not tested but should work, change the taxonomy name etc 🙂
Edit: Try the new code, using get_taxonomies (the code didn’t know where to pull data from)
Edit2: Changed taxonomy to name: