Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #612942
    jibajabaz
    Participant

    Hello,

    I’ve been given the code below by Taboola to place the code at the ‘end of your <body> tag: I believe it’s the footer.php but I can’t find the footer.php in X directory/global so I can create a Template for the X Child Theme.

    Can I please be directed as where the footer.php file is? So I can proceed.

    <script type=”text/javascript”>
    window._taboola = window._taboola || [];
    _taboola.push({flush: true});
    </script>

    Thanks a milion

    #612943
    jibajabaz
    Participant
    This reply has been marked as private.
    #612961
    Zeshan
    Member

    Hi there,

    Thanks for writing in!

    X footer file is _footer.php located in “/wp-content/themes/x/framework/views/global/” directory. However, you can use following code in your child theme’s functions.php file to add your script in the footer of your site:

    add_action('wp_footer', 'add_script_to_footer');
    function add_script_to_footer() {
    ?>
      <!-- Your Script Will Go Here -->
    <?php
    }
    

    Replace <!-- Your Script Will Go Here --> with your script.

    Thanks!

    #613133
    jibajabaz
    Participant

    Thanks that saves me a ton of headache. I will go and do it now!

    #613173
    Thai
    Moderator

    Let us know how it goes 🙂

    #613313
    jibajabaz
    Participant
    This reply has been marked as private.
    #613413
    Jack
    Keymaster

    Hi there!

    You’re most welcome! 🙂

    Try the following css to move each widget column down without effecting the main content band. In Customize > Custom > CSS

    div#text-54.widget.widget_text {
    margin-top: 5px;
    }

    which is for the left hand side.

    And

    div#text-43.widget.widget_text {
    	margin-top: 5px;
    }

    which is for the right hand side.

    Any issues, let us know. We’re here to help. 🙂

    Thanks!

    #613498
    jibajabaz
    Participant

    Hello,

    It didn’t work I did try to render the code given but still came up empty. Where it says Trending Now it’s too close to the button. Thanks

    http://prntscr.com/8of8vo

    #613609
    Jade
    Moderator

    Hi there,

    Please try this code instead:

    .vc_empty_space {
        clear: both;
    }

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-612942 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>