The second parameter to wp_editor
is the value that the “id” attribute of the textarea element will have, and that is probably why there are such restrictions on it. By default it is also used for the “name” attribute but you can set it explicitly by using the $settings
parameter to wp_editor
wp_editor($ID, 'media_desc_n',array('textarea_name' => 'media_desc[n]'));
Related Posts:
- Hide “Add media”, HTML editor from TinyMCE
- Numbering sections and block-level elements in wpautop(); WordPress as CMS for long-form writing;
- Remove tinyMCE from admin and replace with textarea
- Using multiple instances of wp_editor in Custom Post Type admin area
- Excluding post type from WordPress link builder
- Add TinyMCE to CPT metaboxes in 3.1?
- Visual editor issue by having multiple tiny mce editors in a CPT
- Show image gallery from a custom field
- How to use TinyMCE Editor for one of my custom post meta field?
- TinyMCE style formats for different post types
- P̶l̶a̶c̶e̶h̶o̶l̶d̶e̶r̶ *Default* content in Custom Post Type TinyMCE editor
- How can I set the height of the classic editor per post-type?
- Custom post type editor uses old tinyMCE
- Adding custom post formatting options in custom post types
- How to save TinyMCE fields on WordPress custom post type?
- Multiple Block Quotes without using HTML
- Issue displaying multiple TinyMCE editors with WPAlchemy
- How to show metabox in custom php menu page
- How to display custom field value on page?
- Displaying custom post types in front end
- Navigate posts with different post type that are in the same categories
- Custom taxonomy (categories) on custom post type return no results
- Page listing Custom Posts
- post_per_page ignored in WP_Query
- the_title not working
- Display different information of a custom post type
- Custom taxonomy wp_query woes.
- WordPress app page not found error for posts with hyphen in permalink
- Where is the sticky post option?
- get_the_tag_list() returns bad links
- Add term list as class
- Filter second dropdown (tax) based on first dropdown (cpt)
- Dump custom post type database
- uploading problem of wordpress theme
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Custom Post Type Link added to menu won’t show in frontend
- show all custom posts types in home page
- List of users that clicked a ‘Join’ button at single post
- Taxonomy archive 404ing (not term archive)
- Pagination doesn’t function properly for archive of a custom post type set as the front page
- Variable not working in WP_Query
- WP_query – Filter by tax_query and meta_query using multiple select
- Display an authors post on a single page only when they are logged in
- How to group navigation items in the admin panel
- Hide meta box for everything BUT a certain custom post type
- Include php on a specific page template
- Create Array from custom post type to display a slider
- what custom post type this archive belongs to?
- Setting Post Title via Meta Data returns Auto-draft
- Tags not working in my custom post type
- Custom post-type metabox position
- wp_trash_post action hook with custom post type
- Not sure why this template for custom post type posts isn’t displaying anything. What’s missing?
- What’s an efficient way to change the post status of many posts at once?
- Use Pages for Custom Post Type
- Return the name of the post type
- I can’t access custom taxonomy page listing
- Is it possible to load a different sidebar in single.php based on a meta_query filter?
- How to have permalink like domain.com/term/postname?
- List Posts By Custom Taxonomy
- Can variables be used to rewrite a Custom Post Type permalink? [duplicate]
- Creating two loops based on different logic
- How to Echo Metadata Value in Currency Format
- Issue on Working with Metabox – Checkbox to enable Sale Items
- Filter posts by tax (dropdown) and meta value
- How do I amend form data before it is saved for a custom post type
- Archive-posttype.php isn’t loaded
- List of all entries of custom-post-type: Add year-parameter?
- Wp Query with multiple custom tag(taxonomy) by get the terms
- Custom Posts values in custom post overview
- Should I use custom taxonomies or not?
- delete_post_meta() for whole CPT / multiple posts?
- List of child custom post types lists all custom post types
- get comments by current user inside page template
- Move Genesis Single Page/Single Post Title
- Get Specific Template Part if Custom Field is Some Value
- How can Custom Post Type and a page have the same slug?
- Custom filter for main search: how to exclude specific post_type from search results
- Page as Archive page
- Is This Code Efficient – Or is there a better way?
- get post types and plugin order
- Confused about Custom Post Types
- get parent content inside child posts
- Add an Outside Wrapper to my Header and Make it Full Width
- page template for custom post type
- 3 random images from custom post type, each in a div with a diffrent class
- Sortable column containing numeric values for Custom Post Type at WordPress Backend
- How to get specific post meta by title or id
- Listing all post from different custom post type for the logged in user
- Trouble with pagination
- get_category_link() for custom post type does not include custom slug rewrite?
- Page Template Dropdown For Custom Post Types
- Why are some of my custom posts not showing up on my page?
- How to list tags from custom post type attachments?
- How to add editable/dynamic values to dropdown of a Custom Post Type Meta Box
- How to concatenate two separate colums into one?
- make permalink go to a custom single.php file
- Custom Meta Box Causing Error: “Are you sure you want to do this? Please try again.”
- Why content coming from single?
- Two column layout with alphabetical ordering