Tagged: x
-
AuthorPosts
-
May 17, 2016 at 10:26 am #995619
SyncInteractiveParticipantHi there, it seems that any content in the APPEARANCE > CUSTOM > JAVASCRIPT section of the control panel is now no longer working across our whole site.
The CSS section is fine, but code we have in the javascript section that added custom links to a whole column on each page for a contact link this was on the orange type text bar at the bottom of all screens), as well as our analytics code WAS working previously, but appears to no longer work – and as far as I’m aware nothing has been updated or changed since it was working.
We’re completely puzzled as to what may have caused this, could someone possibly have a look over the site, or if you have any suggestions on where else we can add the code to bypass whatever is going on here that would be great.
Thanks for your time.
the site I’m referring to is over at: http://www.syncinteractive.co.uk
May 17, 2016 at 11:51 am #995787
RupokMemberHi there,
I’d like to check the code and backend where you have used the column (point us where you have used the custom ID that using on the script).
To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
May 18, 2016 at 3:34 am #996968
SyncInteractiveParticipantThis reply has been marked as private.May 18, 2016 at 4:25 am #997024
LelyModeratorHi There,
The following code should be added on a child theme and not on Customizer JS:
<script type="text/javascript" src="http://web-cntr-07.com/js/38547.js" ></script> <noscript><img src="http://web-cntr-07.com/38547.png" style="display:none;" /></noscript>It will cause error on the customizer. Please remove it. We will add it using a child theme instead.
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then add this code on your child theme’s functions.php file:
function third_party_tracking_code() { ?> <script type="text/javascript" src="http://web-cntr-07.com/js/38547.js" ></script> <noscript><img src="http://web-cntr-07.com/38547.png" style="display:none;" /></noscript> </script> <?php } add_action( 'wp_footer', 'third_party_tracking_code' );Hope this helps.
May 18, 2016 at 4:36 am #997041
SyncInteractiveParticipantAh that is fantastic news!! Thanks you so much for the help on this, we’ve been completely stumped here on what the issue is.
I genuinely can’t say how impressed I’ve been with the support on here, HUGELY appreciated!
May 18, 2016 at 5:47 am #997121
LelyModeratorYou’re welcome!
Glad we were able to help. Thank you also for the kind words.
Cheers!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-995619 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
