Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #854649

    Hi I managed to change logo for page
    http://www.ultimatestorage.com.au/flooring-range

    using

    add_filter(‘avf_logo’,’av_change_logo’);
    function av_change_logo($logo)
    {
    if( is_page(1826) ) {
    $logo = “http://www.ultimatestorage.com.au/wp-content/uploads/2017/09/ultimate_logo.jpg”;
    }

    return $logo;
    }

    However, I found that this function does not work for folio page. I am trying to use the Ultimate Flooring logo for all folio listed on ultimate flooring page.
    Is there any way I can acheive this?

    I tried is_post instead of is_page but it did not work.

    #855392

    Hey,

    Please use following code in functions.php file in Appearance > Editor

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

    Best regards,
    Yigit

    #856278

    Hi Thanks for your help.
    I have tried your code but our website went blank after that.

    What I am trying to do is just to change logo for flooring page and the few folios.

    Would it work?

    #856333

    Hi,

    Please, may you provide to us your website link and the WP and FTP credentials?

    Best regards,
    John Torvik

    #856748

    Hi it is
    http://www.ultimatestorage.com.au
    and the page I am trying to change logo is
    http://www.ultimatestorage.com.au/flooring-range (I already changed logo for this page only)
    Also, all the folio linked on this page, I would like to change the logo to Ultimate flooring.

    #856986

    Hi,

    I added the code to bottom of Functions.php file via FTP and it worked fine. Please review your website :)

    Best regards,
    Yigit

    #857194

    Cool. Thanks for your help!

    :-D

    #857220

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Change logo for folio page’ is closed to new replies.