Tagged: code
Hi, I need to put code at 1 page (only in one) – it’s a callback (“button for call”) form callbackhunter.com
Where do I need to insert this code if I want to see it only at 1 page? Help please, thx!
Hey Taras!
Please add following code to Functions.php file in Appearance > Editor
function add_custom_div(){
if(is_page(57384)) {
?>
<link rel="stylesheet" href="//cdn.callbackhunter.com/widget/tracker.css">
<script type="text/javascript"
src="//cdn.callbackhunter.com/widget/tracker.js" charset="UTF-8"></script >
<script type="text/javascript">var hunter_code="5e115581ec853c5b42dc0931a1c0fbce";</script>
<?php
}
}
add_action('wp_footer', 'add_custom_div');
Regards,
Yigit
if(is_page(57384)) – 57384 it’s id page?