Skip to main content
Commonmark migration
Source Link

Your post type is all wrong. Custom post type names cannot contain spaces or camelcase, also names should not contain special characters. Custom post type names, and for that matter, custom taxonomy names should be all lowercase letters, and names must only be separated by underscores (_)

Have a look at the $post_type parameter in register_post_type

$post_type

 

(string) (required) Post type. (max. 20 characters, can not contain capital letters or spaces)

 

Default: None

Your post type is all wrong. Custom post type names cannot contain spaces or camelcase, also names should not contain special characters. Custom post type names, and for that matter, custom taxonomy names should be all lowercase letters, and names must only be separated by underscores (_)

Have a look at the $post_type parameter in register_post_type

$post_type

 

(string) (required) Post type. (max. 20 characters, can not contain capital letters or spaces)

 

Default: None

Your post type is all wrong. Custom post type names cannot contain spaces or camelcase, also names should not contain special characters. Custom post type names, and for that matter, custom taxonomy names should be all lowercase letters, and names must only be separated by underscores (_)

Have a look at the $post_type parameter in register_post_type

$post_type

(string) (required) Post type. (max. 20 characters, can not contain capital letters or spaces)

Default: None

Source Link
Pieter Goosen
  • 55.4k
  • 23
  • 115
  • 209

Your post type is all wrong. Custom post type names cannot contain spaces or camelcase, also names should not contain special characters. Custom post type names, and for that matter, custom taxonomy names should be all lowercase letters, and names must only be separated by underscores (_)

Have a look at the $post_type parameter in register_post_type

$post_type

(string) (required) Post type. (max. 20 characters, can not contain capital letters or spaces)

Default: None