Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1185011

    Hello,

    I see that you replied to someone asking for a different logo on the home page in this thread:

    It seems, however, that the final solution isn’t indicated in the thread. The code example given:

    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_home())
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    …doesn’t seem to work. Do you know what the correct code is? I’m trying not to show the logo on the main page at all, so I was substituting a 1px x 1px PNG image, but it’s not working.

    Any suggestions?

    Thanks, Seth

    #1185019

    Hey swilschutz,

    If you don’t want the logo on the homepage at all you can try the following in quick css:

    .home .logo{
    display:none!important;
    }

    Best regards,
    Jordan Shannon

    #1185034

    That worked. Thanks.

    #1185038

    Hi,

    No problem, If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Different Logo on Homepage’ is closed to new replies.