Look at the documentation for the_custom_logo()
:
Displays a custom logo, linked to home.
So it’s doing what it’s supposed to.
If you want to do anything other than that, you can get the ID of the logo image using get_theme_mod( 'custom_logo' )
. Then you can do whatever you want to it, such as just outputting the image:
echo wp_get_attachment_image( get_theme_mod( 'custom_logo' ), 'full' )
Related Posts:
- I want to hide header in the static homepage that I am working on [closed]
- How do you find the logo code on theme file or where can I find the header theme file?
- Header Image instead of dynamic text
- Why won’t wp_mail() let me set the From: header when plain old PHP mail() will?
- How does one suppress a 404 status code in a WordPress page?
- Admin bar and fixed header issue?
- How to remove rest api link: in http headers?
- Is it safe to fix Access-Control-Allow-Origin (CORS origin) errors with a php header directive?
- Getting “Cannot modify header information – headers already sent” error on wp-admin only whenever any plugin is activated
- Putting content into header.php without using wp_head
- Setting Last Modified HTTP Header on static Home Page
- If Modified Since HTTP Header
- Image slider to display at the very top of home page
- Remove rel=shortlink from HTTP header
- How do you log a user out with wp_logout?
- Indenting (tabbing) WP_head
- Different custom header image on different page
- HTTP Header on specific page is application instead of text
- Auto-refresh page every minute?
- Is it wrong to put header tags inside WordPress help tabs? [closed]
- Want to make header and footer CMS driven sothat Editors can modify its content from wordpress admin section
- Facebook embeds loading the wrong language
- Header: Include Date Published and Date Modified
- Page source contains an http item that makes page insecure; but in php files it’s written as https!
- Cleanup Body_Class
- Banner in WordPress
- Google Tag Manger – no-script Code Not Found
- Determine what pages are in my header [closed]
- How to remove main domain header title from after sub domain header title
- Remove all WordPress HTTP headers (not in-source embeds)
- WordPress 502 | Header Upstream send too big
- Strange 403 header response
- 404 or ugly page on IE, but Firefox, Chrome looks perfect
- Changing header text from uppercase to normal [closed]
- Safe to start a php session on get_header action?
- H1 tags for header image?
- Where are my js and css links in header?
- Why does WordPress allow inserting tags into posts?
- How to deal with logo color on dark mode?
- Is there a way to get minimal WordPress functions for iframed content?
- Why does WP load so many files in the head of source code? How do I optimize it?
- Trying to set a cookie based on $_POST parameter
- How to Customize Wp Default Title and a prefix
- Unable to add logo or header [closed]
- Hook to change HTTP response headers
- Why are tags from the header showing up on my WordPress site? [closed]
- Empty header tags [closed]
- Insert Facebook button into header [closed]
- What is this HTTP_REFERRER “WordPress/4.1.2”
- Empty lines in header, how to remove them
- Benefits to using CSS for header image instead of html img tag [closed]
- Point get_header() to different plugin
- How do I begin debugging where the description meta tag is set for my categories?
- How do I get the Social Media Plugin to show up in my Twenty Eleven child theme’s header?
- Inserting iframe right after on header.php
- How to add script right after ?
- Adding more tabs to horizontal navigation bar
- Dynamic height in custom header image panel
- How do I modify the tag on my Category Archive page?
- Remove a link in the header
- Remove server response header
- How to make my banner (logo image) position on the center
- Update Code to be Compatible with WP 5.3 (‘cannot modify header information’ warning)
- set cookies on certain page only
- Twenty seventeen header is not responsive
- 3 WP installations on the same domain, with the same header
- How to make custom_header_setup() image as background image?
- WordPress site screwed up after adding Facebook Pixel inbetween header tags
- WordPress cookie issue on login: “ERROR: Cookies are blocked or not supported by your browser. You must enable cookies to use WordPress.”
- Enable CORS for getting an inline SVG by URL
- Warning: Cannot modify header information – headers already sent by
- Stop plugin from adding cache headers
- my dashboard does not have the option to fix the header or change the theme. how can i get that to show?
- Insert Code into Header Only on Blog Posts
- How to prevent a style sheet to affect a header.php or footer.php?
- How do I apply different headers to different pages using this template?
- In the Header.php file, is there a way to swap between one layout and another?
- expires header in w3 total cache
- If is single in header.php [duplicate]
- Set cookie so user sees alert banner/popup only once
- Social icons on my index page don’t take visitor to specific site(s) [closed]
- How to set x-priority header = null while using plugin WP e-commerce?
- Reduce Page loading time
- Checking if certain header meta data is set
- setCookie before headers are sent?
- Removing old code from header
- Change header based on visitor choice
- Inject code in the header of my template
- How to remove uncategorised posts from WordPress
- Custom header shows two or three or more images
- making posts linked outside of WordPress still use the same header and footer
- wp_redirect() is not working
- Making a 1140px wide header logo in the twenty-ten theme?
- How can I add a google play badge to my header and footer?
- Custom Header won’t Repeat
- Loading second header.php for other homepage showing double header.
- Editing Header with a Page Builder [closed]
- WordPress mobile and desktop header problems [closed]
- WordPress custom header parameter combine with cache
- How do you modify HTTP response headers on feed/?