Ask your WordPress questions! Pay money and get answers fast! (more info)

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="http://barerootstudio.com/dev/"]]
http://barerootstudio.com/dev/[[/LINK]]

Answers (4)

2013-12-05

Arnav Joy answers:

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

2013-12-05

juan manuel incaurgarat answers:

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

2013-12-05

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 {
<h1>
<a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
</h1>
}
`

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)

2013-12-07

Remy answers:

You can use this plugin [[LINK href="http://wordpress.org/plugins/custom-header-extended/"]]http://wordpress.org/plugins/custom-header-extended/[[/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!