|
2 | 2 | /*Plugin Name: bS Share Buttons
|
3 | 3 | Plugin URI: https://bootscore.me/plugins/bs-share-buttons/
|
4 | 4 | Description: Share Buttons for bootScore theme https://bootscore.me. Use Shortcode [bs-share-buttons] to display buttons in content or widget. Use <?php echo do_shortcode("[bs-share-buttons]"); ?> to display in .php files.
|
5 |
| -Version: 5.0.0 |
| 5 | +Version: 5.2.0 |
6 | 6 | Author: bootScore
|
7 | 7 | Author URI: https://bootscore.me
|
8 | 8 | License: MIT License
|
@@ -70,18 +70,18 @@ function bs_share_buttons($content) {
|
70 | 70 |
|
71 | 71 | // Add sharing button at the end of page/page content
|
72 | 72 | $content .= '<div id="share-buttons" class="mb-3">';
|
73 |
| - $content .= '<a class="mb-1 btn btn-sm btn-twitter" title="Twitter" href="'. $twitterURL .'" target="_blank" rel="nofollow"><i class="fab fa-twitter"></i></a> '; |
74 |
| - $content .= '<a class="mb-1 btn btn-sm btn-facebook" title="Facebook" href="'.$facebookURL.'" target="_blank" rel="nofollow"><i class="fab fa-facebook-f"></i></a> '; |
75 |
| - $content .= '<a class="mb-1 btn btn-sm btn-whatsapp" title="Whatsapp" href="'.$whatsappURL.'" target="_blank" rel="nofollow"><i class="fab fa-whatsapp"></i></a> '; |
76 |
| - $content .= '<a class="mb-1 btn btn-sm btn-pinterest" title="Pinterest" href="'.$pinterestURL.'" data-pin-custom="true" target="_blank" rel="nofollow"><i class="fab fa-pinterest-p"></i></a> '; |
77 |
| - $content .= '<a class="mb-1 btn btn-sm btn-linkedin" title="LinkedIn" href="'.$linkedInURL.'" target="_blank" rel="nofollow"><i class="fab fa-linkedin-in"></i></a> '; |
78 |
| - $content .= '<a class="mb-1 btn btn-sm btn-reddit" title="Reddit" href="'.$redditURL.'" target="_blank" rel="nofollow"><i class="fab fa-reddit-alien"></i></a> '; |
79 |
| - $content .= '<a class="mb-1 btn btn-sm btn-tumblr" title="Tumblr" href="'.$tumblrURL.'" target="_blank" rel="nofollow"><i class="fab fa-tumblr"></i></a> '; |
| 73 | + $content .= '<a class="mb-1 btn btn-sm btn-twitter" title="Twitter" href="'. $twitterURL .'" target="_blank" rel="nofollow"><i class="fa-brands fa-twitter"></i></a> '; |
| 74 | + $content .= '<a class="mb-1 btn btn-sm btn-facebook" title="Facebook" href="'.$facebookURL.'" target="_blank" rel="nofollow"><i class="fa-brands fa-facebook-f"></i></a> '; |
| 75 | + $content .= '<a class="mb-1 btn btn-sm btn-whatsapp" title="Whatsapp" href="'.$whatsappURL.'" target="_blank" rel="nofollow"><i class="fa-brands fa-whatsapp"></i></a> '; |
| 76 | + $content .= '<a class="mb-1 btn btn-sm btn-pinterest" title="Pinterest" href="'.$pinterestURL.'" data-pin-custom="true" target="_blank" rel="nofollow"><i class="fa-brands fa-pinterest-p"></i></a> '; |
| 77 | + $content .= '<a class="mb-1 btn btn-sm btn-linkedin" title="LinkedIn" href="'.$linkedInURL.'" target="_blank" rel="nofollow"><i class="fa-brands fa-linkedin-in"></i></a> '; |
| 78 | + $content .= '<a class="mb-1 btn btn-sm btn-reddit" title="Reddit" href="'.$redditURL.'" target="_blank" rel="nofollow"><i class="fa-brands fa-reddit-alien"></i></a> '; |
| 79 | + $content .= '<a class="mb-1 btn btn-sm btn-tumblr" title="Tumblr" href="'.$tumblrURL.'" target="_blank" rel="nofollow"><i class="fa-brands fa-tumblr"></i></a> '; |
80 | 80 | $content .= '<a class="mb-1 btn btn-sm btn-buffer" title="Buffer" href="'.$bufferURL.'" target="_blank" rel="nofollow"><i class="fab fa-buffer"></i></a> ';
|
81 |
| - $content .= '<a class="mb-1 btn btn-sm btn-mix" title="mix" href="'.$mixURL.'" target="_blank" rel="nofollow"><i class="fab fa-mix"></i></a> '; |
82 |
| - $content .= '<a class="mb-1 btn btn-sm btn-vk" title="vk" href="'.$vkURL.'" target="_blank" rel="nofollow"><i class="fab fa-vk"></i></a> '; |
83 |
| - $content .= '<a class="mb-1 btn btn-sm btn-mail btn-dark" title="Mail" href="'.$mailURL.'"><i class="fas fa-envelope"></i></a> '; |
84 |
| - $content .= '<a class="mb-1 btn btn-sm btn-print btn-dark" title="Print" href="javascript:;" onclick="window.print()"><i class="fas fa-print"></i></a>'; |
| 81 | + $content .= '<a class="mb-1 btn btn-sm btn-mix" title="mix" href="'.$mixURL.'" target="_blank" rel="nofollow"><i class="fa-brands fa-mix"></i></a> '; |
| 82 | + $content .= '<a class="mb-1 btn btn-sm btn-vk" title="vk" href="'.$vkURL.'" target="_blank" rel="nofollow"><i class="fa-brands fa-vk"></i></a> '; |
| 83 | + $content .= '<a class="mb-1 btn btn-sm btn-mail btn-dark" title="Mail" href="'.$mailURL.'"><i class="fa-solid fa-envelope"></i></a> '; |
| 84 | + $content .= '<a class="mb-1 btn btn-sm btn-print btn-dark" title="Print" href="javascript:;" onclick="window.print()"><i class="fa-solid fa-print"></i></a>'; |
85 | 85 | $content .= '</div>';
|
86 | 86 |
|
87 | 87 | return $content;
|
|
0 commit comments