Skip to content
Social Sharing plugin that inserts social sharing links. Allows for sharing of current page with the option for sharing any link or image.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


jQuery plugin for inserting social sharing functionality. Requires that Font-Awesome fonts and CSS be installed.

GitHub page found at


A demo can be found at

Getting Started

Font-Awesome ( is used in the example but not required for the plugin to function. To use text links simply delete the line of CSS that sets .hideshare-wrap span to display none.

Download the production version or the development version.

In your web page:

<script src="jquery.js"></script>
<script src="hideshare.min.js"></script>
jQuery(function($) {
  $(".share").hideshare(); // Calls HIDESHARE on element with class "share"


A simple usage case would involve calling HIDESHARE on a button like in the following example:

<img src="">
<a class="share" href="#">SHARE ME</a>

$(document).ready(function() {
    media: ""


The following options may be configured:

<img src="">
<a class="share" href="#">SHARE ME</a>

$(document).ready(function() {
    link: "",           // Link to URL defaults to document.URL
    title: "",          // Title for social post defaults to document.title
    media: "",          // Link to image file defaults to null
    decription: "",     // Description for Facebook summary
    facebook: true,     // Turns on Facebook sharing
    twitter: true,      // Turns on Twitter sharing
    pinterest: true,    // Turns on Pinterest sharing
    googleplus: true,   // Turns on Google Plus sharing
    linkedin: true,     // Turns on LinkedIn sharing
    position: "bottom", // Options: Top, Bottom, Left, Right
    speed: 50           // Speed of transition


The following styles are necessary for display:

.hideshare-wrap {
  position: relative;
.hideshare-list {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
.hideshare-list li {
  display: inline-block;
  zoom: 1;
  *display: inline;
  margin: 2em 1em;
.hideshare-wrap span {
  display: none;
You can’t perform that action at this time.