Tagged: x
-
AuthorPosts
-
December 29, 2016 at 4:06 pm #1309069
SeLoReParticipantHi,
When I put ad codes to my website homepage is breaking down. Also it is normal with http but when I use https I have this problem. I tried this ad code with another theme it worked wihout any problem. My website is https://www.agullek.com
If you want see ad code below
<script type="text/javascript"> /* VRTZ JS 250 x 250 pagead DO NOT MODIFY */ document.write('<s'+'cript src="//banner.vrtzads.com/scripts/pageads.js?vzId=VZC859230V78BB25&vzR='+Math.floor(Math.random()*100*(new Date().getTime()/1000))+'"></s'+'cript>'); </script>December 29, 2016 at 11:21 pm #1309473
Paul RModeratorHi,
May I know where exactly you have added this code?
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
December 30, 2016 at 12:32 am #1309553
SeLoReParticipantThis reply has been marked as private.December 30, 2016 at 4:02 am #1309660
Rue NelModeratorHello There,
Thanks for writing in! The issue occurred because of this function in your child theme:
//Making jQuery to load from Google Library function replace_jquery() { if (!is_admin()) { // comment out the next two lines to load the local copy of jQuery wp_deregister_script('jquery'); wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js', false, '1.11.2'); wp_enqueue_script('jquery'); } } add_action('init', 'replace_jquery');The jQuery version loaded in the latest WordPress versions is 1.12.4. Modifying the jQuery created the issue. It may also create further issues affecting core WordPress in your site. Please remove that code.
Hope this helps. Please let us know how it goes.
December 30, 2016 at 5:23 am #1309734
SeLoReParticipantThis reply has been marked as private.December 30, 2016 at 6:36 am #1309770
Paul RModeratorHi,
I can see you have cache plugin and cloudflare installed.
Try to clear plugin cache and check again.
https://support.cloudflare.com/hc/en-us/articles/200169246-How-do-I-purge-my-cache-
Thanks
December 30, 2016 at 8:59 am #1309903
SeLoReParticipantI cleaned cache both of them also I disabled cloudflare completely and I disabled all plugins except cornerstone but still not working 🙁
December 30, 2016 at 2:19 pm #1310227
RadModeratorHi there,
Hmm, how do I log in to your site? All login URL returns 404.
And what issue your site is still having? I don’t see javascript error and Ads are displaying okay. Please provide some screenshots of the issues.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1309069 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
