How To Use Custom Share Button For LinkedIn?

      11 Comments on How To Use Custom Share Button For LinkedIn?
Custom LinkedIn Share Button

We often want to use our own LinkedIn share button that matches our website design or available space.Here is a bit of code that allows the use of our own custom image file for the LinkedIn share button. Copy and paste the below code into your site.

<a href=” page url&title=Title of your page &summary=Content description of your page & source= Website Name” target=”_new”> <img src=”Yourimage.png” alt=”Share in LinkedIn” width=”18″ height=”18″ title=” Share in LinkedIn” /> </a>

Please change your page url, Title of your page, Content description of your page and Website Name according to your site details.

You can use below code directly into your WordPress site/blog without changing anything. It will automatically take your post,blog details and share in LinkedIn.

<a href="<?php the_permalink() ?>&title=<?php the_title(); ?>&summary=&source=<?php bloginfo('name'); ?>" target="_new">
<img src="" alt="linkedin share button" title="linkedin share button" />

Above link will open a new window with the information that you are provided. New window will look like the below image.

Use Your Own button LinkedIn
So now onwards add your on LinkedIn share button into your site/blog.

11 thoughts on “How To Use Custom Share Button For LinkedIn?

Leave a Reply