WordPress Tips: Allow Contributors to Upload Files


Sponsored Links






If you WordPress site, have contributors users, there are some limitation. The big problem is your contributors can’t upload files on your WordPress site. The solutions of this problem is really simple. We need to add some functions in your current theme.

Allow Contributors to Upload Files - Nicole Scherzinger

Allow Contributors to Upload Files - Nicole Scherzinger

He we go what you should do. Open functions.php and write down this code

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');
}

This code original created by Ryan Margani, and shared by WP Cookies and WP Recipes. I hope our Today WordPress tips useful on you.

Subscribe to Full RSS Feed

RSS FeedIf you thing this article useful, please consider subscribing to our RSS Feed or e-mail updates and stay updated with us. You can also follow @WPTricksNet on twitter for latest updates.

About WP Tricks

We are WordPress Family, we collected and writed useful tips and tricks for you WordPress. We share it for you...

Related Tips and Trick from Local Data and on The Net

Allow Upload of More File Types

Why I love WordPress? It’s because many developer and designer support out there. Some of them give us nice tutorial and tricks. On this post I will share to all of you about How To allow upload of more file … Read More

Tutorial and Trick Upload WordPress Theme

Now, Added New WordPress Theme much easier, there are so many ways to do this. The easiest method is Browse on your WordPress Dashboard Appearance Panel > Add New Themes and select some options field your query and do search … Read More

Tiny Tips to Secure your Plugins

WordPress Themes and WordPress Plugin is the most enhanced method that we can do easily and quickly. But for some reason there are hacker or BAD HABITS from netter, their tried to do something weird on our WordPress website. On … Read More

How To Backing Up WordPress Files

For some reason we need regularly to Back Up our WordPress Files, we didn’t know our server will be running all the time or corrupted. So Back Up WordPress Files is the right solution. I will show you how to … Read More

How To To Include Template Files In WordPress

Something that really interesting in WordPress is Custom Page Templates. With custom page templates we can create unique WordPress Blog much easier. Now we will share many common use to include template files in WordPress. Inserting Using PHP St

Basic Tips for Improving WordPress Themes

Six Revisions write nice article about 10 Basic Tips for Improving WordPress Themes. This tips really useful for all of you to create your WordPress Theme stunning and much better than others. WordPress become more popular as CMS this not … Read More

WordPress Tips: Allow Contributors to Upload Files / WordPress

How to Let Contributors Upload Photos in Wordpress | eHow.com. How to Let Contributors Upload Photos in Wordpress. To allow Contributors to upload images, you much read more

Source: http://wptricks.net/wordpress-tips-allow-contributors-to-upload-files/

WordPress: Allow Contributors To Upload Files

Actually there are two ways to allow contributors to upload files. Either you can try a WordPress plugin REFERENCE : 7 Tips To Be A Hero On Blog Commenting read more

Source: http://hellboundbloggers.com/2010/05/12/allow-contributors-to-upload-files/

Allow Upload of More File Types / WordPress Tricks & Tips

WordPress Tips: Allow Contributors to Upload Files. If you WordPress site, have contributors users, there are some limitation. The big problem is your contributors can’t read more

Source: http://wptricks.net/allow-upload-of-more-file-types/

How to Let Contributors Upload Photos in Wordpress | eHow.com

How to Let Contributors Upload Photos in Wordpress. To allow Contributors to upload images, you much check the "upload_files" box, and save Tips & Warnings read more

Source: http://www.ehow.com/how_8527371_let-contributors-upload-photos-wordpress.html

Allowing Wordpress Contributors to upload files « « SoulSizzle

When managing a multi-user WordPress setup, any post by a user with the Contributor class will be held for editing/moderation by an editor or administrator before it read more

Source: http://soulsizzle.com/quick-tips/allowing-wordpress-contributors-to-upload-files/


5 Responses to WordPress Tips: Allow Contributors to Upload Files

  1. Pingback: Tweets that mention How to Allow Contributors to Upload Files in Wordpress # WordPress Tricks & Tips -- Topsy.com

  2. Pingback: wp-popular.com » Blog Archive » How to Allow Contributors to Upload Files in Wordpress

  3. Now thats a neat trick – thanks, really useful

  4. Lemont says:

    I was wondering where do I need to add this code in the functions.php and how does it work. When I try to change the avatar on my site from an uploaded image to another it doesn’t change. I get an error on page. Is their any help out there. I’m using p2 automatic theme. Thanks

  5. Pingback: Tiny Tips to Secure your Plugins | WordPress News Wire

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>