FB Sharer from Masonry Brick
-
At https://www.rifref.com I’d like to share the actual url to the post versus the link to the page that the bricks are rendered. For example…
https://rifref.com/chris-farley/chris-farley-4/ (actual post url) versus https://rifref.com/farley-chris/ (page that all bricks are rendered)
Can you explain how to do that?
share.php code…
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/all.js#xfbml=1″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));<span id=”custom-fb-button”></span>
Thanks!
- The topic ‘FB Sharer from Masonry Brick’ is closed to new replies.