WordPress.org

Plugin Directory

Changeset 1452159


Ignore:
Timestamp:
07/10/16 15:38:39 (15 months ago)
Author:
Crunchify
Message:

LinkedIn Sharing Button Added

Location:
crunchify-social-sharing
Files:
7 added
3 edited

Legend:

Unmodified
Added
Removed
  • crunchify-social-sharing/trunk/crunchify-social-sharing.css

    r1442649 r1452159  
    8282} 
    8383 
     84.crunchify-linkedin { 
     85    background: #0074A1; 
     86} 
     87  
     88.crunchify-linkedin:hover,.crunchify-linkedin:active { 
     89    background: #006288; 
     90} 
     91 
    8492.crunchify-social { 
    8593    margin: 20px 0px 25px 0px; 
  • crunchify-social-sharing/trunk/crunchify-social-sharing.php

    r1442649 r1452159  
    44Plugin URI: http://crunchify.com/crunchify-social-sharing/ 
    55Description: Fastest & Simplest Social Sharing Button without any Script Loading - WordPress Speed Optimization Goal. 
    6 Version: 2.0 
     6Version: 2.1 
    77Author: Crunchify 
    88Author URI: http://crunchify.com 
     
    8181    register_setting("crunchify_social_sharing_config_section", "crunchify-social-sharing-buffer"); 
    8282    register_setting("crunchify_social_sharing_config_section", "crunchify-social-sharing-pinterest"); 
     83    register_setting("crunchify_social_sharing_config_section", "crunchify-social-sharing-linkedin"); 
    8384    register_setting("crunchify_social_sharing_config_section", "crunchify-social-sharing-whatsapp"); 
    8485     
     
    9798        <br><br><input type="checkbox" name="crunchify-social-sharing-buffer" value="1" <?php checked(1, get_option('crunchify-social-sharing-buffer'), true); ?> /> Buffer 
    9899        <br><br><input type="checkbox" name="crunchify-social-sharing-pinterest" value="1" <?php checked(1, get_option('crunchify-social-sharing-pinterest'), true); ?> /> Pinterest 
     100        <br><br><input type="checkbox" name="crunchify-social-sharing-linkedin" value="1" <?php checked(1, get_option('crunchify-social-sharing-linkedin'), true); ?> /> LinkedIn 
    99101        <br><br><input type="checkbox" name="crunchify-social-sharing-email" value="1" <?php checked(1, get_option('crunchify-social-sharing-email'), true); ?> /> Email 
    100102    </div> 
     
    134136        $googleURL = 'https://plus.google.com/share?url='.$crunchifyURL; 
    135137        $bufferURL = 'https://bufferapp.com/add?url='.$crunchifyURL.'&amp;text='.$crunchifyTitle; 
     138 
     139        $linkedInURL = 'https://www.linkedin.com/shareArticle?mini=true&url='.$crunchifyURL.'&amp;title='.$crunchifyTitle; 
    136140         
    137141        // Based on popular demand added Pinterest too 
     
    168172            $content .= '<a class="crunchify-link crunchify-buffer" href="'.$bufferURL.'" target="_blank" '. $rel_nofollow .'>Buffer</a>'; 
    169173        } 
     174        if(get_option("crunchify-social-sharing-linkedin") == 1){ 
     175            $content .= '<a class="crunchify-link crunchify-linkedin" href="'.$linkedInURL.'" target="_blank" '. $rel_nofollow .'>LinkedIn</a>'; 
     176        } 
    170177        if(get_option("crunchify-social-sharing-pinterest") == 1){ 
    171178            $content .= '<a class="crunchify-link crunchify-pinterest" href="'.$pinterestURL.'" target="_blank" '. $rel_nofollow .'>Pin It</a>'; 
  • crunchify-social-sharing/trunk/readme.txt

    r1442760 r1452159  
    44Tags: Facebook, Facebook Like, WhatsApp, WhatsApp Sharing, Facebook Share, Email Share, Like, Share Buttons, Share Links, Sharebar, Social Buttons, social media share, social network share, social share, Social Sharing, Twitter, Twitter Sharing, Facebook Sharing, Social Sharing Buttons, Pinterest Sharing, Google Plus Sharing, Buffer Sharing 
    55Requires at least: 4.2 
    6 Tested up to: 4.5.3 
    7 Stable tag: 2.0 
     6Tested up to: 4.6 
     7Stable tag: 2.1 
    88 
    99Fastest & Simplest Social Sharing Button without any Java Script Loading - WordPress Speed Optimization Goal. 
     
    2323* Buffer 
    2424* Pinterest 
     25* LinkedIn 
    2526* Google+ 
    2627* Email 
     
    7172== Changelog == 
    7273 
     74= 2.1 = 
     75* LinkedIn Sharing button added 
     76 
    7377= 2.0 = 
    7478* WhatsApp Sharing on Mobile Devices Added 
Note: See TracChangeset for help on using the changeset viewer.