Support

Account

Forum Replies Created

  • Hello Elliot

    Here is my code from the function.php
    function create_taxonomies() {
    // Add new taxonomy, make it hierarchical (like categories)
    $labels = array(
    ‘name’ => __( ‘Tøjer’ ),
    ‘singular_name’ => __( ‘Tøj’ ),
    );

    $args = array(
    ‘hierarchical’ => true,
    ‘labels’ => $labels,
    ‘show_ui’ => true,
    ‘show_admin_column’ => true,
    ‘query_var’ => true,
    ‘rewrite’ => array( ‘slug’ => ‘toj’ ),
    );

    register_taxonomy( ‘toj’, array( ‘attachment’ ), $args );
    }
    And an image how it looks in media tab and an image how it looks i the gallery edit media popup
    Hope it helps
    Thanks

  • Sorry i try again

    I have made a custom taxonomy for my attacments, if i edit the attachments under media i will be presented with a list of checkboxes with the terms of the taxonomy.
    Then i have used your plugin ACF with the Gallery addon for a post type i have called shops.
    All my shops then have a gallery of products in their catalog but when they use the gallery plugin and click on the edit link on the image represented by af pencil it shows the taxonomy as a textbox.
    I would like to have it not as a textbox but as list of checkboxes, radiobuttons or select list.
    Because if they just use the textfield they dont get presented with any terms, so they need to know all the terms. This will make a mess in my filter function on the front end.

    Hope it is easier to understand now
    Thanks
    Mats

Viewing 2 posts - 1 through 2 (of 2 total)