• angiegaz

    (@angiegaz)


    I was asked to add a LinkedIn “share” button to a website so that blog readers can share the content on LinkedIn. If you look at the blog, there’s a “Tweet” option at the end of every post.

    http://rescignos.com/blog/

    I’ve looked into various widgets and whatnot, but in my experience with this particular theme (and I think there’s something going on with the host) most widgets don’t cooperate well and we end up having to delete them and find another option.

    I found this particular code on WPbeginner.com:

    <script type=”text/javascript” src=”http://platform.linkedin.com/in.js”></script><script type=”in/share” data-url=”<?php the_permalink(); ?>” data-counter=”right”></script>

    It SHOULD be a simple add to the loop code, yes? If so, where can I add it in the loop so that we get this nifty share button at the bottom of each post?

    Thanks! I hope this gobbledygook made sense.

  • The topic ‘Adding code to the loop’ is closed to new replies.