| | #1 |
| cockpit jockey War Room Member Join Date: 2007 Location: wide blue yonder...
Posts: 25
Thanks: 5
Thanked 1 Time in 1 Post
|
Hey guys What code do I install , so my copy write date, (in the footer), changes each year automatically? In wordpress. & where does it get placed within? Thanx P.S. = If you could respond with the actual code that I need to use would be awesome! |
|
Modified Twin Engine Cessna 310D ----- very fast :)
| |
| |
| | #2 |
| .EDU Backlinks Crusher War Room Member Join Date: 2010 Location: In Front of CRT
Posts: 83
Thanks: 2
Thanked 10 Times in 10 Posts
|
Try this. Google for "javascript code to change year" Computing[dot]net link has the perfect solution. But, if a visitor's machine shows year 1990 now in his system clock, then the JS code too shows the same. This is because JS runs on local browser. I am unable to paste the code because I am a newbie and I am not allowed to do that. Thanks. |
| |
| | #3 | |
| Marketing Technology dr. War Room Member Join Date: 2002 Location: AndreFoisy.com
Posts: 1,614
Thanks: 759
Thanked 793 Times in 309 Posts
Blog Entries: 1 |
Code: <script language="javascript">
<!--
today=new Date();
y0=today.getFullYear();
document.write('Copyright © 2010 - '+y0+' - yoursite.com, all rights reserved.');
//-->
</script> Andre Foisy | |
| | ||
| |
| | #4 |
| cockpit jockey War Room Member Join Date: 2007 Location: wide blue yonder...
Posts: 25
Thanks: 5
Thanked 1 Time in 1 Post
|
Excellent, thanks all. I just couldn't remember the code ... must of been a brain freeze or something, |
|
Modified Twin Engine Cessna 310D ----- very fast :)
| |
| |
|
| Bookmarks |
| Tags |
| change, code, date |
| |