Skip to content

Instantly share code, notes, and snippets.

View wpsitesimple's full-sized avatar

Bruce Munson wpsitesimple

  • Still Waters Media Group, LLC
  • Florida, USA
View GitHub Profile
add_filter( 'fl_module_upload_regex', function( $regex, $type, $ext, $file ) {
$regex['photo'] = '#(jpe?g|png|gif|bmp|tiff?|svg)#i';
return $regex;
}, 10, 4 );
@wpsmith
wpsmith / footer-widgets-height.js
Created August 18, 2012 01:20
JS: Resizes Genesis Footer Widgets to Equal Heights (responsively)