-
AuthorPosts
-
October 25th, 2016 at 21:59 #40080
How to connect a call to order service
Sorry for bad english.
But I can not connect a call to order service, the template nirvana.
The company gave me widget code.
I put it in the theme control panel. (My Javascript code)
But it is not working.
The question is which one it is necessary to insert the file?
To it can be displayed on all pages?
Exemple code widget: `<!– Begin CallBox code –>
<script >
(function() {
var d = new Date();
var em = document.createElement(‘script’); em.type = ‘text/javascript’; em.async = true;
em.src = (‘https:’ == document.location.protocol ? ‘https://’ : ‘http://’)
+ ‘callbox.by/js/callbox.js?’ + d.getTime(); var s = document.getElementsByTagName(‘script’)[0];
s.parentNode.insertBefore(em, s);
})();
</script>
<!– End CallBox code –>`-
This topic was modified 9 years ago by
Bydenis25.
October 30th, 2016 at 16:35 #40323Zed
Cryout Creations mastermindThat code will not work in the theme’s Custom JS field (at least not in its current form).
As it is meant to display content, you need to place it in a content area – like a Text widget.
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic. -
This topic was modified 9 years ago by
-
AuthorPosts
The topic ‘How to connect a call to order service?’ is closed to new replies.