Plugin Directory

Changeset 1854005


Ignore:
Timestamp:
04/06/2018 10:40:37 AM (8 years ago)
Author:
virtualemployee
Message:

released new version

Location:
ve-social-share-buttons
Files:
13 added
3 edited

Legend:

Unmodified
Added
Removed
  • ve-social-share-buttons/trunk/lib/class.php

    r1558066 r1854005  
    99        $social_shortcode_content = '<div id="ve-social-share-buttons-shortcode" class="ve-vesocial-share-shortcode">';
    1010        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>';
    1212        $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>';
    1313        $social_shortcode_content .= '<a onClick="javascript:window.open(\'https://www.twitter.com/share?url=\'+location.href+\'&amp;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>';
     
    4444
    4545        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            }
    4750       
    4851        $social_sidebar_content = '<div id="ve-social-share-buttons" class="vesocial-share">';
     
    5558        $social_sidebar_content .= '</div>';
    5659   
    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
    6361        // Returns the content.
    6462        print $social_sidebar_content;
  • ve-social-share-buttons/trunk/readme.txt

    r1620101 r1854005  
    44Tags: Social Share Buttons, Wordpress Social, Share Buttons, Social Network, Social buttons.
    55Requires at least: 4.0
    6 Tested up to: 4.7.3
    7 Stable tag: 1.1
     6Tested up to: 4.9.5
     7Stable tag: 1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141== Changelog ==
    4242
     43= 1.2 =
     44 * Tested with latest wp version 4.9.5
     45 * Fixed enable/disable error
     46
     47= 1.1 =
     48First release
     49
    4350= 1.0 =
    4451First release
  • ve-social-share-buttons/trunk/ve-social-share-buttons.php

    r1620101 r1854005  
    44Plugin URI: http://www.virtualemployee.com/
    55Description: This plugin will help to manage your ads on your site.
    6 Version: 1.1
     6Version: 1.2
    77Author: virtualemployee
    88Author URI: http://www.virtualemployee.com
Note: See TracChangeset for help on using the changeset viewer.