• Resolved dalemoore

    (@dalemoore)


    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!

Viewing 1 replies (of 1 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @dalemoore

    Pods only registers the CPT, assuming the block editor is enable (REST API) there is not much you can do in Pods for such features, this is all WP core.
    I think it’s best to mention this issue in the general WP forms to get help!

    Cheers, Jory

Viewing 1 replies (of 1 total)
  • The topic ‘Using Block Templates with Pods custom post types?’ is closed to new replies.