Add LinkedIn to WordPress: Step-by-Step Guide
Adding LinkedIn to your WordPress site lets visitors connect with you professionally, follow your company, or share your content on the world’s largest business network. This guide covers the simplest methods—from adding a profile link in your menu to embedding your LinkedIn feed—so you can pick the one that fits your needs. No coding experience is required, and you can complete any method in under ten minutes.
What You’ll Need
- A WordPress site (self-hosted or WordPress.com) with admin access.
- The URL of your LinkedIn profile or company page (e.g., linkedin.com/in/yourname).
- Optional: A plugin like “Social Icons Widget” or “WP to LinkedIn” if you want advanced features.
Step-by-Step
Method 1: Add a LinkedIn Icon to Your Menu (Quickest)
- Log in to your WordPress dashboard.
- Go to Appearance → Menus (or Appearance → Customize → Menus in newer themes).
- Click Add a menu if you don’t have one, or select an existing menu (e.g., “Primary Menu”).
- In the left panel, click Custom Links.
- In the “URL” field, paste your LinkedIn profile URL (e.g., https://www.linkedin.com/in/yourname).
- In the “Link Text” field, type “LinkedIn” or just “in” (or use a short label).
- Click Add to Menu, then drag the item to the desired position.
- Click Save Menu.
- To display an icon instead of text, install a plugin like “Menu Icons” or use a theme that supports icons. Then assign an icon to that menu item.
Method 2: Add a LinkedIn Button in Your Widget Area
- Go to Appearance → Widgets.
- Click the + (block inserter) and search for “Custom HTML” or “Social Icons”.
- Drag a Custom HTML widget to your sidebar or footer.
- Paste the following HTML code, replacing
YOUR_LINKEDIN_URLwith your actual profile URL:
<a href="YOUR_LINKEDIN_URL" target="_blank" rel="noopener">Follow me on LinkedIn</a>
- Click Update to save the widget.
- For a styled button, use a plugin like “Social Icons Widget & Block” which gives you a ready-made LinkedIn icon.
Method 3: Embed Your LinkedIn Profile or Company Page
- Go to your LinkedIn profile or company page.
- Click the More… button (next to “Edit public profile & URL”).
- Select Build a profile badge (for personal profiles) or Create a company profile badge (for company pages).
- Customize the badge style and size, then copy the provided embed code.
- In WordPress, create a new page or post, or edit an existing one.
- Add a Custom HTML block and paste the LinkedIn badge code.
- Publish or update the page. The badge will display your profile picture, name, and a “View profile” button.
Method 4: Add a LinkedIn Share Button to Your Posts
- Install a social sharing plugin like “Social Warfare” or “AddToAny Share Buttons”.
- Activate the plugin and go to its settings.
- Enable LinkedIn as one of the share networks.
- Choose where to display the buttons (e.g., after post content, floating sidebar).
- Save settings. Now each post will have a LinkedIn share icon.
Common Mistakes
- Using the wrong URL: Make sure you use your public profile URL (linkedin.com/in/…) and not the URL from your browser’s address bar when logged in (which often contains extra parameters).
- Forgetting to open links in a new tab: If you add a link manually, always add
target="_blank" rel="noopener"so visitors don’t leave your site. - Placing the link in an obscure location: Put your LinkedIn link where visitors expect it—header, footer, or sidebar—not buried in a page.
- Using an outdated plugin: Some social media plugins break after WordPress updates. Keep plugins updated or use a well-maintained one.
- Not testing the link: Always click the link after adding it to ensure it goes to the correct LinkedIn page.
Tips
- Use a recognizable LinkedIn icon (the “in” logo) instead of plain text to improve visual appeal.
- If you have a business, link to your company page rather than a personal profile.
- Consider adding a LinkedIn follow button (via LinkedIn’s official plugin) to increase followers directly from your site.
- For a clean look, add social icons in the footer or header using a widget area.
- If you’re using a page builder like Elementor, you can drag a “Social Icons” widget and simply paste your LinkedIn URL.
Troubleshooting
- LinkedIn icon not showing: If you used a custom HTML icon, ensure the icon font or image is loading. Try using a plugin instead.
- Link opens in the same tab: Your theme may strip
targetattributes. Use a plugin like “WP External Links” to force new tabs for external links. - Badge not displaying: LinkedIn badges sometimes require a specific script. Make sure you pasted the entire embed code, including the
<script>tag, into a Custom HTML block. - Menu item disappears: If you’re using a caching plugin, clear the cache after adding the menu item.
- LinkedIn URL returns 404: Double-check that your LinkedIn profile is public. Go to LinkedIn → Settings & Privacy → Visibility → Edit your public profile, and ensure it’s set to “Public”.
- Plugin conflicts: If a social plugin causes errors, deactivate other plugins one by one to identify the conflict.
Frequently Asked Questions
Do I need a plugin to add LinkedIn to WordPress?
No. You can add a simple text link in your menu or widget without a plugin. Plugins are only needed for icons, badges, or share buttons.
Can I embed my entire LinkedIn feed on my site?
LinkedIn doesn’t offer an official feed embed for personal profiles, but you can embed a company page’s recent posts using the LinkedIn Company Page plugin or a third-party service. For personal profiles, the badge is the closest option.
How do I add a LinkedIn icon to my WordPress menu?
Install a menu icon plugin like “Menu Icons” or use a theme that supports icons. Then, when editing your menu, assign a LinkedIn icon to the custom link you created.
Will adding a LinkedIn link hurt my SEO?
No, it’s actually beneficial. Outbound links to authoritative sites like LinkedIn are fine, and it provides a natural signal to search engines.
Can I add LinkedIn to my WordPress.com site?
Yes. WordPress.com supports custom menus and widgets. For badges, you can use the Custom HTML block in the block editor.
How do I remove the LinkedIn link later?
Simply go to Appearance → Menus (or Widgets) and delete the item. Or edit the page and remove the block.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.