WordPress Add Media Function

Upload/Insert buttonsWordPress has some built in upload/insert functionality which I have supplemented with the Flexible Upload plugin.  It allows you to add an image, a video file or an audio file to your post.  Media is uploaded from your PC, a URL or from existing media in the gallery.  I keep getting error messages in the box the pops up:

Click the "Add Media" buttonWarning message

Having done a quick search on WordPress.org for the plugin details to check for support information I found this post that outlined this solution:

Add the following code to media.php in /your-wp-folder/wp-admin/includes/

function media_admin_css() {
 wp_admin_css('css/media');
}

Note that that there are single quotes around ‘css/media’.

Leave a Reply

Your email address will not be published. Required fields are marked *