Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #461769

    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!

    #461903

    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

    #462101

    if(is_page(57384)) – 57384 it’s id page?

    #462118

    Hey!

    Yes, ID of your yourdomain.com/remont-i-otdelka-kvartir-i-ofisov-v-moskve/ page

    Regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.