Hey. I've been trying to figure this out for a long time but can't seem to crack it.
I have created a menu using Wordpress 3 menu editor and it's all fine and working.
But I want to manually add an item (or few) to one of the sub menus which will only show up in the submenu if logged in user is admin (can add_users).
How can I achieve this?
I already came up with having two separate menus solution myself for another purpose. But that is not what I want in this case.
Say I have a menu called "Archives" It has a submenu with items "One" "Two" "Three". This I have built using the Wordpress menu system.
Now I want to manually add a new item to the Archives menu, let's call it "Four" but I only want this to appear in the menu when a user is logged in and is admin.