I would recommend using MetaBoxes.
A nice tutorial is here: http://www.farinspace.com/wpalchemy-metabox/
Related Posts:
- Remove Dimension from wp_get_attachment_image
- Individual Widgets per Page
- Add custom field to image editor
- Display info from custom fields in all images’ HTML
- copy attachments to another post type and change attachment url
- Display Single Attachment Image file size, uploaded date, resolution, file-name etc in Sidebar
- Metabox with multiple fields added by user and upload box
- How to delete attachments associated with custom field type when post property changes? [closed]
- Adding thumbnails for non-image attachments
- Custom field/meta populated by dropdown of existing posts?
- What is the index [0] for on post meta fields?
- Gutenberg add a custom metabox to default blocks
- ‘Preview Changes’ for custom meta boxes?
- Using TinyMce with textareas in meta boxes on custom post types
- add meta box – custom field : which to choose?
- Add metabox to document tab in gutenberg
- How to add add_meta_box to specific Page Template?
- Custom field metabox not showing in back-end
- Having different sidebar content for MANY pages?
- Put the media uploader in a metabox
- explode array within shortcode
- How can I append custom data to images in the editor?
- How to hide meta box values from custom fields list?
- Change wp_get_attachment_image attributes (src and srcset) on specific custom field
- Adding another state (spam, reject, approve) to wordpress comments?
- How do I make a custom field choose an image?
- How can I remove fields in the attachment editor?
- Arrange custom fields with drag and drop?
- How can I avoid re-inventing the Custom Fields wheel in my Plugin’s Metabox?
- Unable to get Preview of Uploaded image within a Custom Meta box
- Using media-upload.php to upload mp3 via custom fields
- extend Meta Box / Document Panel
- Extend WP Customizer to make multiple image selection possible
- Custom per-page sidebar widgets .. possible?
- Saving Custom Field in Attachment Window in WordPress 3.5
- Add custom option to Standard Page Attributes Meta Box
- Get custom field values into the sidebar/widget?
- How to store the value of a custom field dropdown select for post referencing?
- Only show metabox when date-value in other metabox is over?
- How to set a default meta value for custom field
- Custom Meta Boxes: Store two values in one repeatable field
- Display thumbnail from custom field
- Populating meta box with select-list of existing posts, and assigning it to custom post types
- Create meta boxes that don’t show in custom fields
- How To Create a Metabox of HTML Content with Instructions For Editors When Editing a Post or Page?
- How to save custom fields for attachments
- How to load php file for specific page in admin?
- How to set default metaboxes on user creation?
- Metabox nonce PHP notice
- TinyMCE in Custom Metabox not loaded after upgrading from WP 3.1.4 to WP 3.2
- wp_editor in add_meta_boxes does not show gallery
- How do I assign this filter to a variable? (Appending php & markup to the_content)
- Problem in custom meta boxes
- Multiplile values checkbox or select in custom meta box
- Stopping WordPress from Auto Generating Image Files for Sizes
- Create custom field key upon theme activation
- automatically set “Featured Image” the same as the og:i that is set in a custom field
- limit amount of photos uploaded per cpt post
- ajax delete value from custom field array
- Problem with adding exta field in metabox in custom post type
- Save attachment custom fields on front end
- Adding a custom field or metabox to the post-thumbnail widget?
- Custom fields to save multiple values
- How do I add custom_meta_box_id’s value?
- Undefined index error when saving content on metabox
- How to save multiple metaboxes?
- add meta box using function.php
- Metabox image upload and custom field
- all tincymce’s switch when updating page after changing from html to text in custom metabox
- My metabox class
- wp_handle_upload error “Specified file failed upload test” but still creates attachment?
- How to construct multiple meta boxes
- Add WYSIWYG to Image Description field
- Loading scripts to the Post Edit page only
- Force hide custom field metaboxes
- Woocommerce with metabox plugin
- Insert attachment ID in custom field from media uploader
- Get Meta from Custom Field of Image URL
- wp_editor removes paragraph from custom meta box
- How to Display Custom Meta Box only on Specific Page IDs
- Add url from Custom Field as ‘Featured Image’. Code not working
- WP Custom Fields Metabox Disappears – ACF plugin issue [closed]
- Metabox will not save
- How to check for specific meta box value on front end and output accordingly
- Where did the Add New Custom Field go?
- How Meta Data is different from Custom Fields of POST/PAGE in WordPress
- How can I store a file in the database in the same way WordPress and ACF do?
- Admin meta Image Path
- Tweak Meta for Post to work it for Pages also
- Odd PHP Code To Display HTML Of Meta Box [closed]
- How to display multiple images in custom field
- custom field not saved
- How to create a Custom Meta Box with Name/Value Admin User Input Fields?
- Create Multiple File Upload Metabox in WordPress
- Users Select inside custom metabox
- Custom Metabox Not Saving
- Better Method for Multiple Meta Boxes
- How to add image attachment to post from a single meta key (Woocommerce)
- Getting the ID of any image for use in functions.php
- how to fetch the meta field keys/meta boxes from a post type?