Site logo

Archived topic

Possible to Create Blog Section Template?

3 replies · Started by Jason on August 12, 2021

Viewing posts 1–4 of 4

Good morning,

I am looking for basically the same functionality as 'Add Reusable Blocks', with one exception:

I need the section to be a "template" where all the rest of the blocks are not impacted when changing an image, link, etc. on the reused block. This would probably be clearer to demonstrate, so an example is live at: https://bestofthedesk.com/buying-guide/10-best-industrial-style-desk-lamps-to-showcase-your-workspace/.

Starting from the 'three dots' separator down to the 'CHECK PRICE' button, I want to use as a template to paste into all my posts. But, when I start updating the text, links, image, etc, I don't want all the other places with that are using the template to be changed along with it - I believe this is how the 'Add Reusable Blocks' feature is currently functioning. I do see that you can just uncheck updating the reused block when updating each post, but that route seems risky if one section were to get mistakenly updated.

Is this possible?

Thanks!

Jason

Hi there,

thats correct, the WP re-useable blocks are the equivalent of shortcode content. In that all instances are tethered. Update one and they all get updated.

To use them as 'templates' is risky, but you can use them as such, but you would need to add them to the page and then convert them to a Regular block. And the latest UI doesn't make that very obvious - see here:

https://generatepress.com/forums/topic/reusable-blocks-broken-editing-block-in-post-also-edits-original-template/#post-1713288

If you're a GenerateBlocks Pro user then you have a more stable alternative, you can use the Local Templates:

https://docs.generateblocks.com/article/template-library-overview/#local-templates

Those are simply like adding a Pattern to the page, you add them and edit them for each post.

Hi David,

I'm not a GenerateBlocks Pro user. However, converting the reusable block to a regular block seems to be exactly what we'll need for our site.

I appreciate the quick feedback, and loving the theme so far!

Thanks!

Jason

You're welcome.
I do hope WP update the reusable blocks UI to make it more intuitive :)

This archived topic is closed to new replies.