Skip to content

Instantly share code, notes, and snippets.

@gspice
Created December 9, 2014 21:47
Show Gist options
  • Save gspice/e212d4c490e217142f57 to your computer and use it in GitHub Desktop.
Save gspice/e212d4c490e217142f57 to your computer and use it in GitHub Desktop.
Change in functions file will add category support to Community custom post type
function reg_cat() {
register_taxonomy_for_object_type('category','wap-community');
}
add_action('init', 'reg_cat');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment