Support » Plugin: F4 Media Taxonomies » Many drop down category menus

  • Resolved deniswporg

    (@deniswporg)


    Hi,

    Your plugin works perfectly as described, however I need many drop down category menus not drop down tag menus. So I tried the following code
    ——————————————————————
    add_action(‘init’, function() {
    register_taxonomy_for_object_type(‘category’, ‘attachment’);
    });

    add_action(‘init’, function() {
    register_taxonomy_for_object_type(‘media-category’, ‘attachment’);
    });
    ———————————————————————–
    Result: only one drop down category menu. Then I tried different ways but I could only add many drop down tag menus and always only one drop down category menu.
    So how can I add an additional category menu ?
    The advantage of a category menu is that it shows a list of selectable categories when I edit an image and the tag field does not show anything, that is why I want an additional category menu.

    Thanks

  • The topic ‘Many drop down category menus’ is closed to new replies.