How to Display Instagram Photos in WordPress Sidebar Widget

Do you want to display your Instagram photos in the WordPress sidebar?

Your Instagram posts make great content for your website. By creating an Instagram feed, you can keep your site fresh and interesting while also promoting your Instagram account.

In this article, we’ll show you how to display your Instagram photos and videos in the WordPress sidebar widget.

How to display Instagram photos in WordPress sidebar widget

Why Add an Instagram Feed to Your WordPress Site?

With more than a billion monthly active users, Instagram is a great place to promote your products, services, and blog posts.

Depending on your industry, Instagram may even be the most important part of your social media strategy. For example, Instagram is particularly popular among top fashion blogs, cooking, lifestyle, and photography websites.

However, people won’t see your Instagram posts if they only visit your website. This can make it difficult to grow your Instagram following and get engagement on your photos and videos.

With that being said, it’s a good idea to add an Instagram feed to your WordPress website. By showing your latest posts, you can promote your Instagram account in an engaging and eye-catching way.

This will get more traffic to your Instagram page and encourage visitors to interact with your posts by leaving comments, clicking on the ‘Share’ button, and more.

The feed will also update automatically every time you make a new Instagram post, so it’s a great way to keep your website fresh.

That being said, let’s take a look at how to easily display Instagram photos in the WordPress sidebar widget.

How to Install an Instagram Photos Plugin

The best way to display Instagram photos in a WordPress sidebar or similar widget is by using Smash Balloon Social Photo Feed. This free plugin lets you show photos from one or more Instagram accounts in a fully customizable feed.

After creating a feed, you can add it to the sidebar using either a shortcode or block.

Embedded Instagram feed example

In this guide, we’ll be using the free version of Smash Balloon, as it has everything you need to embed an Instagram feed. However, there’s also a Pro version that allows you to display hashtag feeds, add Instagram shoppable images in WordPress, and more.

Before getting started, you’ll need to connect your Instagram account to a Facebook page. If you have a personal Instagram account, then you may also want to turn it into a business account, as this allows Smash Balloon to show your Instagram bio and header automatically.

For step-by-step instructions on how to do both of these things, check out our FAQ section at the end of the post.

When you’re ready, go ahead and install and activate the Smash Balloon Social Photo Feed plugin. For more details, see our guide on how to install a WordPress plugin.

How to Connect an Instagram Account to WordPress

After activating the plugin, it’s time to connect your Instagram account to WordPress. Simply go to Instagram Feed » Settings and then click on ‘Add New.’

How to create a new social media feed using Smash Balloon

With Smash Balloon Pro, you can create feeds from tagged posts and hashtags, or even create a social wall with content from lots of different websites, including YouTube, Facebook, and Twitter.

Since we’re using the free version, simply select ‘User Timeline’ and then click on ‘Next.’

Smash Balloon's Instagram settings

After that, you’ll need to choose the Instagram account where you’ll get the photos from.

To get started, click on ‘Add Source.’

Connecting Instagram to your WordPress website

On the next screen, choose whether you want to display photos from a personal or business Instagram account.

If you check the box next to ‘Personal,’ then Smash Balloon won’t include the Instagram avatar and bio in your header by default. However, you can always add the avatar and bio manually in the plugin’s settings.

Connecting a personal or business Instagram account to WordPress

After choosing ‘Personal’ or ‘Business,’ go ahead and click on ‘Login with Facebook.’

You can now check the Instagram account that you want to use and click on ‘Next.’

How to display an Instagram feed on your WordPress website

After that, check the box next to the Facebook page that’s linked to your Instagram account.

With that done, go ahead and click on ‘Next.’

Choose a page to connect to WordPress

Smash Balloon will now show a popup listing all the information it will have access to and the actions it can perform.

To restrict Smash Balloon’s access to your Instagram account, click any of the switches to turn it from ‘Yes’ to ‘No.’ Just be aware that this may affect the photos and videos that you can embed on your WordPress blog or website.

With that being said, we recommend leaving all the switches enabled.

When you’re ready, click on ‘Done.’

Adding permissions to your Facebook app

You’ll now see a popup with the Instagram account you just linked to WordPress.

Simply check the box next to the account and then click on ‘Add.’

Selecting an Instagram account

Smash Balloon will now take you back to Instagram Feeds » All Feeds automatically.

To create a feed, simply check the box next to your Instagram account. Then, click on ‘Next.’

How to create an Instagram social media feed

The plugin will now create an Instagram photo feed for your website, and then open that feed in the Smash Balloon editor.

How to Customize Your Instagram Photo Feed

You can use the editor to fine-tune how Instagram photos look on your website.

On the right, you’ll see a preview of your Instagram photo feed. On the left-hand side are all the settings you can use to customize the photo feed.

Smash Balloon's Instagram feed editor

Most of these settings are self-explanatory, but we’ll quickly cover some key areas.

To start, you can change the feed layout and add padding by selecting ‘Feed Layout’ from the left-hand menu. As you make changes, the preview will update automatically, so you can try different settings to see what works best for your Instagram photo feed.

Smash Balloon's Instagram feed layout settings

By default, Smash Balloon shows the same number of posts on desktop computers and mobile devices.

You can preview how the Instagram feed will look on desktop computers, tablets, and smartphones using the row of buttons in the upper-right corner. By testing different layouts, you can create an Instagram feed that looks great, no matter what device the visitor is using.

Previewing your social media feed on mobile, tablets, and desktop

