Support

Account

Home Forums General Issues Merging a Post Object and Taxonomy into a Select Reply To: Merging a Post Object and Taxonomy into a Select

  • You could do something like this https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/ but your select value would have to have some why to know if the selection is a post of category.

    For example you could use
    value: p-$post_id
    label: Post Title

    AND

    value: t-$term_id
    label: Term Name

    Then loop over the selected values to display, parse the value to figure out if it for a term or post and then do the appropriate thing for that object type.

    This would cause a significant loss in performance.