Archived topic
How to add a saved text box to every post?
1 reply · Started by John on July 16, 2021
Hi GP,
I have a few saved reusable boxes that I add my posts. Is there a way to automate this process using hooks?
For example, what if I wanted to add a reusable block before the first header? How do I do that?
Thanks,
John
Hi there,
you can hook before or after the content or either side of most them elements, but not within the content.
If it was HTML content you could use the Ad Inserter plugin, but for Block content thats not supported and would require being able to extract block HTML and CSS