Smartphones and tablets typically have smaller screens and less processing power, so you may want to show fewer photos and videos on mobile devices.

To do this, simply type a different number into the ‘Mobile’ field under ‘Number of Posts.’

Showing a different number of photos on mobile and desktop

By default, the Facebook feed shows fewer columns on smartphones and tablets, compared to desktop computers. This helps your photos and videos fit comfortably on smaller screens.

After testing the mobile version of your WordPress website, you may be unhappy with how the columns look on smartphones and tablets. If this is the case, then you can show fewer columns by changing the numbers in the ‘Columns’ section.

Showing a different number of Instagram columns on different devices

When you’re happy with the changes you’ve made, click on the ‘Customize’ link.

This will take you back to the main Smash Balloon editor, where you can explore the next settings screen, which is ‘Color Scheme.’

Adding a different color scheme to an Instagram feed in WordPress

By default, Smash Balloon uses a color scheme inherited from your WordPress theme, but it also has ‘Light’ and ‘Dark’ themes that you can use.

Another option is creating your own color scheme by selecting ‘Custom’ and then using the controls to change the background color, edit the button color, change the text color, and more.

An Instagram feed with a custom color scheme

By default, Smash Balloon adds a header to your feed, which is your Instagram profile picture and the name of your page. To change how this section looks, click on ‘Header’ in the left-hand menu.

On this screen, you can change the size and color of the header, and show or hide your Instagram bio.

Adding a header to the Instagram feed on your WordPress website

Sometimes, you may want to show a different profile picture. For example, your Instagram avatar may clash with your WordPress theme.

To do this, simply click on ‘Add Image’ under ‘Show custom avatar.’

You can then either choose an image from the WordPress media library or upload a new photo from your computer.

Adding a custom Instagram avatar in WordPress

Similarly, you can show a different bio. For example, you may want to introduce your Instagram feed or encourage people to follow you for more great content.

To replace the Instagram bio, simply type into the ‘Add custom bio’ box.

Creating a custom social media bio for your WordPress website

Smash Balloon automatically analyzes your Instagram photos and displays them at the best resolution. While we recommend using these default settings, it is possible to make the images bigger or smaller.

To change the image size, click on ‘Posts’ from the left-hand menu. Then, select the ‘Images and Videos’ option.

Changing Smash Balloon's image and video resolution settings

You can now choose between thumbnail, medium, and full-size using the dropdown menu.

If you’re unhappy with the results, then you can return to this screen at any point and select ‘Auto-detect (Recommended)’ from the dropdown menu.

Smash Balloon's automatic resolution detection

By default, Smash Balloon adds a ‘Load More’ button to the bottom of your Instagram feed, which allows visitors to scroll through more of your photos and videos.

Since it’s such an important button, you may want to customize it by selecting the ‘Load More Button’ option from the left-hand menu.

Customizing the social media Load More button

Here, you can help ‘Load More stand out by changing its background color, text color, and hover state.

You can also change the button’s label by typing into the ‘Text’ field.

Adding your own messaging to the Instagram button

Another option is to remove the button completely by clicking the ‘Enable’ toggle. In this way, you can encourage people to visit your Instagram by limiting the number of posts they can see on your website.

If visitors like what they see, they may decide to follow you on Instagram using the ‘Follow on Instagram’ button that Smash Balloon adds automatically.

With that in mind, you may want to help the button stand out by selecting ‘Follow Button’ in the left-hand menu.

Here, you can change the button’s background color, hover state, and text color.

Customizing the social media follow button

By default, the button has a general ‘Follow on Instagram’ label.

You can replace this with your own messaging by typing into the ‘Text’ field.

How to create a custom Instagram photo feed for your WordPress website

When you’re happy with how the Instagram feed looks, don’t forget to click on ‘Save’ to store your changes. You’re now ready to add the Instagram feed to your WordPress sidebar widget.

How to Add Your Instagram Photos in WordPress Sidebar Widget

You can add your feed to the sidebar or similar section using the Instagram Feed block.

If you’ve created more than one feed using Smash Balloon, then you’ll need to know the feed’s code.

Simply go to Instagram » All Feeds and then copy the value in the ‘Shortcode’ column.

In the following image, we’ll need to use instagram-feed feed=1.

Adding Instagram photos and videos using a code

With that done, go to Appearance » Widgets in the WordPress dashboard.

Then click on the blue ‘+’ button.

The WordPress widget editor

In the search bar, type in ‘Instagram Feed’ and select the right widget when it appears.

WordPress has a built-in Instagram widget, so make sure you choose the one that shows the official Instagram logo.

The Instagram Feed block

After that, simply drag the widget onto the area where you want to show the Instagram feed, such as the sidebar or similar section.

The widget will automatically show one of the feeds you created using Smash Balloon.

To show a different feed instead, simply type the feed’s shortcode into the ‘Shortcode Settings’ box and then click on ‘Apply Changes.’

Adding an Instagram feed to WordPress using shortcode

You can now click on the ‘Update’ button to make the widget live. For more information, please see our step-by-step guide on how to add and use widgets in WordPress.

If you’re using a block-enabled theme, then you can add an Instagram feed to the sidebar using the full-site editor. To get started, simply go to Appearance » Editor.

Adding an Instagram feed using the full-site editor

In the editor, simply click to select the sidebar section and then click on the ‘+’ button.

You can then start typing in ‘Instagram Feed’ and select the right block when it appears.

