You are here:  » Separate headers and footers for different pages

Support Forum



Separate headers and footers for different pages

Submitted by bodybuildingcom... on Sun, 2012-09-09 18:52 in

Hi David,

I am not sure if this question has been asked before, but
I am wondering if it is possible to use use separate headers & footers for different pages?

I would like to have a different header and footer for the front page,
as opposed to the other pages.

Thanks.

Norbert

Submitted by support on Mon, 2012-09-10 08:42

Hi Norbert,

Sure - first of all create your new header and footer for the home page as follows:

html/header_home.php
html/footer_home.php

And then make changes to your index.php as follows - first look for the following code at line 4:

  require("html/header.php");

and REPLACE with

  require("html/header_home.php");

...and then look for the following code at line 69:

  require("html/footer.php");

and REPLACE with

  require("html/footer_home.php");

Cheers,
David.
--
PriceTapestry.com