TechBuzzPro

How to Embed a LinkedIn Post: Step-by-Step Guide

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Embedding a LinkedIn post lets you display the full post — text, image, or video — on your website or blog, where visitors can see it and interact with it without leaving your page. The simplest way is to use LinkedIn's built-in embed option, which generates an iframe code you paste into your site. You'll need the post to be public and you'll need permission to edit your site's HTML. The steps below cover desktop and mobile, plus fixes for common problems.

What You'll Need

  • A LinkedIn account (free) to access the post's menu.
  • The post must be public — visible to anyone, not just connections.
  • Access to edit your website's HTML, or a CMS that accepts embed code (WordPress, Squarespace, Wix, etc.).
  • A desktop browser for the easiest experience; the mobile app has limited options.

Step-by-Step

  1. Open the post on LinkedIn. Go to the post you want to embed. You can find it in your feed, on a company page, or via a direct link. Make sure the post is public — if you see a globe icon next to the timestamp, it's public. If it shows a lock or people icon, it's restricted and cannot be embedded.
  2. Click the three-dot menu. On the post, click the three dots (More) in the top-right corner of the post card. A dropdown menu appears.
  3. Select "Embed this post". If the option is missing, the post isn't public or embedding is disabled for that post type. Clicking it opens a dialog with a preview and a block of HTML code.
  4. Copy the embed code. In the dialog, click the "Copy code" button (or select all the code and copy it manually). The code is an iframe snippet that points to LinkedIn's embed endpoint.
  5. Paste the code into your site. In your CMS, switch to HTML or code view for the page or post where you want the embed. Paste the code where you want the post to appear. If you're using a block editor, look for a "Custom HTML" or "Embed" block and paste there.
  6. Save and preview. Publish or preview the page. The embedded post should load with LinkedIn's styling. It may take a moment to appear. Check that it displays correctly on both desktop and mobile views.
  7. Adjust size if needed. The iframe has a fixed width and height. You can edit the width and height attributes in the code to fit your layout, but keep the aspect ratio reasonable to avoid cropping. Most sites handle the default size fine.

Common Mistakes

  • Embedding a private post. Only public posts can be embedded. If the post is visible only to connections or a group, the embed option won't appear or the embed will fail to load.
  • Pasting into the visual editor. If you paste the code into a WYSIWYG editor without switching to HTML view, the code will show as text instead of rendering. Always use the HTML or code block.
  • Using the mobile app. The LinkedIn mobile app does not offer the embed option. Use a desktop browser or request the desktop site in your mobile browser.
  • Forgetting to test. Embeds can break if LinkedIn changes its code or if your site strips iframes. Always preview after publishing.
  • Embedding a post that was later deleted. If the original post is removed, the embed will show an error or blank space. Keep a backup of the post content if it's critical.

Tips

  • Use the embed to showcase testimonials, company announcements, or industry insights directly from LinkedIn.
  • If you need to embed multiple posts, consider using LinkedIn's embed code for each, but avoid overloading a single page — too many iframes can slow loading.
  • Customize the width to match your content column for a cleaner look. The height can often be left as is; LinkedIn's embed adjusts for content.
  • Check the embed on mobile — some themes may need CSS adjustments to make the iframe responsive.
  • If you want to embed a LinkedIn article or newsletter, the process is similar: use the three-dot menu on the article page and look for the embed option.

Troubleshooting

If the embed code doesn't work, work through these checks in order:

  • The embed shows blank or an error: First, confirm the post is still public and hasn't been deleted. Try opening the post's URL in a private browser window — if it asks you to log in, it's not public. Also check if your site blocks iframes; some security plugins or CMS settings strip them. You may need to allow iframes from LinkedIn in your site's settings.
  • The code appears as text: You pasted into a visual editor. Switch to HTML view or use a custom HTML block.
  • The embed is too wide or overflows: Edit the width attribute in the iframe code to a smaller value, or add CSS to make the iframe responsive (e.g., max-width: 100%;).
  • The embed doesn't load on mobile: Some mobile themes hide iframes. Check your theme's settings or add CSS to ensure iframes are visible.
  • You don't see "Embed this post": The post may not be public, or you may be using the mobile app. Use a desktop browser and ensure the post is public.

If none of these work, try generating the embed code again from LinkedIn, or contact your CMS support to see if iframes are restricted.

Frequently Asked Questions

Can I embed a LinkedIn post if I'm not connected to the author?

Yes, as long as the post is public. You don't need to be connected to view or embed a public post.

Does the embedded post update automatically if the original is edited?

Yes, the embed pulls the live post content, so edits to the original post will reflect in the embed (though major changes like deleting the post will break it).

Can I embed a LinkedIn post on WordPress?

Yes. Use a Custom HTML block or the classic editor's Text view, and paste the embed code. WordPress.com also supports embeds via the Embed block for LinkedIn.

Why is the embed option missing on some posts?

The post may be private, from a group, or a type that doesn't support embedding (e.g., certain ads or sponsored content). Only public, organic posts can be embedded.

Can I embed a LinkedIn post on a mobile-optimized site?

Yes, but you may need to adjust the iframe's width and height for smaller screens. Use CSS to make the iframe responsive.

Is there a limit to how many LinkedIn posts I can embed on one page?

LinkedIn doesn't specify a limit, but too many iframes can slow down your page. Use them sparingly.