Adding an Instagram feed to a block-enabled WordPress theme

By default, the full-site editor will show one of the Instagram feeds you created using Smash Balloon. To show a different feed, simply add the shortcode following the same process described above.

When you’re happy with how the Instagram feed looks, click on ‘Save’ to make your changes live.

How to Display a Specific Instagram Photo in WordPress

Sometimes you may want to show a specific Instagram post on your website. This might be your most popular photo, an evergreen post, or even a social media contest that you’re currently running.

A single Instagram post, embedded in WordPress

In the past, you could easily embed an Instagram post in WordPress using a protocol known as oEmbed. However, Facebook changed the way that oEmbed works, so you can no longer easily embed Instagram photos in WordPress.

The good news is that Smash Balloon can fix the Facebook and Instagram oEmbed issue. This allows you to easily embed a specific Instagram post in any page, post, or widget-ready area, such as the sidebar.

To enable this feature, simply go to Instagram Feed » oEmbeds. You can then click on the ‘Enable’ button.

Enabling the Facebook and Instagram oEmbed feature

After that, go to Appearance » Widgets and click on the blue ‘+’ button.

In the search bar, type in ‘Embed’ to find the right block.

The WordPress Embed block

When the ‘Embed’ block appears, drag it onto the area where you want to show the photo.

In the ‘Embed’ field, simply paste the URL of the Instagram post that you want to show on your website. Then, click on ‘Embed.’

Adding an embed block to your WordPress website

WordPress will now show the specific Instagram post.

If you’re happy with how it looks, then click on ‘Update’ to make it live.

Publishing an Instagram photo in a sidebar widget

Now, if you visit your website, you’ll see the Instagram post live.

If you’re using a block-enabled theme, then you’ll need to add specific Instagram posts using the full-site editor.

To do this, simply enable Smash Balloon’s oEmbed feature and get the Instagram post’s URL by following the same process described above.

After that, open the full-site editor by going to Appearance » Editor in the WordPress dashboard. Once you’re inside the full-site editor, click on the ‘+’ button in the sidebar section and then type in ‘Embed.’

Adding an Embed block using the full-site editor (FSE)

When the right block appears, click to add it to the sidebar.

You can then add the URL for the post you want to embed and click on the ‘Embed’ button.

Adding an Instagram feed using an Embed block

The full-site editor will now show the Instagram post.

If you’re happy with how it looks, then click on ‘Save’ to publish this photo or video to the block-enabled sidebar.

Adding a specific Instagram post to a block-enabled sidebar

FAQs About Displaying Instagram Posts in WordPress

Smash Balloon makes it easy to create a custom Instagram feed or even display specific Instagram posts on your WordPress website.

That being said, here are some of the most frequently asked questions about showing Instagram posts on WordPress.

How Do I Create an Instagram Business Account?

Smash Balloon can display photos from either a personal or business Instagram account.

However, Smash Balloon can’t automatically fetch the Instagram avatar and bio from a personal Instagram account. Instead, you’ll need to add the avatar and bio manually in the plugin’s settings.

With that being said, you may want to check whether you have a personal or business account, and then switch to a business account if necessary.

To do this, simply visit your Instagram account and click on the lined icon in the side menu.

Checking whether your Instagram page is a business or personal account

After that, click on ‘Settings.’

If you don’t have a business account, then this screen will show ‘Switch to professional account’ as the last option.

How to switch to a business Instagram account

If you currently have a personal account and want to switch to a business account, then simply click on this link.

How Do I Connect a Facebook Page to an Instagram Account?

Before you can display Instagram photos in WordPress, you’ll first need to connect your Instagram account to a Facebook page.

To do this, head over to the Facebook page that you want to use and then click on ‘Settings’ in the left-hand menu.

Once you’ve done that, click on ‘Linked Account.’ You can now select ‘Instagram’ and click on the ‘Connect’ button.

Linking an Instagram business account to a Facebook page

Facebook will now show all the actions it can perform, and the information it can access.

If you’re happy with this, then click on the ‘Connect’ button.

Linking Instagram and Facebook

Just be aware that the people who manage your Facebook page may be able to see your Instagram messages and respond to them. If you want to stop this and keep your messages private, then click to disable the slider.

When you’re ready to move to the next screen, click on ‘Confirm.’

Restricting access to your Instagram messages

This opens a popup where you can type in your Instagram username and password.

After that, click on the ‘Log in’ button.

Logging into your Instagram account

After a few moments, you’ll see a message saying that your Instagram and Facebook accounts are now connected.

We hope this article helped you learn how to display Instagram photos in a WordPress sidebar widget. You may also want to see our guide on how to create a custom Facebook feed in WordPress, or see our expert pick of social proof plugins for WordPress and WooCommerce.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Display Instagram Photos in WordPress Sidebar Widget first appeared on WPBeginner.

How to Automatically Publish from WordPress to Instagram

Do you want to automatically publish from WordPress to Instagram?

Instagram is one of the largest social media sites in the world with about a billion active users. By sharing your blog posts to Instagram, you can reach more people and get them to visit your website.

In this article, we will show you how you can automatically post to Instagram whenever you publish a new WordPress post.

How to automatically publish from WordPress to Instagram

Why Automatically Publish From WordPress to Instagram?

As one of the largest social media websites in the world, many WordPress website owners use Instagram to connect with potential new readers, website visitors, and customers.

