Categories : PHP , Wordpress

If you dont want to code you can download ready to use plugin to modify header or footer in wordpress.

Code is very simple in your theme’s function file or your plugins file you cust need to add action to ” wp_footer ” hook and then define function to run there.

<?php

add_action('wp_footer', 'gc_add_code_to_footer');
function gc_add_code_to_footer() {
    ?>
    <style>

    </style>

    <script>

    </script>

    <?php
}

Leave a Reply

Your email address will not be published.