Scott Skuba Taxonomy Test
Just checking how the GenerateWP options are affecting the code
if ( ! function_exists( 'skuba' ) ) { // Register Custom Taxonomy function skuba() { $labels = array( 'name' => _x( 'skuba', 'Taxonomy General Name', 'scott_trips' ), 'singular_name' => _x( 'skuba', 'Taxonomy Singular Name', 'scott_trips' ), 'menu_name' => __( 'Taxonomy', 'scott_trips' ), 'all_items' => __( 'All Items', 'scott_trips' ), 'parent_item' => __( 'Parent Item', 'scott_trips' ), 'parent_item_colon' => __( 'Parent Item:', 'scott_trips' ), 'new_item_name' => __( 'New Item Name', 'scott_trips' ), 'add_new_item' => __( 'Add New Item', 'scott_trips' ), 'edit_item' => __( 'Edit Item', 'scott_trips' ), 'update_item' => __( 'Update Item', 'scott_trips' ), 'view_item' => __( 'View Item', 'scott_trips' ), 'separate_items_with_commas' => __( 'Separate items with commas', 'scott_trips' ), 'add_or_remove_items' => __( 'Add or remove items', 'scott_trips' ), 'choose_from_most_used' => __( 'Choose from the most used', 'scott_trips' ), 'popular_items' => __( 'Popular Items', 'scott_trips' ), 'search_items' => __( 'Search Items', 'scott_trips' ), 'not_found' => __( 'Not Found', 'scott_trips' ), 'no_terms' => __( 'No items', 'scott_trips' ), 'items_list' => __( 'Items list', 'scott_trips' ), 'items_list_navigation' => __( 'Items list navigation', 'scott_trips' ), ); $rewrite = array( 'slug' => 'grc-custom-slug', 'with_front' => true, 'hierarchical' => true, ); $args = array( 'labels' => $labels, 'hierarchical' => false, 'public' => true, 'show_ui' => true, 'show_admin_column' => true, 'show_in_nav_menus' => true, 'show_tagcloud' => true, 'query_var' => 'cgr_custom_query', 'rewrite' => $rewrite, 'update_count_callback' => 'grc-count-callback', ); register_taxonomy( 'skuba', array( 'post', ' trips', ' altri-posts' ), $args ); } add_action( 'init', 'skuba', 0 ); }