Once you have some followers on Instagram, you can use this social networking site to promote your WordPress blog. Every time you publish a blog post, it’s a good idea to let your Instagram followers know about your new content.

To make your blog post stand out on Instagram, you’ll need to add an eye-catching image and an interesting caption. While Instagram doesn’t allow clickable links in captions, you can link to your blog from your Instagram bio, so your followers can easily find your latest posts.

You can also add a link in bio page which lets you showcase more than link to your Instagram bio.

Since running an engaging Instagram account takes time and effort, you can save some of that time by automating the process of publishing to Instagram automatically.

That being said, let’s see how you can automatically post to Instagram whenever you publish a new WordPress blog post.

Automatically Publish from WordPress to Instagram

Uncanny Automator is the best WordPress automation plugin that helps you create automated workflows without having to write code.

It connects with more than 80 plugins and third-party apps, so you can build smart automation workflows that saves you time. For example, you can integrate Slack with WordPress, create a workflow that automatically posts to Facebook from WordPress, and much more.

The free version of Uncanny Automator comes with over 100 automation triggers and actions.

In this guide, we’ll be using the free version, so you can automatically publish from WordPress to Instagram even if you’re on a tight budget and just getting started. If you want to build more powerful and advanced workflows, then Uncanny Automator Pro includes over 400 triggers and actions.

The first thing you need to do is install and activate the Uncanny Automator plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, go to Automator » Settings. Then, simply click on ‘Connect your site.’

Adding a license to Uncanny Automator

Uncanny Automator will now ask whether you want to upgrade to get more credits, triggers, and actions. If you do want to upgrade, then click on the ‘Upgrade to Pro now…’ button and follow the instructions to buy Uncanny Automator Pro.

If you want to automatically publish from WordPress to Instagram using the free version of Uncanny Automator, then simply click on ‘Connect your free account.’ You can always upgrade to Uncanny Automator Pro at a later date.

The Uncanny Automator setup wizard

Uncanny Automator will now show a popup where you can create an account by typing in your name, email address, and the password that you want to use. After typing in this information, click on ‘Sign Up.’

After a few moments, Uncanny Automator will show a message confirming that you’ve set up the plugin.

Next, you need to click on ‘Return to dashboard.’

The Uncanny Automator setup wizard

Before you can start automatically publishing from WordPress to Instagram, you’ll need to connect your Instagram account to Uncanny Automator.

Note: To post automatically, you’ll need an Instagram Business account that’s connected to a Facebook page for your business. Don’t already have an Instagram Business account? The good news is that it’s free. Here’s Instagram’s guide on how to convert a standard account into an Instagram Business account.

To connect Uncanny Automator to your Instagram account, go to Automator » Settings. Then, click on the ‘Premium integrations’ tab.

Uncanny Automator's premium integration

In the left-hand menu, go ahead and click on ‘Instagram.’

Since Instagram is owned by Facebook’s parent company, you’ll need to connect to the Facebook page that’s linked to your Instagram Business account.

To get started, click on the ‘Connect Facebook Pages’ button.

Connecting Uncanny Automator and Facebook

Uncanny Automator will now guide you through the process of connecting to your Facebook page. Once you’ve done that, Uncanny Automator will ask you to select the Instagram account that you want to use.

After choosing an account, you’ll need to select the actions that Uncanny Automator can take, and the information it can access on Instagram. Since we want to automatically publish from WordPress to Instagram, you’ll need to enable the first two options:

  • Access profile and posts from the Instagram account connected to your Page.
  • Upload media and create posts for the Instagram account connected to your Page.

After that, go ahead and click on the ‘Done’ button.

Instagram's permission settings

Once you’ve done that, Uncanny Automator will take you back to the WordPress dashboard.

You should now see that Uncanny Automator is connected to your Instagram account.

Connecting Uncanny Automator and Instagram

The next step is creating the workflow that will automatically publish from WordPress to Instagram. Uncanny Automator calls these workflows ‘recipes,’ and they’re made up of actions and triggers.

To build a recipe, go to Automator » Add New.

On this screen, you’ll be asked to select whether you want to create a ‘Logged-in’ recipe or an ‘Everyone’ recipe.

Blog posts can only be published by a user who has a WordPress account. With that in mind, click on ‘Logged-in users.’ Then, just click on the ‘Confirm’ button.

Creating a logged-in users recipe

You can now start to build your Uncanny Automator recipe.

First, you’ll need to add a title by typing into the field that shows ‘Add Title’ by default.

We’ll call the recipe ‘Automatically Publish from WordPress to Instagram’, but you can use anything you want.

Creating a recipe to automatically post to Instagram

Next, you need to define the condition that will trigger the action. For our recipe, the trigger is someone publishing a new blog post.

To add a trigger, simply click on the WordPress button in the Triggers section.

The WordPress automated workflow triggers

You’ll now see a list of all the Uncanny Automator triggers.

In the ‘Search for triggers’ field, start typing the following: ‘A user publishes a type of post with a taxonomy term in a taxonomy‘.

When the right trigger appears, click on it to add it to your Uncanny Automator recipe.

Automatically posting from WordPress to Instagram

Next, you’ll need to decide the type of content that will trigger the recipe. Simply click on the Post Type dropdown and then choose between post, page, media, or any post type.

Since we want to post to Instagram every time someone publishes a new blog, you’ll typically want to click on ‘Post.’

Creating an automated workflow for Instagram

