Changeset 2304300
- Timestamp:
- 05/13/2020 04:16:24 PM (6 years ago)
- Location:
- social-sharing-buttons-and-counters/trunk
- Files:
-
- 6 edited
-
assets/css/jc-social-sharing.css (modified) (1 diff)
-
assets/js/jc-social-sharing-admin.js (modified) (1 diff)
-
inc/functions.php (modified) (1 diff)
-
inc/template-functions.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
-
social-sharing-buttons-and-counters.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
social-sharing-buttons-and-counters/trunk/assets/css/jc-social-sharing.css
r2269067 r2304300 28 28 #jcss-pinterest { background: #bd081c; } 29 29 30 #jcss-reddit { background: #FF5700; } 31 30 32 #jcss-telegram { background: #0088cc; } 31 33 -
social-sharing-buttons-and-counters/trunk/assets/js/jc-social-sharing-admin.js
r1632461 r2304300 1 1 jQuery(function($) { 2 3 $( ".sortable" ).sortable({ 4 connectWith: ".connectable", 2 $( '.sortable' ).sortable({ 3 connectWith: '.connectable', 5 4 helper: 'clone', 6 update: function( ) { 7 updateSocialOptions(); 8 checkTwitter(); 5 update: function() { 6 // update social options 7 $('#social-options').val($('#social-selected ul .social-list-item li span').map(function() { 8 return $(this).html(); 9 }).get()); 10 // check Twitter 11 $( '#social-selected #Twitter' ).length ? $( '#twitter-username' ).show() : $( "#twitter-username" ).hide(); 9 12 } 10 13 }).disableSelection(); 11 14 }); 12 13 function updateSocialOptions()14 {15 jQuery("#social-options").val(jQuery("#social-selected ul .social-list-item li span").map(function() {16 return jQuery(this).html();17 }).get());18 }19 20 function checkTwitter() {21 if ( jQuery( "#social-selected").find("#Twitter").length > 0) {22 jQuery( "#twitter-username" ).show();23 }24 else {25 jQuery( "#twitter-username" ).hide();26 }27 } -
social-sharing-buttons-and-counters/trunk/inc/functions.php
r2269067 r2304300 79 79 80 80 function jcss_get_social_list( $values, $include_values ) { 81 $socials = array('Facebook', 'Twitter', 'LinkedIn', 'Buffer', 'Pinterest', ' Telegram', 'Email', 'WhatsApp');81 $socials = array('Facebook', 'Twitter', 'LinkedIn', 'Buffer', 'Pinterest', 'Reddit', 'Telegram', 'Email', 'WhatsApp'); 82 82 $values_array = explode(',', $values); 83 83 -
social-sharing-buttons-and-counters/trunk/inc/template-functions.php
r2269067 r2304300 67 67 </a> <?php 68 68 break; 69 case "Reddit": ?> 70 <a id="jcss-reddit" rel="external nofollow" class="jcss-button" href="https://www.reddit.com/submit?url=<?php echo $url; ?>&title=<?php echo $title; ?>" target="_blank" > 71 <i class="<?php echo jcss_get_fa_classnames($advanced, 'reddit'); ?>"></i> 72 <?php jcss_get_social_name($options, $social); ?> 73 </a> <?php 74 break; 69 75 case "Telegram": ?> 70 76 <a id="jcss-telegram" rel="external nofollow" class="jcss-button" href="https://telegram.me/share/url?url=<?php echo $url; ?>&text=<?php echo $title; ?>" target="_blank" > -
social-sharing-buttons-and-counters/trunk/readme.txt
r2269067 r2304300 1 1 === JC Social Sharing === 2 2 Contributors: jcrr 3 Tags: social, share, buttons, facebook, twitter, whatsapp, telegram3 Tags: social, buttons, facebook, twitter, whatsapp, telegram, share 4 4 Donate link: https://www.paypal.me/jcrr 5 5 Requires at least: 4.0 6 6 Tested up to: 5.4 7 Stable tag: 1.2. 77 Stable tag: 1.2.8 8 8 License: GPL3 9 9 License URI: https://www.gnu.org/licenses/gpl.html … … 13 13 == Description == 14 14 15 Add buttons to share on Buffer, Facebook, LinkedIn, Pinterest, Telegram, Twitter and WhatsApp.15 Add buttons to share your posts on Buffer, Facebook, LinkedIn, Pinterest, Reddit, Telegram, Twitter and WhatsApp. 16 16 17 17 This is a simple, responsive and VERY lightweight plugin that offers nice and customizable buttons. … … 20 20 == Features == 21 21 22 - Sharing support for Buffer, Facebook, LinkedIn, Pinterest, Telegram, Twitter and WhatsApp.23 22 - Allows you to drag and drop the buttons you want to display. 24 23 - Allows you to reorder the buttons. 25 - Allows you to display the buttons after/before the text content.26 - Allows you to display a text before/above the buttons27 - Allows you to hide the social medianames.24 - Allows you to display the buttons after/before the post content. 25 - Allows you to display a custom text before/above the buttons. 26 - Allows you to hide the social networks names. 28 27 - Allows you to play animations on hover. 29 28 - Fully responsive. 30 29 - Fully translated into Spanish (es_ES). You can contribute to translate this plugin by contacting the author. 31 - This plugin has a small file size and uses the necessary (just a few lines) JavaScript and CSS. 32 - This plugin doesn't use external libraries, only installs Font Awesome if hasn't been installed yet. 33 - This plugin doesn't create any tables on the WordPress database. 30 - SEO-friendly: This plugin has a small file size and uses the necessary PHP, JS and CSS code. 31 - SEO-friendly: No external libraries (only uses Font Awesome if hasn't been installed yet). 32 - SEO-friendly: No external requests. 33 - Sharing support for Buffer, Facebook, LinkedIn, Pinterest, Reddit, Telegram, Twitter and WhatsApp. 34 34 35 35 == Support == … … 52 52 53 53 == Changelog == 54 55 = 1.2.8 date 2020-05-13 = 56 - Added Reddit 54 57 55 58 = 1.2.7 date 2020-03-27 = -
social-sharing-buttons-and-counters/trunk/social-sharing-buttons-and-counters.php
r2269067 r2304300 3 3 Plugin Name: JC Social Sharing 4 4 Description: A lightweight SEO-friendly plugin that allows you to share your posts and get more traffic 5 Version: 1.2. 75 Version: 1.2.8 6 6 Author: JC 7 7 Author URI: https://josecarlosroman.com/ … … 19 19 define( 'JCSS_PLUGIN_DIR', plugin_dir_path(__FILE__) ); 20 20 define( 'JCSS_PLUGIN_URL', plugin_dir_url(__FILE__) ); 21 define( 'JCSS_VERSION', '1.2. 7' );21 define( 'JCSS_VERSION', '1.2.8' ); 22 22 23 23 require_once JCSS_PLUGIN_DIR . 'inc/functions.php';
Note: See TracChangeset
for help on using the changeset viewer.