Custom Post Type won’t Register

“movie-special-features” is longer than 20 chars. If you enable debug, you will get a message, these names are not allowed longer than 20 cars. Reference: https://codex.wordpress.org/Function_Reference/register_post_type You can enable the debug mode in you wp-config.php with define( ‘WP_DEBUG’, true ); Reference: https://codex.wordpress.org/WP_DEBUG

Need help targeting a custom post type with conditional tags

You want the first parameter ($post_type) of register_post_type() – by default this is used for the “slug“, so in your case it’s: content-block The name and singular-name labels you refer to are just for display purposes – see get_post_type_object() for an example. So this should work (note I’ve not tested the rest of your advert … Read more