Changeset 1854005
- Timestamp:
- 04/06/2018 10:40:37 AM (8 years ago)
- Location:
- ve-social-share-buttons
- Files:
-
- 13 added
- 3 edited
-
tags/1.2 (added)
-
tags/1.2/css (added)
-
tags/1.2/css/fonts (added)
-
tags/1.2/css/fonts/fontello.eot (added)
-
tags/1.2/css/fonts/fontello.svg (added)
-
tags/1.2/css/fonts/fontello.ttf (added)
-
tags/1.2/css/fonts/fontello.woff (added)
-
tags/1.2/css/fonts/fontello.woff2 (added)
-
tags/1.2/css/ve-ssb.css (added)
-
tags/1.2/lib (added)
-
tags/1.2/lib/class.php (added)
-
tags/1.2/readme.txt (added)
-
tags/1.2/ve-social-share-buttons.php (added)
-
trunk/lib/class.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/ve-social-share-buttons.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ve-social-share-buttons/trunk/lib/class.php
r1558066 r1854005 9 9 $social_shortcode_content = '<div id="ve-social-share-buttons-shortcode" class="ve-vesocial-share-shortcode">'; 10 10 if($showheading!='') 11 $social_shortcode_content .= '<div class="ve-ssb-heading">'. get_option('ve_ssb_heading').'</div>';11 $social_shortcode_content .= '<div class="ve-ssb-heading">'.$showheading.'</div>'; 12 12 $social_shortcode_content .= '<a onClick="javascript:window.open(\'https://www.facebook.com/sharer/sharer.php?\'+location.href,\'_blank\',\'location=yes,height=570,width=520,scrollbars=yes,status=yes\');" href="javascript:void(0)" class="blg_facebook ve-share"><i class="icon-facebook"></i></a>'; 13 13 $social_shortcode_content .= '<a onClick="javascript:window.open(\'https://www.twitter.com/share?url=\'+location.href+\'&text=\'+document.title,\'_blank\',\'location=yes,height=570,width=520,scrollbars=yes,status=yes\');" href="javascript:void(0)" class="blg_twiter ve-share"><i class="icon-twitter"></i></a>'; … … 44 44 45 45 global $post; 46 46 $ve_ssb_hide_post_type=get_option('ve_ssb_hide_post_type') ? get_option('ve_ssb_hide_post_type') : array(); 47 if(is_singular($ve_ssb_hide_post_type) && count($ve_ssb_hide_post_type) > 0){ 48 return; 49 } 47 50 48 51 $social_sidebar_content = '<div id="ve-social-share-buttons" class="vesocial-share">'; … … 55 58 $social_sidebar_content .= '</div>'; 56 59 57 58 $ve_ssb_hide_post_type=get_option('ve_ssb_hide_post_type'); 59 if(is_singular($ve_ssb_hide_post_type)){ 60 $social_sidebar_content = ''; 61 } 62 60 63 61 // Returns the content. 64 62 print $social_sidebar_content; -
ve-social-share-buttons/trunk/readme.txt
r1620101 r1854005 4 4 Tags: Social Share Buttons, Wordpress Social, Share Buttons, Social Network, Social buttons. 5 5 Requires at least: 4.0 6 Tested up to: 4. 7.37 Stable tag: 1. 16 Tested up to: 4.9.5 7 Stable tag: 1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 == Changelog == 42 42 43 = 1.2 = 44 * Tested with latest wp version 4.9.5 45 * Fixed enable/disable error 46 47 = 1.1 = 48 First release 49 43 50 = 1.0 = 44 51 First release -
ve-social-share-buttons/trunk/ve-social-share-buttons.php
r1620101 r1854005 4 4 Plugin URI: http://www.virtualemployee.com/ 5 5 Description: This plugin will help to manage your ads on your site. 6 Version: 1. 16 Version: 1.2 7 7 Author: virtualemployee 8 8 Author URI: http://www.virtualemployee.com
Note: See TracChangeset
for help on using the changeset viewer.