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

    Hi @all!

    First of all – a beautiful theme, we like it! Very good work!

    For an actualy project we need different header-logos for some Pages (second small version).
    We like to add customer-friendly enfold-option for another Logo-variant to the backend.

    We found in code the line, where the other logo will be asked:
    /wp-content/themes/enfold/includes/admin/register-admin-options.php
    Line 423

    May it possible to add another Option from child-theme to the main theme?
    How do we have to do this?

    Thank you!

    #387063

    Hey kisys!

    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( 59 ) )
        {
        $logo = "http://kriesi.at/wp-content/themes/kriesi/images/logo.png";
        }
        return $logo;
    }

    It will display different logo on a page with id 59. 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.