JavaScript for WordPress › Forums › Gutenberg Development › Blocks and sidebar for a specific custom post type? › Reply To: Blocks and sidebar for a specific custom post type?
January 31, 2019 at 3:13 pm
#87303
Zac Gordon
Keymaster
Yes
You would do it in the PHP filter for allowed blocks or white listing blocks. Since it is in the PHP you can write a conditional statement to check if it is a certain post type.