Changeset 1664005
- Timestamp:
- 05/24/2017 02:02:34 PM (9 years ago)
- Location:
- seo-friendly-social-share-buttons/trunk
- Files:
-
- 5 edited
-
css/style.css (modified) (1 diff)
-
includes/seo-friendly-social-share-buttons-content.php (modified) (1 diff)
-
includes/seo-friendly-social-share-buttons-settings.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
seo-friendly-social-share-buttons.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
seo-friendly-social-share-buttons/trunk/css/style.css
r1651435 r1664005 28 28 29 29 .sfssb-twitter { 30 background : #00aced;30 background-image:url(../images/twitter45x45.png); 31 31 } 32 32 33 33 .sfssb-twitter:hover,.sfssb-twitter:active { 34 background: #0084b4;34 background-image:url(../images/twitter45x45.png); 35 35 } 36 36 37 37 .sfssb-facebook { 38 background: #3B5997;38 background-image:url(../images/facebook45x45.png); 39 39 } 40 40 41 41 .sfssb-facebook:hover,.sfssb-facebook:active { 42 background: #2d4372;sfssb42 background-image:url(../images/facebook45x45.png);sfssb 43 43 } 44 44 45 45 .sfssb-googleplus { 46 background: #D64937;46 background-image:url(../images/googleplus45x45.png); 47 47 } 48 48 49 49 .sfssb-googleplus:hover,.sfssb-googleplus:active { 50 background: #b53525;50 background-image:url(../images/googleplus45x45.png); 51 51 } 52 52 53 53 .sfssb-buffer { 54 background: #444;54 background-image:url(../images/buffer45x45.png); 55 55 } 56 56 57 57 .sfssb-buffer:hover,.sfssb-buffer:active { 58 background: #222;58 background-image:url(../images/buffer45x45.png); 59 59 } 60 60 61 61 .sfssb-pinterest { 62 background: #bd081c;62 background-image:url(../images/pinterest45x45.png); 63 63 } 64 64 65 65 .sfssb-pinterest:hover,.sfssb-pinterest:active { 66 background: #bd081c;66 background-image:url(../images/pinterest45x45.png); 67 67 } 68 68 69 69 .sfssb-linkedin { 70 background: #0074A1;70 background-image:url(../images/linkedin45x45.png); 71 71 } 72 72 73 73 .sfssb-linkedin:hover,.sfssb-linkedin:active { 74 background: #006288;74 background-image:url(../images/linkedin45x45.png); 75 75 } 76 76 -
seo-friendly-social-share-buttons/trunk/includes/seo-friendly-social-share-buttons-content.php
r1663495 r1664005 23 23 // Based on popular demand added Pinterest too 24 24 $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 26 33 // Add sharing button at the end of page/page content 27 34 28 35 $ssbici = '<div class="sfssb">'; 29 $ssbici .= '<h5> Share this on Social Media</h5>';36 $ssbici .= '<h5>'.$ssbic_options['ShareText'].'</h5>'; 30 37 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>'; 32 39 } 33 40 if ($ssbic_options['facebook_url']==1) { 34 41 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>';} 36 43 37 44 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>';} 39 46 40 47 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>';} 42 49 43 50 if ($ssbic_options['buffer_url']==1) { 44 51 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>';} 46 53 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>';} 48 55 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>'; 50 57 } 51 58 $ssbici .= '</div>'; -
seo-friendly-social-share-buttons/trunk/includes/seo-friendly-social-share-buttons-settings.php
r1663495 r1664005 15 15 // Init Options Global 16 16 global $ssbic_options; 17 $ShareText = $ssbic_settings[ShareText]; 17 18 ob_start(); ?> 18 19 <div class='wrap'> 19 20 <h2><?php _e('SEO Friendly Social Share Buttons Settings', 'ssbic_domain' )?></h2> 21 22 23 20 24 <p><?php _e('SEO Friendly Social Share Buttons Plugin', 'ssbic_domain' )?></p> 25 26 27 21 28 <form method='post' action=<?php echo esc_url( admin_url('options.php') ); ?>> 22 29 <?php settings_fields('ssbic_settings_group'); ?> … … 33 40 </td> 34 41 </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> 35 53 36 54 <tr> … … 90 108 </table> 91 109 <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> 92 112 </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 93 120 </div> 94 121 <?php -
seo-friendly-social-share-buttons/trunk/readme.txt
r1651435 r1664005 1 ======SEO Friendly Social Share Buttons ====== 1 === SEO Friendly Social Share Buttons === 2 Contributors: djenciduquene 3 Tags: seo, social, sharing, shares, social sharing, social media, pagespeed 4 Requires at least: 3.0.1 5 Tested up to: 4.7.5 6 Stable tag: 4.3 7 License: GPLv2 or later 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html 9 10 11 12 ====== ====== 2 13 3 14 This 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 5 5 Description: 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. 6 6 Author Name: Djenci Duquene 7 Author URI: https:// seo-haunter.com8 Version: 1. 17 Author URI: https://dbdprojects.com 8 Version: 1.2 9 9 */ 10 10
Note: See TracChangeset
for help on using the changeset viewer.