![]() | ![]() | ||||||||
| | #1 |
| WordPress Developer War Room Member Join Date: Jul 2012
Posts: 27
Thanks: 4
Thanked 4 Times in 3 Posts
|
You can remove some menus of the WordPress interface by adding the following code to the functions.php file of your theme: PHP Code: corresponding line of code. |
|
WordPress plugins to: => Sell your products => Create your affiliate program => Create your members areas | |
| | |
| | #2 |
| Warrior Member Join Date: Aug 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
can we remove specific menus for specific roles?
|
| | |
| | #3 |
| WordPress Developer War Room Member Join Date: Jul 2012
Posts: 27
Thanks: 4
Thanked 4 Times in 3 Posts
|
Yes, like this: PHP Code: |
|
WordPress plugins to: => Sell your products => Create your affiliate program => Create your members areas | |
| | |
| | #4 |
| Active Warrior Join Date: Jul 2012 Location: Albania
Posts: 70
Thanks: 25
Thanked 9 Times in 8 Posts
|
Isn't it bad to use specific menu id-s? What if we add or remove menus from backend? You will still need to edit the actual php code then. Now very flexible...
|
| | |
| | |
| | #5 |
| WordPress Developer War Room Member Join Date: Jul 2012
Posts: 27
Thanks: 4
Thanked 4 Times in 3 Posts
|
WordPress developers won't change the numeric keys of the current menus.
|
|
WordPress plugins to: => Sell your products => Create your affiliate program => Create your members areas | |
| | |
| | #6 |
| HyperActive Warrior War Room Member Join Date: Sep 2008 Location: Malaysia
Posts: 195
Thanks: 9
Thanked 13 Times in 13 Posts
|
Thank for this post it helps a lot
|
|
New WSO - Coming Soon...
| |
| | |
![]() |
|
| Bookmarks |
| Tags |
| menus, remove, wordpress |
| Thread Tools | |
| |
![]() |