Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #396447

    Hi,

    I want to replace social icons in the extra bar with custom JS. Is it possible to do with child’s functions.php?

    Here is a scrrentshot of location
    http://gyazo.com/8d0e7a0bf7fff85998eb4e40566bf4bf

    #396888

    Hi,

    You could use something like this in functions.php:

    function add_custom_script(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	// js code here
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Regards,
    Josue

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