Changeset 490212
- Timestamp:
- 01/15/2012 01:42:39 PM (14 years ago)
- Location:
- tilt-social-share-widget/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
tilt-social-share.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tilt-social-share-widget/trunk/readme.txt
r487757 r490212 5 5 Requires at least: 3.3 6 6 Tested up to: 3.3 7 Stable tag: 0. 5beta7 Stable tag: 0.6 beta 8 8 9 9 Tilt Social Share Widget allows your users to quickly share your content on social sites. View "Description" tab for available services. … … 66 66 = 0.5 = 67 67 Beta version. 68 69 = 0.6 = 70 Corrected CSS loading problem (icons were not visible). -
tilt-social-share-widget/trunk/tilt-social-share.php
r487749 r490212 5 5 Description: Display icons that allow users to share your posts and pages in common social websites. 6 6 Author: Rui Oliveira 7 Version: 0. 57 Version: 0.6 8 8 Author URI: http://xonoxlabs.com/ 9 9 */ … … 140 140 'posts' => true, 141 141 'order' => 'gplus, facebook, linkedin, twitter, stumbleupon, digg, delicious', 142 'on_delicious' => true,142 'on_delicious' => false, 143 143 'on_digg' => true, 144 'on_evernote' => true,144 'on_evernote' => false, 145 145 'on_facebook' => true, 146 'on_friendfeed' => true,147 'on_gbookmarks' => true,148 'on_gbuzz' => true,146 'on_friendfeed' => false, 147 'on_gbookmarks' => false, 148 'on_gbuzz' => false, 149 149 'on_gplus' => true, 150 150 'on_linkedin' => true, 151 'on_newsvine' => true,152 'on_pingfm' => true,153 'on_posterous' => true,151 'on_newsvine' => false, 152 'on_pingfm' => false, 153 'on_posterous' => false, 154 154 'on_reddit' => true, 155 'on_slashdot' => true,155 'on_slashdot' => false, 156 156 'on_stumbleupon' => true, 157 'on_technorati' => true,157 'on_technorati' => false, 158 158 'on_tumblr' => true, 159 159 'on_twitter' => true … … 240 240 } 241 241 242 // Load Tilt Social Share Widget CSS243 if($instance['tiltcss']) {244 wp_register_style('tiltSocialWidget_css', WP_PLUGIN_URL . '/tilt-social-share/css/style.css');245 wp_enqueue_style('tiltSocialWidget_css');246 }247 242 extract($args); 248 243 … … 291 286 } 292 287 293 function addHeaderCode() {294 echo('<link type="text/css" rel="stylesheet" href="' . get_bloginfo('wpurl') . '/wp-content/plugins/tilt-social-share/css/style.css" />' . "\n");295 }296 297 288 function processUrl($url) { 298 289 $url = str_replace('[URL]', urlencode(get_permalink()), $url); … … 310 301 function tiltSocialWidget_load_widgets() { 311 302 register_widget('tiltSocialWidget'); 303 // Load widget CSS 304 if(is_active_widget(false, false, 'tilt_social_widget')) add_action('wp_head', 'tiltSocialWidget_load_style'); 312 305 } 313 306 307 function tiltSocialWidget_load_style() { 308 wp_register_style('tiltSocialWidget_css', WP_PLUGIN_URL . '/tilt-social-share-widget/css/style.css'); 309 wp_enqueue_style('tiltSocialWidget_css'); 310 } 311 314 312 ?>
Note: See TracChangeset
for help on using the changeset viewer.