Local hosting of script?

Posted in: Newspaper
Post count: 8

I use the Newspaper theme and Real Cookie Banner. Now Real Cookie Banner has now informed me that the theme integrates the cdnjs.cloudflare.com script, which is supposedly problematic in terms of data protection law in my country. The developers of Real Cookie Banner have therefore advised me to contact tagDiv support and ask for a local integration of the cdnjs.cloudflare.com script. This way I could avoid the data protection issue. Could you help me with this?

Post count: 35449

Hello,
Normally the theme calls only once that script (https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js) and that is for old internet explorer v8, v9 this file – wp-content/plugins/td-composer/legacy/common/common.php I think that it can be commented the code from common.php – https://i.imgur.com/bd3wNfS.png
Thank you!

Post count: 8

Hello Calin,

thank you for your reply, I appreciate it! Could you elaborate on how to do that please? Thank you.

Post count: 35449

Hi,
All that needs to be done is to use an editor (you can try the one from WordPress) and navigate to this path – https://i.imgur.com/THHNYP7.pnghttps://i.imgur.com/DRoZFsb.png -> td-composer/legacy/common/common.php go to line 166 and comment the add action – https://i.imgur.com/UyCmjy5.png
Thank you!

Post count: 8

Hello Calin,

that did the trick, thank you very much! I appreciate the time you took to help, including easy to read screenshots – again, thanks!

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