src/CustomLogo.php
public function inlineLogoMarkup($title, $inside, $wrap): string
    {
        if (!$this->hasCustomLogo()) {
            return $title;
        }

        $inside = sprintf(
            '<span class="screen-reader-text">%s</span>%s',
            esc_html(get_bloginfo('name')),
            get_custom_logo()
        );

        // Build the title.
        $title = genesis_markup(array(
            'open'    => sprintf("<{$wrap} %s>", genesis_attr('site-title')),
            'close'   => "</{$wrap}>",
            'content' => $inside,
            'context' => 'site-title',
            'echo'    => false,
            'params'  => array(
                'wrap' => $wrap,
            ),
        ));

        return $title;
    }
public function inlineLogoMarkup($title, $inside, $wrap): string
    {
        if (!$this->hasCustomLogo()) {
            return $title;
        }

        $inside = sprintf(
            '<span class="screen-reader-text">%s</span>%s',
            esc_html(get_bloginfo('name')),
            get_custom_logo()
        );

        // Build the title.
        $title = genesis_markup(array(
            'open'    => sprintf("<{$wrap} %s>", genesis_attr('site-title')),
            'close'   => "</{$wrap}>",
            'content' => $inside,
            'context' => 'site-title',
            'echo'    => false,
            'params'  => array(
                'wrap' => $wrap,
            ),
        ));

        return $title;
    }
public function inlineLogoMarkup ( $ title , $ inside , $ wrap ) : string { if ( ! $ this -> hasCustomLogo ( ) ) { return $ title ; } $ inside = sprintf ( '<span class="screen-reader-text">%s</span>%s' , esc_html ( get_bloginfo ( 'name' ) ) , get_custom_logo ( ) ) ; // Build the title. $ title = genesis_markup ( array ( 'open' => sprintf ( "<{$wrap} %s>" , genesis_attr ( 'site-title' ) ) , 'close' => "</{$wrap}>" , 'content' => $ inside , 'context' => 'site-title' , 'echo' => false , 'params' => array ( 'wrap' => $ wrap , ) , ) ) ; return $ title ; }
Add an image inline in the site title element for the logo.

@author @_AlphaBlossom
@author @_neilgee
@author @_JiveDig
@author @_srikat

@param string $title Current markup of title.
@param string $inside Markup inside the title.
@param string $wrap Wrapping element for the title.

@return string Updated site title markup.
Add an image inline in the site title element for the logo .