Skip to content

getshifter/its-a-date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Current Year Plugin

This is a simple WordPress plugin that adds the current year to elements with the data-current-year attribute.

Usage

  1. Add the data-current-year attribute to any HTML element where you want to display the current year.
  2. The plugin will automatically replace the value of the data-current-year attribute with the current year when the page loads.

Example

<p data-current-year>© Example Website</p>

Result

<p data-current-year>2023</p>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages