Reply To: How I updated my footer copyright year automatically

WP Tavern Forums Blocks Showcase How I updated my footer copyright year automatically Reply To: How I updated my footer copyright year automatically

<?php
$year = date("y");
echo $year;
?>

Create a short code with that in it, call it [copy-year] add it to the block/classic editor/builder. It should say year started too so 2000-2023 or your saying it’s been copyrighted this year. Easiest fix is not to include the year.

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.