Create a default content in the single template which can be update it once
-
Hello,
I’m working on a website that has various custom post types. While I have successfully created many templates for each one, there’s one aspect I’m struggling with. I’m wondering how to establish default content that can be updated on individual posts.
Let’s say I want to create a default layout that includes a columns block with gallery and paragraph blocks as the default post content. I would like these blocks to be editable and updatable when creating new posts. Additionally, I’d like to be able to modify the template layout once and have the changes apply to all posts. For example, later at one time, I want to include a button with a unique value that can be set on each post. Is this achievable using the site editor template?
I’ve explored reusable blocks, but they don’t provide the exact functionality I’m seeking. Updating the content of a reusable block affects the original block, thus altering the content across all posts. Converting the reusable block isn’t a viable solution either, as it restricts updating from a single location.
Apologies if my question isn’t entirely clear. I hope you grasp the concept of what I’m aiming to accomplish with the site editor templates. Otherwise, I might need to explore custom code solutions.
- The topic ‘Create a default content in the single template which can be update it once’ is closed to new replies.