Support » Plugin: Widget for Social Page Feeds » Adding widget inside functions.php

  • Resolved neuromorph

    (@neuromorph)


    Hi. I’d like to insert the widget into my site’s footer via my theme’s functions.php file as follows:

    //Remove default generatepress theme footer text. Add content inside php area.
    add_filter( 'generate_copyright','ar_custom_copyright' );
    function ar_custom_copyright() {
        ?>
        ADD WIDGET HERE
        <?php
    }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding widget inside functions.php’ is closed to new replies.