I'm just beginning with Wordpress (defecting from Joomla)- getting a little of difficulty getting began.

One factor I'm attempting to do is create a custom wordpress plugin that enables the consumer to include custom skills towards the site, in line with the active food selection.

What exactly I'm attempting to do is obtain the active menu id (menu-item-xx) and active parent menu id in order to add those to your body classes.

Is something I'm able to get from anything included in Wordpress or perhaps is this something I will have to create a custom for?

Any pointers most welcome...