I am trying to create 2 raido buttons as a category custom field, and in function.php I do:
$feat = get_term_meta( $tag->term_id, '_feat', true );
<input name="feat" type="radio" value="0" <?php checked( '0' ); ?> />Si<br>
<input name="feat" type="radio" value="1" <?php checked( '1' ); ?> />No
And then I do
if ( isset( $_POST['feat'] ) )
update_term_meta( $_POST['tag_ID'], '_feat', $_POST['feat'] );
But I always get "No" as checked