Dhali Copyright
Display Dhali copyright with a dynamic year
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/dhali-web/dhali-copyright/archive/refs/heads/master.zipDeclares an update source (https://github.com/dhali-web/Dhali-Copyright), so updates arrive through the plugin's own updater.
From the readme
Dhali Copyright
A block that renders a copyright line with a dynamically updated year —
© 2026 · Client Name · All rights reserved. Designed by Dhali. — with
an editable company name and a credit link back to Dhali.
Managed centrally by Dhali Extension Manager,
which installs and activates this plugin on a site from this repo directly.
It's also a fully standalone, valid WordPress plugin — you can install it
manually the normal way if you ever need to.
What it does
Adds a "Dhali Copyright" block (create-block/dhali-copyright). It has
one attribute, companyName, editable from the block's settings panel.
The current year is computed at render time (date('Y')), so it never
needs manual updating.
⚠️ Known issue — hardcoded fallback name
src/dhali-copyright/render.php falls back to a hardcoded client name if
companyName is empty:
That's left over from the site this block was first built for. block.json
correctly declares the attribute's own default as the generic
— but that default only applies inside the editor when a
fresh instance of the block is inserted. The PHP fallback above is a
separate safety net for whenever companyName is somehow empty at
render time, and it should a