• Resolved riccardonar

    (@riccardonar)


    function the_champ_frontend_amp_css refers to undefined variable $this.
    Right code:

    
    function the_champ_frontend_amp_css(){
            global $theChampSharingOptions;
            // background color of amp icons
            $css = 'a.heateor_ss_amp{padding:0 4px;}div.heateor_ss_horizontal_sharing a amp-img{display:inline-block;margin
    
            // css for horizontal sharing bar
            if ( $theChampSharingOptions['horizontal_sharing_shape'] == 'round' ) {
                    $css .= '.heateor_ss_amp amp-img{border-radius:999px;}';
            } elseif ( $theChampSharingOptions['horizontal_border_radius'] != '' ) {
                    $css .= '.heateor_ss_amp amp-img{border-radius:' . $theChampSharingOptions['horizontal_border_radius']
            }
    
            echo $css;
    }
    
    • This topic was modified 7 years, 11 months ago by riccardonar.
    • This topic was modified 7 years, 11 months ago by riccardonar.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘super_socializer.php row 2051 php error’ is closed to new replies.