Created
September 12, 2017 13:54
-
-
Save braddalton/b032119acf7b22ef1c1fc34daa76d3fd to your computer and use it in GitHub Desktop.
Multiple Custom Taxonomies https://wp.me/p1lTu0-h6P
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'multiple_custom_taxonomies' ); | |
function multiple_custom_taxonomies() { | |
register_taxonomy( 'Planes', 'post', | |
array( | |
'label' => __( 'Planes' ), | |
) ); | |
register_taxonomy( 'Trains', 'post', | |
array( | |
'label' => __( 'Trains' ), | |
) ); | |
register_taxonomy( 'Automobiles', 'post', | |
array( | |
'label' => __( 'Automobiles' ), | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment