Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.