Ads and changes only show when logged into WordPress
-
Today I’ve been trying to add code in Ad Inserter Pro but am having strange problems. When I add javascript, I can see what the code generates (in this case, a Taboola widget) on the site when I am logged into WordPress. But if I log out (like a regular visitor) the code and the widget do NOT appear.
I have disabled all caching and this still is a problem.
Also, as a test, I added an HTML comment in Ad Inserter pro (<!– example comment –>) and that worked absolutely fine and as expected. As another test, I removed some javascript that had been working on the site just fine, and when I took it out, it disappeared for non-logged in visitors (as it should).
But when I put the code back IN, it would not reappear for logged in visitors! I can see it when logged in, though.
I have NO idea what the problem is or what is causing this. My site is hosted on Pagely and I’ve checked the Disable All Caching box. I’ve also disabled the CDN and disabled Cloudflare.
When I add any sort of plain HTML text, the non-logged in version of the site reflects the change just fine. It seems to be when I try to add javascript that there is a problem.
The page I need help with: [log in to see the link]
The topic ‘Ads and changes only show when logged into WordPress’ is closed to new replies.