Skip to content

Instantly share code, notes, and snippets.

@timwis
timwis / gist:5554718
Last active December 17, 2015 04:59
Integrate filepicker.io with Wordpress' Jetpack contact form plugin

Installation

  1. Go to Plugins > Editor
  2. Select Jetpack by Wordpress.com at the top-right
  3. Select jetpack/modules/contact-form.php from the list of files on the right (changes the directory)
  4. Select jetpack/modules/contact-form/grunion-contact-form.php from the list of files on the right
  5. Search case 'date'
  6. Below that case and before default, add the following case, replacing ***API-KEY-GOES-HERE*** with your filepicker.io API key, and adding any other filepicker.io rules (mime types, file size, etc.) as attributes