Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Attaching more than 1 parent (Post) to a media file

Posts/attachments can only have a single parent post, this is because the posts parent is a single column value in the posts table. This cannot be changed without making major modifications to WordPress core itself, and would introduce other unforeseen problems due to ambiguity.

Instead, if you want to group things by family member, you should use a taxonomy named family_member or something to that effect. Taxonomies are how you’re meant to organise and group content.

How you would integrate that into the Pods selection UI in your question however, is a subject beyond the scope of this stack, you need to ask in Pods communities or Pods support

Related Posts:

  1. Save data is post using php front end
  2. Importing Data from a Non-WordPress database, into WP
  3. Getting thumbnails of a custom posts featured images in a page-templates metabox
  4. List Taxonomies: Don’t list taxonomy if it has no post – depending on custom post-meta?
  5. Remove Post Custom Meta Box
  6. Can’t publish custom post type – “You are not allowed to edit this post.”
  7. Custom fields for custom post type
  8. Show future events based on custom field AND order by date
  9. Meta Data for Custom Post Type not saving
  10. Using preg_replace to filter custom textarea
  11. Check if post with same meta value exists
  12. Filter date from post meta when date is in string format
  13. Get only used meta_values
  14. If Post Meta Equals Current Title Conditional Advanced Custom Fields
  15. Is there a way to exclude posts based on meta_values?
  16. Do posts, pages and / or custom post type objects have unique ID numbers or can there be multiple objects with the same IDs?
  17. Archieve.php not loading for custom post type
  18. Submitting Custom Post Types with custom fields from Front-end form
  19. create custom meta box with default value
  20. Get $post->ID from a URL
  21. Displaying a div from an assigned meta_value when on a page
  22. Meta data (Tags and Categories) for Custom Posts not showing.
  23. Display different information of a custom post type
  24. Create Array from custom post type to display a slider
  25. Setting Post Title via Meta Data returns Auto-draft
  26. How to Echo Metadata Value in Currency Format
  27. Issue on Working with Metabox – Checkbox to enable Sale Items
  28. Filter posts by tax (dropdown) and meta value
  29. delete_post_meta() for whole CPT / multiple posts?
  30. How to get specific post meta by title or id
  31. Publish and save specific postmeta to a filtered post_type
  32. How to move a post to different post type with all meta data?
  33. Why do I have to press the “Update” button twice to save my meta box values?
  34. How can I display a drop-down select of Post Names
  35. how to show records that don’t have custom meta value
  36. WP API Response does not show my registered metadata
  37. How to detect that the save_post hook is calling the callback associated to the current edit post page only
  38. $post->post_meta not pulling any post in wordpress/php
  39. Values from meta-box not on $_POST
  40. WP_Query of custom post type sorted by meta_key has unexpected results
  41. Returning a custom content types with meta values
  42. Custom post type suddenly stoped working after WordPress 5 update
  43. Batch Extract Date from post title and put into ACF custom field
  44. copy images from custom field to another custom field
  45. File sharing platform for user contributions? [closed]
  46. How to show custom field on specific custom post type posts only when filled
  47. How to handle this specific case of custom post type?
  48. Save CTP post meta different values each day without overwriting previous values
  49. get_post_meta returns NULL in front-end, but correct result in back-end
  50. Cannot obtain custom meta information
  51. Problem with adding custom post type meta to header by plugin
  52. is_main_query() never called on WP 4.4
  53. How can I output WPAlchemy repeating fields meta values in my page template?
  54. Meta box data is saved but NOT displayed in the meta box text field. Why?
  55. How to call a post’s metadata in shortcode.php?
  56. Save Metabox Custom Field Value
  57. Echo custom post meta from options array
  58. Value of post meta dropdown is not showing in WordPress
  59. Meta box data not saving
  60. Get all metadata for a given custom post type
  61. WP_Meta_Query object with conditionals
  62. Trying to write shortcode with get_post_meta but isn’t working
  63. Related posts meta_query CPT
  64. Meta box with front-end styling
  65. Sanitaizing Select Optin For Custom Post Type Metabox in WP
  66. How can I get some of a posts meta data whilst it is still inserting?
  67. How to retrive Custom Post Type Meta Fields in Custom WP_Query
  68. Advanced custom field – posted fields from custom post type
  69. Cannot Save MetaBox Data in Custom Post Type
  70. delete duplicate meta_value with same post_id
  71. HM CMB: Post Select Field for CPT ID
  72. Search CPT Title AND Meta
  73. Getting WordPress to store 0 values for custom post type meta
  74. Cannot upload featured image to a custom post type
  75. updating one custom meta field only
  76. Add a class to post_class if more than one post shares same meta_value_num
  77. Custom Attachment Type
  78. Function to return values from metabox
  79. Add a meta field to the list of results for a custom post type
  80. best way to use custom taxonomy, post type and meta in a job system
  81. Empty meta-box returns publishdate if no value is set?
  82. Say I have a tech blog, how best would I store technical specs for a phone, if i use custom post types
  83. Building tags and archive using meta from custom post type
  84. How to order custom posts by one of the custom fields value, ‘date’?
  85. Problem Saving Custom Post Type Meta Values
  86. Filter search posts by post meta?
  87. Custom Meta Box with variable number of fields
  88. Custom fields for post or terms which don’t update on post update
  89. Hide title field of selected post-types on edit pages
  90. WordPress CPT Taxonomy Dashboard Search – How to include taxonomy in search?
  91. Custom Post Type meta data getting deleted on bulk editing taxonomies
  92. Should I use a custom taxonomy or custom post type for grouping a list of panels associated with a group of tests?
  93. How to create review point system for CPTs (many-to-many relationship)
  94. After inserting new post with wp_insert_post() the post is not visble to WP_Query, but the same WP_Query works for post inserted from wp-admin panel
  95. Using publish_{custom-post-type} hook for custom post type to update meta doesn’t work
  96. Get_post_custom not fetching value from array wordpress
  97. Add a form in every post and save data in post meta
  98. How can I write a function that would update any missing specific post metadata?
  99. SELECT custom post type and its meta in SQL
  100. How to use multiple Meta Field from CPT as Post permalink
Categories custom-post-types Tags custom-post-types, media-library, media-settings, post-meta
How to map domains to specific pages in WordPress and display them in the address bar?
Unable to insert two value in two different columns (WordPress database)

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress