OtagoHarbour Posted July 30, 2011 Share Posted July 30, 2011 I know how to set up a class to define the format of a footer. I use something like. .bottomBar { a:hover {color:#FFFF00;} /* mouse over link */ background-color:#300; bottom:0; color:#FFFFCC; font-family:verdana,sans-serif; font-size:65; height:1.5em; position:0; text-align:left; width:100%; bottom:0px;} However I would also like to have TOS, Copyright, Privacy Policy, etc and links to the same at the bottom of every page. How would I do this without having to add them manually on every page?Thanks very much,Peter. Link to comment Share on other sites More sharing options...
Ingolme Posted July 30, 2011 Share Posted July 30, 2011 CSS can't add content to the page, it can only style the content that already exists.You will have to learn about PHP to include content into a page. Link to comment Share on other sites More sharing options...
OtagoHarbour Posted July 30, 2011 Author Share Posted July 30, 2011 CSS can't add content to the page, it can only style the content that already exists.You will have to learn about PHP to include content into a page.Thanks. I guess I'll use PHP:require() Link to comment Share on other sites More sharing options...
jeffman Posted July 30, 2011 Share Posted July 30, 2011 A simple tutorial: http://www.sophox.com/wordpress/?p=1158 Link to comment Share on other sites More sharing options...
CNT Posted July 31, 2011 Share Posted July 31, 2011 This is exactly where I am doing now with menubar. PHP is the way to do it. This means I need to have every webpage end with .php (no .html).Chuck Link to comment Share on other sites More sharing options...
jeffman Posted July 31, 2011 Share Posted July 31, 2011 It's possible to change the settings so .html docs will be processed as PHP, but that also means HTML documents with no PHP will be processed as PHP, creating a small lag time. It's not a lot of time, and not really a big deal.Something to think about. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.