Jump to content

Custom Field Choosing Multiple Posts


bk-1530585905

Recommended Posts

I would like to have a custom field that is a multi-select that chooses one or more related posts for a specific category.

Should those posts be another listing type or can they be just generic posts?  I would prefer it to be generic posts if possible as they're updated via the scraper regularly (but never deleted).  If they need to be another listing type, then how can I programmatically create/update those listings?  (I can do this with generic posts with another plugin, but the plugin doesn't know how to fill in the summary and possibly other required/optional fields).

I have a scraper that has pulled in about 7000 posts (diseases), and I need a field in the "drugs" listing type that relate to all the diseases it is associated with, and would like it to be a link to the post that describes that disease. 

Link to comment
  • 3 weeks later...
×
×
  • Create New...