Changeset 1534026 for add-to-any
- Timestamp:
- 11/14/2016 10:50:21 PM (19 months ago)
- Location:
- add-to-any/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (3 diffs)
-
add-to-any.php (modified) (7 diffs)
-
addtoany.min.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
add-to-any/trunk/README.txt
r1516986 r1534026 1 1 === AddToAny Share Buttons === 2 2 Contributors: micropat, addtoany 3 Tags: AddToAny, share, sharing, social, share button, share buttons, s hare links, social media, media, marketing, post, posts, page, pages, images, image, admin, analytics, stats, links, plugin, shortcode, sidebar, widget, responsive, email, seo, button, woocommerce, ecommerce, e-commerce, amazon, google, linkedin, reddit, facebook, like, twitter, tweet, google plus, pinterest, whatsapp, instagram, flickr, vimeo, youtube, feed, rss, addthis, share this, sharethis, icons, floating, wpml3 Tags: AddToAny, share, sharing, social, share button, share buttons, social media, media, marketing, images, image, links, shortcode, widget, email, seo, button, woocommerce, ecommerce, e-commerce, amazon, google, linkedin, reddit, facebook, like, twitter, google plus, pinterest, whatsapp, instagram, vimeo, youtube, feed, addthis, share this, sharethis, icons, floating, wpml 4 4 Requires at least: 3.7 5 Tested up to: 4. 66 Stable tag: 1.7. 15 Tested up to: 4.7 6 Stable tag: 1.7.2 7 7 8 8 Share buttons for WordPress including the AddToAny sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp, many more, and follow icons too. … … 64 64 65 65 * Over 10 years of development 66 * Over 5 million downloads66 * Over 5.5 million downloads 67 67 * Translated into dozens of languages 68 68 * Ongoing support from the community … … 334 334 335 335 == Changelog == 336 337 = 1.7.2 = 338 * Accept arguments in universal button template tag for additional classes and HTML contents 339 * Override box shadow on buttons in some themes such as the new Twenty Seventeen default theme in WordPress 4.7 336 340 337 341 = 1.7.1 = -
add-to-any/trunk/add-to-any.php
r1516986 r1534026 4 4 Plugin URI: https://www.addtoany.com/ 5 5 Description: Share buttons for your pages including AddToAny's universal sharing button, Facebook, Twitter, Google+, Pinterest, WhatsApp and many more. 6 Version: 1.7. 16 Version: 1.7.2 7 7 Author: AddToAny 8 8 Author URI: https://www.addtoany.com/ … … 115 115 116 116 // Add additional classNames to .a2a_kit 117 if ( isset( $args['kit_additional_classes'] ) ) {117 if ( ! empty( $args['kit_additional_classes'] ) ) { 118 118 // Append space and className(s) 119 119 $kit_additional_classes .= ' ' . $args['kit_additional_classes']; … … 393 393 'html_wrap_open' => '', 394 394 'html_wrap_close' => '', 395 'html_content' => '', 396 'button_additional_classes' => '', 395 397 'icon_size' => isset( $options['icon_size'] ) ? $options['icon_size'] : '32', 396 398 'no_small_icons' => false, … … 443 445 } 444 446 447 // Add additional classNames to .a2a_dd 448 $button_additional_classes = ! empty( $args['button_additional_classes'] ) ? ' ' . $args['button_additional_classes'] : ''; 449 445 450 $style = ''; 446 451 … … 455 460 } 456 461 457 if ( isset( $button_text ) && ( ! isset( $button_fname) || ! $button_fname || $button_fname == 'favicon.png' || $button_fname == 'share_16_16.png' ) ) { 462 if ( ! empty( $html_content ) ) { 463 $button = $html_content; 464 } elseif ( isset( $button_text ) && ( ! isset( $button_fname) || ! $button_fname || $button_fname == 'favicon.png' || $button_fname == 'share_16_16.png' ) ) { 458 465 $button = $button_text; 459 466 } else { … … 466 473 } 467 474 468 $button_html = $html_container_open . $html_wrap_open . '<a class="a2a_dd' . $button_class . ' addtoany_share_save" href="https://www.addtoany.com/share' .$button_href_querystring . '"'475 $button_html = $html_container_open . $html_wrap_open . '<a class="a2a_dd' . $button_class . $button_additional_classes . ' addtoany_share_save" href="https://www.addtoany.com/share' .$button_href_querystring . '"' 469 476 . $button_data_url . $button_data_title . $button_data_media . $style . $button_target 470 477 . '>' . $button . '</a>'; … … 896 903 if ( ! isset( $options['inline_css'] ) || $options['inline_css'] != '-1' && ! is_admin() ) { 897 904 898 wp_enqueue_style( 'A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.1 2' );905 wp_enqueue_style( 'A2A_SHARE_SAVE', $A2A_SHARE_SAVE_plugin_url_path . '/addtoany.min.css', false, '1.13' ); 899 906 900 907 // wp_add_inline_style requires WP 3.3+ -
add-to-any/trunk/addtoany.min.css
r1324303 r1534026 1 .addtoany_share_save_container{clear:both;margin:16px 0}.addtoany_header{margin:0 0 16px}.addtoany_list{display:inline;line-height:16px}.addtoany_list a {border:0;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{border:0;display:inline-block;height:auto;opacity:1;overflow:hidden;vertical-align:baseline;width:auto}.addtoany_list a span{display:inline-block;float:none}.addtoany_list.a2a_kit_size_32 a{font-size:32px}.addtoany_list.a2a_kit_size_32 a > span{border-radius:4px;display:inline-block;height:32px;line-height:32px;opacity:1;width:32px}.addtoany_list a .a2a_count{position:relative;vertical-align:top}.addtoany_list a:hover img,.addtoany_list a:hover span{opacity:.7}.addtoany_list a.addtoany_special_service:hover img,.addtoany_list a.addtoany_special_service:hover span{opacity:1}.addtoany_special_service{display:inline-block;vertical-align:middle}.addtoany_special_service a,.addtoany_special_service div,.addtoany_special_service iframe,.addtoany_special_service div.fb_iframe_widget,.addtoany_special_service span{margin:0;vertical-align:baseline!important}.addtoany_special_service iframe{display:inline;max-width:none}a.addtoany_share_save.addtoany_no_icon span.a2a_img_text{display:none}a.addtoany_share_save img{border:0;width:auto;height:auto}1 .addtoany_share_save_container{clear:both;margin:16px 0}.addtoany_header{margin:0 0 16px}.addtoany_list{display:inline;line-height:16px}.addtoany_list a,.widget .addtoany_list a{border:0;box-shadow:none;display:inline-block;font-size:16px;padding:0 4px;vertical-align:middle}.addtoany_list a img{border:0;display:inline-block;height:auto;opacity:1;overflow:hidden;vertical-align:baseline;width:auto}.addtoany_list a span{display:inline-block;float:none}.addtoany_list.a2a_kit_size_32 a{font-size:32px}.addtoany_list.a2a_kit_size_32 a > span{border-radius:4px;display:inline-block;height:32px;line-height:32px;opacity:1;width:32px}.addtoany_list a .a2a_count{position:relative;vertical-align:top}.addtoany_list a:hover,.widget .addtoany_list a:hover{border:0;box-shadow:none}.addtoany_list a:hover img,.addtoany_list a:hover span{opacity:.7}.addtoany_list a.addtoany_special_service:hover img,.addtoany_list a.addtoany_special_service:hover span{opacity:1}.addtoany_special_service{display:inline-block;vertical-align:middle}.addtoany_special_service a,.addtoany_special_service div,.addtoany_special_service iframe,.addtoany_special_service div.fb_iframe_widget,.addtoany_special_service span{margin:0;vertical-align:baseline!important}.addtoany_special_service iframe{display:inline;max-width:none}a.addtoany_share_save.addtoany_no_icon span.a2a_img_text{display:none}a.addtoany_share_save img{border:0;width:auto;height:auto}
Note: See TracChangeset
for help on using the changeset viewer.