Archived topic
Issues with adding Optinmonster code
1 reply · Started by Charles on May 12, 2020
Viewing posts 1–2 of 2
Hi there,
I'm trying to add Optinmonster code. I've got an element setup which has a hook of 'wp-footer'.
However, the code isn't working. The documentation says the code should go before the closing body tag in the footer.
Is this the best hook to use?
Thanks in advance
Hi there,
wp_footer is the correct hook to use if it's before the closing of body tag:
https://github.com/tomusborne/generatepress/blob/master/footer.php#L61
This archived topic is closed to new replies.