Instagram Widget and Shortcode

This WordPress plugin allows you to add a widget with Instagram photos to your website. Plugin can get photos by any hashtag or by any user. No token required!

Please note, that only username or a hashtag is allowed at the same time.


51 posts
78 following

Awesomely Simple and Fast

Really, it is the simplest and most lightweight Instagram plugin you can find. No additional CSS or JS files. CSS is included in HTML. Remote connection result is cached.

Instagram widget settings and its appearance


You can use as many shortcodes on the same page as you want. And do not forget about do_shortcode() function.

Insert instagram shortcode step by step example.

Configure with Customizer

Beatifully integrated with WordPress Customizer. So, you can configure some options in live mode in Appearance > Customize.

Configure Instagram plugin in WordPress Customizer

Developer Friendly

Use class methods to establish your own Instagram connection and create beautiful things. No token required.

 * First of all we need to initialize our class
$instagram = new mishaInstagram();
  * Get User Information
$userdata = $instagram->serve_user( 'rudrastyh' );
print_r( $userdata ); // all the user info is in returned array
 * Get User Media
 * @param 'rudrastyh' - user name
 * @param 10 - number of photos to get (Default - 12)
$user_photos = $instagram->serve_user_media( 'rudrastyh', 10 );
print_r( $user_photos );
 * Get Photos by Tag
$by_tag = $instagram->serve_tag_media( 'ocean' );
print_r( $by_tag );


I'm always here if you need my help.
Please create a ticket if you need assistance with my plugins or contact me if you have a question.

Instagram widget settings and its appearance

Embed Instagram on your Website by @Username or #Hashtag

Just for 39$

Get the plugin or to learn more

Just some of the plugin advantages:

  • No token required. No needs to register an Instagram application.
  • Currently it is allowed to get photos by a hashtag or by a username, but if someone asks me, I will add the ability to do it by location.
  • No additional JS or CSS files included to your website front-end.
  • Plugin CSS is completely in a website <head>.
  • 100% responsive.
  • Instagram response is cached to deliver very fast speed with WordPress transients. But you can disable caching if you don’t need it or change cache period (defaults to 5 hours).

Widgets #

I think WordPress widgets are the simplest way of using this plugin. Depending on your theme, widgets can be displayed in your website sidebar, footer and in fact anywhere else.

It is very simple to configure, just go in your admin dashboard to Appearance > Widgets.

If you can not find “Widgets” link it may happen if your WordPress theme doesn’t support widgets. But it is not a problem at all — just use shortcodes instead or you can contact me and I will help you anyway.

If you go to Appearance > Widgets in WordPress dashboard, you we'll see that Instagram widget appeared there.
You can configure your own Instagram widget in Appearance > Widgets.

You can also set up your website widgets in Theme Customizer, to do so, go to Appearance > Customizer, and when it opens, go to the Widget section, or you can simply click the link Manage with Live Preview.

Instagram Widget Settings in WordPress Theme Customizer.

Shortcode #

Shortcode is a small piece of code that allows you to display Instagram photos directly in the content of your posts.

On the same page you can use as much shortcodes as you want!

You do not need additional knowledge — shortcodes are generated automatically with the help of the button in the post editor. All you need to do is just to place the cursor in the place where you want to insert the shortcode and click the button.

You can insert shortcode if you click on a special shortcode button  on post editor panel (small instagram icon).

You can also do it manually with the following parameters.

[instagram tag="matterhorn" username="" tag="matterhorn" heading="yes" columns="5" count="20"]
Instagram username, example rudrastyh.
Hashtag, example matterhorn.
If you want to show or hide the heading of the widget with user counts. When displaying photos by tag it isn’t displayed anyway.
How much columns with photos in desktop version.
How much photos would you like to display.

And of course, it is always possible to use shortcodes directly in PHP code using do_shortcode() function, like this:

echo do_shortcode('[instagram tag="matterhorn" columns="5" count="20"]');

Plugin Options — WordPress Customizer #

I decided to refuse using WordPress option pages and moved all the settings to WordPress Theme Customizer. I think it is more intuitive and you can preview some of your changes in Live mode.

Plugin doesn't have its own settings page, but you can configure its appearance in Theme Customizer as well.
Go to Appearance > Customizer and then proceed to Instagram section.

7.5.1 – Sep 29, 2018

  • Fixed: Support for the latest Instagram changes. Displaying photos by tags works good again.

7.5 – Jun 18, 2018

  • From today my Instagram widget supports old browsers like IE9+, Firefox 2+, Chrome 4+, Safari 3.1+.
  • Fixed: The conflict with Jetpack.

