You could try styling it with CSS by adding an ID or a class to the textarea and inserting styles into the wp_admin head.
Or, a quick way would be to do something like this :
echo '<textarea name="_dresscode" class="widefat" style="width:400px !important; height:80px !important;" >' . $dresscode . '</textarea>';
If not, have you tried simply :
echo '<textarea name="_dresscode" class="widefat" cols="50" rows="5">' . $dresscode . '</textarea>'
Related Posts:
- Get all posts from custom post type and insert in select input as metabox
- Custom Post Type Meta Box Text Input Field Won’t Save When Blank
- How to change default position of WP meta boxes?
- Custom Taxonomy as checkbox or dropdown
- Why won’t my metabox data save?
- echo value from ‘select’ field type into page template using cmb2?
- WP_List_Table Inside Metabox Not Working on Submit
- Custom post type metabox array
- Add metabox with media uploader in a custom post type [duplicate]
- wp_generate_attachment_metadata gives me an empty array
- Best way to arrange custom post types by Attributes -> Order metabox value?
- Removing Edit Permalink/View “Custom Post Type” areas
- Unable to save custom taxonomy terms in a custom-built metabox
- Order custom posts by a date metabox
- How to sort CPT by custom meta value (date), and return posts month by month
- Undefined index: at_nonce in custom post metabox
- Possible to add meta box to edit.php pages?
- How can I include meta box content when searching?
- update a post meta from a single table cell TablePress
- How to create a repeatable / reusable divs in the metabox?
- How to customize the Categories meta box to allow only one category?
- Displaying custom posts only if custom meta box’s date is not expired
- Displaying Metabox value (custom post type taxonomy)
- Hide Meta Boxes for Non-Admins
- How can I display my custom metaboxes on a custom post template?
- Custom Post Type, Saving Multiple Checkboxes
- Custom Post Type with metaboxes (no content) only?
- Add TinyMCE to CPT metaboxes in 3.1?
- Unable to show meta box data in frontend
- advanced search forms with 3 input text and that the main problem 3 input text
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Keep display metadata value on backend – Custom Metabox
- Populate dropdown from one custom post type inside another custom post type
- Why is my select meta data not saving?
- Is it possible to create relational metabox values in a custom post?
- Changing custom type name hides the posts
- Grouping metadatas into one
- Anon function and add_meta_box
- Show Custom Post Type meta boxes only on Page Edit
- Adding Page Templates to post but it ignored it
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Fixed values for same post translations
- How can I move (or create another) publish button?
- Wrap meta boxes & data handling for specific post types in classes?
- Can custom fields be added without a meta box?
- Meta Box on Custom Post Type not saving
- Custom “radio button meta box” not saving correctly
- Moving meta boxes in admin
- Meta-Boxes for CustomPostType cause PHP Errors and Notices in “Add New” view
- custom post type metaboxes not saving
- Custom post type, have only my meta boxes
- Display Repeatable Meta Box Content
- Displaying a div from an assigned meta_value when on a page
- Saving Meta Data within Custom Post Type
- Using custom post type as taxonomy
- Values from meta-box not on $_POST
- Custom post type suddenly stoped working after WordPress 5 update
- Get id from metabox dropdown
- Custom posttype content metabox
- Reusable metabox backend and frontend
- Filter posts of custom post type by meta key in (List All Section)
- How can I output WPAlchemy repeating fields meta values in my page template?
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- Meta box data not saving
- saving dropdown menu data on custom post type
- Set Default Option Value as Blank for Meta Box
- Questions regarding add_meta_box()
- Related posts meta_query CPT
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- Custom post type meta box empty after save
- How to add a class to meta boxes (to customize them in CSS)?
- Problem On Retrieving Post Meta Data on Custom Column [closed]
- Custom MetaBox : Food Menu Item Available Dates
- how to compare different timestamps in wp-query for events custom post types?
- Metaboxes inside Tab
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- Show a custom post title in another custom post type in Meta box
- Modify Publish Metabox location on CPT
- PHP Warning with Custom Fields
- Custom taxonomy with custom post type archive page
- Simple Data picker meta box
- Wrong post ID in meta box callback
- Metabox messes up permalink
- How to shows CPT which has specific meta key?
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- Delete custom post type metadata without deleting the post in admin area
- Metabox is not saving
- How to check if meta box value is false for all posts then do something based on that
- Not Able to Display Metabox Saved Checkbox and Selected option After Save/ Update
- Repeatable WordPress custom fields in a metabox
- Display a post count from a custom metabox selection
- Select custom post by meta value
- Adapting plugin for custom post type?
- Custom post type – permalink
- WP_Query arguments: Loop through custom post type – get all entries except excluded meta_key?
- How to query custom post then display sections by meta value
- Post AND page parameter for WP function
- Add text to metabox input text field from Thickbox
- Display div based on Group metabox selection [closed]
- Just the First Metabox what saves the data!