How do I hide certain taxonomy boxes from users in admin add post page?

The following worked for me in functions.php /** * [remove_meta_boxes remove the resource type standard meta box from the side sortables in the resource post edit screen * @return [type] How do I hide certain taxonomy boxes from users in admin add post page? */ function remove_meta_boxes(){ remove_meta_box( ‘resourcetypesdiv’, ‘resource’,’side’ ); } add_action( ‘admin_menu’, __NAMESPACE__ … Read more

How do I make multiple dependent input fields that use the jquery autocomplete function?

Add a autocomplete ‘select’ catch to your first autocomplete field. Use this to get the chosen value from the autocomplete. Use an Ajax call to obtain your next autocomplete source based on the selected value and apply the new source to the next autocomplete field. jQuery( “#cns-make” ).autocomplete({ source: availableTags, select: function (event, ui) { … Read more

Hide custom taxonomy from easy admin

Sounds like just setting show_ui to false will do what you’re after – it will hide the taxonomy in the admin menu, and it won’t create a metabox on the post edit page. After this: ‘hierarchical’ => true, Add this: ‘show_ui’ => false, You’ll find a full reference of all the available arguments over at … Read more