Using Block Templates with Pods custom post types?
-
I am trying to follow this guide (PHP example) to have “starter content” for a custom post type I created with Pods. However, using even the barebones example on that page doesn’t seem to work.
My custom post type is “Gallery” where I want to have a placeholder for the user to select an Envira Gallery, to have the Envira Gallery block there as soon as they open the create new CPT page. However, ignoring all that, just using the example from the Developer Guide and having a paragraph block that says “Add Description…” doesn’t work. I’ve tried adding the snippet both to the theme’s functions.php and in a custom plugin.
Following this part of the guide and creating an entirely separate CPT outside of Pods in a custom plugin, it seems to work. So the issue seems to be with Pods.
Is there something missing from Pods that doesn’t allow this functionality? Thanks!
- The topic ‘Using Block Templates with Pods custom post types?’ is closed to new replies.