The code
Place the snippet bellow in your theme’s functions.php file.
if ( current_user_can('contributor') && !current_user_can('upload_files') )
add_action('admin_init', 'allow_contributor_uploads');
function allow_contributor_uploads() {
$contributor = get_role('contributor');
$contributor->add_cap('upload_files');
}
Thanks to Ryan Marganti for this snippet.
Our WordPress themes
We have a few WordPress themes that we would like you to take a look at if you want.
check out the portfolio











wpCookies actually got the snippet from my site originally, but I’m glad to see helpful information is spreading.
Yeah, sorry about that, i’ll fix the link in a min.
Thanks for this. I was actually using a plugin for this, but now I can remove it. It is better as I will minimize the number of plugins installed.