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
- Individual Widgets per Page
- Using TinyMce with textareas in meta boxes on custom post types
- How to add add_meta_box to specific Page Template?
- Add custom objects/entities to WordPress
- How to prevent custom fields from being cleared during a bulk edit?
- Filter results with custom field values and dropdown
- Is there a way to do multiple ordering on a multiple meta_query?
- 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?
- 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
- Problem with adding exta field in metabox in custom post type
- How do I add custom_meta_box_id’s value?
- add meta box using function.php
- Metabox image upload and custom field
- Best way to add custom / magic / flutter fields into RSS feed
- How to construct multiple meta boxes
- Force hide custom field metaboxes
- Insert attachment ID in custom field from media uploader
- How to Display Custom Meta Box only on Specific Page IDs
- Metabox will not save
- Buddypress Add unserialized Profile Fields in Members Loop [closed]
- custom field not saved
- How to create a Custom Meta Box with Name/Value Admin User Input Fields?
- How make a custom search on backend in WordPress without plugin?
- Create Multiple File Upload Metabox in WordPress
- Custom Metabox Not Saving
- custom avatar removal
- Unsaved changes in metabox inputs not detected in the block editor
- Custom Fields box in the post editor: Replace textareas with input elements
- Get updated meta value after post update or published (custom post type) using hook
- custom-meta-box checkboxes from loop won’t save
- How can you include custom post meta in search without calling each key?
- Specific coditional usage [closed]
- Set checkbox as checked by default in a metabox
- Singleton Custom Field (Meta Box)
- Custom metabox not displaying multiselect data in edit mode
- How to validate select field in post meta?
- Check & remove special characters in a field?
- What is the best way to modify Admin Panel on WordPress?
- How add multiple wp_editor_box to new post
- How to validation for sanitize_URL?
- How can I output the custom fields wrapping with HTML
- HM CMB: Role Select
- How to get all custom fields with some prefix in key?
- custom field in admin columns
- Custom metabox not working
- Jquery on custom-field backend
- Trying to implement AJAX into my admin pages. Am I improperly enqueue and localizing my scripts?
- WP-eComerce Advance Meta Tag data in descending order [closed]
- How to Convert Custom Fields from Text to Array?
- WP E-Commerce Custom Meta > Serialized array
- Adding re-type email and check it if the email match
- Counting post fields
- show a specific metabox dependent on the page template
- Making custom meta box required (with error message if not filled in) on Gutenberg
- HTML for adding a meta box (basic text field) to page editor?
- Adding text box with add_meta_box
- Adding an option to post editor to show a site disclaimer or message
- How can I ‘check’ the “custom fields” box from the Screen Options?
- Remove Custom metabox from particular page template is used
- Link fields in User Admin list
- Save custom post data outside of default post form
- Append custom field items to content from plugin
- Call the latest posts from a custom field group to be displayed on front-page
- custom field functionality
- How to add an option to admin to add image that could be used as header?
- Show or hide lang=”ur” in main element
- Can i categorise my meta box?
- Decouple page name from page title
- Adding thumbnails for non-image attachments
- Where can I find the code for the menu page meta boxes?
- When editing a post with a custom meta box the values aren’t displaying correctly
- Use Metabox to enter Post Title
- Include custom fields into the content of a regular page
- I would like to display different text on different pages
- Remove “minor-publishing” div from Publish admin metabox
- How to get the value of particular get $meta value in wordpress
- Add image custom attribute [closed]
- Problem display