Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #464742
    #465010

    Hi stupaul22!

    Please add following code to Functions.php

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    if( is_page('certification-program') )
    {
        $sub .= "<img src='http://localhost:8888/sunny/wp-content/uploads/2015/06/integraltouchinstitute_logo.png' />";
    }
        return $sub;
    }
    

    Cheers!
    Yigit

    • This reply was modified 8 years, 9 months ago by Yigit.
    #465111

    When I added that code to the functions.php file in my child theme folder it broke the website. Can you check it for accuracy?

    This is what I have:

    add_filter('avf_logo','av_change_logo_url');
    function av_change_logo_url($url)
    {
        if( is_page('certification-program') )
        {
            $url = "http://localhost:8888/sunny/wp-content/uploads/2015/06/integraltouchinstitute_logo.png";
        }
        if( is_page('thailand-and-bali') )
        {
            $url = "http://localhost:8888/sunny/wp-content/uploads/2015/06/integraltouchinstitute_logo.png";
        }
        return $url; 
    }
    
    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    if( is_page('certification-program') )
        $sub .= "<img src='http://localhost:8888/sunny/wp-content/uploads/2015/06/integraltouchinstitute_logo.png' />";
    }
        return $sub;
    }
    #465114

    I found the missing close curly bracket and the site no longer breaks but this code seems to have no effect.

    #465896

    Hi!

    Yes, i corrected my code. Sorry about that :)
    Do you mind creating a temporary admin login and posting it here privately so we can look into it?

    Cheers!
    Yigit

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