WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My site is running on site say : www.xyz.com
My blog is at say : http://www.xyz.com/blog

I have one header implemented in my main site, I want to use that header file as a worpress header. Is there any way I can do this?

share|improve this question
Are you saying your blog is a WordPress site and you want it to have the same header as your main site? – Jon Jan 25 '11 at 6:26
yes............... – Avinash Jan 31 '11 at 12:14
up vote 2 down vote accepted

You should reproduce your site's header on the header.php file on your theme. If you want any more help you could show us some code. But basically that's it, WordPress gets the header for the page from the header.php on your theme. Check out say Twenty Ten's header as an example (wp-content/themes/twentyten/header.php), and try to adapt your site's header to this format.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.