adsens and pinterest script code not working

Posted in: Newspaper
Post count: 5

Adsense and Pinterest script codes are not working. I tried to add it manually on header.php, and I use the header and footer plugin, and I upload their HTML file. I did everything, and all not working so I really need help

Post count: 35449

Hi ma7myd,
The code for ads need to be set in theme panel for standard demos (standard templates) -> https://i.imgur.com/I4oJrPN.png but if you have a pro demo these use cloud templates and the ads from theme panel are not use, because these can be edited only with tagDiv Composer, therefore the ads need to be set in ad box element -> https://forum.tagdiv.com/custom-ad-spots/ the ad box has 3 sections for ads: using theme panel ads -> https://i.imgur.com/KFa9ibl.png, using images/banners -> https://i.imgur.com/MfAPTaE.png and custom code -> https://i.imgur.com/2rh8SuD.png
-> https://i.imgur.com/Kb4jWCG.png -> https://i.imgur.com/WMMPTEu.jpg
Also the Pinterest feeds can be set with tagDiv Composer -> https://i.imgur.com/SYiRbiG.jpg -> https://i.imgur.com/aE9WCiN.png
Thank you!

Post count: 5

You Literally misunderstand everything I don’t mean ads I mean scripts like this <meta name=”p:domain_verify” content=”d527fc4de60ff8a602783369cf6269d0″/> I tried to add it manually on header.php, and I use the header and footer plugin, and I upload their HTML file nothing work

Post count: 35449

Hi,
If that code need to be set in the theme, I do not know if it will work using a plugin, what you can do is to set the code in head section here -> https://i.imgur.com/gAW21JL.png
if this is not working, then you need to set it manually in theme files, if you are using cloud template, the file where you need to set the code in this one wp-content/plugins/td-composer/legacy/Newspaper/header.php

Bothe plugins (tagDiv Composer and tagDiv Cloud Library) has this “format” to can be use in child theme, in this way the elements under/legacy/Newspaper/ can be edited in a child theme, this method was adopted for users like you how use cloud templates and standard pack is disabled, in this way they can use the file from composer in child.
Hope this will help!
Thank you!

Post count: 3

Hello,

I have some cache to have really load on the server, so because of this I’m not sure.
But I modified this header, and the code is not on the production at all…
So which header.php or function.php is loaded in?

Thanks!

Post count: 35449

Hi maximmun,
please provide me a link to your website or at list let me know the demo you are using and I will try to guide you step by step to the header and function.php filse.
Also function.php it will be easer if you are using a child theme, this is coming with this file, and you need just to set the code in it and activate the child theme.
Also if you need to set some code in head of your website you can do it using our theme, set the code in theme panel> analytics/js codes -> https://i.imgur.com/XcxvIvV.png
Hope this will help you!
Thank you!

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