Remove Admin Items for Users
This function allows you to hide critical admin pages from non-admin users. They will still be able to access the pages if they know the URL, but they will not appear in the admin menu.
This function allows you to hide critical admin pages from non-admin users. They will still be able to access the pages if they know the URL, but they will not appear in the admin menu.
I have a couple of applications where users need to upload files regularly, and have them renamed and placed into a specific directory. (These applications run independently from WP, so this is just straight PHP.
The form:
The processing page:
For those times when you want a nav menu centered in the container. Does not affect the alignment of the individual navigation links.
Prevent users from seeing the dashboard when they login at wp-login.php;
Add to functions.php.
To only re-direct non-admin users:
Easily create your own breadcrumbs without using a plugin.
Place in functions.php, and call with: the_breadcrumb().