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.

[jetpack_subscription_form subscribe_placeholder=”Email Address” show_subscribers_total=”false” button_on_newline=”false” submit_button_text=”Submit” custom_font_size=”20px” custom_border_radius=”0″ custom_border_weight=”1″ custom_border_color=”#d8d8d8″ custom_button_width=”30%” custom_padding=”15″ custom_spacing=”10″ submit_button_classes=”has-20-px-font-size has-d-8-d-8-d-8-border-color” email_field_classes=”has-20-px-font-size has-d-8-d-8-d-8-border-color” show_only_email_and_button=”true”]