Created
September 17, 2019 19:00
-
-
Save jbd91/adf5b49b3fd917825aebc774146749c1 to your computer and use it in GitHub Desktop.
Print Year to page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // client side solution rather than server (PHP) useful for theme options to create a dynamic copyright date | |
| <script type="text/javascript">document.write(new Date().getFullYear())</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment