Plugin Directory

Changeset 757166


Ignore:
Timestamp:
08/16/2013 03:05:36 PM (12 years ago)
Author:
hawkeye126
Message:

Adding branding icons, fixing bugs, 3.0.1

Location:
lowermedia-wp-social
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • lowermedia-wp-social/trunk/lowermedia-wp-social.php

    r756830 r757166  
    44Plugin URI: http://lowermedia.net
    55Description: Social Media Toolbar Made Easy! Creates widget and widget area to display social media profile links at the top or left of your website.
    6 Version: 3
     6Version: 3.0.1
    77Stable: 2.1.0
    88Author: Pete Lower
     
    563563            if (get_option('lmwps_rounded_option')){
    564564                $GLOBALS['css_class_rounded'] = " lm-wps-rounded ";
    565             }
     565            }else {$GLOBALS['css_class_rounded'] ='';}
    566566
    567567            //check if the background option is selected
    568568            if (get_option('lmwps_bkgrnd_option')){
    569569                $GLOBALS['css_class_bkgrnd']  = " lm-wps-bkgrnd ";
    570             }
     570            }else {$GLOBALS['css_class_bkgrnd'] ='';}
    571571
    572572            //check if the links open in new tab option is selected
    573573            if (get_option('lmwps_offsite_option')){
    574574                $GLOBALS['link_offsite']  = " target='_blank' ";
    575             }
    576             else
    577             {$GLOBALS['link_offsite'] ='';}
     575            } else {$GLOBALS['link_offsite'] ='';}
    578576
    579577            //If the user checks the box to use flat icons
     
    583581            }  else  {
    584582                $GLOBALS['link_flaticons'] =' ';
     583                $GLOBALS['disable']  = '';
    585584            }
    586585
     
    588587            if (get_option('lmwps_martop_option')){
    589588                $GLOBALS['css_class_martop'] = get_option('lmwps_martop_option');
    590             }
     589            } else {$GLOBALS['css_class_martop'] ='';}
    591590
    592591            //check if margin left is set
    593592            if (get_option('lmwps_marleft_option')){
    594593                $GLOBALS['css_class_marleft'] = get_option('lmwps_marleft_option');
    595             }
     594            } else {$GLOBALS['css_class_marleft'] ='';}
    596595           
    597596            //check if position is set
     
    599598                if (get_option('lmwps_pos_option') == "top" ){
    600599                    $GLOBALS['css_class_pos'] = " lm-wps-top-ul lm-wps-top ";
    601                 }else{
     600                } else {
    602601                    $GLOBALS['css_class_pos'] = " lm-wps-side-ul lm-wps-side ";
    603602                }
    604             }
     603            }else {$GLOBALS['css_class_pos'] ='';}
    605604           
    606605            //check if opacity is set
    607606            if (get_option('lmwps_opac_option')){
    608607                $GLOBALS['css_class_opac'] = get_option('lmwps_opac_option');
    609             }
     608            } else {$GLOBALS['css_class_opac'] ='';}
     609           
    610610            $output = dynamic_sidebar('lowermedia_wp_social_widget_area');
    611611           
     
    647647                'instagram' => '',
    648648                'pinterest'=>'',
     649                'yelp'=>'',
    649650                'email'=>'',
    650651                'rss'=>'',
     
    910911        extract($args, EXTR_SKIP);
    911912        echo $before_widget;
    912         $css_class_holder = $GLOBALS['css_class_bkgrnd']." ".$GLOBALS['css_class_rounded']." ".$GLOBALS['css_class_section']." ".$GLOBALS['css_class_pos'];
     913        $css_class_holder = $GLOBALS['css_class_bkgrnd']." ".$GLOBALS['css_class_rounded']." ".$GLOBALS['css_class_pos'];//".$GLOBALS['css_class_section']."
    913914
    914915        //Icon Variables
Note: See TracChangeset for help on using the changeset viewer.