var today = new Date()
I know you can’t nest PHP functions within eachother… how would I get this to work for something like this? a decision I'm very happy with. By the way, nice information though. Automatic Protection Is Not Fool-Proof . These copyright notices are something that everyone really needs to stop doing, especially when it comes to adding a misleading or downright incorrect year. The plugin will go through the content of your widgets and the html footer tag and replace [wpsos_year] with the current year number. document.write(year)
Namely, $([System.DateTime]::Now.Year) in the csproj files evaluates to the current year. Click Save, then go back and make sure the editor didn't add an extension to the filename after .htaccess. Hi dude, i have also find out one good example This is the topmost folder of your website's file structure and contains your index file. You first need to take another step to make the php script run on html pages. Read more at: http://php.net/manual/pl/language.operators.comparison.php, Last but not least, the code shouldn’t be covered with tags in every line of the function, they should be removed to increase the readability ;). Entering either script won't change the copyright year in the Design view of your html editor.
Copyright © My Company Name