how to add wordpress header and footer in magento.after complete my previus tutorial How to integrate magento and wordpress follow my simple steps.

Step 1:(include wordpress header in Your magento store )

Go to this link in your file manager

"
YOUR-MAGENTO-FOLDER/app/design/frontend/default/YOUR-THEME/template/page/html/header.phtml
"

in top of this file u add this simple wordpress function .

"
<?php get_header();?>
"
now You check in your magento store wordpress header show nice .

Step 2:(include wordpress footer in Your magento store)

Go to this link in your file manager

"YOUR-MAGENTO-FOLDER/app/design/frontend/default/YOUR-THEME/template/page/html/footer.phtml"

open that file delete all coding in that file u add this simple wordpress function only.

"
<?php get_footer();?>
"

now You check in your magento store wordpress footer show nice .


Note:after adding all this you see some errors in prototype.js file. how to clear this error in next tutorial.