Add full width Instagram Feed Widget to Gallery Pro
// Register Instagram widget area. | |
genesis_register_sidebar( array( | |
'id' => 'instagram-feed', | |
'name' => __( 'Instagram', 'theme-name' ), | |
'description' => __( 'This is the instagram feed widget area.', 'theme-name' ), | |
) ); | |
// Add Instagram widget before footer. | |
add_action( 'genesis_before_footer', 'c8d_instagram_feed_widget' ); | |
function c8d_instagram_feed_widget() { | |
genesis_widget_area( 'instagram-feed', array( | |
'before' => '<div class="instagram-feed">', | |
'after' => '</div>', | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment