theme_logo — Get the theme’s logo image tag.

Head-related functions

Summary

Get the theme’s logo image tag.

Returns:string|null

Usage

Examples

Use to display a logo image, which is set in the theme options. Combine with link_to_home_page() to wrap the image tag with a link to the home page:

<div id="site-title">
    <?php echo link_to_home_page(theme_logo()); ?>
</div>

See Also