mrengy / vanguard-history

History site for the Santa Clara Vanguard
GNU General Public License v3.0
0 stars 0 forks source link

On submission of an upload form, add material to WordPress media library and apply all submitted fields to the media items #8

Closed mrengy closed 2 years ago

mrengy commented 2 years ago

Found some examples and reference material using GravityForms and WordPress actions.

  1. https://docs.gravityforms.com/gform_advancedpostcreation_post_after_creation/
  2. https://docs.gravityforms.com/gform_after_submission/
  3. https://rudrastyh.com/wordpress/how-to-add-images-to-media-library-from-uploaded-files-programmatically.html
mrengy commented 2 years ago

Working to set ensemble and year for a single uploaded item. Need to:

  1. fix formatting of email field and name fields on edit media
mrengy commented 2 years ago

Asked question in https://wordpress.stackexchange.com/questions/405431/set-term-on-an-attachment-using-wp-set-object-terms-and-want-to-display-the-full