Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Custom Header on Each Page WordPress

I'm working on a site right now that allows one to set a custom header that is constant across all pages of the website. I'd like to allow my client to be able to have a field when they edit each page where they can set a custom header for that page alone. If not custom header is set, the default header is used. If anyone is willing to help with that, I'd be very grateful! Go ahead and message me.
[[LINK href=""]][[/LINK]]

Answers (4)


Arnav Joy answers:

I would like to help you.
Can you show me file where code os written.


juan manuel incaurgarat answers:

I can do that for you.
If you want, contact me on skype, my username is kilinkis :)


Vidyut Kale answers:

You can set a meta tag for the custom header and use that if it is set something like

`if (isset[your_custom_header_field]) {
#You can use code similar to the default code, with your title instead of blog name

else {
<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>

You can also use a plugin that allows you to add custom fields.
This is assuming you mean the heading in the header. Same method can be used for description and header image (which can also use featured image - see how the default theme twentyten does it - same code will work)


Remy answers:

You can use this plugin [[LINK href=""]][[/LINK]]

michaelmiller comments:

I already got the problem resolved (turned out that the theme had that feature available and it was mis-configured) but that plugin is awesome! Thank you!