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

    Sorry can you show me how to do this on multi pages instead of 1 page,

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

    Hey bensmithdesign!

    You can use it as following

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

    Best regards,
    Yigit

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