Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #403111

    Hello I would like to change my logo image only on my home page, so it will be clickable like the other pages. how can i do that?

    Thanks.

    #403477

    Hi Oran!

    Please add following code to Functions.php file in Appearance > Editor

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

    You just need to change the page ID, which is 9 in the example. You can right click on Chrome or Firefox to inspect elements to find page ID’s http://i.imgur.com/HyPTCRg.jpg

    Regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.