I think you need to change the value of id in select field
$output = "<select name="attachments[{$id}][kgal_artwork_artist]" id='attachments-'.$id.'-kgal_artwork_artist'>";
Related Posts:
- Media Custom Fields – get a value with PHP
- Save Custom Meta Value on Media Upload
- Change behavior of “Insert into Post” based on attachment metadata
- Add new “Insert Into Post” button with another function
- Saving Custom Field in Attachment Window in WordPress 3.5
- Custom bulk action for media gallery items
- How to save custom fields for attachments
- How to save media files under custom folder without changing wp-config.php or changing media settings
- How do I modify the “Insert Media” lightbox in the admin to only show media items from a category?
- modify wordpress caption shortcode
- How to add upload video option in wordpress for user?
- 3.8 Media Upload and Custom Meta Box
- WordPress Media Uploader custom Javascript not working
- Display MP3 as media using an URL from a custom field
- Shortcode for Custom Field of Media Attachment (to use with Featured Images)
- Custom field in media library not saving, selected() function not adding “selected” to select list input type
- Adding fields to attachment – only shows when inserting new attachments
- display custom media folders to wordpress media popup
- Media Attachment Custom Meta Fields not saving in Media Uploader when using jQuery UI Autocomplete
- How can I create more “create attachment” custom field – any idea?
- Insert wp gallery shortcode into custom textarea
- How can I attach files without using a plugin?
- Max length of meta_value
- Filter WP_Query for posts having a certain meta-value
- Changing the media library default tab
- Save HTML formatted data to post meta using add_post_meta()
- Plugin to auto convert custom fields to tag
- Order by Custom Field date not recognized
- Display custom field only if value present?
- Advice needed for importing custom field data and database structure
- How do I go straight to “Edit More Details” when clicking on an item in the media library?
- How to save multiple metaboxes?
- Displaying additional User Contact Information
- get_post_meta in sitewide tags plugin fails to return value for custom fields
- Populate Custom Field Dropdown on Theme Install?
- WooCommerce conditional required checkout fields [closed]
- Make URL in custom field hyper link
- meta query not showing any results?
- Using more than one meta_key in pre_posts_query
- Way To Store Global Meta Values
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- Creating a custom menu/widget area
- Can’t get post ID using wp_insert_post_data
- query usermeta from custom field
- Creating author profiles with extra fields and exporting that data?
- Modifying custom order item meta from admin order view
- Let users track progress by entering a number daily in profile?
- WooCommerce – Adding Custom Fields To Invoice
- Changing themes… and need to move Custom Field content into another field
- Filter Posts on Custom Fields and Show them on a new Page
- Removing link ” from ” on meta_value in custom feilds
- Can I create a template or doctype for my blog site?
- Media Library empty after server move (exact copy of files and db’s)
- Custom field, add class to anchor tag
- Custom Metabox additional item
- How to combine custom fields to make one order-able value
- Updating Other User’s Metadata
- get_posts in meta box dropdown not showing latest posts
- Trying to reorder posts by custom field
- Delete custom fields when deleting posts
- Pull custom fields from custom posts within a loop
- Custom Query based on custom field of a single post
- comment meta_query for keys that aren’t yet set
- Link the retrieved custom field values to its respective posts
- Sortable custom field values from all posts on a page template
- Adding “meta” info to WP site PHP function?
- How can I use custom properties to set different background on different pages?
- Values entered in a meta box aren’t saved
- change order of images attached to post
- Display meta box dropdown (from custom post type) in the page post type
- How to Make Post Custom Column Editable
- how can I show name and value of Custom Fields together?
- Adding simple (one button) Audio player using Custom Fields?
- WordPress Attachments with old images
- No result update a custom field using wp_schedule_event
- tax query between operator like
- Single page WordPress website – custom fields or meta boxes or something else?
- Collect Data from NEXT item while in loop
- Order custom fields alphabetically
- Is it possible to compare the current time with a custom “start” and “end date
- Display metabox title for custom fields with values
- Gutenberg add a custom metabox to default blocks
- How to use ACF with javascript to update custom field values?
- Show Custom field value instead of title in WP Menu
- How to add code to custom field to every blog post via php?
- User Filter Options on Archive Page
- Getting user’s data, by custom field lookup (meta)
- Counting number of images from loop
- Automatically set the_post_thumbnail to Custom Field Value
- Redirecting to an external URL
- Search one custom field?
- Can’t save meta field value if the title not set
- Why is wp_list_pages altering $post->ID of the page?
- How to keep sharing stats after creating 301 redirects?
- Calling a custom profile field only it it exists
- Thumbnails for media Library images
- Display posts where date field matches current month?
- If post custom meta data is not set, show normal state
- Sort posts after filtering them through multiple taxonomies
- Add values of post meta fields?