I Found my mistake. Basically, I had a bad prefix… I changed the function name of the get_post_meta to $gwrrest_stored_meta but then missed it in the echo of the text area content. I had “recycled” my code and accidentally left is as $prfx_stored_meta.
So the line here:
<textarea name="specials-textarea" id="specials-textarea"><?php if ( isset ( $prfx_stored_meta['specials-textarea'] ) ) echo $prfx_stored_meta['specials-textarea'][0]; ?></textarea>
Needed to be changed to:
<textarea name="specials-textarea" id="specials-textarea"><?php if ( isset ( $gwrrest_stored_meta['specials-textarea'] ) ) echo $gwrrest_stored_meta['specials-textarea'][0]; ?></textarea>
Hope that helps someone else.
Related Posts:
- Let’s Create Custom Field Template Documentation
- What is the index [0] for on post meta fields?
- Custom field metabox not showing in back-end
- How to hide meta box values from custom fields list?
- Adding another state (spam, reject, approve) to wordpress comments?
- Meta keywords and descriptions plugin for manually editing meta for each page/post
- Create meta boxes that don’t show in custom fields
- Problem in custom meta boxes
- Multiplile values checkbox or select in custom meta box
- ajax delete value from custom field array
- Custom fields to save multiple values
- wp_handle_upload error “Specified file failed upload test” but still creates attachment?
- Create Multiple File Upload Metabox in WordPress
- Better Method for Multiple Meta Boxes
- Button inside Custom Meta Box triggering the Update Button
- Why is my Custom Meta Box Field Inputs NOT saving?
- get_posts in meta box dropdown not showing latest posts
- I need a “Choose from existing content” popin
- How can you include custom post meta in search without calling each key?
- Display Custom Meta Box Field Only If Value is Present
- shortcode in a custom metabox
- Problem with saving large amount of data in postmeta/usermeta
- Move Title and the Content WYSIWYG editor position
- How to validate select field in post meta?
- How can I hide custom field from users used for caching response from external api?
- How to use media upload on metabox post page without breaking TinyMCE?
- How add multiple wp_editor_box to new post
- MetaBox not saving after empty
- Can I save post meta programatically without setting metaboxes?
- Meta box values are displayed on Custom Fields list. Is it possible to hide them?
- If metabox has content display content
- put saved metabox values back into fields and then display on the front end
- Custom meta boxes not saving
- Best way to achieve multiple links in a post title
- Meta Box Plugin Cloned Fields – Multiple Foreach values
- Make separate text boxes for separate WordPress Custom Fields
- How to improve my non-unique metadata MySQL entries?
- Set class if a meta value is set within post archive
- WordPress Blocks, setAttributes not saving
- Allow HTML in Custom Metabox area
- Custom field metabox not showing in back-end
- Save, update, get and sanitize post meta as HTML not plain
- Create Meta boxes dynamically
- Save input form on custom field
- Get meta value when the page is a blog archive
- Can’t save meta field value if the title not set
- Display Data From This Custom Media Upload Meta Box?
- Adding custom fields to images
- wp_postmeta are updated for only one page
- When editing a post with a custom meta box the values aren’t displaying correctly
- How to add new Metadata options (Date, Author, etc.) for Posts?
- Saving multiple custom meta box fields
- How can I avoid re-inventing the Custom Fields wheel in my Plugin’s Metabox?
- Create custom field on post draft or publish?
- copy attachments to another post type and change attachment url
- Cannot edit post meta fields with rest API
- Add a post meta key and value only if it does not exist on the post
- Function to change meta value in database for each post
- Dynamically add / duplicate custom meta in custom post types
- ACF: How to get the full field name (meta_key) by a field key?
- Tweak Meta for Post to work it for Pages also
- How to select posts from multiple categories and metavalues?
- Unique meta_key with array value vs repeated meta_key with single values
- When creating a metabox do you have to create DB fields for the data?
- Allow only one post with specific meta value
- Custom metabox not displaying multiselect data in edit mode
- How to display childrens custom fields?
- how to display custom fields of post on a web page
- How do I query the title (or handle?) of post meta fieldset (created with Simple Fields Plugin)
- How to fill custom fields with brackets in their key with add_post_meta()?
- Is it preferable to use custom code to create metaboxes instead of plugins (such as ACF) and if so why? [closed]
- Is there a way to set default custom fields when creating a new post?
- How to store multiple custom meta box
- Displaying pages with a specific custom meta
- How can I output WPAlchemy repeating fields meta values in my page template?
- How to validation for sanitize_URL?
- How can I output the custom fields wrapping with HTML
- Custom metabox not working
- How to get custom image field of specific post id
- Custom field bug in WordPress 3.2
- How can I change author of posts to the value of one of the custom field of the posts?
- Custom Post Type meta data getting deleted on bulk editing taxonomies
- Add forms dynamically in admin pages?
- Saving Custom Field that includes Quotation marks
- Post meta data not showing in frontend, until hitting ‘update’ button
- searching by keywords in post’s metas or pagination links problem
- update meta field value after
- If metabox fields has content display content
- Delete custom post type metadata without deleting the post in admin area
- Echo out custom fields in comments
- Save values generated via API as custom meta fields
- How to save dynamically generated value in post type?
- My meta boxes update wp_postmeta of posts but not of pages. What is wrong with the code?
- how to show this part only in the single post page?
- Using Hooks. Thematic
- Select Options Meta Data is Not Updating in Edit Meta Box
- Display meta data from a custom field within plugin Category Grid View Gallery
- If post custom meta data is not set, show normal state
- custom field with links
- Site uses wpdb to fetch meta_keys but just displays first meta_key from a page (the post uses the same meta_key “filmmaker” more than once)