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__ . '\\remove_meta_boxes');
Related Posts:
- restrict_manage_posts not working in 3.3.1
- Custom order of terms for custom taxonomy in admin and website
- Custom taxonomy only shows 0 in autocomplete for terms and “Choose from the most used tags”
- Custom taxonomy position in admin panel
- Custom Taxonomy Only Showing Top Level Terms in Admin?
- How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
- How to link categories to custom taxonomy terms?
- How can I allow a custom taxonomy for certain roles?
- Removing the “Popular Terms” area from the Taxonomy Edit Screen in the Admin Area
- How can I add buttons to a custom column in the taxonomy table?
- Hide posts having children terms when display posts by category in edit.php
- Modify “View” in admin panel for custom taxonomy
- Taxonomies image
- Clicking Add New button for custom taxonomy only moves element
- Headers already sent warning in Admin source is media.php 3140
- Custom taxonomies not showing up in admin menu
- Dropdown taxonomy lists in admin menu
- How do I hide a term from non-admin users in get_the_term_list?
- Admin only taxonomies?
- How to truncate the description in the admin panel for a custom taxonomy
- Custom taxonomy auto suggest not working in wordpress admin
- Displaying the custom taxonomies side by side on the admin dashboard
- get_posts assigned to a specific custom taxonomy term, and not the term’s children
- How can I get only parent terms?
- get_terms does not return any results for my custom taxonomy?
- Order terms by term_order
- How to display warning on post editor when trying to add new term to custom taxonomy?
- How do you remove a Category-style (hierarchical) taxonomy metabox?
- Is there a way to import terms into WordPress?
- get_terms() doesn’t return empty terms even though hide_empty is false
- You are not allowed to manage these items – bug introduced in 4.4
- Get taxonomy name of current post
- How to hide custom taxonomy archives same way as hiding custom post types?
- Custom metabox for menu administration page?
- Remove Custom Taxonomy Base
- Retrieve custom taxonomies
- why do drafts return as part of wp_query?
- Populating dropdown menu with hierarchical taxonomies
- Taxonomy archive template to have conditional logic for displaying child categories
- Set posts_per_page in WP_Query for custom taxonomy
- Sorting taxonomy columns by meta value numeric
- Custom taxonomy query not working with switch_to_blog
- How can I check if a taxonomy has more than one item?
- Specifying a size when displaying an image associated with a taxonomy through ACF
- Metabox to list/store a certain type of post tag
- How can marge these loop code?
- How to check if do_shortcode will be execute directly in a template php file
- I used the Tax-meta-class by bainternet but i still can’t get it to display any of the results.
- Get_terms stopped working after WP 4.2
- Getting Term ID from Term Name for WordPress Query
- Show only the grandchildren (using get_terms)
- remove custom taxonomy base / slug [duplicate]
- Custom permalinks with hierarchical taxonomy – getting PHP warning
- wp_insert_term created and set for first once only
- Show all taxonomy’s terms’ posts having another taxonomy’s term in common
- Render P2P metabox per taxonomy term
- where is the 4th taxonomy terms? taxonomy terms is disaapearing in the loop
- Replace taxonomy permalinks
- How to rename custom taxonomy URL with extra words
- Display all posts that use a custom taxonomy
- Separate tags with semicolon
- Are term IDs unique even between multiple custom taxonomies
- How to customize custom taxonomy url?
- What is the action hook that deletes a taxonomy term from the backend? And how to retireve the term id before deleting it?
- How can I get a paginated list of custom taxonomy tags with posts?
- Search only custom taxonomies
- Create alphabetical Pagination for custom taxonomy?
- WordPress cannot find user taxonomies on frontend
- Taxonomy archive template that shows posts from more than one taxonomy
- Hide echo of no categories from get_object_taxonomies
- Drop-down filter doesn’t retrieve custom taxonomies
- Filter with two id of the same value CPT UI(taxanomies)
- How Can I Remove Child Slug From Grandchild Slug When Using Duplicate Grandchild Slugs?
- How to filter and/or sort user taxonomy query inside custom user taxonomy archive page?
- Create multiple taxonomies with custom fields values on the fly when creating new posts
- new custom filed not showing in taxonomy
- Custom Taxonomies Archive Page 404
- How to replace custom post type with custom taxonmy in permalinks
- Rewriting url for multiple Taxonomies and Custom Post Type
- Why is the category item count not updating after assigning a category?
- Add custom taxonomy for post using cron job
- Custom column into custom taxonomy (img tag with slug-name as file name)
- ACF Custom field not showing in Timber Taxonomy page
- Displaying subcategories and then posts in taxonomy template
- How to show one post content in another post content which has same terms?
- How to set “manage categories” capabilities on a post type taxonomy but not on the general categories?
- Custom taxonomy name not being translated in post manager page
- Include attachments with a custom taxonomy in search
- List terms and order by second word
- If term and page have the same slug, how can I view the term archive?
- Can I use multi (sub) levels of relation (AND | OR) on custom query?
- add custom fields in custom taxonomy meta box in wordpress-3.5.2
- How to permanently delete a taxonomy
- How to update WordPress custom SQL Select query for custom taxonomies so that syntax is correct?
- Display term description on hover using get_the_term_list
- Display woocommerce product_cat child terms with thumbnails
- How to add a custom page template selector to a custom taxonomy?
- Add text in custom taxonomy
- How do I check if a post has a term with a particular ancestor/parent?
- Best approach of implementing multi-select/checkboxes for taxonomies?