Created
March 11, 2017 02:26
-
-
Save gottalovelattes/49a87ca05628c6f7bfcd82a57879c418 to your computer and use it in GitHub Desktop.
Hook widget area for Instagram feed before footer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Do NOT include the opening php tag | |
//* Add Instagram widget before footer | |
add_action( 'genesis_before_footer', 'instagram_feed_widget' ); | |
function instagram_feed_widget() { | |
genesis_widget_area( 'instagram', array( | |
'before' => '<div class="instagram"><div class="wrap">', | |
'after' => '</div></div>', | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment