Changeset 2694761
- Timestamp:
- 03/16/2022 11:08:02 AM (2 years ago)
- Location:
- rtsocial
- Files:
-
- 10 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
rtsocial/tags/2.2.3/js/rtss-main.js
r2464698 r2694761 15 15 var rtsocial_urls = { }; // create an associative array of url as key and counts. 16 16 var sep = '"'; // URL separatore initial value. 17 var temp FbUrl = ""; // temp variable for url.17 var temp. 18 18 19 19 jQuery( '.rtsocial-container' ).each( … … 21 21 var facebookSocial = this; 22 22 var rtsocial_url_count = 0; 23 tempFbUrl = jQuery( this ).find( 'a.perma-link' ).attr( 'href' ); 24 if ( tempFbUrl !== '' || tempFbUrl !== 'undefined' ) { 25 26 // Fetch share count by Facebook Graph API. 27 var rtsocial_fburl = 'https://graph.facebook.com/?id=' + tempFbUrl + '&fields=og_object{engagement}'; 28 29 /** 30 * Facebook Data. 31 */ 32 jQuery.getJSON( 33 rtsocial_fburl, 34 function ( fbres ) { 35 if ( typeof fbres.og_object !== 'undefined' && fbres.og_object.engagement.count ) { 36 rtsocial_url_count = fbres.og_object.engagement.count; // Setting value. 37 } 38 jQuery( facebookSocial ).find( '.rtsocial-fb-count' ).text( rtsocial_url_count ); 23 tempPostId = jQuery( this ).find( '.rts_id' ).val(); 24 security = jQuery( this ).find( '#rts_media_nonce' ).val(); 25 if ( '' !== tempPostId || 'undefined' !== tempPostId ) { 26 jQuery.ajax({ 27 type: 'GET', 28 url: ajaxurl, 29 data: { 30 "action" : "rtss_wp_get_shares", 31 "post_id" : tempPostId, 32 "security": security 33 }, 34 success: function(data){ 35 jQuery( facebookSocial ).find( '.rtsocial-fb-count' ).text( data ); 39 36 } 40 ); /* End of Callback function in JSON. */37 41 38 } 42 39 } -
rtsocial/tags/2.2.3/readme.txt
r2623131 r2694761 1 1 === rtSocial === 2 Contributors: rtcamp, rahul286, faishal, rittesh.patel, sanketparmar, pranalipatel, UmeshSingla, rutwick, saurabhshukla, HarishChaudhari, 5um17, JoshuaAbenazer, paddyohanlon, chandrapatel, 1naveengiri, bhargavbhandari90, coderboy007, vaishu.agola27, pooja1210, milindmore22 2 Contributors: rtcamp, rahul286, faishal, rittesh.patel, sanketparmar, pranalipatel, UmeshSingla, rutwick, saurabhshukla, HarishChaudhari, 5um17, JoshuaAbenazer, paddyohanlon, chandrapatel, 1naveengiri, bhargavbhandari90, coderboy007, vaishu.agola27, pooja1210, milindmore22 3 3 Tags: rtcamp, social, sharing, share, social links, twitter, facebook, pin it, pinterest, linkedin, linked in, linked in share, plus one button, social share, social sharing 4 4 Requires at least: 3.0 5 Tested up to: 5. 8.16 Stable tag: 2.2. 25 Tested up to: 5..1 6 Stable tag: 2.2. 7 7 License: GPLv2 or later (of-course) 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 Install rtSocial plugin from the 'Plugins' section in your dashboard (Plugins > Add New > Search for rtSocial). 33 33 34 Alternatively you can [download latest version](https://downloads.wordpress.org/plugin/rtsocial. 2.1.19.zip) of rtSocial plugin from the repository. Unzip it and upload it to the plugins folder of your WordPress installation (wp-content/plugins/ directory of your WordPress installation).34 Alternatively you can [download latest version](https://downloads.wordpress.org/plugin/rtsocial.zip) of rtSocial plugin from the repository. Unzip it and upload it to the plugins folder of your WordPress installation (wp-content/plugins/ directory of your WordPress installation). 35 35 36 36 Activate it through the 'Plugins' section. … … 59 59 60 60 == Changelog == 61 62 63 64 65 66 67 68 69 70 71 72 73 61 74 62 75 = 2.2.2 = -
rtsocial/tags/2.2.3/source.php
r2464698 r2694761 12 12 * Text Domain: rtSocial 13 13 * Domain Path: /languages 14 * Version: 2.2. 214 * Version: 2.2. 15 15 * License: GPLv2 or later 16 16 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 98 98 */ 99 99 add_filter( 'the_content', 'rtsocial_counter' ); 100 add_filter( ' the_excerpt', 'rtsocial_counter' );100 add_filter( 'the_excerpt', 'rtsocial_counter' ); 101 101 102 102 /** … … 425 425 if ( 'horizontal' === $options['display_options_set'] ) { 426 426 $lin_layout .= sprintf( 427 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>',427 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https://$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>', 428 428 $options['display_options_set'], 429 429 rawurlencode( get_permalink( $post->ID ) ), … … 435 435 if ( 'vertical' === $options['display_options_set'] ) { 436 436 $lin_layout .= sprintf( 437 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>',437 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https://$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>', 438 438 $options['display_options_set'], 439 439 rawurlencode( get_permalink( $post->ID ) ), … … 445 445 if ( 'icon' === $options['display_options_set'] ) { 446 446 $lin_layout .= sprintf( 447 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" target= "_blank" title="Share: %4$s"></a></div>',447 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %4$s"></a></div>', 448 448 $options['display_options_set'], 449 449 rawurlencode( get_permalink( $post->ID ) ), … … 456 456 $lin_layout = '<div class="rtsocial-linkedin-icon">'; 457 457 $lin_layout .= sprintf( 458 '<div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%1$s&title=%2$s" target= "_blank" title="Share: %3$s"></a></div>',458 '<div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %3$s"></a></div>', 459 459 rawurlencode( get_permalink( $post->ID ) ), 460 460 rawurlencode( $rtatitle ), … … 833 833 if ( 'horizontal' === $options['display_options_set'] ) { 834 834 $lin_layout .= sprintf( 835 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>%5$s',835 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https://=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>%5$s', 836 836 $options['display_options_set'], 837 837 $rtslink, … … 844 844 if ( 'vertical' === $options['display_options_set'] ) { 845 845 $lin_layout .= sprintf( 846 '%1$s <div class="rtsocial-linkedin-%2$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%3$s&title=%4$s" rel="nofollow" target="_blank" title="Share: %5$s"></a></div>',846 '%1$s <div class="rtsocial-linkedin-%2$s-button"><a class="rtsocial-linkedin-button" href= "https://$s" rel="nofollow" target="_blank" title="Share: %5$s"></a></div>', 847 847 $lin_count, 848 848 $options['display_options_set'], … … 855 855 if ( 'icon' === $options['display_options_set'] ) { 856 856 $lin_layout .= sprintf( 857 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" target= "_blank" title="Share: %4$s"></a></div>',857 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %4$s"></a></div>', 858 858 $options['display_options_set'], 859 859 $rtslink, … … 867 867 $lin_count = ( empty( $options['hide_count'] ) || 1 !== (int) $options['hide_count'] ) ? '<div class="rtsocial-horizontal-count"><div class="rtsocial-horizontal-notch"></div><span class="rtsocial-linkedin-count"></span></div>' : ''; 868 868 $lin_layout .= sprintf( 869 ' <div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%1$s&title=%2$s" target= "_blank" title="Share: %3$s"></a></div>%4$s',869 ' <div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %3$s"></a></div>%4$s', 870 870 $rtslink, 871 871 $rtstitle, … … 928 928 'active' => array( 'tw', 'fb', 'lin', 'pin' ), 929 929 'inactive' => array(), 930 930 931 ); 931 932 … … 946 947 'active' => array( 'tw', 'fb', 'lin', 'pin' ), 947 948 'inactive' => array(), 949 948 950 ); 949 951 … … 1154 1156 * @param string $feed_url Feed URL. 1155 1157 */ 1156 function rtsocial_get_feeds( $feed_url = 'https://rtcamp.com/blog/ category/rtsocial/feed/' ) {1158 function rtsocial_get_feeds( $feed_url = 'https://rtcamp.com/blog/' ) { 1157 1159 // Get RSS Feed(s). 1158 1160 require_once ABSPATH . WPINC . '/feed.php'; … … 1290 1292 update_post_meta( $post_id, '_rtsocial_visibility', $my_data ); 1291 1293 } 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 -
rtsocial/tags/2.2.3/styles/style.css
r2464698 r2694761 76 76 /* Metaboxes inner div */ 77 77 #rtsocial .inside { font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; line-height: 1.2em; } 78 78 79 79 80 /* Manual code info style */ … … 122 123 .rtsocial-fb-icon, 123 124 .rtsocial-pinterest-icon, 124 .rtsocial-linkedin-icon{ margin: 0 10px 0 0; position: relative; display: inline-block; } 125 125 .rtsocial-linkedin-icon{ margin: 0 15px 0 0; position: relative; display: inline-block; } 126 127 .rtsocial-twitter-horizontal:hover, 128 .rtsocial-fb-horizontal:hover, 129 .rtsocial-pinterest-horizontal:hover, 130 .rtsocial-linkedin-horizontal:hover, 131 .rtsocial-twitter-icon:hover, 132 .rtsocial-fb-icon:hover, 133 .rtsocial-pinterest-icon:hover, 134 .rtsocial-linkedin-icon:hover, 135 .rtsocial-container-align-right .rtsocial-twitter-vertical:hover, 136 .rtsocial-container-align-right .rtsocial-fb-vertical:hover, 137 .rtsocial-container-align-right .rtsocial-pinterest-vertical:hover, 138 .rtsocial-container-align-right .rtsocial-linkedin-vertical:hover, 139 .rtsocial-container-align-left .rtsocial-twitter-vertical:hover, 140 .rtsocial-container-align-left .rtsocial-fb-vertical:hover, 141 .rtsocial-container-align-left .rtsocial-pinterest-vertical:hover, 142 .rtsocial-container-align-left .rtsocial-linkedin-vertical:hover, 143 .rtsocial-container-align-none .rtsocial-twitter-vertical:hover, 144 .rtsocial-container-align-none .rtsocial-fb-vertical:hover, 145 .rtsocial-container-align-none .rtsocial-linkedin-vertical:hover, 146 .rtsocial-container-align-none .rtsocial-pinterest-vertical:hover { 147 position: relative; 148 animation-name: wobble-up-down; 149 animation-duration: 1s; 150 animation-timing-function: ease-in-out; 151 animation-iteration-count: 1; 152 } 153 154 @keyframes wobble-up-down { 155 16.65% { 156 transform: translateY(8px); 157 } 158 159 33.3% { 160 transform: translateY(-6px); 161 } 162 163 49.95% { 164 transform: translateY(4px); 165 } 166 167 66.6% { 168 transform: translateY(-2px); 169 } 170 171 83.25% { 172 transform: translateY(1px); 173 } 174 175 100% { 176 transform: translateY(0); 177 } 178 } 126 179 127 180 /* Counts display styles */ … … 211 264 /*Facebook Button Frontend Styles*/ 212 265 .rtsocial-fb-button{ background-position: 0 -172px; display: block; height: 24px; width: 50px; text-indent: -9999px; text-transform: uppercase; margin: 0 auto;} 266 213 267 .rtsocial-fb-button:hover{ background-position: 0 -128px } 214 268 … … 231 285 .rtsocial-twitter-button, 232 286 #rtsocial-ord-tw label { background-position: 0 -557px; display: block; float: left; height: 21px; margin: 0; padding: 0; width: 58px; text-indent: -9999px; } 287 233 288 234 289 #rtsocial-ord-tw label{ float: none; display: inline-block; } … … 240 295 .rtsocial-pinterest-button, 241 296 #rtsocial-ord-pin label { background-position: 0 -598px; border: 1px solid #c9c5c5; border-color: #E8E4E4 #C9C5C5 #C9C5C5; border-radius: 4px 4px 4px 4px; display: block; height: 22px; text-indent: -9999px; text-transform: uppercase; width: 47px; margin: 0 auto; } 297 242 298 243 299 .rtsocial-pinterest-button:hover, … … 247 303 .rtsocial-linkedin-button, 248 304 #rtsocial-ord-lin label{ background-position: 0 -682px; border-color: #E2E2E2 #BFBFBF #B9B9B9; border-style: solid; border-width: 1px; border-radius: 2px; display: block; height: 18px; margin: 0 auto; text-indent: -9999px; text-transform: uppercase; width: 59px; } 305 249 306 250 307 .rtsocial-linkedin-button:hover, … … 333 390 .rtsocial-linkedin-icon-link{ background-position: -130px -398px; } 334 391 392 393 394 335 395 /** 336 396 * End of rtSocial Plugin Style -
rtsocial/tags/2.2.3/template/rtsocial-setting-form.php
r2464698 r2694761 246 246 <th><?php esc_html_e( 'Twitter Handle', 'rtSocial' ); ?>:</th> 247 247 <td> 248 < input type="text" value="<?php echo esc_attr( $options['tw_handle'] ); ?>" id="tw_handle" name="rtsocial_plugin_options[tw_handle]" />248 <input type="text" value="<?php echo esc_attr( $options['tw_handle'] ); ?>" id="tw_handle" name="rtsocial_plugin_options[tw_handle]" /> 249 249 </td> 250 250 <td> </td> … … 253 253 <th><?php esc_html_e( 'Related Twitter Handle', 'rtSocial' ); ?>:</th> 254 254 <td> 255 < input type="text" value="<?php echo esc_attr( $options['tw_related_handle'] ); ?>" id="tw_related_handle" name="rtsocial_plugin_options[tw_related_handle]" />255 <input type="text" value="<?php echo esc_attr( $options['tw_related_handle'] ); ?>" id="tw_related_handle" name="rtsocial_plugin_options[tw_related_handle]" /> 256 256 </td> 257 257 <td> </td> … … 310 310 </td> 311 311 <td> </td> 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 312 327 </tr> 313 328 </table> … … 380 395 </span> 381 396 </h3> 382 <div class="inside"><?php esc_html_e( 'If you have any problems with this plugin or good ideas for improvements, please talk about them in the', 'rtSocial' ); ?> <a href=" https://rtcamp.com/support/forum/rtsocial/" rel="nofollow" target="_blank" title="<?php esc_attr_e( 'free support forums', 'rtSocial' ); ?>"><?php esc_html_e( 'free support forums.', 'rtSocial' ); ?></a></div>397 <div class="inside"><?php esc_html_e( 'If you have any problems with this plugin or good ideas for improvements, please talk about them in the', 'rtSocial' ); ?> <a href="" rel="nofollow" target="_blank" title="<?php esc_attr_e( 'free support forums', 'rtSocial' ); ?>"><?php esc_html_e( 'free support forums.', 'rtSocial' ); ?></a></div> 383 398 </div> 384 399 <div class="postbox" id="latest_news"> -
rtsocial/trunk/js/rtss-main.js
r2464698 r2694761 15 15 var rtsocial_urls = { }; // create an associative array of url as key and counts. 16 16 var sep = '"'; // URL separatore initial value. 17 var temp FbUrl = ""; // temp variable for url.17 var temp. 18 18 19 19 jQuery( '.rtsocial-container' ).each( … … 21 21 var facebookSocial = this; 22 22 var rtsocial_url_count = 0; 23 tempFbUrl = jQuery( this ).find( 'a.perma-link' ).attr( 'href' ); 24 if ( tempFbUrl !== '' || tempFbUrl !== 'undefined' ) { 25 26 // Fetch share count by Facebook Graph API. 27 var rtsocial_fburl = 'https://graph.facebook.com/?id=' + tempFbUrl + '&fields=og_object{engagement}'; 28 29 /** 30 * Facebook Data. 31 */ 32 jQuery.getJSON( 33 rtsocial_fburl, 34 function ( fbres ) { 35 if ( typeof fbres.og_object !== 'undefined' && fbres.og_object.engagement.count ) { 36 rtsocial_url_count = fbres.og_object.engagement.count; // Setting value. 37 } 38 jQuery( facebookSocial ).find( '.rtsocial-fb-count' ).text( rtsocial_url_count ); 23 tempPostId = jQuery( this ).find( '.rts_id' ).val(); 24 security = jQuery( this ).find( '#rts_media_nonce' ).val(); 25 if ( '' !== tempPostId || 'undefined' !== tempPostId ) { 26 jQuery.ajax({ 27 type: 'GET', 28 url: ajaxurl, 29 data: { 30 "action" : "rtss_wp_get_shares", 31 "post_id" : tempPostId, 32 "security": security 33 }, 34 success: function(data){ 35 jQuery( facebookSocial ).find( '.rtsocial-fb-count' ).text( data ); 39 36 } 40 ); /* End of Callback function in JSON. */37 41 38 } 42 39 } -
rtsocial/trunk/readme.txt
r2623131 r2694761 1 1 === rtSocial === 2 Contributors: rtcamp, rahul286, faishal, rittesh.patel, sanketparmar, pranalipatel, UmeshSingla, rutwick, saurabhshukla, HarishChaudhari, 5um17, JoshuaAbenazer, paddyohanlon, chandrapatel, 1naveengiri, bhargavbhandari90, coderboy007, vaishu.agola27, pooja1210, milindmore22 2 Contributors: rtcamp, rahul286, faishal, rittesh.patel, sanketparmar, pranalipatel, UmeshSingla, rutwick, saurabhshukla, HarishChaudhari, 5um17, JoshuaAbenazer, paddyohanlon, chandrapatel, 1naveengiri, bhargavbhandari90, coderboy007, vaishu.agola27, pooja1210, milindmore22 3 3 Tags: rtcamp, social, sharing, share, social links, twitter, facebook, pin it, pinterest, linkedin, linked in, linked in share, plus one button, social share, social sharing 4 4 Requires at least: 3.0 5 Tested up to: 5. 8.16 Stable tag: 2.2. 25 Tested up to: 5..1 6 Stable tag: 2.2. 7 7 License: GPLv2 or later (of-course) 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 32 32 Install rtSocial plugin from the 'Plugins' section in your dashboard (Plugins > Add New > Search for rtSocial). 33 33 34 Alternatively you can [download latest version](https://downloads.wordpress.org/plugin/rtsocial. 2.1.19.zip) of rtSocial plugin from the repository. Unzip it and upload it to the plugins folder of your WordPress installation (wp-content/plugins/ directory of your WordPress installation).34 Alternatively you can [download latest version](https://downloads.wordpress.org/plugin/rtsocial.zip) of rtSocial plugin from the repository. Unzip it and upload it to the plugins folder of your WordPress installation (wp-content/plugins/ directory of your WordPress installation). 35 35 36 36 Activate it through the 'Plugins' section. … … 59 59 60 60 == Changelog == 61 62 63 64 65 66 67 68 69 70 71 72 73 61 74 62 75 = 2.2.2 = -
rtsocial/trunk/source.php
r2464698 r2694761 12 12 * Text Domain: rtSocial 13 13 * Domain Path: /languages 14 * Version: 2.2. 214 * Version: 2.2. 15 15 * License: GPLv2 or later 16 16 * License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 98 98 */ 99 99 add_filter( 'the_content', 'rtsocial_counter' ); 100 add_filter( ' the_excerpt', 'rtsocial_counter' );100 add_filter( 'the_excerpt', 'rtsocial_counter' ); 101 101 102 102 /** … … 425 425 if ( 'horizontal' === $options['display_options_set'] ) { 426 426 $lin_layout .= sprintf( 427 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>',427 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https://$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>', 428 428 $options['display_options_set'], 429 429 rawurlencode( get_permalink( $post->ID ) ), … … 435 435 if ( 'vertical' === $options['display_options_set'] ) { 436 436 $lin_layout .= sprintf( 437 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>',437 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https://$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>', 438 438 $options['display_options_set'], 439 439 rawurlencode( get_permalink( $post->ID ) ), … … 445 445 if ( 'icon' === $options['display_options_set'] ) { 446 446 $lin_layout .= sprintf( 447 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" target= "_blank" title="Share: %4$s"></a></div>',447 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %4$s"></a></div>', 448 448 $options['display_options_set'], 449 449 rawurlencode( get_permalink( $post->ID ) ), … … 456 456 $lin_layout = '<div class="rtsocial-linkedin-icon">'; 457 457 $lin_layout .= sprintf( 458 '<div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%1$s&title=%2$s" target= "_blank" title="Share: %3$s"></a></div>',458 '<div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %3$s"></a></div>', 459 459 rawurlencode( get_permalink( $post->ID ) ), 460 460 rawurlencode( $rtatitle ), … … 833 833 if ( 'horizontal' === $options['display_options_set'] ) { 834 834 $lin_layout .= sprintf( 835 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>%5$s',835 '<div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-button" href= "https://=%3$s" rel="nofollow" target="_blank" title="Share: %4$s"></a></div>%5$s', 836 836 $options['display_options_set'], 837 837 $rtslink, … … 844 844 if ( 'vertical' === $options['display_options_set'] ) { 845 845 $lin_layout .= sprintf( 846 '%1$s <div class="rtsocial-linkedin-%2$s-button"><a class="rtsocial-linkedin-button" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%3$s&title=%4$s" rel="nofollow" target="_blank" title="Share: %5$s"></a></div>',846 '%1$s <div class="rtsocial-linkedin-%2$s-button"><a class="rtsocial-linkedin-button" href= "https://$s" rel="nofollow" target="_blank" title="Share: %5$s"></a></div>', 847 847 $lin_count, 848 848 $options['display_options_set'], … … 855 855 if ( 'icon' === $options['display_options_set'] ) { 856 856 $lin_layout .= sprintf( 857 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%2$s&title=%3$s" target= "_blank" title="Share: %4$s"></a></div>',857 ' <div class="rtsocial-linkedin-%1$s-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %4$s"></a></div>', 858 858 $options['display_options_set'], 859 859 $rtslink, … … 867 867 $lin_count = ( empty( $options['hide_count'] ) || 1 !== (int) $options['hide_count'] ) ? '<div class="rtsocial-horizontal-count"><div class="rtsocial-horizontal-notch"></div><span class="rtsocial-linkedin-count"></span></div>' : ''; 868 868 $lin_layout .= sprintf( 869 ' <div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https:// www.linkedin.com/shareArticle?mini=true&url=%1$s&title=%2$s" target= "_blank" title="Share: %3$s"></a></div>%4$s',869 ' <div class="rtsocial-linkedin-icon-button"><a class="rtsocial-linkedin-icon-link" href= "https://$s" target= "_blank" title="Share: %3$s"></a></div>%4$s', 870 870 $rtslink, 871 871 $rtstitle, … … 928 928 'active' => array( 'tw', 'fb', 'lin', 'pin' ), 929 929 'inactive' => array(), 930 930 931 ); 931 932 … … 946 947 'active' => array( 'tw', 'fb', 'lin', 'pin' ), 947 948 'inactive' => array(), 949 948 950 ); 949 951 … … 1154 1156 * @param string $feed_url Feed URL. 1155 1157 */ 1156 function rtsocial_get_feeds( $feed_url = 'https://rtcamp.com/blog/ category/rtsocial/feed/' ) {1158 function rtsocial_get_feeds( $feed_url = 'https://rtcamp.com/blog/' ) { 1157 1159 // Get RSS Feed(s). 1158 1160 require_once ABSPATH . WPINC . '/feed.php'; … … 1290 1292 update_post_meta( $post_id, '_rtsocial_visibility', $my_data ); 1291 1293 } 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 -
rtsocial/trunk/styles/style.css
r2464698 r2694761 76 76 /* Metaboxes inner div */ 77 77 #rtsocial .inside { font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; line-height: 1.2em; } 78 78 79 79 80 /* Manual code info style */ … … 122 123 .rtsocial-fb-icon, 123 124 .rtsocial-pinterest-icon, 124 .rtsocial-linkedin-icon{ margin: 0 10px 0 0; position: relative; display: inline-block; } 125 125 .rtsocial-linkedin-icon{ margin: 0 15px 0 0; position: relative; display: inline-block; } 126 127 .rtsocial-twitter-horizontal:hover, 128 .rtsocial-fb-horizontal:hover, 129 .rtsocial-pinterest-horizontal:hover, 130 .rtsocial-linkedin-horizontal:hover, 131 .rtsocial-twitter-icon:hover, 132 .rtsocial-fb-icon:hover, 133 .rtsocial-pinterest-icon:hover, 134 .rtsocial-linkedin-icon:hover, 135 .rtsocial-container-align-right .rtsocial-twitter-vertical:hover, 136 .rtsocial-container-align-right .rtsocial-fb-vertical:hover, 137 .rtsocial-container-align-right .rtsocial-pinterest-vertical:hover, 138 .rtsocial-container-align-right .rtsocial-linkedin-vertical:hover, 139 .rtsocial-container-align-left .rtsocial-twitter-vertical:hover, 140 .rtsocial-container-align-left .rtsocial-fb-vertical:hover, 141 .rtsocial-container-align-left .rtsocial-pinterest-vertical:hover, 142 .rtsocial-container-align-left .rtsocial-linkedin-vertical:hover, 143 .rtsocial-container-align-none .rtsocial-twitter-vertical:hover, 144 .rtsocial-container-align-none .rtsocial-fb-vertical:hover, 145 .rtsocial-container-align-none .rtsocial-linkedin-vertical:hover, 146 .rtsocial-container-align-none .rtsocial-pinterest-vertical:hover { 147 position: relative; 148 animation-name: wobble-up-down; 149 animation-duration: 1s; 150 animation-timing-function: ease-in-out; 151 animation-iteration-count: 1; 152 } 153 154 @keyframes wobble-up-down { 155 16.65% { 156 transform: translateY(8px); 157 } 158 159 33.3% { 160 transform: translateY(-6px); 161 } 162 163 49.95% { 164 transform: translateY(4px); 165 } 166 167 66.6% { 168 transform: translateY(-2px); 169 } 170 171 83.25% { 172 transform: translateY(1px); 173 } 174 175 100% { 176 transform: translateY(0); 177 } 178 } 126 179 127 180 /* Counts display styles */ … … 211 264 /*Facebook Button Frontend Styles*/ 212 265 .rtsocial-fb-button{ background-position: 0 -172px; display: block; height: 24px; width: 50px; text-indent: -9999px; text-transform: uppercase; margin: 0 auto;} 266 213 267 .rtsocial-fb-button:hover{ background-position: 0 -128px } 214 268 … … 231 285 .rtsocial-twitter-button, 232 286 #rtsocial-ord-tw label { background-position: 0 -557px; display: block; float: left; height: 21px; margin: 0; padding: 0; width: 58px; text-indent: -9999px; } 287 233 288 234 289 #rtsocial-ord-tw label{ float: none; display: inline-block; } … … 240 295 .rtsocial-pinterest-button, 241 296 #rtsocial-ord-pin label { background-position: 0 -598px; border: 1px solid #c9c5c5; border-color: #E8E4E4 #C9C5C5 #C9C5C5; border-radius: 4px 4px 4px 4px; display: block; height: 22px; text-indent: -9999px; text-transform: uppercase; width: 47px; margin: 0 auto; } 297 242 298 243 299 .rtsocial-pinterest-button:hover, … … 247 303 .rtsocial-linkedin-button, 248 304 #rtsocial-ord-lin label{ background-position: 0 -682px; border-color: #E2E2E2 #BFBFBF #B9B9B9; border-style: solid; border-width: 1px; border-radius: 2px; display: block; height: 18px; margin: 0 auto; text-indent: -9999px; text-transform: uppercase; width: 59px; } 305 249 306 250 307 .rtsocial-linkedin-button:hover, … … 333 390 .rtsocial-linkedin-icon-link{ background-position: -130px -398px; } 334 391 392 393 394 335 395 /** 336 396 * End of rtSocial Plugin Style -
rtsocial/trunk/template/rtsocial-setting-form.php
r2464698 r2694761 246 246 <th><?php esc_html_e( 'Twitter Handle', 'rtSocial' ); ?>:</th> 247 247 <td> 248 < input type="text" value="<?php echo esc_attr( $options['tw_handle'] ); ?>" id="tw_handle" name="rtsocial_plugin_options[tw_handle]" />248 <input type="text" value="<?php echo esc_attr( $options['tw_handle'] ); ?>" id="tw_handle" name="rtsocial_plugin_options[tw_handle]" /> 249 249 </td> 250 250 <td> </td> … … 253 253 <th><?php esc_html_e( 'Related Twitter Handle', 'rtSocial' ); ?>:</th> 254 254 <td> 255 < input type="text" value="<?php echo esc_attr( $options['tw_related_handle'] ); ?>" id="tw_related_handle" name="rtsocial_plugin_options[tw_related_handle]" />255 <input type="text" value="<?php echo esc_attr( $options['tw_related_handle'] ); ?>" id="tw_related_handle" name="rtsocial_plugin_options[tw_related_handle]" /> 256 256 </td> 257 257 <td> </td> … … 310 310 </td> 311 311 <td> </td> 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 312 327 </tr> 313 328 </table> … … 380 395 </span> 381 396 </h3> 382 <div class="inside"><?php esc_html_e( 'If you have any problems with this plugin or good ideas for improvements, please talk about them in the', 'rtSocial' ); ?> <a href=" https://rtcamp.com/support/forum/rtsocial/" rel="nofollow" target="_blank" title="<?php esc_attr_e( 'free support forums', 'rtSocial' ); ?>"><?php esc_html_e( 'free support forums.', 'rtSocial' ); ?></a></div>397 <div class="inside"><?php esc_html_e( 'If you have any problems with this plugin or good ideas for improvements, please talk about them in the', 'rtSocial' ); ?> <a href="" rel="nofollow" target="_blank" title="<?php esc_attr_e( 'free support forums', 'rtSocial' ); ?>"><?php esc_html_e( 'free support forums.', 'rtSocial' ); ?></a></div> 383 398 </div> 384 399 <div class="postbox" id="latest_news">
Note: See TracChangeset
for help on using the changeset viewer.