just call the function
the_custom_logo();
and then on appearence choose your logo.
if this option is not available in appearance, you need to add the theme support to functions.php
add_theme_support('custom-logo');
this redirectes to home page, if you need to redirect to a custom url
you can use
<a href="<?= home_url() ?>/brand/midea"><img src="yourimage_path"></a>
Related Posts:
- What is the difference between get_post_permalink and get_permalink?
- WordPress matching URLs with trailing tildes
- Rewrite Rule for Multilingual Website, Like qTranslate?
- How to use relative links on my pages?
- How to filter to output of the get_permalink() function
- Change slug on post creation
- WordPress Permalink changes to question mark (?) in URL
- Is there a user-facing interface to edit an attachment’s permalink?
- Can WordPress realistically handle a site with 500 ‘pages’?
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Get post title with link
- WooCommerce permalinks [closed]
- Menu Link Redirect Based on Username or User ID
- Redirect short-form URL to long-form URL (post_id to post_id + post_name)
- Enable Minify in W3Total Cache using NGINX [closed]
- Can’t change permalink url after hitting ‘ok’ and ‘update’
- Rewrite user profile URL to be human friendly
- Why I can’t change the permalink of this page?
- Sub-category and category in permalink structure
- Permalinks changed with WordPress 4.9
- Permalinks broken regularly
- 404 Page Not Found for Only One Post
- Call to a member function add_rule() on a non-object
- How to change Post ID during import
- How can I add a page’s ID to its permalink using WP_Rewrite?
- Debugging permalink issue
- WordPress 404 in development area
- Does rename of page slugs create 301 redirects from old slug to new (same as for posts)?
- Changing post content on save, using updated fields
- Change blog segment of URL
- Change in permalink structure made javascript cookie not work correctly
- why some permalinks adding characters/ruining links
- Multiple taxonomies on same permalink rule [closed]
- How to bulk edit image url in featured image and product description?
- WordPress category base not in post permalink
- What’s actually happening when permalinks for custom post types suddenly stop working
- Redirect a Blogger Page URL to wordpress
- Images in media library have suddenly disappeared
- Edit page slug after save, cause 404 by linked pages
- Conditional permalink structure
- Auto setup “permalink” or request notice
- How to add .html to the end of the permalink
- IIS 7 Rewrite with parent categories
- permalinks issue and archives
- get_permalink() always returns empty
- Separate link structure for specific posts (/blog/glossary in stead of just /blog)
- WordPress rewrite_rules_array rule not working properly
- WordPress basic functions show on top in custom shortcode
- Is it possible to install WordPress Multisite on a subdomain with subdirectories?
- Internal linking when on a shared IP
- Return value of get_permalink(0) and get_the_title(0)
- Custom function making troubles in get_permalink for ACF relationship fields
- How can I include permalinks in this code?
- How can I redirect this contact form to a specific permalink
- Change permalink structure for pagination only
- http: not showing in wordpress permalink setting
- Two URLs of one post is available
- How to add specific phrase to end of search url
- Will adding 40,000 301 redirects slow down a site?
- Pagination url for page template
- I Need to use Month , year in my all archives and pages of my wordpress site
- How to add post meta to post permalink with still keeping a good performance?
- Page Navigation is not working with permalink structure
- Page URL not working due to physical directory
- Gutenberg Editor: dynamically edit slug field based on ACF field
- Cannot Set Custom Permalinks for Multisite Post Migration
- Make a post inaccessible without a unique ID in the URL
- Undefined variable: testimonial in D:\Projects\PWP-WP\wp-content\themes\blankslate-child\template-parts\fields\flex\bottom-page-block.php on line 123
- Is it possible to set public to false for the native WordPress blog
- Code snippet to add filter pre_post_link to change Media URL (post_type attachment permalink/slug)
- Change permalink structure in all sites of a multisite
- Changing permalink stops me from creating webpages
- Make query parameter an endpoint
- WP adding noopener and noreferrer to all links
- Rename Custom Post Slug using taxonomy
- Link works although page was moved to another location
- Added a prefix in URL permalink structure but the old structure still working!
- Permalink of post redirect to uncategorized category
- Getting current page URL when default permalink is set
- create user’s view profile link with username
- The Permalink doesn’t work after the foreach ended
- Force/Limit the post/page slug to accept only url friendly characters
- Make Permalinks have a custom format?
- Permalinks setting raises 500.0 error
- permalinks of subcategory and posts
- Define a Permalink Structure by Post and Page
- After changing permalink settings, everything works fine except for the two most recent posts
- Installing WordPress in another Install?
- using post meta data as permalink tags [duplicate]
- How to display post permalinks instead of pages?
- permalink repeated
- .htaccess not working in WordPress
- Incorporate single WordPress page into an existing static website [duplicate]
- How to configure WordPress to be a subdirectory of my main site as mymainsite.com/blog?
- How to avoid duplicate Url for the home page
- Removing parent page in URL for one page
- Remove index.php from URL
- htaccess strip url
- Problems loading stylesheet and permalinks after rebooting