[ad_1]
(new to WordPress)
So, I have this site – completely developed – with a paid theme from themeforest. Everything looks good, but when I inspect the elements, I see quite a few ‘style’ elements there that contain links to various advertisers. (see pic)
​
Is it possible to track what is injecting this and prevent it?
TIA
[ad_2]
Start by using the default theme then checking the header.
If they are still there, turn all plugins off and test, then turn them back on one by one until it all comes back.
BUT, if it’s the theme, check the comments on themeforest and report it to them
Can you share a link?
Update: Apologies for the wild-goose-chase!
I did the following:
a) Disabled all plugins
b) Changed theme to default
– Still, there was this set of ‘style’ elements.
​
Upon further debugging, I noticed that I have the **AdGuard product in my MacBook**. Looks like **AdGuard injects these ‘style’ elements** – maybe to block some advertisers.
But when I deactivate AdGuard in my MacBook, the code is not injected.
So, nothing serious from an external side.
I hope this helps someone searching for similar situations. Thanks all! Appreciate the insights, and I learned something new!