elmoslats Posted July 23, 2015 Share Posted July 23, 2015 (edited) Hi, I 'built' a website a while ago . I 'built' it using a template. It is only 5 pages so every time I needed to edit something in the footer I would just go through each page and edit it. I am going to be building a slightly larger website soon (20 pages). What is the best way to set it up so I can easily edit the menu items or the footer on every page in one go? As far as I can tell the templates on w3layouts don't have anything built in to their templates to do this? Is the best way to just use wordpress or something instead? Is there a way to do it with html/css? Also, i would appreciate feedback on the website above. Thank you. Edited July 24, 2015 by elmoslats Link to comment Share on other sites More sharing options...
Ingolme Posted July 23, 2015 Share Posted July 23, 2015 You need a server-side language such as PHP in order to create a templating system. Link to comment Share on other sites More sharing options...
elmoslats Posted July 23, 2015 Author Share Posted July 23, 2015 (edited) Thanks for the reply. Is PHP templating a complicated thing to set up? Would it be common for a site of around 20 pages to not something in place to do templating, and to just edit each page individually? Edited July 23, 2015 by elmoslats Link to comment Share on other sites More sharing options...
dsonesuk Posted July 23, 2015 Share Posted July 23, 2015 With only 20 pages you could use server-side language to include the pages that just have the html code for menu and footer into the other pages, so editing the single menu or footer html would instantly show on the page these were included in. 1 Link to comment Share on other sites More sharing options...
Ingolme Posted July 23, 2015 Share Posted July 23, 2015 The simplest form of templating is just using PHP include() to load a piece of code into multiple pages. There are more complex ways to do it for larger websites. 1 Link to comment Share on other sites More sharing options...
elmoslats Posted July 24, 2015 Author Share Posted July 24, 2015 Thanks for your help, I'll look into these options Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now