Well, you could avoid slicing the image by using an image map to map different parts of the image to different links.
Otherwise you will need to get into the header.php file in your theme, thats where the code that outputs the header image is. If you want to hardcode something, you can do it right there.
/wp-content/themes/[theme-name]/header.php
Here’s a great tool for making that image map.
Related Posts:
- Why isn’t my if/elseif/else working correctly here?
- How do you remove header sitewide from mobile only?
- Why have on every line
- How to check if woocommerce is activated in theme
- Function to return true if current page has child pages
- WordPress Themes and PHP unit
- How to determine if WP_DEBUG is enabled? [duplicate]
- PHP unit testing WordPress?
- Proper use of Output Buffer
- Include a external PHP file into a WordPress Custom Template
- List of all theme customizer control types?
- Need help setting default setting value for radio button in theme customizer
- Get author full name
- How to set custom cookies before output
- Is having multiple theme customizers for different pages possible?
- How to export/import theme customizer settings?
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- How to remove hardcoded characters from playlists?
- function_exists call in function.php
- Is it possible to get a theme customizer setting from wp.customize using jquery?
- Debugging an error: wp_enqueue_style was called incorrectly
- Conditionally loading JavaScript based on the Advanced Custom Fields in the post
- reason of splitting theme files to multiple files
- How to get the registered sidebar’s name by its id?
- is there a simple way to list every templates / php files used to generate a specific page?
- Set the transport of the Customizer ‘header_image’ core setting to ‘postMessage’
- Dynamically change feature image in customiser
- One button to change all settings in theme customizer?
- Custom HTML structure in wp_list_categories
- Guidance with The Loop for CMS
- Hide a menu-item and its submenus and display a ‘Log in’ link if the user is logged out
- How to stop loading multiple copies of jquery
- The best way to customize “nav-menu-template.php” to add if the ‘link_before’ is “checkbox”
- Creating a WordPress form with a PHP script and default header
- How to use copy() function and paste file in /wp-content/themes directory
- How to use SRCSET with get_the_post_thumbnail()?
- Design view breaking on Pages
- Adjust the results quantity for Search Results page pagination
- Dynamically loaded Theme components based on Customizer Settings values : changes not appearing in Customizer preview – (Workaround found)
- How can I add a class to a single menu item?
- Multiple do_shortcode($content) within one shortcode
- List authors with posts in a category
- Understanding WordPress child theme custom JS loading
- How can I loop into two different DIVS without repeating the DIVs
- Removing unnecessary wordpress files
- Remove css styles from specific page
- StudioPress: add meta tag to every page [closed]
- Use different javascript files for each page on website
- WordPress loop specific thumbnail size
- Is the regular ajax request method safe or I should use admin-ajax.php?
- Show different Customizer Settings on Page-Tamplates
- How to get custom image size for image uploaded in Customizer
- Add custom HTML to posts page
- Passing array in add_option()
- do not show web page section when using advanced custom fields pro
- Is it possible to use the featured image of a page as a css background without inlining?
- PHP Customization: Taxonomies and Queries, why? [closed]
- I think emoji are killing my WordPress site… How can I debug?
- Widgets not showing in my custom theme
- How do I list the_tags() into HTML data-attribute
- How do I translate this string – PHP syntax question
- Site Health : An active PHP session was detected
- Switching between custom templates in a post type of the admin menu
- Am I not understanding plugins?
- Using PHP to toggle stylesheet and header image, set in cookie
- Mysterious HTTP 404 header in my own scripts
- Using Font Awesome as post thumbnail
- Can I change a variable in a content part while calling it?
- How to make thumbnail image fit into a div where image dimentions are completely different?
- Change logo based on incoming domain
- Why WordPress architecture is not pure object oriented and it don’t use MVC pattern? [closed]
- Custom Logo URL | Help me print the URL of the custom logo I inserted into my theme
- How to display recent posts on home page with custom HTML
- Remove annoying WP Adminbar CSS
- What is the fastest way to load PHP functions that are only used in one theme template?
- My Own layout in WooCommerce pages [closed]
- Differences when using the the_time and the_date functions
- Exclude posts from homepage having a specified tag
- Why is this Ajax not working?
- How do I access the media settings
- How do themes render caption texts in extended markup (e.g. “wp-caption” paragraphs)
- Changing the template hierarchy
- using add_action for a header hook that has an additional parameter
- custom shortcode will not display the wrapped content
- Can’t load WP function into external function
- Custom category code not showing all posts
- Displaying theme options in css
- max_input_vars: how many am I using?
- How to show a dynamic_sidebar if main content content’s height is > a set amount?
- Set WordPress Default Template
- Echo URL of large version of Featured Image
- Adding country tags automatically
- write custom woocommerce templates and forms
- Implement toggle switch for theme options in settings API
- Using a `Template Parts` folder instead of an `Includes` folder in a Custom WordPress Theme
- Using a variable in is_page(array())
- Trigger popup in a php if/else statement
- Anyway to output the registration form like the login form with wp_login_form()?
- How do I get current page ID in WordPress customizer file?
- Customizer: Output default value in Customizer CSS