Social feed widgets for any website

Embed LinkedIn Feed - HTML Code

Add a live LinkedIn Company Page feed to any website with a single line of HTML. No coding skills, no API keys, no complex setup — just paste the embed code and your LinkedIn posts appear instantly.

Live LinkedIn Feed Widget

This is a real LinkedIn feed widget — fully interactive and auto-updating. This is exactly what visitors to your website will see.

The Simplest Way to Embed a LinkedIn Feed on Your Website

LinkedIn doesn't offer any native way to embed your company feed on a website. Unlike Facebook or Instagram, there's no official LinkedIn embed tool for feeds. Most alternatives require developer skills, custom API integrations, or expensive enterprise tools. Social Media Feeds gives you a one-line HTML embed code that displays your full LinkedIn Company Page feed on any website.

The embed code works everywhere HTML works: WordPress, Shopify, Squarespace, Wix, Webflow, custom-built sites, landing page builders — if you can paste HTML, you can embed your LinkedIn feed. No JavaScript frameworks, no build tools, no npm packages.

Behind the scenes, Social Media Feeds handles all the complexity of accessing your LinkedIn content. From your perspective, it's just one line of code that you paste once and never think about again.

Step-by-Step Setup

Follow these steps to get your LinkedIn feed widget live.

1

Create Your Account

Sign up at Social Media Feeds — it takes 30 seconds. Paste your LinkedIn Company Page URL and we'll set up access to your content automatically.

2

Customise Your Feed Widget

Choose your preferred layout (grid, cards, list, or carousel). Set how many posts to show, adjust colours and fonts, and preview your feed in real time before embedding.

3

Copy the HTML Embed Code

Your embed code is a single HTML div tag plus a script reference. It looks like this: a data attribute identifies your widget, and the script handles everything else.

4

Paste into Your Website HTML

Open your website editor and paste the code wherever you want the LinkedIn feed to appear. On WordPress, use a Custom HTML block. On Shopify, use a Custom Liquid section. On Squarespace or Wix, use an Embed or HTML block. The feed renders immediately.

Key Benefits

Everything you need to display your LinkedIn feed on your website — without the complexity.

One Line of HTML

The entire embed is a single div tag plus a script reference. No configuration files, no API keys, no JavaScript frameworks — just paste and publish.

Works on Any Website

WordPress, Shopify, Squarespace, Wix, Webflow, Framer, Carrd, custom HTML — anywhere you can paste HTML, you can embed your LinkedIn feed.

No LinkedIn API Required

You don't need a LinkedIn developer account or API key. Just paste your Company Page URL and Social Media Feeds handles the technical complexity.

B2B Trust Signal

LinkedIn content is the most trusted in B2B. Displaying your company posts on your website builds credibility with prospects and partners.

Automatic Updates

Post on LinkedIn and your website updates itself. The embed code stays the same forever — new content flows through automatically.

Fully Customisable

Despite being a simple embed, you get full control over layout, colours, fonts, post count, and responsive behaviour through the dashboard.

Your Embed Code

Once you've created your widget, you'll get a simple embed code like this. Paste it anywhere on your website.

<!-- Paste this where you want your LinkedIn feed to appear -->
<div data-linkedin-widget data-embed-id="your-embed-id"></div>
<script src="https://socialmediafeeds.com/embed/widget.js"></script>

The LinkedIn embed snippet explained

The LinkedIn snippet is a div with the attribute data-linkedin-widget and your data-embed-id, plus a script tag that loads widget.js from socialmediafeeds.com. The script runs in the visitor's browser, requests your Company Page posts from Social Media Feeds and draws them into the div.

Since LinkedIn has no native embed for Company Page feeds, the snippet is the simplest route to show LinkedIn updates on a custom-built site, a documentation portal or a CMS theme. Keep one script tag on the page even if you add other widgets, such as Google reviews, alongside it.

Placement and layout for LinkedIn content

LinkedIn posts are mostly text, with links and images attached. Give the container enough width for readable line lengths, around 600 to 900 pixels, and choose the card layout so each post keeps its full text. For a compact footer or sidebar strip, the list layout takes less height.

Only public Company Page posts appear. Nothing from private groups, messages or personal feeds is accessible. If your site uses a Content Security Policy, allow socialmediafeeds.com for scripts and images, so the posts and their thumbnails load.

Common LinkedIn issues and fixes

An empty feed usually has one of three causes: the Company Page URL points at a personal profile, the script tag is blocked by a Content Security Policy, or the div is missing from the final HTML. Check each in turn, then press Refresh in your dashboard to pull the latest posts.

More help: Widget not showing on my website.

Plan facts for this widget

  • Free: 1 widget, unlimited views, manual refresh only, Social Media Feeds branding.
  • Paid plans start at $5 per month (AUD, excluding GST) with automatic daily refresh and no branding.
  • Every plan includes unlimited views and all six platforms.

Compare every plan on the pricing page, or read the main LinkedIn Feed Widget guide.

Frequently Asked Questions

What does the LinkedIn embed code look like?

The embed code is two lines: a div tag with a data attribute identifying your widget, and a script tag that loads the widget renderer. Example: <div data-linkedin-widget data-embed-id="8a1d01b994f42764"></div> followed by <script src="https://socialmediafeeds.com/embed/widget.js"></script>. That's it.

Does LinkedIn have a native feed embed?

No. LinkedIn only offers embeds for individual posts — there's no official way to embed your entire company feed on a website. Social Media Feeds fills this gap with a lightweight embed that displays all your LinkedIn Company Page posts.

Will the embed code work on Shopify?

Yes. In your Shopify theme editor, add a Custom Liquid section and paste the embed code. It works in any section of any Shopify theme. No Shopify app installation required.

Do I need to update the HTML code when I post new content?

No. The embed code stays the same forever. When you post on LinkedIn, the widget automatically picks up your new content based on your plan's refresh interval — manual only on Free, daily on Starter and Pro, twice daily on Business.

Is there a free version of the LinkedIn embed code?

Yes. The free plan includes one LinkedIn feed widget with manual refresh and full customisation. No credit card required, no time limit. Paid plans add more widgets, faster refresh, and branding removal.

Can I embed the HTML code on multiple pages?

Yes. You can paste the same embed code on as many pages as you like — it counts as one widget. Each page will display the same LinkedIn feed with the same settings.

Can I embed LinkedIn without the official LinkedIn badge or iframe?

Yes. The widget draws your Company Page posts directly into your page with your own colours and fonts. It does not use LinkedIn's badge or an iframe.

Does the LinkedIn snippet work on a single-page app or a static site?

Yes. Add the div and script to the template. On single-page apps, make sure the div exists in the page when the script runs, or reload the script after a route change.

Can I show posts from two Company Pages in one feed?

Each widget shows one Company Page. To show two, create two widgets and place both snippets on the page, with a single script tag.

Ready to Add Your LinkedIn Feed to Your Website?

Start with a free plan. Explore paid plans for more widgets and features. Set up your first widget in under 5 minutes.

Choose the plan that fits your website.