[resolved] Adding LinkedIn Share Button (3 posts)

  1. erichschuler
    Posted 2 years ago #

    I really like how the social sharing buttons built-in with the Esplanade theme. However, I really want to add a LinkedIn share button. How can I do this without having to resort to a plugin?

    You can see a post with the social media sharing buttons from my website here: http://www.erichschuler.com/blog/the-wii-u-experience-in-atlanta/.


  2. Daniel Tara
    Theme Author

    Posted 2 years ago #

    In functions.php you can find a function esplanade_social_bookmarks() where you can find the code for all other buttons. Try appending the following code to the end of the function:

    <script src="//platform.linkedin.com/in.js" type="text/javascript"></script>
    <script type="IN/Share" data-url="<?php the_permalink(); ?>" data-counter="right"></script>
  3. erichschuler
    Posted 2 years ago #

    Thanks a lot! It looks great!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic