HipTips, Websites, WordPress

Update Copyright Year Automatically in WordPress

By OneHipSista
All Levels, Working Knowledge, Technical
GetHipQuick

Reading Time: < 1 minute

Pop this code into your footer to automatically show the current year in WordPress. It works well for copyright blocks.

When I see a site with an old copyright date, I think that’s the last time it was updated. So if it says ©2019, I think the site outdated and I don’t trust the information to be current. Okay, that’s a bit severe, but it does look better when the site seems up to date.

Use this code snippet to automatically show the current year in WordPress in a WPBakery block. I have this in a copyright block in the a footer I designed with WPBakery.

{{date|Y}}

This doesn’t seem to work in Elementor.

TAGS: wordpress, snippets
Share:

Related Posts

GetHipQuick