Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Upload/Insert Bar Not Visible for Contributor WordPress


<strong>I have someone on my site as a Contributor, but the Upload/Insert Bar is not showing when they add a new post.</strong> This is the bar that I'm referring to - [[LINK href=""]][[/LINK]].
Is there a way to add this for a Contributor?</strong>

Thanks for your help!

Answers (1)


Romel Apuya answers:

yes.. try this..

//allow contributor to add photos
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');

Spencer Barfuss comments:

You got it! Thanks!