Role Manager plugin: Role Manager for WordPress << WordPress Plugin, which works fine with 2.8.5.
This plugin will restrict so that user can only edit their posts and pages:
<?php
/*
Plugin Name: Edit only Your Posts and Pages
Version: 1.0
Plugin URI: http://wordpress.org/support/topic/287591?replies=24#post-1214104
Description: Only show pages for current user in edit posts/pages
Author: t31os_
Author URI: http://wordpress.org/support/topic/287591?replies=24#post-1214104
*/
function posts_for_current_author($query) {
if($query->is_admin) {
global $user_ID;
$query->set('author', $user_ID);
}
return $query;
}
add_filter('pre_get_posts', 'posts_for_current_author');
?>
Save that as edit-only-your-posts-and-pages.php
in your plugins folder.
Good idea; that plugin is easier to use then Role Manager.
Works fine for left nav… Thank you!
… but the dashboard shows “totals” still… how can we fix that, too?
Yes, I am greedy… 🙂
Oh, it doesn’t filter “links”…