-
-
Save rachelmccollin/dd1ba89eebf571093dfd69e59cacd9fb to your computer and use it in GitHub Desktop.
WPMU DEV Taxonomies
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
<?php register_taxonomy( 'genre', array( 'review', 'post', 'page' ), $args ); ?> |
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
<?php register_taxonomy_for_object_type( 'category', 'page' ); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment