A block that always displays the current year in your footer copyright notice.
🆕 New features: now you can add your homepage link, copyright symbol and additional text with a single click.
The Dynamic Year Block will automatically update the copyright year in your website footer. At the turn of each year, the number will automatically change to reflect the current year, freeing you from manually editing the year every new year’s eve.
The plugin works for both classic and block themes, but it is especially useful in the context of the Site Editor, where you can visually change the footer template part without messing with code. Just insert the Dynamic Year Block, enter your copyright notice and you’re done. 💪
You can open this WordPress Playground site in your browser to quickly test it.
⚠️ Important: please configure your timezone in “Settings
General Timezone” in your WordPress dashboard, so that the year displayed by the block matches your server time and the timezone set in WordPress.This is a community plugin that can always be downloaded for free without any paid subscription from the official WordPress repository.
dynamic-year-block
folder to your /wp-content/plugins/
directory on your server, via SFTP/FTP.This eliminates the need to manually edit the year of your website’s copyright statement, usually located at the bottom of each page.
It is recommended to insert it in the footer template part of your block theme, but it can be used anywhere in your content.
Also, you will probably want to use it within a Row block to make it appear horizontally with other text elements, as demonstrated in the fourth screenshot above.
Yes, this has been possible since version 0.5.0. You can also align the text. If you do not see these options in the block inspector on your sidebar, update your plugin to the latest version.
Not at all, the plugin is quite simple. It does not add any CSS or Javascript on its own. If you want to style the text in any way, you will use the Block Editor’s native features to do so.
Absolutely not, the plugin respects your privacy. It’s completely add-free and the code only uses core WordPress functions.
No, this plugin works exclusively in the Block Editor.
The plugin uses a WordPress core function (current_datetime
) to get your server time, using the timezone specified in the “Settings General Timezone” on your WordPress dashboard. So it is important to set your timezone in order to display the year correctly, especially at the turn of the year.
Most probably not. While the plugin offers a basic copyright notice, it doesn’t automatically solve all legal issues your website may have, nor does it constitute legal advice in any way. The site owner is solely responsible for ensuring that the website respects the law.
Please reach out via the official plugin support forum.
Feel free to ask questions, request new features or report bugs.
You can also follow the development of the plugin in the official Épico Studio GitHub repository, where you can see the complete code.
You can help with a donation, by visiting our website or publishing a positive review, if you find it useful.