Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterOK. I looked at the WordPress source code.
I don’t see any access conditions for this sections at nav-menu. They are the usual meta boxes registered for this page.
Look at the “Screen Options” at the top of the nav-menus.php page, just in case if a “Projects” checkbox is not turned ON for this user.Vladimir
KeymasterJust a guess, is there at least one project available for editing to this custom role at wp-admin?
Vladimir
KeymasterHi Jase,
Is this custom post type visible at admin menu (wp wp-admin)?
‘Pages’ is a WordPress built-in post type. Your custom post type should be visible at menu editor page as a separate widget, like ‘Projects’ at your screenshot.Vladimir
KeymasterHi,
Right, the latest version you can download from the download page after login to role-editor.com is 4.49.2. Click large read “Download” button to get it.
I re-tested minute ago with expected result.It’s correct and allowed to input your license key to one stage server and update URE Pro automatically.
Vladimir
KeymasterHi,
try this code:
add_filter('ure_post_edit_access_authors_list', 'ure_restrict_authors_list'); function ure_restrict_authors_list($authors) { $role = 'author'; $user = wp_get_current_user(); if (!in_array($role, $user->roles)) { return $authors; } $args = array( 'role' => $role ); $wp_user_search = new WP_User_Query( $args ); $users = $wp_user_search->get_results(); $ids = array(); foreach( $users as $user ) { $ids[] = $user->ID; } $ids_str = implode( ',', $ids ); $authors = URE_Utils::concat_with_comma( $authors, $ids_str ); return $authors; }Replace ‘author’ role with your role id, like ‘role_b’. Do not forget to add ‘edit_others_posts’ capability to role_b role in order it can edit posts from other authors. Only posts from users with role_b role will be available for editing for any user with role_b role with this code applied.
Vladimir
KeymasterThanks for sharing this information.
Vladimir
KeymasterHi,
1) role A: Edit restrictions add-on has “Own data only” option. It hides posts created by other authors from the current user at wp-admin posts list page.
2) role B: There is no criterion for edit restrictions by the role of authors. It’s possible to use tags or categories though. This post may give a starting point.
Vladimir
KeymasterStrange. Thanks again. I will make more testing with different ISPs.
Vladimir
KeymasterThank you for the help with testing CF.
I tested again via other provider and got the same error message. Clicked “Send” button again (as it offered) and message was send. Can you make the same?Vladimir
KeymasterCapabilities assigned to a user via role(s) may be revoked from a user via role(s) only. That’s why such checkboxes are shown in grey color, disabled.
You can create another role and grant it to a user instead of previous one. You can just revoke role from a user and grant him needed capabilities directly after that.
Vladimir
KeymasterThanks for the message about role-editor.com contact form.
I re-tested it successfully. I hope it was a temporal networking issue in your case as CF uses Google Recaptcha v.3 service for protection.Vladimir
KeymasterI restored Pro Personal membership for your account.
There are no any automatic recurring payments applied to role-editor.com subscribers. So you don’t need to cancel subscription in advance.
role-editor.com will send automatic notification in a week before subscription expiration date and notify you about subscription expiration. That’s it.21/12/2018 at 02:26 in reply to: Give a role access to edit a spesific menu in Appearance > Menu #5348Vladimir
KeymasterWordPress allows to modify a list of available menus via ‘wp_get_nav_menus’ filter.
I will add UI for this feature to URE Pro at the begin of 2019.Vladimir
KeymasterProblem was discussed and resolved by email.
Vladimir
KeymasterHi Ron,
Clarify,
– What options is not shown at page edit page for your suddenly restricted account (link to screenshot is appreciated)?
– To what plugin those options belong? -
AuthorPosts