Firstly, remember that because you are basing this on category IDs, you will need to save the post under category ‘5’ before the box will appear. When I tested your code the meta box did appear after I saved the post, but you had an error.
add_meta_box('team_meta', 'My Custom Meta Box 1', 'team_meta', 'post', 'normal', 'high');
This line should actually be like this, as your function title is a little different:
add_meta_box('team_meta', 'My Custom Meta Box 1', 'team_meta_1', 'post', 'normal', 'high');
The third parameter is your callback function, which you have named ‘team_meta_1’. After changing this the textarea appeared and saved correctly for me.
Related Posts:
- How can I retrieve multiple get_post_meta values efficiently?
- Can I force a metabox to be in one column?
- How to add a new tab to page editor
- Listen to Post action
- How to add metabox for post of specific category
- How to batch update post content with custom post meta value
- upload image in a meta box
- meta_box or custom_field as a second tinymce post-instance?
- 1 column admin screen options – move submitdiv to bottom
- multicheck box for post metabox
- Create A Metabox For A Custom Field
- Have save_post write to database image meta [closed]
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- Using radio button meta data from a custom meta box
- Save list from a custom meta box?
- Using Custom Posts with Metaboxes and Drop-downs
- Automatic value for custom fields for posts
- How to rename “Publish” metabox title in post screen
- Understanding and using metaboxes in posts
- Dashboard :10 Last draft page and 10 last pending review page (metabox)
- Adding custom fields to bbpress reply form
- Meta value does not save for scheduled posts
- Simultaneous admin updates causes custom fields to not update
- How to I retrieve the ID from the Posts page?
- How to save meta checkbox WordPress
- Hide custom metabox value from custom fields
- Is there a way to create a meta box that can be added multiple times to a post dynamically?
- Get post meta retrieving wrong value
- Upload attachment from external site
- Show metabox value last post excerpt, title and link
- Updating post meta for checkbox
- How can I tell if a post has been published at least once?
- Adding JS functionality to the Publish button in wp-admin/post.php
- Get post related to particular meta box? [closed]
- Adding a meta box to determine the sidebar [closed]
- Simple Custom Metabox Not Saving
- Why my meta boxes won’t show in front post page?
- Display content between two dates?
- How to get value in radio input in post meta box?
- Display default matabox of posts(add category) wordpress
- Adding an option to post editor to show a site disclaimer or message
- I need show posts by customer (Shortcode)
- Add meta box for Featured Image caption in wp-admin/post-new.php
- Remove All in One Seo from Posts for Contributors
- Meta boxes not saving
- Some comment box wordpress in 1 post [closed]
- Display metabox with date
- How to separate metabox data in front/backend
- How can I create a menu items from meta box based on users input
- Stop WP from creating “Sample Page” and “Hello World!” post
- How to Create Editable Blocks of Text for the Homepage?
- Custom Single Post By Category
- Set Post Title to Read-only and Disable Permalink Slug Editor in Gutenberg
- how to get permalink using sql
- how to display full post with pagination on home page
- Show post titles only on the homepage
- how to grab first link in post… and of course call it
- What Defines What Category A Post Picks (if in multiple)
- Blog Posts not showing title
- Show info to author only
- Display post category in foreach loop with category link
- How to Link to all posts that have the Standard Post Format
- Two loops, one AJAX loop, exclude posts in first loop from second loop, loops are in different files
- Whenever an author saves their post a \" is added next to the double quotation marks
- updating a post doesn’t trigger a function
- Updating post data on save (save_post vs wp_insert_post_data)
- Lost draft under all posts and drafts
- “edit_published_posts” and “edit_other_post” issue
- WordPress custom post type with folder structure in slug
- wpColorPicker – problem with implementation to post meta
- get posts from Custom Post Type & Category
- How to group only VISIBLE posts? [closed]
- wordpress posts template remove default template from menu
- Does WP automatically tag posts into the archive?
- Show custom post with custom categories with specific slug
- separate the post of a category by subcategory
- Hide thumbnail if there is a gallery on the post
- Display amount of pending posts in back/front end
- Shortcode for tables which can include comma and linebreaks
- Indenting within a blockquote
- How display related post only in Default category on single
- Change published date and time using SQL query for page in every 5 hour
- How can I pass form entry to another form on a new page
- Limit front-end submitted posts by role
- No blocks available when adding a new post
- why my wordpress post, created programmatically, not opening detail page & redirecting to index instead
- Posts page listing pages as well
- How do I check if a post is password protected?
- calling pages instead of posts
- Maximum number of posts per page before affecting performance?
- Display post order ranking within wordpress loop
- How to retrieve post statuses of available posts?
- Custom Taxonomy From Database
- Creating widget – ask for selecting a post in the admin panel
- Page and Posts loading as index page? Not loading the content
- How to get only current images of a post
- Using Post ID and Page ID in same function
- How to Include a common category in a custom Category Search
- How do I insert a custom field in a user submitted post?
- How to get post ID after removing that post?