• Resolved Luis Martins

    (@lmartins)


    Im trying the option to generate custom taxonomies using the functions created by your plugin.

    In my test, the plugin generated the following code:

    add_action('init', 'cptui_register_my_taxes_featured');
    function cptui_register_my_taxes_featured() {
    register_taxonomy( 'featured',array (
      0 => 'post',
      1 => 'page',
    ),
    array( 'hierarchical' => true,
    	'label' => 'Featured',
    	'show_ui' => true,
    	'query_var' => true,
    	'show_admin_column' => false,
    	'labels' => array (
      'search_items' => 'Featured',
      'popular_items' => '',
      'all_items' => '',
      'parent_item' => '',
      'parent_item_colon' => '',
      'edit_item' => '',
      'update_item' => '',
      'add_new_item' => '',
      'new_item_name' => '',
      'separate_items_with_commas' => '',
      'add_or_remove_items' => '',
      'choose_from_most_used' => '',
    )
    ) );
    }

    The issue im seeing is related to some labels, as shown on the following screenshot:
    https://www.dropbox.com/s/sa1h559xzatbenw/Screenshot%202014-10-28%2012.14.57.png?dl=0

    Thanks.

    https://www.ads-software.com/plugins/custom-post-type-ui/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    To help determine what may be going on, could you screenshot your label settings area for the taxonomy? Curious if it’s not outputting default ones like perhaps expected, or somehow the empty string labels are taking precedence over the core default. Also could be a case of it needs to not output anything if empty.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hoping any issues with this is taken care of in the latest version of the plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CPT generated code output issues’ is closed to new replies.