Replace [year] with the current year
// This will replace “[year]” with the current year automatically. $this_year = “[year]”; echo str_replace(“[year]”, date( ‘Y’ ), $this_year);Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
// This will replace “[year]” with the current year automatically. $this_year = “[year]”; echo str_replace(“[year]”, date( ‘Y’ ), $this_year);Continue reading
// Copy the Shortcode in the Insertion box below and paste it wherever you want the copyright symbol + year to be displayed. // This will output © 2023 or the current year automatically. echo “© ” . date( ‘Y’…Continue reading