Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hook widget area for Instagram feed before footer.
<?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
You can’t perform that action at this time.