Archived topic
Repeating Content Sections
1 reply · Started by Dominik on January 1, 2022
Hello,
I wanted to know if it is possible within GP Pro or GPBlocks Pro how to handle some static sections?
For example when you check out this image https://jumpshare.com/v/qRkU1MxwlCibYw75LPdBoMaR8 then you see that I have surrounded two sections. This two sections I want also to include in other Pages.
Is it possible with your plugin to handle that or do I need third party plugins like "woody code snippet" or "shortcode ultimate"?
If it is only possible with a third party plugin, please recommend a lightweight solution.
You have to know: speed, a clean code and less plugins are my goal.
Thank you for your help.
Regards,
Domi
Hi there,
Options:
1. If it is within the content of your page ie. it has to be added in the editor and other content comes before and after it - then you can use a Reusable Block:
https://wordpress.com/support/wordpress-editor/blocks/reusable-block/
Thats built into the WP.
2. If its in a 'theme' area - such as after_content / before_footer then you can use a Block Element:
https://docs.generatepress.com/article/block-element-overview/
3. If you feel really daring then you can create your own custom shortcode that you can then hook into using a Block Element - see here: