Hi everyone, I just started a site not too long ago and Im not all that great with website design. Still learning. If anyone knows how I can call my header and footer on all my pages so when I update them I dont have to go through all my pages to update them. Right now when I want to change something to the header and footer I have to go through all my pages and update them, its a pain If there is a way I can make one header and one footer file and call them on all my pages, that would be tremendous Thanks
What html editor are you using? In FP you make your header or footer seperate html pages and 'call' on them by inserting an include.
I dont use an html editor I dont think. I have an edit link which I press when I want to go into the coding and then I update that way, basically raw html. All my pages are .php extensions
I had this same question and know exactly what you need. I use the .ssi file extension for my header, navigation, and footer. Just do a search for ssi and you'll be sure to find a great tutorial. Once you get the hang of it it's really easy, just a matter of adding a small line of code in each place that you want the pieces to be called to. -Brian Renner entrepreneur7
Sweet Thanks, I figured it out. Whoever has php enabled on their site can make a header.txt and footer.txt file and put what you want in them then put these codes in where you want them to appear on your pages. <? include("footer.txt")?> <? include("header.txt")?> as easy as that Man Im happy
You probably have thought of this, but don't include the title elements or the meta tags as part of the header if you will be promoting to the search engines. Best Regards, Steve MacLellan