Google tag manager script after body

Posted in: Newsmag
Post count: 18

Hi there,
I would need to add the second script of GTM right after the body tag.
I used to do it by modifying the header.php in my child theme. Now that everything is in the composer plugin I have no idea how to do that.
Any help?

Thanks

Post count: 18

I found it out. I just had to copy the file from /plugins/td-composer/legacy/Newsmag/header.php in the Child theme root folder.

What about comments.php? I cannot find a way out.

Post count: 35449

Hi,

The files should be copy from wp-content/plugins/td-composer/legacy/Newsmag/comments.php in child theme root, this should work.

Let me know the results!
Thank you!

Post count: 18

It doesn’t work, I even tried to let comments.php completely empty in the child theme root.

Post count: 35449

Hi,

Sorry was my mistake, the file that need to be edit for comment section is in wp-content/plugins/td-composer/legacy/common/wp_booster/comments.php the file mentioned above contain only the path to the comment file -> http://prntscr.com/q24o5c unfortunately this can not be set in child theme, sorry!

Thank you for your understanding!

Post count: 18

Yes, now it works. Really a shame that cannot be set in child theme 🙁

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newsmag’ is closed to new topics and replies.