• Whenever I add new CPT post type, I receive blank screen in return.

    My previous code in my CPT init is this
    'supports'=> array( 'title', 'editor'),

    Now after I’ve removed the ‘editor’ in the support array. It’s now causing a
    blank screen.
    'supports'=> array( 'title'),

    So for the mean time I added the ‘editor’. I wanna know if this is a known bug? Since my other CPTs with editor disabled is behaving like this as well.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @raiden08, which screen appears as blank?

    Removing 'editor' from the 'supports' array indicates that that CPT does not support having its content edited. That is, the CPT won’t have an ‘Edit’ link and navigating to /wp-admin/post.php?post=<id>&action=edit will not work.

    Thread Starter Rey Den Nalasa

    (@raiden08)

    It’s kinda weird? This happened on my staging site. Which my main is working fine and currently running on 4.8(kinda old, will update very soon) where the editor support is removed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Blank Screen when adding new CPT post w/editor enabled’ is closed to new replies.