Adding a link to my home page - a simple url
|
waterhead
![]()
Joined: 2003-09-13
Posts: 6 |
Posted: Sat, 2003-09-13 16:46
|
|
I would like to put a link in the gallery footer (or header) back to the home page of my site. I have read various of the FAQs and past posts but they all seem very complicated for something that seems likely to be a simple task to a total PHP ignoramus like me. I should be very grateful if someone could either point me to am existing answer or provide the code I need to insert in the html-wrap file(s). My site's url is http://chrisknight.info and I guess this needs to be treated as an href but I don't know how. Thanks, |
|


Posts: 107
Assuming you know basic HTML, all you need to do is go to html_wrap and open up wrapper.footer.default or wrapper.header.default
At the way bottom you add your link code to link back to your main page. You can remove the code that is already in there, but I personally leave it for good measure.
At the bottom of this file simply enter this script:
<a href="http://chrisknight.info" target="_self">Return to my Homepage </a>
Then when you save this file, but remove the .default off of the file name.
So it reads, wrapper.header or wrapper.footer
Gallery will automatically read this file first and you still have a back up of the original file.
I hope this answered your question
Posts: 6
Thanks very much indeed - it works a treat!
Chris