This is a simple snippet that will register a custom taxonomy for pages. In the sample code I register a taxonomy called
things but of course you would want to register something a little more realistic. You can find out more details about registering a custom taxonomy in the codex. Just add this snippet to the functions.php of your wordpress theme and you will see the new taxonomy displayed within the wordpress admin.
Adding this snippet to your wordpress theme will list the custom taxonomies that you registered for a custom post type.read more
this months featured snippets
Adding this wordpress snippet to the functions.php will enable tag selection within the editor for that custom post type. Don’t forget to change the CUSTOM_POST_TYPE to the name of the custom post type you created.read more