Support » Plugins » edit_posts tied to "Right Now" Widget?

  • Hello-

    I’ve got a few custom post types developed for students to use but I want them to still see the “Right Now” dashboard widget. Unfortunately, my role, “student”, does not include the edit_posts capability and, thus, is not allowing that role access to the “Right Now” widget.

    Why is edit_posts attached to the widget? Any idea on how I can get access to the Right Now widget without edit_posts?

Viewing 1 replies (of 1 total)
  • I have the same problem. I added this code to functions.php:

    function mysite_add_dashboard_widgets() {
    if ( is_blog_admin() && current_user_can('my_custom_capability') )
        wp_add_dashboard_widget( 'dashboard_right_now', __( 'Right Now' ), 'wp_dashboard_right_now' );
    add_action('wp_dashboard_setup', 'mysite_add_dashboard_widgets' );

    Now I just need to have them log in to the home page rather than the profile page

Viewing 1 replies (of 1 total)
  • The topic ‘edit_posts tied to "Right Now" Widget?’ is closed to new replies.