Support » Plugin: Quick Restaurant Menu » How to add category for menu ?

  • Resolved trevize

    (@reventlov)


    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' );
    }
    • This topic was modified 2 years, 1 month ago by trevize.
    • This topic was modified 2 years, 1 month ago by trevize.
    • This topic was modified 2 years, 1 month ago by trevize.
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.