Hello,
I am in need of adding some more meta fields for Team Member Metabox.
I was thinking two ways to do that:
1. Remove the Parent Team Member Metabox and add in child theme
2. Add additional fields in child theme.
Can you please help me to do that ?
I even can’t delete the Parent Team Member Metabox. Following code is not working
`add_action( ‘after_setup_theme’, ‘run_child_theme_functions’,10 );
function run_child_theme_functions(){
add_action( ‘admin_menu’ , ‘parent_remove_metaboxes’, 99 );
function parent_remove_metaboxes() {
// remove default WP Trackback Metabox from Posts editing page
remove_meta_box( ‘team_meta_box’, ‘team’, ‘normal’ );
remove_meta_box(‘authordiv’, ‘post’, ‘normal’);
// remove a Parent Theme Metabox ‘parent_post_foo_metabox’
//remove_meta_box( ‘parent_post_foo_metabox’, ‘post’, ‘normal’ );
}
}