December 29, 2020

How to add LinkedIn profile widget in your website/blog

  December 29, 2020

 It's always good to keep a link to the professional account of the author in your blog or website.

We can use different widgets provided by websites or we can custom create one.

Below is such a code that we can use to provide a link to our LinkedIn profile. It uses the same theme as the LinkedIn website.

Use this code anywhere inside your website HTML to get the widget shown there.

<div class="LI-profile-badge" data-locale="en_US" data-size="medium" data-theme="dark" data-type="vertical" data-vanity="Profile-Name" data-version="v1"><a class="LI-simple-link" href="Account URL from LinkedIn website">Display-Name</a></div>

Thanks for reading How to add LinkedIn profile widget in your website/blog

« Prev Post

No comments:

Post a Comment

Fixing javascript error: Cannot read properties of null (reading 'querySelector') issue when using CSS identifier in selenium

 JavaScript is another way to interact with web elements when normal selenium methods fail to act. But one issue with javascript is, it does...