I registered 3 taxonomies for a custom post type, but they show up in 2 places when editing a custom post type.
I would like to only display the input boxes on the right of the editor. How to remove the drop down input under my custom fields?
3x input under the custom field AND on the right:
When I remove my registration code from functions.php, and refresh this is the result:
My registration code from functions.php:
function ledensubsector_init() {
register_taxonomy(
'subsector',
'leden',
array(
'label' => __( 'Sub-sector' )
)
);
}
add_action( 'init', 'ledensubsector_init' );
function ledensupplychain_init() {
register_taxonomy(
'supplychain',
'leden',
array(
'label' => __( 'Supply chain' )
)
);
}
add_action( 'init', 'ledensupplychain_init' );
function ledentechnology_init() {
register_taxonomy(
'technology',
'leden',
array(
'label' => __( 'Technology' )
)
);
}
add_action( 'init', 'ledentechnology_init' );
I registered 3 taxonomies for a custom post type, but they show up in 2 places when editing a custom post type.
I would like to only display the input boxes on the right of the editor. How to remove the drop down input under my custom fields?
3x input under the custom field AND on the right:
When I remove my registration code from functions.php, and refresh this is the result:
My registration code from functions.php:
function ledensubsector_init() {
register_taxonomy(
'subsector',
'leden',
array(
'label' => __( 'Sub-sector' )
)
);
}
add_action( 'init', 'ledensubsector_init' );
function ledensupplychain_init() {
register_taxonomy(
'supplychain',
'leden',
array(
'label' => __( 'Supply chain' )
)
);
}
add_action( 'init', 'ledensupplychain_init' );
function ledentechnology_init() {
register_taxonomy(
'technology',
'leden',
array(
'label' => __( 'Technology' )
)
);
}
add_action( 'init', 'ledentechnology_init' );
WP adds the inputs automatically. I forgot that I added the inputs for the taxonomies also with AFC. So I just had to remove them from my custom fields.