• Status: Solved
  • Priority: Low
  • Security: Public
  • Views: 72
  • Last Modified:

how can I create a footer template to include in all webpages with bootstrap

I am using bootstrap, and I want to create a footer template to include in all my pages, so If I modify the footer, I will only need to modify one page (template, image, etc,,,) and ALL webpages will be updated
My intent is to start with something simple like, links, etc (on my footer), and keep adding links, pictures or text to it, and just be able to modify one file, and all the other webpages would be updated.

I am open to any ideas or suggestions from scratch

Tnx in advance
0
crescue
Asked:
crescue
1 Solution
 
Chris StanyonCommented:
Create and save your footer file as a normal php/html file:

// footer.php
<div id="footer>
    <p>This is the footer</p>
</div>

And then just include it in all your files where you want it to appear - much easier if using PHP:

<?php include('footer.php'); ?>
0
 
crescueAuthor Commented:
Great tnx for your help
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now