Displays a custom logo, linked to home unless the theme supports removing the link on the home page.
Parameters
$blog_id
intoptional- ID of the blog in question. Default is the ID of the current blog.
Source
function the_custom_logo( $blog_id = 0 ) {
echo get_custom_logo( $blog_id );
}
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |
To get the URL of the custom logo image:
Add your custom logo to the login page:
See Also
get_custom_logo()
has_custom_logo()
Regarding the above ^^ example. Add the code below to also remove the link to wordpress.org with your homepage link.