At this point, you can tell Uncanny Automator to only run this recipe for posts that have a certain category or tag. For example, you may only want to automatically post when a blog has the ‘announcement’ tag.

This gives you more granular control over the content that gets published to your Instagram account, while still getting the time-saving benefits of an automated workflow.

To limit this recipe to a specific tag or category, open the ‘Taxonomy’ dropdown. Here, you can click on either ‘Category’ or ‘Tag’

Adding categories and tags to an automated workflow

Once you’ve done that, click on the ‘Taxonomy term’ dropdown.

You can now click on any of the categories and tags to add them to your recipe.

Choosing a tag in Uncanny Automator

When you’re happy with the information you’ve entered, click on ‘Save’ to save your changes. Uncanny Automator will now show a summary of the action that will trigger your recipe.

The next step is choosing the action that will happen every time you publish a new WordPress post. Start by clicking on the ‘Add action’ button.

Automatically publish from WordPress to Instagram with Uncanny Automator

Uncanny Automator will now show all the plugins and apps that you can use for the recipe.

You simply need to find ‘Instagram,’ and give it a click.

Connecting Instagram to WordPress

Once you’ve done that, click on the ‘Search for actions’ field. In this field, start typing in ‘Publish a photo to an Instagram Business account.’

When the right action appears, click to add it to your recipe.

Automatically publish a photo to Instagram

You’ll now see a new set of controls.

To start, we need to specify the image that Uncanny Automator will post to Instagram every time you publish a new WordPress post.

Sometimes you may want to use the same image for every post. For example, you might have used image editing software to create a special image advertising your website.

To use the same image every time, either type or copy/paste the image’s URL into the ‘Image URL or Media library ID’ field.

Adding an image URL to your automated workflow

To get an image’s URL, simply find the image in your WordPress media library.

You can then copy the value in the ‘File URL’ field, as you can see in the following image.

The WordPress media library

Another option is to use a different image for every WordPress post, so you’re not posting the same image to Instagram over and over again.

Every time you publish a blog, Uncanny Automator can post the blog’s featured image to Instagram. If you need help adding featured images to your posts, you can see our guide on how to add featured images or post thumbnails in WordPress.

To post the blog’s featured image to Instagram, click on the asterisk button next to the ‘Image URL or Media library ID’ field.

Post a featured image to Instagram from WordPress

Then, simply click on the ‘Search token’ field and start typing ‘post featured image URL.’

When the right token shows up, give it a click to add it to your recipe. Now, Uncanny Automator will get the post’s featured image and post it to Instagram automatically.

The next step is typing in the caption that Uncanny Automator will add to the Instagram post.

One method is to simply type text into the ‘Caption’ box, such as ‘We just published a new post. Read all about it on our blog!’ Uncanny Automator will then use this caption for every single Instagram post.

Posting a caption to Instagram automatically

Another option is to add tokens to the caption. Similar to dynamic text, Uncanny Automator will replace the token with a unique value that it gets from the blog post, such as the post’s title or URL.

This allows you to create more engaging and interesting captions, instead of posting the same caption over and over again.

To see all the different tokens that you can use, go ahead and click on the asterisk button.

In the dropdown menu, find ‘A user publishes…’ and then click on the arrow next to it.

Uncanny Automator's tokens

Now, find the token that you want to add to your caption, and click on it.

To create more interesting and helpful captions, you may want to use a mix of plain text and tokens, as you can see in the following image.

A mix of plain text and tokens

When you’re happy with your recipe, click on the ‘Save’ button.

The final step is activating the recipe so that it will start automatically publishing from WordPress to Instagram.

To publish your automated workflow, find the ‘Recipe’ section towards the right side of the screen. Then, simply click on the slider to turn it from ‘Draft’ to ‘Live.’

Publishing an automated workflow in WordPress

Now every time someone publishes a new blog on your WordPress website, Uncanny Automator will make a new Instagram post automatically.

How to Get More Out of Your Instagram Feed

Automatically publishing your blog posts to Instagram is a great way to keep your Instagram content fresh and updated.

To get more attention to their Instagram accounts, often professional bloggers and online store owners will embed their Instagram feed on their websites.

This helps you add social proof, keep visitors longer on your site, increase engagement, and even boost sales.

The easiest way to embed Instagram feeds on WordPress is by using Smash Balloon Instagram Feed. It is the best Instagram plugin for WordPress and allows you to add Instagram content to your website automatically.

There’s a free version of the Instagram plugin that’s used by over 1 million websites.

Embedding an Instagram feed in WordPress

You can use Smash Balloon to customize exactly how your Instagram feed will look on your website, and the content it shows.

You can even sort feeds based on Instagram hashtags, show likes and comments, create a custom Instagram photo feed in WordPress, and more using its simple editor.

The Smash Balloon social plugin

After creating your feed, you can add it to any page, post, or widget ready area simply by using the Instagram Feed block.

For more details, see our guide on how to easily embed Instagram in WordPress.

We hope this article helped you learn how to automatically publish from WordPress to Instagram. Next, you can see our guide on how to embed a Facebook video in WordPress, or see our expert pick of the best social media plugins for WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Automatically Publish from WordPress to Instagram first appeared on WPBeginner.

How to Create a Custom Instagram Photo Feed in WordPress

Do you want to create a custom Instagram feed in WordPress?

An Instagram feed can keep your site fresh and engaging while also getting you more likes, shares, and Instagram followers.

