Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterCreate ‘mu-plugins’ folder. File name does not matter. WordPress executes any .php file it find in this folder.
https://codex.wordpress.org/Must_Use_PluginsVladimir
KeymasterTry another variant. Create .php file, open it in editor, start from <?php tag and insert there a code above, save it. Then put that file to the ‘wp-content/mu-plugins/’ folder (“must use” plugins). Will it help?
Vladimir
KeymasterThis post will help:
https://www.role-editor.com/woocommerce-admin-bar-access/Vladimir
KeymasterThanks. It seems to be correct.
Please check, if your child theme is really active.
Do you use WooCommerce plugin?Vladimir
KeymasterShow the code after modification.
Vladimir
KeymasterHi,
This code shows admin top menu bar for the role:
add_action('wp_head', 'show_top_admin_menu_bar', 100); function show_top_admin_menu_bar() { if (current_user_can('some_role')) { show_admin_bar(true); } }
Pay attention for the 100 value of a priority parameter. With this value code should be executed after that other plugin did its work.
You may add it to the functions.php file of your active theme.
Vladimir
KeymasterInteresting issue.
Is it possible to look on the issue on-line?
If “Yes”, send super-admin login credentials to the [email protected]Vladimir
KeymasterI provide support via forum or email only.
Is it possible to get your theme or plugin copy with step by step instruction how to repeat an issue? If “yes” send the installation package to support [at-sign] role-editor.com
I will use it at localhost for the testing purpose only.Vladimir
KeymasterJust tested URE Pro with all add-ons activated together with my own plugin, which uses front-end calls to WordPress AJAX.
It’s built according to this doc. page:
https://codex.wordpress.org/AJAX_in_Plugins
It works fine as for logged-in, as for non-logged-in users.So I need more information to repeat an issue.
If your functionality is included into the theme or plugin, is it possible to get it for the testing?Vladimir
KeymasterLet me know what checkboxes are turned on at the your site Settings->User Role Editor -> Additional Modules tab?
Vladimir
KeymasterHi,
Development version 4.19.b20 contains this functionality now. It is available from the download page after login.
Please test. The feedback is very appreciated.Vladimir
KeymasterIt is possible to set posts/pages edit restrictions for selected users:
https://www.role-editor.com/allow-user-edit-selected-posts/
Plugin still does not support such restrictions for the roles.You may insert the provided code into your active theme functions.php file.
Vladimir
KeymasterExcellent! Thanks for the feedback.
Vladimir
KeymasterHi,
I agree with you. I will try to add secondary roles multiselect list to the new user creation page to the next version of URE.
Vladimir
KeymasterOpen “Admin Menu” for the “Administrator” role, as it should have access to the full menu. Check what capability is really used to protect those standard menu items for the custom post types.
-
AuthorPosts