How to add category for menu ?
-
Hi,
Is there a default category for menu ?
How can I attribute one ?
Regards.
EDIT:
found it, it works :
add_action( 'init', 'sk_add_category_taxonomy_to_menus' ); function sk_add_category_taxonomy_to_menus() { register_taxonomy_for_object_type( 'category', 'erm_menu' ); }
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to add category for menu ?’ is closed to new replies.