You need to add a the edit_published_posts capability for the contributor role in the functions.php
add_filter('init', function () {
$role = get_role('contributor');
$role->add_cap('edit_published_posts');
});
Related Posts:
- Apply custom role capabilities to administrator (without plugin)
- Roles & capabilities GUI that does not create separate table
- How do I redirect upon login a specific user based on role?
- How to add another user to this remove_menu function?
- Add a new subscriber role using a function
- How to test for Super Admin
- Custom roles can’t access to wp-admin
- Custom registration URL lost when user makes signup mistake
- Custom function for specific user role
- Hide Author.php template from specific user role
- edit role display name and label name without plugins
- create shortcode to list users with specific meta key value
- Toggle User Roles with button
- How to change or add user role after getting post request data about pay? [closed]
- Execute a ultimate member action when user role is updated
- Allowing users to view private posts (pending approval)
- How to add custom JavaScript in functions?
- How to set default post editor based on role?
- load CSS only for administrators on backend
- Adding additional roles on registration
- The Capability to choose post/page template
- How to add array [closed]
- Get users with different roles and call function on each of them (user_meta)
- How can I show different content for different user-levels?
- Custom user role still showing up after deletion, ideas?
- How to load a css file depending on the current role
- Allow user select role in wordpress default registration without plugin
- Remove check boxes and its label from screen option for custom role
- Add Change role button for list of user in an event
- How to show only specific category post by user role without plugin and restrict all other cats
- Change user role based on total number of items ordered
- Remove all video attachment, both files and post/postmeta from database?
- delete_user_meta for user in spesific group
- Change the second role depending on the first
- Restrict certain roles registrations by domain
- Multisite Admin Roles
- add_role menu pages are not visible
- Welcome Mails based on user role
- Get all users from role and add to dropdown (select) – wordpress, javascript
- Would it be possible to disable embeds for specific user roles? If so, how?
- How to make my logged-in user-role shortcode displaying name instead of slug?
- remove links from images using functions.php
- Why does WordPress have private functions?
- What is the correct MIME type for PSD (Photoshop)
- How to add css class to cloud tag anchors?
- Remove Comments Metabox but still allow comments
- override parent theme configuration in child functions.php
- How to integrate owl carousel into theme without using a plugin?
- How to add an export function to a custom Option Theme Page
- Add class to Categories Widget
- Remove image from post_content on save_post
- WP_Cron doesn’t do the job: Multisite stats
- My function doesn’t work into WordPress but outside, it works – what am I missing?
- Why are image thumbnails cropped proportionally (not per dimensions)?
- Customize “the_posts_pagination” and put list instead div
- Multisite, either change the name of sample-page or create new page
- What is the “icon” parameter in wp_get_attachment_image_src used for?
- How to use thumbnails in gallery?
- Customizer field value into functions.php variable
- wp_insert_posts keeps adding multiple pages
- Best practice when altering a parent theme function inside a child theme?
- list tags with count in author profile page
- Breadcrumbs – Exclude Child Categories
- Auto delete post if certain custom field data is empty
- Is it OK to include files using ABSPATH?
- Limit length of first excerpt in the loop
- Registration Hooks don’t appear to be working
- is_author(get_current_user_id()) returns false when author id and user id match
- How to use selected WordPress functions?
- WP function won’t work on 404 template page
- How to obtain the recent posts without their content in an efficient way?
- Limit dimensions of “Full” size images
- Where to put random functions?
- Auto-Tweet if Type is ‘Status’ using OAuth
- Output a specific link in WordPress post if the single post’s category’s name contain certain word
- add_filter to specific WooCommerce Category
- Shortcode for Listing Users from Meta Value?
- Need To Change WordPress Meta Tags… Includes wordpress shortcodes
- Passing user enetered value in widget: number of words, for example
- Adding a section in line at the end of the main navigation menu in php
- How to store a number (coming from cookie) into query vars for later usage in other filters?
- update_post_meta is Updating with two page id
- Custom Image Size in Insert Media
- sort metabox columns in listing Single
- wp_nav_menu displaying all pages
- Why should I use get_template_directory() when include files?
- WordPress wp_dequeue_script remove all other scripts
- Error in “class-wp-hook.php”
- How to replace ACTION url from original wordpress login form?
- Add Javascript code to functions.php childtheme
- Ajax in plugin fails – but only on one blog – no idea why
- Problem with email function
- Remove post from latest posts after a month only with certain tag
- Display list of pages that contain a certain string within the slug
- I need to completely ‘wp_dequeue_script’; what’s the best way?
- $content is empty while using DOMDocument
- wordpress not calling peliegro functions.php?
- Problem with add_rewrite_tag
- Modify function Shortcode_atts
- delete_term is not working properly with add_action()