Description
WordPress embeds YouTube videos, X posts and Spotify tracks when you paste their link, but not LinkedIn posts. LinkedIn has no oEmbed service, so the only option was copying the iframe code from “Embed this post” into a Custom HTML block. This plugin makes LinkedIn work like the others.
What it adds
- Paste to embed: paste a LinkedIn post link on an empty line in the block editor and it becomes the embedded post, the same way YouTube links do.
- Short links work too: the lnkd.in links you get from LinkedIn’s Share button are turned into the right post on your site, once, and then remembered.
- LinkedIn block: find it in the inserter under Embeds, or type /linkedin. Paste the link and click Embed.
- Full or compact post: show the whole post, or LinkedIn’s compact version with the first lines and a “…more” link.
- Height control: LinkedIn doesn’t tell websites how tall a post is, so you set it in the block sidebar. Compact posts start at 520px, full posts at 600px.
- Same options as other embeds: caption, left/center/right alignment, margin and HTML anchor.
- Classic content and the core Embed block: a LinkedIn link on its own line in classic content, or pasted into WordPress’s own Embed block, is embedded too.
Which links work?
- Short links:
lnkd.in/...links from LinkedIn’s Share button - Post links:
https://www.linkedin.com/posts/name_title-share-1234567890-abcd/ - Feed links:
https://www.linkedin.com/feed/update/urn:li:activity:1234567890/
Links to profiles, company pages, articles or newsletters are not posts and show as a normal link.
External services
This plugin connects to LinkedIn, which is needed to show LinkedIn posts.
- lnkd.in (LinkedIn short links): when a post contains a lnkd.in link, your site requests that link once to find out which LinkedIn post it points to. Only the short link itself is sent, from your server, when the post is first displayed or previewed. The result is stored on your site for 30 days.
- linkedin.com (the embedded post): the post is shown in an iframe loaded from linkedin.com by your visitor’s browser, the same as LinkedIn’s own embed code. LinkedIn receives the visitor’s IP address and browser details and may set cookies (LinkedIn shows its own cookie notice inside the embed).
LinkedIn User Agreement: https://www.linkedin.com/legal/user-agreement
LinkedIn Privacy Policy: https://www.linkedin.com/legal/privacy-policy
This plugin is not made, endorsed or supported by LinkedIn. LinkedIn is a trademark of LinkedIn Corporation.
Screenshots




Blocks
This plugin provides 1 block.
- LinkedIn Embed a LinkedIn post.
Installation
- Install and activate the plugin from Plugins > Add New, or upload the zip.
- In the block editor, paste a LinkedIn post link on an empty line, or add the LinkedIn block.
FAQ
-
Why is there empty space under the post, or is the post cut off?
-
LinkedIn doesn’t tell other websites how tall a post is, so the height is set by hand. Select the block and change Height in the sidebar. Posts with images or long text need more.
-
That is LinkedIn’s own notice inside the embed, shown to visitors who haven’t accepted LinkedIn cookies yet. The plugin can’t remove it.
-
The post doesn’t show, only the link.
-
The link isn’t a public LinkedIn post: it may be private, deleted, or a profile, article or company page. Only public posts can be embedded.
-
Does it work in the classic editor?
-
Yes. Put the LinkedIn post link on its own line, like a YouTube link.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Business Bloomer Post Embeds for LinkedIn” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Business Bloomer Post Embeds for LinkedIn” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.1
- Added the plugin homepage link.
1.0.0
- First release.
