JavaScript code below and integrate into the footer/end of body tag.

Posted in: Newspaper
Post count: 95

I am using Newspaper theme. How I can paste the following JavaScript code below and integrate into the footer/end of body tag of my website:

<script src=”//z-na.amazon-adsystem.com/widgets/onejs?MarketPlace=US&adInstanceId=c85c8855-aaf0-4059-b6eb-f49ba9614543″></script>

Post count: 9544

Usually you can add that to your footer.php file, or through a custom function hook, or plugin to add content to footer.

Post count: 95

If I add in the Javascript here: Go to Newspaper theme panel> Custom Code > Custom Javascript

Then where this Javascript will be placed?

Post count: 20688

Hi,

You can enter the custom javascript code in the theme panel dedicated section and it will be added in the footer section automatically. Or you can enter it manually in the theme files.

Thanks

Post count: 95

Please advise how to remove a javascript code or html code from the footer section or from body section.

Thanks….

Post count: 20688

Hi,

If you entered code in the theme panel sections, then simply remove it. If you entered it in the theme files, remove it from there. You wanted to add the code mentioned, before the closing body tag, that is located in the footer.php file
https://www.screencast.com/t/jyDtlEVHv0TQ
Try entering it there and check the results.

Thanks

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