The plugin Custom Content Type Manager can do this.
A Custom Field of the Relation
type is needed. When creating it, enable Is Repeatable
, select the desired Output Filter
and the Association
.
:…click to More Info
Make sure to enable Standardize Custom Fields
for Pages in the Content Types
tab of the plugin.
With all set, a Meta Box with the relationship/repeatable/sortable Custom Field will appear in all pages (looks like this will need a custom hack to only display it in $post->ID == homepage_ID
).
This CF opens a thickbox where all post types can be searched/selected as a Relation
(maybe another hack).
The plugin Advanced Custom Fields can do it all without hacks, but the Repeater
is a premium add-on.
Related Posts:
- How to filter post listing (in WP dashboard posts listing) using a custom field (search functionality)?
- Adding another state (spam, reject, approve) to wordpress comments?
- Problem in custom meta boxes
- How to show custom field’s value under post/page title in wp-admin
- Multiplile values checkbox or select in custom meta box
- Admin meta Image Path
- Better Method for Multiple Meta Boxes
- Button inside Custom Meta Box triggering the Update Button
- How can I hide custom field from users used for caching response from external api?
- Let’s Create Custom Field Template Documentation
- MetaBox not saving after empty
- Custom meta boxes not saving
- Meta Box Plugin Cloned Fields – Multiple Foreach values
- Make separate text boxes for separate WordPress Custom Fields
- WordPress admin area: select box with 12.000+ options
- Save input form on custom field
- When post is updated, custom metadata in text area field is overwritten
- Add filter menu to admin list of posts (of custom type) to filter posts by custom field values
- Add validation and error handling when saving custom fields?
- Validating Custom Meta Box Values & Required Fields
- Is there a way to set default custom fields when creating a post?
- Custom field/meta populated by dropdown of existing posts?
- What is the index [0] for on post meta fields?
- Individual Widgets per Page
- 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?
- Filter post listing by meta value which is a date
- Custom field metabox not showing in back-end
- Add custom objects/entities to WordPress
- Adding Custom Field to Taxonomy Input :Panel
- How to hide meta box values from custom fields list?
- 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
- How to prevent custom fields from being cleared during a bulk edit?
- Add custom option to Standard Page Attributes Meta Box
- Edit Custom Database Tables in WordPress
- How to store the value of a custom field dropdown select for post referencing?
- Filter results with custom field values and dropdown
- Add multiple images to a page sidebar
- Meta keywords and descriptions plugin for manually editing meta for each page/post
- Only show metabox when date-value in other metabox is over?
- Making a configurable field translatable
- Custom Meta Boxes: Store two values in one repeatable field
- Is there a way to do multiple ordering on a multiple meta_query?
- Custom bulk action for media gallery items
- Check before publishing, if already exist post with current custom field value
- Populating meta box with select-list of existing posts, and assigning it to custom post types
- How to customize default wordpress editor?
- 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?
- Add custom meta box on Post page
- Custom Fields Bulk Edit
- Custom Page Template [closed]
- How to load php file for specific page in admin?
- How to set default metaboxes on user creation?
- How to make custom comment fields required and message field not required
- 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)
- Adding Properties to User Profile and Displaying in List
- Create custom field key upon theme activation
- ajax delete value from custom field array
- Problem with adding exta field in metabox in custom post type
- How do I read the value of a custom field of the page?
- 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?
- Metabox with multiple fields added by user and upload box
- how to save multiple custom fields for a post in one go?
- add meta box using function.php
- Metabox image upload and custom field
- get_post_meta in sitewide tags plugin fails to return value for custom fields
- Best way to add custom / magic / flutter fields into RSS feed
- 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
- 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
- How do you create dynamic customised sections in WordPress?
- wp_editor removes paragraph from custom meta box
- How to Display Custom Meta Box only on Specific Page IDs
- Delete all custom fields at once?
- Add More Fields to Users Pages (Admin Panel)
- Dynamically add / duplicate custom meta in custom post types
- WP Custom Fields Metabox Disappears – ACF plugin issue [closed]
- How can I create a custom meta box to add an mp4 video to a page?
- Metabox will not save