Adding widget inside functions.php
-
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.