Archived topic
Use of "Elements" to include tags inside the posts for displaying ads/tables...
1 reply · Started by Patricia on November 9, 2018
hi,
long time no see :)
i've been using a pluggin to manage adsense and other ads, which uses tags to define where to insert tags (example <!--Ads1--> tag). I wonder if it's possible to do that with the hook options in elements?
Also i think it's interesting to display tables or specific paragraphs if you want to repeat them in all the posts.
thanks
Hi there,
hooks are only available in the positions shown here:
https://docs.generatepress.com/article/hooks-visual-guide/
Inserting between content paragraphs would require a filter to insert that code, here is an example provided to insert the featured image after the second paragraph, this could be adjusted to suit: