I need a sidebar for my website that allows me to edit it once, and the edit will be applied to all pages with the sidebar code, instead of adding a small piece of code to EVERY SINGLE PAGE that I want the ONE new link to go to.
I'm sure it's commonplace, but I suck. Help me out. My website is in the 'www' in the link below this post.
An example of what I'm asking.
I want to add a link to a new page "Digital Picture Frame". To do this, I currently need to go through every single page, editing the sidebar on each. With a growing number of pages, this could cause a problem.
Is there something simple, like a 1-2 line piece of code that will look for the html in a separate .txt file or something similar?
Can someone help me out a bit?
Sidebar. Make me a template, maybe.
Moderator: Moderators
-
Kurt_
- Portablizer
- Posts: 5748
- Joined: Thu Nov 24, 2005 10:32 am
- Steam ID: kurbert
- Location: Ontario, Canada
- Contact:
Sidebar. Make me a template, maybe.
Hey, sup?
-
Bass Creator
- Posts: 300
- Joined: Fri Feb 02, 2007 11:51 am
-
Bass Creator
- Posts: 300
- Joined: Fri Feb 02, 2007 11:51 am
Bass Creator wrote:or mabe even
Code: Select all
<? include 'iceCream.php' ?>

That was about the stupidest post I have ever read.
