You forgot to add name ="bizdesc"
to your textarea
, so this
function DrawCallBack($post)
{
$Record = GetDBRecord();
echo '<textarea id="bizdesc" rows="2" cols="50">';
echo $Record['BizDescp'];
echo '</textarea>';
echo '<input type=text id="YourName" name="YourName" value="' .$Record['Name'] .'"/>'
}
should be
function DrawCallBack( $post )
{
$Record = GetDBRecord();
echo '<textarea name="bizdesc" id="bizdesc" rows="2" cols="50">';
echo esc_textarea( $Record['BizDescp'] );
echo '</textarea>';
echo '<input type="text" id="YourName" name="YourName" value="' .esc_attr( $Record['Name'] ) .'"/>';
}
I hope this helps.
Related Posts:
- How do I add a custom button to my “edit” list? ( edit.php?post_type= ) beside “Add New”
- Get all of user’s custom post types in WP Admin for plugin
- Admin notice not displaying
- Addition of custom option panel crashes Media Library & Admin Area
- WordPress custom post type capabilities issue
- Change Text in Admin Panel
- Restrict Custom Post Type to One Item
- Display box in sidebar of custom post type
- Hook to override title, image and content
- Insert Multiple Post with Same Publish Button
- Why is conditionally loading a custom plugin’s code only on a specific custom post type causing the site content to disappear?
- Admin not showing all custom post type posts and views not working
- How to avoid manage posts screen duplicates when two plugins use the same library
- Unable to retrieve any posts of CPT in wp-admin
- get_object_taxonomies() returns empty array for custom post type
- Display post meta on edit page in admin
- WordPress theme custom capabilities not works
- custom post type not showing in menu
- Custom posts don’t work
- Modify action buttons for custom post type
- No posts found – Custom Post Type show_ui
- How to customize a permalink (URL) structure?
- Adding a custom post type taxonomy template in plugin
- Plugin: register custom post types, child ready and performance best practices
- How to add a custom taxonomy to show up in a custom post type menu?
- Admin Pointers on a custom post type
- Give a permalink to Custom Post Types without title
- Add a button or image button that calls wp functions in the wp-admin
- Selecting a post in Dashboard
- Custom Post List View: Page or something else?
- Custom admin post.php page
- Getting template_include to work when allow_url_include is off?
- Custom Taxonomy back-end customizations
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- WordPress post_where & posts_join not working only for custom post type
- Add custom ID to CPT posts only create not update
- Add custom post type as submenu [closed]
- WordPress multiple custom post types capability conflict in a single menu
- Getting meta in editor plugin, and event triggering issue
- Orderby CPT custom fields not working
- Unable to get Custom Plugin Options data
- Update post meta not working in transition_post_status
- Filter term taxonomy metabox in custom post type
- Use custom metabox to update automatically a post after a given date
- CPT post count is 0 for the authors in the User list
- Tracking changes in admin-page so user gets warning when leaving the page
- Custom Permalink to remove category word , keeping posts permalink with date?
- Possibilities for the edit.php admin panel? [closed]
- Form action/link to render a plugin in WordPress front-end
- What is the best practice for displaying my plugin content in themes?
- Custom post type archive page blank
- Add Custom Post type menu to another menu in specific location
- Filter hierarchical custom post type admin page by parent, and include children & grandchildren
- Set a CPT slug as a base name for all the taxonomies
- Admin Filter – Add Post Type Description on Post Type Page
- Custom post type editor with dynamic selects, one drop down populating a second second drop down not working
- How to use TinyMCE Editor for one of my custom post meta field?
- WP-ADMIN – Listing all CPT in “posts” listing
- How to Create a WordPress Plugin With Custom Post Type/Custom Field Features?
- manage_edit-{post_type}_sortable_columns sorts, but wrong!
- Custom post listing page layout of custom post type
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- A custom post type in another post type
- Adding a metabox on a CPT’s submenu page
- Deleting taxonomy terms and relationships on a custom post_type when a user is deleted
- Custom Postype specific changes in admin panel
- Grouping of CPTs and taxonomies into menu groups in admin
- Plugin fatal error
- custom comments form for custom post type
- Wrap meta boxes & data handling for specific post types in classes?
- Problems wp_insert_post and save_posts filter
- Custom fields for custom post type
- Suggestion on custom post type/ taxonomy relationship
- It’s possible to hide body copy box for a custom post type?
- Show data from one Custom Post Type in another Custom Post Type
- Add a custom text to admin footer in a Custom Post Type page
- wordpress remove views from action links in a custom post
- Creat new admin url for custom post type
- Custom Field values not Showing in Edit Page of Custom Post Type
- When should I create custom post types?
- Custom post type’s extra fields – how to handle?
- Save Multiple Metabox values
- Send a conditional email notification when a custom field value changes in Post Type
- HowTo: Custom Post Type (Meta) to Custom Table
- how to set a WP Plugin’s url
- Getting 400 Bad Request on AJAX Call
- Main query not querying any posts in custom taxonomy template
- Custom Empty Results page for my Custom Post Type
- detect your custom post type in WordPress
- Set thumbnail and title for a post type archive (not post itself!)
- ACF in wordpress
- Theme independent plugin by using default page template
- Option page’s form doesn’t work
- How to add and clear custom post types and taxonomies in a plugin? Considerations for existing data
- Custom WP_Query doesn’t display all posts
- post_parent in custom post type
- How to group navigation items in the admin panel
- What’s an efficient way to change the post status of many posts at once?
- How can I include active content in a custom post type?
- Hide Status Option From WordPress Publish Metabox and Rename Published on: