so, another year has come and you want the current year to reflect on your website, but you don’t want to have to go through the process. there’s an easy fix to have your site update automatically. the script is below.
for a php site, like WordPress, go to the file named functions.php and copy and paste the following code
function year_short() { $year = date('Y'); return $year; } add_shortcode('year', 'year_short');
I’m glad someone knows how to code. 🙂
LOL … so glad someone else knows how to code … but I am more of a C#/angular kind of guy 🙂
You and CrashRyan can have your coding discussion… I’ll just keep looking at that beautifully lit image! 🙂
this year, the Jewish fall feasts all fall on the same day, for weird reasons like the enoch calendar and it’s a jubilee year… the day is Oct 31st….
Feast of Trumpets, Day of Atonement, and Tabernacles, all on the same day… you could say that happens once in a blue moon hehe
what is that code for? I don’t get it! lol
lovely warm picture!
it will automatically change the year in the footer where the copyright is located
It seems you know how to brew a good cup of coffee as well as to code a web page.
ooh, that looks like the most tempting cup of coffee!