In this article, we will show you how to create a custom Instagram photo feed for your WordPress website.

How to create a custom Instagram photo feed in WordPress

Why Include an Instagram Feed on Your WordPress Site?

Adding an Instagram feed on your WordPress site lets you show fresh content to your visitors without lots of extra work. It also encourages readers to follow you on Instagram.

Instead of manually adding images in the WordPress block editor, you can simply create a feed that updates automatically every time you post new photos to Instagram. You can even show other people’s photos on your site by creating a hashtag feed.

In the following image, you can see an example of a brand that uses a custom Instagram feed to show user-generated content.

An example of user-generated Instagram content

In this way, you can use a custom Instagram feed to provide valuable social proof and make more money online.

That being said, let’s see how you can create a custom Instagram photo feed in WordPress.

How to Create a Custom Instagram Photo Feed in WordPress

The easiest way to add an Instagram photo feed to your site is by using the Smash Balloon Instagram Feed plugin. It is the best Instagram plugin for WordPress that allows you to display content from your Instagram account in an instant.

It’s also the easiest way to fix the Facebook and Instagram oEmbed issue in WordPress.

We will cover several steps in our tutorial, and you can use the quick links below to jump to the different sections:

How to Connect an Instagram Account to WordPress

First, you will need to install and activate the Smash Balloon Instagram Feed plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: In the guide, we are using the premium version of Smash Balloon, as it allows you to create a completely custom Instagram feed. with hashtag feeds and shoppable images. If you are just getting started or have a small budget, then there’s also a free Smash Balloon Social Photo Feed plugin.

After you’ve installed the plugin, head over to Instagram Feed » Settings.

You can now enter your Smash Balloon license key into the ‘License Key’ field.

Adding a license to Smash Balloon's Instagram plugin

You can find this information in the confirmation email you got when you purchased Smash Balloon and also in your Smash Balloon account.

After adding your license key, go ahead and click on the ‘Activate’ button.

Once you’ve done that, you are ready to create a custom Instagram feed. To get started, select Instagram Feed » All Feeds and then click on the ‘Add New’ button.

Creating an Instagram feed for WordPress

Smash Balloon will now show all the different types of Instagram feeds that you can create.

Simply select the type of feed you want to add to WordPress, and click on ‘Next’.

How to add an Instagram timeline feed to WordPress

If you just want to display your Instagram photos, then you can use a Personal Instagram account. However, you will need a Business Instagram account if you want to create a hashtag feed or show the posts that your account is tagged in.

Tip: Don’t have a Business Account? To convert your Personal Instagram account into a Business Account, simply follow Smash Balloon’s step-by-step instructions.

If you select ‘Publish Hashtag’, then you will need to type in the hashtags you want to use. To show multiple hashtags in the same feed, simply separate each hashtag with a comma.

Adding Instagram hashtags to your WordPress website

Once you have done that, just click on ‘Next’.

Do you want to show posts that your account is tagged in? You will need to select ‘Tagged Posts’ instead and then click on ‘Next’.

How to show tagged posts in a custom Instagram feed

No matter what kind of feed you are creating, you will need to connect WordPress to your Instagram account.

To get started, click on the ‘Add Source’ button.

Creating a custom Instagram photo feed in WordPress

After that, choose whether you want to show images from a personal or business account.

If you select the button next to ‘Personal’, then Smash Balloon won’t include the Instagram avatar and bio in your header by default. However, you can always add the Instagram avatar and bio manually in the plugin’s settings.

Choose between a personal and business Instagram account

After choosing ‘Personal’ or ‘Business’, just click on ‘Login with Facebook’.

You can now select the Instagram account that you want to feature on your WordPress website and click on ‘Next’.

Connecting to an Instagram account

After that, check the box next to the Facebook page that’s linked to the Instagram account you want to use.

With that done, you need to click on the ‘Next’ button.

Connecting a Facebook page to WordPress

You will now see a popup with all the information Instagram Feed Pro will have access to and the actions it can perform.

To restrict the plugin’s access to your Instagram account, simply click any of the switches to turn it from ‘Yes’ to ‘No’. Just be aware that this may affect the photos that appear on your WordPress blog or website.

With that in mind, we recommend leaving all the switches enabled. When you are happy with how the feed is set up, go ahead and click on ‘Done’.

Giving Smash Balloon access to your Instagram account

You will now see a popup with the Instagram account you just added to your website.

Simply check the box next to that account and then click on ‘Add’.

How to connect Instagram to WordPress using Smash Balloon

Instagram Feed Pro will now take you back to the Instagram Feeds » All Feeds screen.

To create a custom Instagram feed, just check the box next to the Instagram account that you want to use. Then, click on ‘Next’.

Creating a new Instagram feed in WordPress

The plugin will now create an Instagram photo feed that you can add to any page, post, or widget-ready area.

How to Customize Your Instagram Photo Feed

By default, Smash Balloon will open your feed in its editor, ready for you to customize.

On the right, you will see a preview of your Instagram photo feed. On the left-hand side are all the settings you can use to customize the social media feed.

How to create a custom Instagram feed with Smash Balloon

Most of these settings are self-explanatory, but we will quickly cover some key areas.

To change the layout, simply click on ‘Feed Layout’ in the left-hand menu. You can now choose from a Grid, Masonry, or Carousel layout.

Switching to a different Instagram layout

There is also a Highlighted layout that highlights every third photo by default.

