Tag Info

Hot answers tagged

1

I think it would be useful to create a custom walker for your menu. In the following code example I made use of the Menu Item Object. You can take a look at the object output here. An object type is specified for every menu item. So I just compare if the object is a category. If yes I made use of the specified object ID to get the category + category ...



Only top voted, non community-wiki answers of a minimum length are eligible