• Resolved dgissen

    (@dgissen)


    Hi: I’m running a child theme with multiple custom taxonomies. One of them “producer link” is not working correctly. The most common feature isn’t working.

    Here is how I registered it.

    `// Producer Link
    $producerlink_labels = array(
    ‘name’ => _x( ‘Producer Link’, ‘taxonomy general name’ ),
    ‘singular_name’ => _x( ‘Producer Link’, ‘taxonomy singular name’ ),
    ‘search_items’ => __( ‘Search in producer links’ ),
    ‘popular_items’ => __( ‘Popular producer links’ ),
    ‘all_items’ => __( ‘All producer links’ ),
    ‘most_used_items’ => null,
    ‘parent_item’ => null,
    ‘parent_item_colon’ => null,
    ‘edit_item’ => __( ‘Edit producer link’ ),
    ‘update_item’ => __( ‘Update producer link’ ),
    ‘add_new_item’ => __( ‘Add new producer link’ ),
    ‘new_item_name’ => __( ‘New producer link name’ ),
    ‘separate_items_with_commas’ => __( ‘Separate producer links with commas’ ),
    ‘add_or_remove_items’ => __( ‘Add or remove producer links’ ),
    ‘choose_from_most_used’ => __( ‘Choose from the most common producer links’ ),
    ‘menu_name’ => __( ‘Producer Link’ ),
    );
    register_taxonomy(‘producer link’,array(‘producers’,’wines’),array(
    ‘hierarchical’ => false,
    ‘labels’ => $producerlink_labels,
    ‘show_ui’ => true,
    ‘update_count_callback’ => ‘_update_post_term_count’,
    ‘query_var’ => true,
    ‘rewrite’ => array(‘slug’ => ‘producer-link’ )
    ));`

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom Taxonomy "most common" not appearing’ is closed to new replies.