Skip to content

Instantly share code, notes, and snippets.


hrsetyono/functions.php Secret

Created Jul 16, 2020
What would you like to do? - Snippet from that article to create the custom post type
register_post_type( 'project', [
'public' => true,
'label' => 'Project'
] );
register_taxonomy( 'project_category', ['project'], [
'hierarchical' => true
] );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.