-
Danny1233
Hi Generate Community!!!
I have a question. Is it possible through elements to insert a pattern after the third paragraph in a post? It would save me a huge amount of manual work.Hopefully you guys can help me with this!
Thanks.
Danny -
Alvind
Hi there,
You can refer to this topic for a solution with similar implementation:
https://generate.support/topic/can-i-put-an-element-in-the-middle-of-my-content/ -
Danny1233
Hi Alvind,
Amazing, thank you that’s exactly what I was looking for!
Danny -
Danny1233
One question, maybe you can help me with that Alvind,
I don’t know exactly how to use the provided code. Should I just copy paste the PHP code within the element? -
Alvind
You need to use a Code Snippet plugin to add the code. Refer this article:
https://docs.generatepress.com/article/adding-php/ -
Danny1233
Thank you again Alvind, I added the plugin and it worked! You are my PHP hero of the day!!
-
Alvind
Great to hear that!
- You must be logged in to reply to this topic.