Adminimize does not remove menu items etc, it just keeps them visually hidden. In other words, your admin pages is still accessible.
Add this code to your functions.php
file:
add_action('admin_menu', 'edit_trustees_page');
function edit_trustees_page() {
global $submenu;
$trustees_page_id = 1; //change this value
$url = get_admin_url() . 'post.php?post=" . $trustees_page_id . "&action=edit';
$submenu['index.php'][] = array( 'Edit Trustees', 'manage_options', $url ); // replace manage_options with your custom role
}
It will add a new submenu to Dashboard
. You can change index.php
to any of these:
index.php => Dashboard
edit.php => Posts
upload.php => Media
link-manager.php => Links
edit.php?post_type=page => Pages
edit-comments.php => Comments
themes.php => Appearance
plugins.php => Plugins
users.php => Users
tools.php => Tools
options-general.php => Settings
Related Posts:
- Show different badge based upon the user role
- remove/hide pages from users backend
- List all private pages user has access rights to read
- Allowing user to edit only certain pages
- Check IF is a “single product page” and Check the “role” for a Redirect
- Restrict admin access to certain pages for certain users
- How to count current user’s pages?
- How to display page title+link of page created by user
- Associate Page with User
- User capability of create page/new page
- Personal page for every user (not just authors)
- Adding New Users to Your WordPress Site for edditign only one page
- How to create a page that lists all the experts(Users with same access permission as author)?
- Restricting Pages based on Hierarchy and User Role
- New user Registration data imported into Page
- Allow a user to edit their own page and profile only
- Custom page only editable by one user
- One author not showing in Author drop down list while editing page
- Author page like wordpress answers
- Custom user tables not working after migration
- When I enter password, I’m redirected to the WordPress login form
- Every change made by “Author” role is going to “pending review”
- Not allow add New Page for role ‘editor’
- Page view displays not properly after update wordpress
- How to limit the pages shown in the page manager to those created by the logged in user?
- Add role and edit page capabilities
- disable trashability for certain pages
- Paginate Links not working
- Forbid certain users to access a specific page
- Save search criteria per user and show on custom user page
- How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount
- User profile in front-end
- file upload user profile
- Is it possible to keep the page title from actually appearing at the top of the page?
- In WP, Google map error initMap is not a function [closed]
- Output the published date / last modified date of specific page
- Custom wp_list_pages() function
- How to display text of a page in home or custom page?
- Remove social media sharing buttons on a download page
- WordPress is picking up links that don’t exist
- Edit the text location of a form
- Page-parent field not appearing in editor [closed]
- How to set a default page for load first time?
- Display multiple page contents under single page
- How do I create a page that displays the homepage?
- Create a plugin to create a new page in wordpress for each time a record is added into the database
- Query page: preserve page formating
- How can a user login on a wordpress page?
- Missing page on wordpress “Pages” dashboard [closed]
- How to give different user access to different people?
- For some reason my posts are not showing up on my front page [closed]
- How to remove container box in WordPress pages? [closed]
- Increase by one the user counter on specific role
- How do you add a featured image to a page (not post)?
- All pages duplicated like a mirror with critical errors
- Change the environment for creating a WordPress page
- How to give access to the particular page in wordpress for specific username/email NOT roles [closed]
- current_user_can() returning true for capability when the user and role do not have the capability
- Extend user search in the users.php page to allow for searching by role and excluding specified email domains from the “users search” input box
- Show only users with the same role in Dashboard user list
- How to lock users account until approvation
- Redirect user based on role when they try access a particular page
- How to create a specific role to manage users
- How to customize the author page in wordpress?
- Hide categories from authors
- My homepage is gone but header is still there
- Split Page Links
- custom css in one page
- Custom SINGLE page with custom metaboxes and custom template
- Ask for template when adding a new page
- Add tags to long page that is broken up into subpages?
- display new WordPress page content
- Dashboard show only published pages instead of all pages
- Send email to user if their role is changed to Author
- How to view front-end of WordPress website, using Atom?
- page title showing twice [closed]
- How to get a list of pages (not posts) with specific tags?
- I reached halfway through a WordPress tutorial to find out I began wrong for a new comer to WP
- How to create a User Role and give permission to only use Web Stories plugin?
- Remove My Account Menu items in Woocommerce based on user roles
- Fresh WordPress installation not able to simply show page content
- How to create custom user role without plugin?
- Can’t create new pages in wordpress
- WordPress: New user role which is ONLY allowed to manage media
- Custom template is not showing up in templates dropdown list after re-naming it
- How to add page category slug to base url
- how to add a .accdb file to your wordpress website
- Why is a page shown with ‘hidden’ next to the name in the list of pages if the page is set to public?
- Custom Admin Menu Report for Specific User ID
- How to change the default location where new post gets stored?
- May I know where to edit the tax rate?
- How to add custom user role into wordpress
- Need pages with same names in multiple subdirectories
- Why does updating the front page give a 403, but no other page?
- Website content shifted all the way to the left
- How to allow Contributors to edit their own posts, whilst still needing to be reviewed by an admin?
- Live page errors should be hidden
- Search page doesn’t recognise post_type=page
- Best approach to create a customized page
- How to make a secondary Pages Screen