Plugin Directory

Changeset 1664005


Ignore:
Timestamp:
05/24/2017 02:02:34 PM (9 years ago)
Author:
djenciduquene
Message:

Update Social Buttons And Custom Sharing Motivational Phrase.

Location:
seo-friendly-social-share-buttons/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • seo-friendly-social-share-buttons/trunk/css/style.css

    r1651435 r1664005  
    2828 
    2929.sfssb-twitter {
    30     background: #00aced;
     30    background-image:url(../images/twitter45x45.png);
    3131}
    3232 
    3333.sfssb-twitter:hover,.sfssb-twitter:active {
    34     background: #0084b4;
     34     background-image:url(../images/twitter45x45.png);
    3535}
    3636 
    3737.sfssb-facebook {
    38     background: #3B5997;
     38       background-image:url(../images/facebook45x45.png);
    3939}
    4040 
    4141.sfssb-facebook:hover,.sfssb-facebook:active {
    42     background: #2d4372;sfssb
     42       background-image:url(../images/facebook45x45.png);sfssb
    4343}
    4444 
    4545.sfssb-googleplus {
    46     background: #D64937;
     46       background-image:url(../images/googleplus45x45.png);
    4747}
    4848 
    4949.sfssb-googleplus:hover,.sfssb-googleplus:active {
    50     background: #b53525;
     50       background-image:url(../images/googleplus45x45.png);
    5151}
    5252 
    5353.sfssb-buffer {
    54     background: #444;
     54     background-image:url(../images/buffer45x45.png);
    5555}
    5656 
    5757.sfssb-buffer:hover,.sfssb-buffer:active {
    58     background: #222;
     58       background-image:url(../images/buffer45x45.png);
    5959}
    6060 
    6161.sfssb-pinterest {
    62     background: #bd081c;
     62       background-image:url(../images/pinterest45x45.png);
    6363}
    6464 
    6565.sfssb-pinterest:hover,.sfssb-pinterest:active {
    66     background: #bd081c;
     66       background-image:url(../images/pinterest45x45.png);
    6767}
    6868 
    6969.sfssb-linkedin {
    70     background: #0074A1;
     70      background-image:url(../images/linkedin45x45.png);
    7171}
    7272 
    7373.sfssb-linkedin:hover,.sfssb-linkedin:active {
    74     background: #006288;
     74       background-image:url(../images/linkedin45x45.png);
    7575}
    7676 
  • seo-friendly-social-share-buttons/trunk/includes/seo-friendly-social-share-buttons-content.php

    r1663495 r1664005  
    2323        // Based on popular demand added Pinterest too
    2424        $pinterestURL = 'https://pinterest.com/pin/create/button/?url='.$sfssbURL.'&media='.$sfssbThumbnail[0].'&description='.$sfssbTitle;
    25  
     25        $pinterestImage = plugins_url('/images/pinterest45x45.png', SSBIC_PLUGIN_URL);
     26        $twitterImage = plugins_url('/images/twitter45x45.png', SSBIC_PLUGIN_URL);
     27        $facebookImage = plugins_url('/images/facebook45x45.png', SSBIC_PLUGIN_URL);
     28        $bufferImage = plugins_url('/images/buffer45x45.png', SSBIC_PLUGIN_URL);
     29        $linkedinImage = plugins_url('/images/linkedin45x45.png', SSBIC_PLUGIN_URL);
     30        $googleplusImage = plugins_url('/images/googleplus45x45.png', SSBIC_PLUGIN_URL);
     31        $whatsappImage = plugins_url('/images/whatsapp45x45.png', SSBIC_PLUGIN_URL);
     32       
    2633        // Add sharing button at the end of page/page content
    2734       
    2835        $ssbici  = '<div class="sfssb">';
    29         $ssbici .= '<h5>Share this on Social Media</h5>';
     36        $ssbici .= '<h5>'.$ssbic_options['ShareText'].'</h5>';
    3037        if ($ssbic_options['twitter_url']==1) {
    31         $ssbici .= '<a class="sfssb-link sfssb-twitter" href="'. $twitterURL .'" target="_blank">Twitter</a>';
     38        $ssbici .= '<a class="sfssb-link sfssb-twitter" href="'. $twitterURL .'" target="_blank"><img src="'.$twitterImage.'" border="0" /></a>';
    3239            }
    3340       if ($ssbic_options['facebook_url']==1) {
    3441       
    35         $ssbici .= '<a class="sfssb-link sfssb-facebook" href="'.$facebookURL.'" target="_blank">Facebook</a>';}
     42        $ssbici .= '<a class="sfssb-link sfssb-facebook" href="'.$facebookURL.'" target="_blank"><img src="'.$facebookImage.'" border="0" /></a>';}
    3643       
    3744       if ($ssbic_options['whatsapp_url']==1) {
    38         $ssbici .= '<a class="sfssb-link sfssb-whatsapp" href="'.$whatsappURL.'" target="_blank">WhatsApp</a>';}
     45        $ssbici .= '<a class="sfssb-link sfssb-whatsapp" href="'.$whatsappURL.'" target="_blank"><img src="'.$whatsappImage.'" border="0" /></a>';}
    3946       
    4047      if ($ssbic_options['google_url']==1) {
    41         $ssbici .= '<a class="sfssb-link sfssb-googleplus" href="'.$googleURL.'" target="_blank">Google+</a>';}
     48        $ssbici .= '<a class="sfssb-link sfssb-googleplus" href="'.$googleURL.'" target="_blank"><img src="'.$googleplusImage.'" border="0" /></a>';}
    4249           
    4350          if ($ssbic_options['buffer_url']==1) {
    4451               
    45         $ssbici .= '<a class="sfssb-link sfssb-buffer" href="'.$bufferURL.'" target="_blank">Buffer</a>';}
     52        $ssbici .= '<a class="sfssb-link sfssb-buffer" href="'.$bufferURL.'" target="_blank"><img src="'.bufferImage.'" border="0" /></a>';}
    4653            if ($ssbic_options['linkedin_url']==1) {
    47         $ssbici .= '<a class="sfssb-link sfssb-linkedin" href="'.$linkedInURL.'" target="_blank">LinkedIn</a>';}
     54        $ssbici .= '<a class="sfssb-link sfssb-linkedin" href="'.$linkedInURL.'" target="_blank"><img src="'.$linkedinImage.'" border="0" /></a>';}
    4855                 if ($ssbic_options['pinterest_url']==1) {
    49         $ssbici .= '<a class="sfssb-link sfssb-pinterest" href="'.$pinterestURL.'" data-pin-custom="true" target="_blank">Pin It</a>';
     56        $ssbici .= '<a class="sfssb-link sfssb-pinterest" href="'.$pinterestURL.'" data-pin-custom="true" target="_blank"><img src="'.$pinterestImage.'" border="0" /></a>';
    5057                   }
    5158        $ssbici .= '</div>';
  • seo-friendly-social-share-buttons/trunk/includes/seo-friendly-social-share-buttons-settings.php

    r1663495 r1664005  
    1515    // Init Options Global
    1616    global $ssbic_options;
     17    $ShareText = $ssbic_settings[ShareText];
    1718ob_start(); ?>
    1819<div class='wrap'>
    1920<h2><?php _e('SEO Friendly Social Share Buttons Settings', 'ssbic_domain' )?></h2>
     21   
     22   
     23   
    2024<p><?php _e('SEO Friendly Social Share Buttons Plugin', 'ssbic_domain' )?></p>
     25   
     26   
     27   
    2128<form method='post' action=<?php echo esc_url( admin_url('options.php') ); ?>>
    2229<?php settings_fields('ssbic_settings_group'); ?>
     
    3340</td>
    3441</tr>
     42 
     43   
     44   
     45   
     46   
     47   
     48   
     49      <tr>
     50<th scope='row'><label for='ssbic_settings[ShareText]'><?php _e('Text to Display', 'ssbic_domain'); ?></label>
     51<td><input name='ssbic_settings[ShareText]' type="hidden" id="ssbic_settings[ShareText]" value= "<?php echo $ssbic_options['ShareText'];?>"/><input type='text' id='ssbic_settings[ShareText]' size='100' placeholder='Choose your motivational sharing phrase' name='ssbic_settings[ShareText]' value= "<?php echo $ssbic_options['ShareText'];?>"/><p class="description"><?php _e('A good motivation phrase can increase shares! <br> Example: Share this with your friends!', 'ssbic_domain');?></p></td>
     52</tr>
    3553   
    3654   <tr>
     
    90108</table>
    91109<p class='submit'><input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e('Save Changes', 'ssbic_domain');?>" /></p>
     110    <h3><?php _e('Help us create great software', 'ssbic_domain' )?></h3>
     111    <p><?php _e('We keep all our projects free to download. Free to use. <br> But we depend on the support in order to continue create new projects. <br> Thank you ', 'ssbic_domain' )?></p>
    92112</form>
     113    <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
     114<input type="hidden" name="cmd" value="_s-xclick">
     115<input type="hidden" name="hosted_button_id" value="A9NQR8BEGP54Q">
     116<input type="image" src="https://www.paypalobjects.com/en_US/BE/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
     117<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
     118</form>
     119
    93120</div>
    94121<?php
  • seo-friendly-social-share-buttons/trunk/readme.txt

    r1651435 r1664005  
    1 ======SEO Friendly Social Share Buttons ======
     1=== SEO Friendly Social Share Buttons ===
     2Contributors: djenciduquene
     3Tags: seo, social, sharing, shares, social sharing, social media, pagespeed
     4Requires at least: 3.0.1
     5Tested up to: 4.7.5
     6Stable tag: 4.3
     7License: GPLv2 or later
     8License URI: http://www.gnu.org/licenses/gpl-2.0.html
     9
     10
     11
     12====== ======
    213
    314This plugin does not use any Javascript code or other scripts that need external sources.
  • seo-friendly-social-share-buttons/trunk/seo-friendly-social-share-buttons.php

    r1663495 r1664005  
    55Description: SEO Friendly Social Share Buttons is a plugin that lets people share your content on social media. It does not use any Javascript so it does not slow down the pagespeed. Therefore this plugin is an easy way to keep the website fast, but still having social share buttons on the page or post.
    66Author Name: Djenci Duquene
    7 Author URI: https://seo-haunter.com
    8 Version: 1.1
     7Author URI: https://dbdprojects.com
     8Version: 1.2
    99*/
    1010
Note: See TracChangeset for help on using the changeset viewer.