admin管理员组文章数量:1130349
So, I have been reading up on block templates and from what I understand, they limit the ability to create them to one per post type. I just need to be able to add groupings of blocks without having to be limited to a single instance of that template per post type. Can you create a block that is a group other blocks so that you can change out the block if needed?
Eg. One of the pages that I have has a dashed divider between a list of stylized file links and video embeds on the left and text details on the right. On another page, the video embed is on left, links on right and the content below, with no dash between the top two. This is all determined by custom fields that were saved in the post meta. Since Gutenberg changed all of that I am working on finding a good solution for migrating to WordPress 5.0.
Any information is appreciated!
So, I have been reading up on block templates and from what I understand, they limit the ability to create them to one per post type. I just need to be able to add groupings of blocks without having to be limited to a single instance of that template per post type. Can you create a block that is a group other blocks so that you can change out the block if needed?
Eg. One of the pages that I have has a dashed divider between a list of stylized file links and video embeds on the left and text details on the right. On another page, the video embed is on left, links on right and the content below, with no dash between the top two. This is all determined by custom fields that were saved in the post meta. Since Gutenberg changed all of that I am working on finding a good solution for migrating to WordPress 5.0.
Any information is appreciated!
本文标签: Is there a way to create a block template that is not limited to a post type
版权声明:本文标题:Is there a way to create a block template that is not limited to a post type? 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://it.en369.cn/questions/1749029136a2305579.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。


发表评论