Yes, you need to edit your video_add_box() function in order to make an array with the post type you need to show that box.
$postypes = array('type1', 'type2', 'type3');
foreach ( $postypes as $postype) {
add_meta_box(
'video_information',
'Video Information',
'video_information',
$postype
);
}
You can read more in codex: http://codex.wordpress.org/Function_Reference/add_meta_box
Related Posts:
- what is the correct way to compare dates in a WP query_posts meta_query
- don’t publish custom post type post if a meta data field isn’t valid
- Search multiple custom fields by using meta_query
- Add custom field to media attachment image attribute in post editor
- Custom Post Type with Custom Title
- How can I customize “Pages” admin (edit.php) and “Edit Page” admin (post.php) for bulk edit of custom content type?
- Community and User Generated Content Website: Have been thinking about Drupal but leaning on WordPress heavily
- Related links – from other sites
- Saving repeated option values in a custom query
- Dynamically add / duplicate custom meta in custom post types
- How to insert content from another Custom Post type into Post?
- How to structure a site with product variations pages?
- Cannot save CPT meta box
- don’t publish custom post type post if a meta data field isn’t valid
- custom post data – how to
- How to customize work area / admin area in a custom post type without plugins?
- How to display custom field value on page?
- Display custom post type for specific user
- Need to have an archive widget which organizes and displays a custom post type using a custom date field
- How to hide a custom field from admin?
- How to keep a record of changes to a custom field?
- Use Gravity Forms and a Shopping Cart for output to Freshbooks for an Estimate [closed]
- How do I ensure that post_type and Taxonomy use the same slug?
- Custom Form / Search with Custom Post Type Data
- Adding a location field to buddypress activity
- Auto update publish date of CPT Post if default post custom field value match to cpt post CF Value
- wp_set_object_terms creates taxonomies but does not add custom posts to it
- How can I fetch all the dates from custom fields from various different custom post types and show / list them at one place in ascending order?
- Displaying posts inside table having issues
- Automatic Set Category For A Custom Post Type
- How to Disable option of meta field if that option is selected for any other post in custom post type?
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Select Menu for Custom post Type does not save
- How can i display on front page a movie that is atached in a post type
- Exposing custom fields to the user in custom type post
- Creating post custom field text area
- Sort CPT by taxonomy AND THEN by custom field
- How to display *block number* instead *date value* on WordPress posts?
- Restrict custom post type to only site administrator role
- Help Creating a Slideshow Custom Post Type with Custom Meta Boxes?
- How to force one column layout on custom post type edit page?
- Custom Post Type – Taxonomy Dropdown Menu?
- How do I implement custom fields without using any plugins?
- How I check if the same post slug has not been used before publishing?
- How to sort a table of custom posts by column containing custom field
- Assigning a role to a specific custom post type (and ignoring other post types)
- Display posts in random post types
- Automatically Insert Custom Field on Custom Post Type Publish
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- meta_query compare >= not working but
- Save an array from drop-down in custom meta box
- Including Custom Meta with posts_where query
- How to create shortcode to display custom field value on a custom post type
- How to set up multisite for multi language?
- Creating a Custom Post as a repository for theme constants
- How do I move/order posts with a tag to the end?
- Orderby CPT custom fields not working
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- How to create a custom post type with additional fields?
- Order Custom Post Type by Custom Field Value
- WP_Query custom post type query not showing the exact post type
- How do i search authors from search form using author’s name
- Hierarchical custom fields
- Fields for different parts of a page
- Facebook social publisher and custom post type fields [closed]
- Searching Custom Fields
- Custom Post Meta from custom metaboxes is randomly being deleted
- How to get specific post meta by title or id
- Populate a custom field dropdown with post titles by author
- WordPress custom API endpoint – how to make the request more flexible
- Category Search / Custom Post Type search on my website. Custom Post Types that are “page-like”?
- Get data from PHP to JavaScript to set position of each post on front page
- How to display a WordPress Custom Field only on a specific day of the week?
- Create custom WP_List_Table in post_type
- Filtering custom posts by custom fields (ACF) [closed]
- Incorrect ordering of custom post type based on time
- Writing a custom Glossary plugin
- Filter search posts by post meta?
- Problem with customize page cached in WordPress.com [closed]
- Sort custom post column by generated value?
- How to only display all posts to a custom User Role?
- Unable to gather Image URL from Custom Post Type’s; Custom Meta Field
- register_rest_field update_callback don’t work for $_FILES
- How to convert Post Object Custom Field into Tags
- Filter custom WP_Query by first letter of a custom field – hopefully using Search and Filter Pro?
- save_post affect creation and deletion
- check_admin_referer not working in custom meta box for custom post type
- Set a static page as a user profile page?
- Problem to get the link of the default ‘post’ post type like the orther custom types
- How to keep a CPT stick to specific position?
- Setting a custom $query->query_vars[‘meta_key’] breaks the WordPress menu
- WP_Query and two custom fields returns no posts
- I want to split this into two functions
- Repeatable Custom Field for Media Upload
- Problems with a custom meta_box
- How to apply order on custom taxonomy and custom meta key on custom post type
- How to store datetime from custom meta box so that it can be sorted by
- Bulk update custom post types
- Adding a custom field after post title (ex.Example Title [30 Second Read])
- Update Custom Field daily within 7days