How to inject code into node body after x paragraph
Trying to figure out if there is a way to inject code after the first or second paragraph on a node.
More specifically I am trying to inject an Adsense ad.
So far I haven’t been able to find a solution or module that will do this.
Can anyone help?
I am not using paragraphs module. Just looking how to inject code right after the third or fourth
tags on the body of the node.
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.