JavaScript for WordPress › Forums › Gutenberg Development › Dynamic block not showing in frontend › Reply To: Dynamic block not showing in frontend
April 18, 2018 at 5:52 pm
#45355
Zac Gordon
Keymaster
You have to enable rest api for your custom post type. This has to go somewhere in your code:
register_meta( 'post', 'subheading', [
'show_in_rest' => true,
] );
That should be it