JavaScript for WordPress Forums Gutenberg Development Dynamic block not showing in frontend Reply To: Dynamic block not showing in frontend

#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