You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This piece of code acts like a widget and should be widgetized, but I haven't implement that yet. Anyway this stopped working properly and after saving the post all fields but first one get lost.
The text was updated successfully, but these errors were encountered:
I use repeatable key-value pairs meta boxes in my theme. Here is the code I use in functions.php
function kp_skill_meter_meta_box( $meta_boxes )
{
$meta_boxes[] = array(
'title' => __( 'Skills Widget Area', 'kappe' ),
'post_types' => 'page',
'fields' => array(
array(
'id' => 'skill',
'name' => __( 'Skill', 'kappe' ),
'type' => 'key_value',
'clone' => true,
'sort_clone' => true
)
),
);
return $meta_boxes;
}
add_filter( 'rwmb_meta_boxes', 'kp_skill_meter_meta_box' );
This piece of code acts like a widget and should be widgetized, but I haven't implement that yet. Anyway this stopped working properly and after saving the post all fields but first one get lost.
The text was updated successfully, but these errors were encountered: