Support » Plugin: WP Instagram Widget » Template tag

  • Resolved iangeek

    (@iangeek)


    More of a feature request than a bug report here, but something like this would be fantastic:

    <?php wp_instagram_widget('myawesomefeed') ?>

    That way the feed URL could take its variable from a custom meta in the loop, which would then enable a unique feed on things like author pages, profiles and so on.

    Just a thought! Other than that, best (and least opinionated) plugin I’ve used in a long time 🙂

    https://wordpress.org/plugins/wp-instagram-widget/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Scott

    (@scottsweb)

    Thanks for the feedback.

    So essentially you are asking for a simple way to output the Instagram feed in a location of your choosing? If so this WordPress function may do what you need: http://codex.wordpress.org/Function_Reference/the_widget

    Enjoy!

    *smacks forehead* how did I never know that existed? Every day’s a schoolday with WP 🙂

    Anyway, thanks for that! I’ve rummaged around and come up with this, which seems to do the trick:

    <?php the_widget( 'null_instagram_widget', 'username=xyz&number=5' ); ?>

    Karma + 1 to Scott

    Plugin Author Scott

    (@scottsweb)

    🙂 Thanks for sharing your solution!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Template tag’ is closed to new replies.