As you click on the different options, the live preview will automatically update to show the new layout. This makes it easy to try different designs and find the one you prefer.

By default, Smash Balloon shows the same number of photos on desktop computers and mobile devices. You can preview how the Instagram feed will look on desktop computers, tablets, and smartphones using the row of buttons in the upper-right corner.

Previewing an Instagram feed on desktop, mobile, and tablet

Smartphones and tablets typically have smaller screens and less processing power, so you may want to show fewer Instagram photos and videos on mobile devices.

To do this, just type a different number into the ‘Mobile’ field under ‘Number of Posts’.

How to show a different number of Instagram posts on mobile

By default, Smash Ballon will split your photos into 4 columns on desktop, 2 columns on tablet devices, and a single column on mobile.

Do you want to use a different number of columns? Then just scroll to the ‘Columns’ section in the left-hand menu.

You can now type a new number into the Desktop, Tablet, or Mobile fields.

Showing a different number of columns in a custom Instagram feed

To make sure your Instagram feed looks good on mobile devices, it’s smart to view the mobile version of your WordPress website.

After making your changes, click on the ‘Customize’ link. This will take you back to the main Smash Balloon editor, ready for you to explore the next settings screen, which is ‘Color Scheme’.

Changing the Instagram feed color scheme

By default, Smash Balloon uses a color scheme inherited from your WordPress theme, but it also has ‘Light’ and ‘Dark’ themes that you may want to use for your Instagram feed.

You can even create your own color scheme by selecting ‘Custom’ and then using the settings to change the link color, background color, text color in WordPress, and more.

Changing the Instagram color scheme

By default, Smash Balloon adds a header to the Instagram feed, which is your profile picture and the name of your page. This can provide some useful extra context so that visitors understand where these images are coming from.

To change how this section looks, return to the main settings screen and then select ‘Header’.

Adding a header to a custom Instagram photo feed

On this screen, you can change the background color, show your Instagram bio, change the header size, and more.

By default, the header includes your Instagram profile picture. However, you may want to show a different image, such as your site’s custom logo.

To change the profile picture, click on ‘Add Image’ under ‘Show custom avatar’. You can then either choose an image from the WordPress media library or upload a new photo.

Adding a custom Instagram avatar to your WordPress website

You can also add a different bio. For example, you might add a call to action that encourages people to visit your Instagram page.

To create a unique Instagram bio, simply type into the ‘Add custom bio’ box.

Adding a custom Instagram bio to your WordPress website

When you are happy with how the header looks, click on the ‘Customize’ link to go back to the main settings screen.

Now, you need to click on ‘Posts’.

Creating a custom Instagram photo feed in WordPress

To start, you can switch between boxed and regular layouts for the individual posts inside the Instagram feed.

To do this, select ‘Post Style’.

Customizing an embedded Instagram photo feed

You can now click to select the layout you want to use.

If you select ‘Boxed’, then you can change the background color, add a box shadow, and increase the border radius to create curved corners.

Adding a box style to an embedded social media feed

When you are happy with your changes, just click on the ‘Posts’ link to return to the previous Smash Balloon screen.

This time, select ‘Images and Videos’.

Changing the resolution of an embedded Instagram feed

Smash Balloon automatically analyzes your Instagram photos and shows them at the best resolution. We recommend using these default settings, as they are designed to boost your WordPress speed and performance. However, you can make the Instagram images bigger or smaller if you need to.

To change the image size, simply open the ‘Resolution’ dropdown and choose one of the default WordPress image sizes from the list.

Changing the resolution for an embedded Instagram feed

Once again, click on the ‘Posts’ link to return to the previous screen.

This time, select ‘Caption’. On the next screen, you can show the Instagram caption next to each image by clicking on the ‘Enable’ slider.

Showing Instagram captions on your WordPress website

If you add Instagram captions to your feed, then you can change the text size and color and set a maximum text length.

With that done, just click on the ‘Posts’ link to return to the previous screen.

Showing social media captions on a website or blog

The next setting is ‘Like and Comment Summary’.

Here, you can add or hide the total number of likes and comments on each image. If your Instagram posts get a good amount of engagement, then these numbers can encourage people to visit your Instagram page or start following you on social media.

Showing social media comments and likes on a website or blog

As always, you need to click on ‘Posts’ to return to the earlier screen.

The final option is ‘Hover State’, which is the overlay that Smash Balloon adds to a post when you hover your mouse over it.

Customizing the hover state for an embedded social media photo feed

Here, you can choose the information that Smash Balloon shows when someone hovers over a post using the settings under ‘Information to display’.

You can also change the color of the hover overlay.

Adding a custom Instagram feed to WordPress

When you are happy with the changes you have made, click on the ‘Customize’ link.

This takes you back to the main Smash Balloon settings page, where you can click on ‘Load More Button’.

Adding a load more button to a custom Instagram photo feed in WordPress

Here, you can help the ‘Load More’ button stand out by changing its background color, text color, and hover state.

You can also try adding your own messaging to the button by typing into the ‘Text’ field.

Customizing the load more button on a custom Instagram photo feed

While we recommend leaving this button enabled, you can remove it. For example, you might encourage people to visit your Instagram by limiting the number of photos they can see on your site.

To remove the button, simply toggle off the ‘Enable’ slider so that it turns grey.

Removing the 'Load More' button on a custom Instagram photo feed

If visitors like what they see, they may decide to subscribe using the ‘Follow on Instagram’ button that appears below the embedded feed.

