• Resolved marhgil

    (@marhgil)


    Hi,

    In the “Conditions To Display the Sharebar”, I selected “Hide In Selected Pages” and chose “HomePage” and “FrontPage”. The Floating Sharebar still shows up. Please check.

    I am using 3.1 version of your plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author vaakash

    (@vaakash)

    Hi @marhgil,

    Found the issue. It requires a slight code change.
    Please do the following for now. I’ll fix the issue in the next release.

    in file wp-socializer\core\location_rules.php

    Paste the below code

        public static function rule_is_home( $mode, $ids = '' ){
            
            if( $mode == 1 ){
            }elseif( $mode == 2 ){
                return is_home();
            }
            
        }

    above

    public static function rule_is_404( $mode, $ids = '' ){

    Please let me know if it worked.

    Thanks,
    Aakash

    This worked for me on a Genesis child theme.

    Plugin Author vaakash

    (@vaakash)

    Good to hear !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Floating Sharebar showing on Home Page even if I hide it’ is closed to new replies.