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
- Get WordPress post content by post id
- Get page ID of page that is set as the posts page
- Get Posts Under Custom Taxonomy
- How to limit the number of posts that WP_Query gets?
- Stop WordPress Wrapping Images In A “P” Tag
- When is the ‘post_content_filtered’ column in database cleared by WordPress?
- Turn a URL into an Attachment / Post ID
- GET the excerpt by ID
- Stop WordPress automatically adding tags to post content
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- How to add an admin notice upon post save/update
- Print Current Post Index number within Loop
- Should we trust the post globals?
- Optimize post insert and delete for bulk operations?
- Get the Current Page Number
- How do you add thumbnail support for custom post types?
- How to mark every 3rd post
- Change Posts per page count
- Keep featured content post in homepage with original order
- How to display related posts from same category?
- Can posts have parents?
- Is there a action hook for the “Empty Trash” button?
- How to end the excerpt with a sentence rather than a word?
- How do I check if I linked to a post before I delete it?
- How to change the case of all post titles to “Title Case”
- Appending content with broken in 4.4
- How to get posts published between a date and today?
- ZIP up all images displayed in a [gallery] and offer as download link
- How to detect single.php (but not single-portfolio.php)?
- How to check if post meta key exists or not in wordpress database
- How to remove a column from the Posts page
- removing inline styles from wp-caption div
- What is the use of to_ping and pinged column?
- How to use “Add link” pop up for a WordPress widget
- Remove Categories / Tags From Admin Menu
- How to retrieve text only from wp_content() not from wp_excerpt()?
- Stop WP from creating “Sample Page” and “Hello World!” post
- Where is the old post permalink slug stored?
- How to Create Editable Blocks of Text for the Homepage?
- Keyboard shortcut for updating a page or post?
- Add custom Attachment Display Setting for images
- Rewriting post slug before post save
- Apply the_title() filter in post & page title, but not in menu title
- How to Change Order of Posts in Admin?
- is it possible to get next_post_link
- Get post content by ID
- How to get post creation date?
- Update post counts (published, draft, unattached) in admin interface
- Function to execute when a post is moved to trash .
- How to get post ID of the current page/post inside a widget?