Since it’s such an important button, you might want to add some custom styling to help it stand out. To do this, select ‘Customize’ to return to the main settings screen. Then, select ‘Follow Button’ in the left-hand menu.

Here, you can change the button’s background color, hover state, and text color.

Customizing the Instagram follow button

By default, the button shows a ‘Follow on Instagram’ label.

You can replace this with your own messaging by typing into the ‘Text’ field.

Adding your own messaging to an Instagram CTA button

Smash Balloon comes with a built-in lightbox that allows visitors to open your Instagram photos and videos without leaving your website.

To configure this feature, go back to the main Smash Balloon settings screen and then click on ‘Lightbox’.

The Smash Balloon lightbox feature

Here, you can change how many comments Smash Balloon will show in the lightbox.

If you don’t want to use the lightbox feature, then you can disable it using the ‘Enable’ slider.

Enabling the WordPress lightbox feature

When you are happy with how the Instagram feed looks, don’t forget to click on ‘Save’ to store your changes.

You are now ready to add the Instagram feed to your WordPress website.

Showing a Feed of Your Instagram Photos in WordPress

You can add the custom Instagram feed to your website using a block, a widget, or a shortcode.

If you have created more than one feed using Smash Balloon, then you will need to know the feed’s code to use a widget or block.

To get this code, you must go to Instagram Feed » All Feeds and then copy the text under ‘Shortcode.’

In the following image, we will need to use instagram-feed feed=4.

Getting a shortcode for your custom Instagram feed

If you want to embed the Instagram feed in a page or post, then you can use the Instagram Feed block.

Just open the page or post where you want to embed your custom Instagram feed. Then, click on the ‘+’ icon to add a new block and start typing ‘Instagram Feed’.

When the right block appears, click to add it to the page or post.

Adding the Feeds for Instagram block to your WordPress website

The block will show one of your Instagram feeds by default. If you want to show a different Smash Balloon feed, then find ‘Shortcode Settings’ in the right-hand menu.

Here, simply add the shortcode and then click on ‘Apply Changes.’

Adding a social media feed to WordPress using shortcode

If you are happy with how the custom Instagram feed looks, then you can go ahead and publish or update the page.

Another option is to add the Instagram Feed widget to your website. This is a great way to show an Instagram feed on every page of your site. For example, you might add the Instagram widget to the WordPress theme’s sidebar or footer.

To add the Instagram Feed widget to your site, head over to Appearance » Widgets. You can then click on the blue ‘+’ icon towards the top of the screen.

Adding an Instagram feed to a widget-ready area

In the panel that appears, type in ‘Instagram Feed’ to find the right widget.

As you can see in the following image, there are two Instagram Feed widgets, so make sure you use the right one.

Adding the Instagram feed widget to a WordPress sidebar

Next, simply drag the widget onto the area where you want to show the Instagram feed, such as the sidebar or similar section.

The widget will automatically show one of the feeds you created using Smash Balloon. If this isn’t the custom Instagram feed you just created, then type the feed’s code into the ‘Shortcode Settings’ box.

After that, click on ‘Apply Changes.’

You can now make the widget live by clicking on the ‘Update’ button. For more information, please see our step-by-step guide on how to add and use widgets in WordPress.

An example of an embedded Instagram feed

Another option is embedding the Instagram feed on any page, post, or widget-ready area using a shortcode.

Simply go to Instagram Feed » All Feeds and copy the code in the ‘Shortcode’ column. You can now add this code to any Shortcode block. For help placing the shortcode, please see our guide on how to add a shortcode.

Are you using a block-enabled theme? Then you can use the full site editor to add the Instagram Feed block anywhere on your WordPress website.

In the dashboard, go to Appearance » Editor.

How to add an Instagram feed to WordPress using the full-site editor

By default, the full-site editor will show the theme’s home template.

If you want to add the Instagram feed to a different area, then click on either ‘Template’ or ‘Template Parts’.

Adding an Instagram feed to a WordPress template

The editor will now show a list of all the template parts that make up your WordPress theme.

Simply click on the template where you want to show the Instagram feed.

A list of templates, in the WordPress full-site editor (FSE)

WordPress will now show a preview of the design.

To edit this template, go ahead and click on the small pencil icon.

Editing the WordPress homepage template using the full-site editor

After choosing a template, just hover your mouse over the area where you want to add the Instagram photo feed.

Then, click on the blue ‘+’ button.

How to add a block to a template using full-site editor (FSE)

Once you have done that, you need to type in ‘Instagram Feed’.

When the right block appears, click to add it to the template.

Adding a Instagram feeds block using the full-site editor (FSE)

As always, Smash Balloon will show a feed by default. You can change this feed by adding a shortcode following the same process described above.

Bonus: Let Customers Buy Your Products Through Instagram

If you have an online store, then you can also use your custom Instagram feed to easily sell your products.

Smash Balloon Instagram Feed Pro allows you to tag your Instagram images with product links so that users are able to click on them and buy them directly instead of navigating through your product pages. This can increase sales and boost profits in your store.

How to add a shoppable link to an Instagram post

For more details, you can see our complete guide on how to add Instagram shoppable images in WordPress.

We hope this article helped you learn how to create a custom Instagram feed in WordPress. You might also want to see our comparison of the best WordPress giveaway plugins to grow your social following and learn how to create an email newsletter.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

The post How to Create a Custom Instagram Photo Feed in WordPress first appeared on WPBeginner.