Step 2. Create your shortcode for the current year (and current month, current date or current day)
Next step is to create one or more shortcodes that display today’s date. Copy the code below for the date formats you want to use and paste it in your functions.php. You can place the code below the code you added in the previous step. Save.