Q&A
Mr. Pickles the AdPlugg Pug

Ad shows after refresh

+1
0
-1

The ad is working, BUT; on my comp it onl shows after refreshing that page (2 different browsers). So - the title does appear at the first time, but not the ad....

 



Hmm, I just tried it and your ad loaded first time for me in both Chrome and Firefox. Is it working for you now? What browsers are you trying in? Do the AdPlugg Demo ads load right away for you? See: https://www.adplugg.com/demo. When I open your site with the Chrome Developer Tools Console window open, I can see some JavaScript errors (such as "twttr is not defined"). It still worked for me but you might want to fix those to keep them from possibly interfering with other JS functions (such as AdPlugg, etc).
Had this problem on Safari and Chrome. Did also try it on Firefox; same poblem. BUT if I go to the page directly (so the full URL) - there is not problem. It only occurs if I head from the mainpage via the menu to the page where the ad is! In all honesty - I have no idea how to fix those kind of JavaScript Errors => but will try to figure that out also! But at the point of going via de menu - I see also a JavaScript Error in your plugin! => SyntaxError: expected expression, got '<' => custom_js.js:7:1 => var $j = jQuery.noConflict(); $j(document).ready(function() { "use strict"; <script> (function(ac) { var d = document, s = 'script', id = 'adplugg-adjs'; var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = '//www.adplugg.com/apusers/serve/' + ac + '/js/1.1/ad.js'; fjs.parentNode.insertBefore(js, fjs); }('A4829126')); </script>}); Hope this will help?
Ok, we were able to reproduce the problem by using the menu as you suggested. We are working on figuring out the problem and finding a solution. I'll post back shortly.

Answers

+1
1
-1

Ok, I think we figured it out.  When we access the page directly (in Chrome) with developer tools open: AdPlugg loads, twttr attempts to load (and throws an error), and Google Maps throws a warning.  When we access the page via your menu, none of these things happen.

We found the following post from the author of your theme:

https://qode.ticksy.com/ticket/488562

In the post, the author states that third party scripts won't load when you use the theme's Ajax Animation/Page Transition feature.  He also provides instructions for how to disable the feature.  I would recommend disabling that feature to see if that fixes it.  If you really need the page transitions feature, please let us know and we may be able to come up with a custom solution for you.

GREAT - this did solve the problem. I did turn off the Animation and it works. I don't care much about the animation, but if ya able to fix it with an update, pls let me know - so I can turn it back on! Many thanks for the great help!
+1
0
-1

Had this problem on Safari and Chrome. Did also try it on Firefox; same poblem. BUT if I go to the page directly (so the full URL) - there is not problem. It only occurs if I head from the mainpage via the menu to the page where the ad is! In all honesty - I have no idea how to fix those kind of JavaScript Errors => but will try to figure that out also!   (the demo version is working though)