How to add a LinkedIn feed to Duda
Duda's HTML widget lets you embed custom code on any page. Drag the HTML widget onto the page, paste the LinkedIn widget code into its content editor and republish.
Step-by-step: add a LinkedIn widget to Duda
- 1
Create your LinkedIn widget
Sign up for free, click New widget, choose Person or Company, and paste your LinkedIn profile or company page URL.
- 2
Customize and copy the embed code
Pick a widget (posts feed, profile card, company page, jobs, recommendations, certifications or projects), match your brand, then open the Integration tab and copy the code.
- 3
Drag in the HTML widget
In the Duda editor, open the Widgets panel and drag the HTML widget into a column or container of its own, where the LinkedIn widget should appear.
- 4
Paste the code
Right-click the HTML widget and select Edit Content (Manage HTML in Editor 2.0, or use the floating menu in flex mode), then paste the embed code into the text box.
- 5
Republish the site
Republish your site and check the widget on the live page.
Your embed code looks like this
Copy the exact code, with your widget ID, from the Integration tab in the LinkedInEmbed dashboard.
<div class="linkedembed-widget" data-widget-id="YOUR_WIDGET_ID"></div>
<script src="https://www.linkedinembed.com/embed.js" async></script>Tips for Duda
- Duda recommends keeping the HTML widget in a column or container of its own, so you can simply delete that container if you ever need to remove it.
- Duda suggests backing up your site before adding custom code, and notes that Duda Support can't troubleshoot custom code.
- Duda's HTML widget runs client-side code only, served over HTTPS. The LinkedInEmbed code is a client-side script loaded over HTTPS, so it fits those rules.
- Building dynamic pages? Duda lets you connect HTML widget content to collection data, so you can store a different widget ID per page and keep one shared layout.
Widget not showing or not updating? Read the troubleshooting guide.
Ready to add LinkedIn to Duda?
Create your widget for free and get your embed code.
LinkedIn on Duda: FAQ
Will the LinkedIn widget break Duda's editor?
It shouldn't. Duda warns against loading a new jQuery version in the HTML widget, and the LinkedInEmbed script doesn't load jQuery or any other library. It only adds the widget to its placeholder.
Can I show a different LinkedIn widget on each dynamic page?
Yes. Store each page's widget ID in a collection field, then connect that field to the HTML widget's data-widget-id value using Duda's Connect option.
Which LinkedIn widget will you add to Duda?
Every widget uses the same embed code, so the steps above work for all of them.
Put your LinkedIn on your website today
Create your first widget in about two minutes. Free plan, no credit card required.