The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Site wide Text

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28152

    Is it possible to set up site wide text? For example, the site I’m working on has "Copyright 2010…blahblah" at the bottom of every page. Can I set something up so each year I can just change the year in one location rather than changing each page individually?

    Thanks for the help!


    Create a file called "copyright.html" and add the text you want to include there.

    Then, you’ll use a server side include on all of the pages where you want that text to show.

    <!–#include virtual="includes/copyright.html" –>

    I usually have a folder called "includes" for any site that I work on that uses them.

    You can use server side includes for all sorts of things. Most common things are:

    Main Navigation
    Header elements

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.