Changeset 858142
- Timestamp:
- 02/14/2014 11:35:23 PM (12 years ago)
- Location:
- crafty-social-buttons/trunk
- Files:
-
- 2 added
- 9 edited
-
README.txt (modified) (3 diffs)
-
buttons/metal/rss.png (added)
-
buttons/metal/youtube.png (modified) (previous)
-
crafty-social-buttons.php (modified) (1 diff)
-
css/admin.min.css (modified) (1 diff)
-
css/public.min.css (modified) (1 diff)
-
js/admin.min.js (modified) (1 diff)
-
services/class-SH_Flickr.php (modified) (1 diff)
-
services/class-SH_Instagram.php (modified) (1 diff)
-
services/class-SH_RSS.php (added)
-
services/class-SH_Twitter.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
crafty-social-buttons/trunk/README.txt
r851078 r858142 92 92 == Changelog == 93 93 94 = 1.0.10 = 95 * Added RSS link button option 96 * Fixed problem with special characters in titles appearing wrongly in the Twitter share 97 94 98 = 1.0.9 = 95 99 * Added YouTube link button option … … 124 128 == Upgrade Notice == 125 129 130 = 1.0.10 = 131 * Added RSS link button option 132 * Fixed problem with special characters in titles appearing wrongly in the Twitter share 133 126 134 = 1.0.9 = 127 135 * Added YouTube link button option … … 152 160 These are the things currently in the pipeline: 153 161 154 * Add support for YouTube (for crafters who post video tutorials)155 162 * Adding an option to choose image sizes for the icons 156 163 * Changing the post count feature to request data only after the page is loaded so it doesn't slow things down so much. -
crafty-social-buttons/trunk/crafty-social-buttons.php
r851078 r858142 16 16 * Plugin URI: http://github.com/sarahhenderson/crafty-social-buttons 17 17 * Description: Adds social sharing buttons and links to your site, including Ravelry, Etsy, Craftsy and Pinterest 18 * Version: 1.0. 918 * Version: 1.0.10 19 19 * Author: Sarah Henderson 20 20 * Author URI: http://sarahhenderson.info -
crafty-social-buttons/trunk/css/admin.min.css
r851078 r858142 1 1 /*! crafty-social-buttons (c) Sarah Henderson 2014 2 * Version 1.0. 9 (04-02-2014) */2 * Version 1.0.10 (15-02-2014) */ 3 3 4 4 .crafty-social-buttons .csb-include-list{border:1px solid #ddd;background:#f1f1f1;margin-right:.5em;vertical-align:top;padding:.4em}.crafty-social-buttons .include-heading{text-align:left;font-weight:700}.crafty-social-buttons .csb-include-list ul{border:1px solid #ddd;background:#fff;padding:.5em;margin:0;min-height:60px}.crafty-social-buttons .csb-include-list ul li{display:inline-block;padding:0;margin:.3em;text-align:center;font-size:1.2em;cursor:move}.crafty-social-buttons .csb-image-preview{margin-top:.5em}.crafty-social-buttons select{width:200px}.crafty-social-buttons input[type=text]{width:350px}.crafty-social-buttons span.description{font-style:normal}.crafty-social-buttons span.description strong{font-style:italic} -
crafty-social-buttons/trunk/css/public.min.css
r851078 r858142 1 1 /*! crafty-social-buttons (c) Sarah Henderson 2014 2 * Version 1.0. 9 (04-02-2014) */2 * Version 1.0.10 (15-02-2014) */ 3 3 4 4 .crafty-social-buttons{margin:.3em 0}.crafty-social-buttons .crafty-social-caption{display:inline-block;padding-right:1em;vertical-align:top;font-size:1.2em}.crafty-social-buttons .size48 img,.crafty-social-buttons img{max-width:48px;max-height:48px}.crafty-social-buttons .size16 img{max-width:16px;max-height:16px}.crafty-social-buttons .size32 img{max-width:32px;max-height:32px}.crafty-social-buttons .size64 img{max-width:64px;max-height:64px}.crafty-social-buttons ul{display:inline-block;list-style-type:none;margin:0;padding:0}.crafty-social-buttons ul li{display:inline-block;margin:0 .2em;padding:0}.crafty-social-buttons .crafty-social-share-count:after,.crafty-social-buttons .crafty-social-share-count:before{right:100%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.crafty-social-buttons .crafty-social-share-count:after{border-color:rgba(224,221,221,0);border-right-color:#f5f5f5;border-width:5px;top:50%;margin-top:-5px}.crafty-social-buttons .crafty-social-share-count:before{border-color:rgba(85,94,88,0);border-right-color:#e0dddd;border-width:6px;top:50%;margin-top:-6px}.crafty-social-buttons .crafty-social-share-count{font:11px Arial,Helvetica,sans-serif;color:#555e58;padding:5px;-khtml-border-radius:6px;-o-border-radius:6px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;position:relative;background:#f5f5f5;border:1px solid #e0dddd} -
crafty-social-buttons/trunk/js/admin.min.js
r851078 r858142 1 1 /*! crafty-social-buttons (c) Sarah Henderson 2014 2 * Version 1.0. 9 (04-02-2014) */2 * Version 1.0.10 (15-02-2014) */ 3 3 jQuery(document).ready(function(a){a("#csbsort1, #csbsort2").sortable({connectWith:".connectedSortable",update:function(){var b=a("#csbsort2 li").map(function(){return a(this).attr("id")}).get();a(".csb-services").val(b)}}).disableSelection(),a(".csb-services").val(a("#csbsort2 li").map(function(){return a(this).attr("id")}).get()),a(".csb-image-set").change(function(){var b=a(this).val();a(".csb-image-preview").attr("data-base"),a.each(a(".csb-services img"),function(c,d){var e=a(d).attr("src"),f=a(d).attr("data-image-set"),g=e.replace(f,b);0,a(d).attr("src",g),a(d).attr("data-image-set",b)})})}); -
crafty-social-buttons/trunk/services/class-SH_Flickr.php
r833032 r858142 18 18 19 19 public function shareButton($url, $title = '', $showCount = false) { 20 21 $html = '<a class="' . $this->cssClass() . '" href="http://flickr.com/share?' 22 . 'url=' . $url 23 . ($this->newWindow ? 'target="_blank"' : '') . '>'; 24 25 $html .= $this->buttonImage(); 26 27 if ($showCount) { 28 $html .= '<span class="crafty-social-share-count">' . $this->shareCount($url) . '</span>'; 29 } 30 31 $html .= '</a>'; 32 33 return $html; 20 return ''; 34 21 } 35 22 -
crafty-social-buttons/trunk/services/class-SH_Instagram.php
r833032 r858142 18 18 19 19 public function shareButton($url, $title = '', $showCount = false) { 20 21 $html = '<a class="' . $this->cssClass() . '" href="http://instagram.com/share?' 22 . 'url=' . $url . '" ' 23 . ($this->newWindow ? 'target="_blank"' : '') 24 . '>'; 25 26 $html .= $this->buttonImage(); 27 28 if ($showCount) { 29 $html .= '<span class="crafty-social-share-count">' . $this->shareCount($url) . '</span>'; 30 } 31 32 $html .= '</a>'; 33 34 return $html; 20 return ''; 35 21 } 36 22 -
crafty-social-buttons/trunk/services/class-SH_Twitter.php
r833032 r858142 22 22 $html = '<a class="' . $this->cssClass() . '" href="http://twitter.com/share?' 23 23 . 'url=' . $url 24 . '&text=' . urlencode(trim($this->text . ' ' . $title)) . '" ' 24 . '&text=' . htmlspecialchars(urlencode(html_entity_decode(trim($this->text . ' ' . $title), ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8') 25 . '" ' 25 26 . ($this->newWindow ? 'target="_blank"' : '') . '>'; 26 27
Note: See TracChangeset
for help on using the changeset viewer.