7.4.2 – Apr 10, 2018

  • One more fix after the Instagram changes. Now we are limited to 12 items when displaying photos by a username.

7.4.1 – Apr 9, 2018

  • Hotfix: Support for the latest Instagram changes.

7.4 – Mar 28, 2018

  • Improvements in plugin update mechanism.
  • Changes in plugin admin UI.

7.3.3 – Mar 14, 2018

  • Hotfix: Support for the latest Instagram changes. If photos by user are not displayed, install this update.

7.3.2 – Feb 7, 2018

  • Fixed: Caching issues.

7.3.1 – Jan 27, 2018

  • Translations update.

7.3 – Jan 27, 2018

  • Hotfix: Support for January Instagram changes.
  • Fixed: Show header checkbox in widget settings.

7.2 – Sep 9, 2017

  • Fixed: Small bug related to default links settings.

7.1 – July 27, 2017

  • Added: [misha_instagram] shortcode. Sometimes the [instagram] shortcode could have conflicts with another plugin, if you faced with it, you can use [misha_instagram] analogue.
  • Added: Swedish translation (thanks to Fredric Österlund).
  • Added: Russian translation.
  • Fixed: CSS max-width property for images.
  • Changes in update mechanism.

7.0 – June 30, 2017

  • Plugin has been completely redesigned. Update from previous versions is not supported. If you purchased the plugin before, contact me to receive 50% discount.

5.1.1 – Nov 10, 2016

  • Fixed: Console errors.

5.1 – Aug 20, 2016

  • Some improvements in plugin localization.
  • Optimized the process of enqueuing scripts — no need to refresh browser cache after installing the plugin new version.

5.0 – Aug 19, 2016

  • Changed: video icon
  • Photo preloader is the same width gray background, like on Instagram itself.
  • Media and followers counts are displayed more correctly now.
  • Videos in Lightbox can be paused now.
  • Fixed: hashtag uppercase bug.

4.7.3 – June 17, 2016

  • Fixed problem with displaying by a tag, when only a few photos / videos found.


  • Small changes and code impovements.


  • Bug fixed with displaying photos by hashtag(s).


  • Access Token is not required by the plugin anymore.


  • Popup window improvements. Simplified. No fancybox or another external lightbox scripts now.
  • Some changes in plugin update mechanism.


  • Popup window is responsive now.
  • Popup Fancybox window now works with videos.


  • Fixed console error in FancyBox.


  • Important! Now the plugin works with the support of new Instagram API changes from 17 November 2015. This update is required. Old API will work only until June 2016.
  • Support for non-square images.
  • Fixed layout bug in Opera.


  • The widget was completely redesigned. It is also responsive.
  • You can now get photos of a certain user filtered by a hashtag.
  • Multiple hashtags support.
  • Infinity scroll.


  • Widget now supports WordPress caching plugins like WP Super Cache or W3 Total Cache.
  • You can specify the tags with # symbol or without it.


  • You can now get photos by a username (not by a user ID as it was before).


  • Fixed shortcode bug.


  • Added the photos and followers count below the widget title.
  • Critical error has been fixed.
  • Widget CSS has been minified.


  • Bug fixes.


  • Added a button into TinyMCE editor. It allows you to insert shortcode easily.
  • You can specify your own App ID and App Secret in the plugin options.


  • Important changes with plugin update script.
  • Localization update.


  • Now this plugin can be translated to different languages.
  • Bug fixes.


  • User search works correctly now.


  • Fancybox fix.
  • Fixed the broken link to plugin settings.
If you need a great #wordpress #instagram #widget then the best hands down is by @rudrastyh ...
mogmachine @mogmachine
@rudrastyh thanks for the free update for your superb Instagram Feed widget!
Beat The Grind @BeatGrind

Leave your question or feedback

Please, enter a comment
Please, enter a name
Incorrect email

Some of the companies that use this plugin, live example live widget example Neue Wege Miteinander (Germany, Schkopau) Hvita husid (Iceland, Virginia Beach)
Wamw (Japan) mogmachine (Portugal, Lagos) Furphy Media Group (Australia, South Melbourne)

14-Day Money Back Guarantee

Secure Checkout. Instant Download



$139 one-time payment
  • Lifetime priority support
  • Lifetime updates
  • Unlimited websites


$39 one-time payment
  • 2 weeks/support
  • 1 year/updates
  • Unlimited websites

View my refund policy here

The plugin is a one-time purchase which includes a license for plugin updates and support. To continue receiving updates & support after your license has expired you may renew.