Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

LTH Guide tags

// Register Custom Taxonomy
function pitchfork_lth_tax_guidetag() {

	$labels = array(
		'name'                       => _x( 'Guide Tags', 'Taxonomy General Name', 'pitchfork_lth' ),
		'singular_name'              => _x( 'Guide Tag', 'Taxonomy Singular Name', 'pitchfork_lth' ),
		'menu_name'                  => __( 'Guide Tags', 'pitchfork_lth' ),
		'all_items'                  => __( 'All Tags', 'pitchfork_lth' ),
		'parent_item'                => __( 'Parent Tag', 'pitchfork_lth' ),
		'parent_item_colon'          => __( 'Parent Tag:', 'pitchfork_lth' ),
		'new_item_name'              => __( 'New Tag Name', 'pitchfork_lth' ),
		'add_new_item'               => __( 'Add New Tag', 'pitchfork_lth' ),
		'edit_item'                  => __( 'Edit Tag', 'pitchfork_lth' ),
		'update_item'                => __( 'Update Tag', 'pitchfork_lth' ),
		'view_item'                  => __( 'View Tag', 'pitchfork_lth' ),
		'separate_items_with_commas' => __( 'Separate tags with commas', 'pitchfork_lth' ),
		'add_or_remove_items'        => __( 'Add or remove tags', 'pitchfork_lth' ),
		'choose_from_most_used'      => __( 'Choose from the most used', 'pitchfork_lth' ),
		'popular_items'              => __( 'Popular Tags', 'pitchfork_lth' ),
		'search_items'               => __( 'Search Tags', 'pitchfork_lth' ),
		'not_found'                  => __( 'Not Found', 'pitchfork_lth' ),
		'no_terms'                   => __( 'No tags', 'pitchfork_lth' ),
		'items_list'                 => __( 'Tags list', 'pitchfork_lth' ),
		'items_list_navigation'      => __( 'Tags list navigation', 'pitchfork_lth' ),
	);
	$args = array(
		'labels'                     => $labels,
		'hierarchical'               => false,
		'public'                     => true,
		'show_ui'                    => true,
		'show_admin_column'          => true,
		'show_in_nav_menus'          => true,
		'show_tagcloud'              => false,
	);
	register_taxonomy( 'guide-tag', array( 'reference-guide' ), $args );

}
add_action( 'init', 'pitchfork_lth_tax_guidetag', 0 );