Custom WordPress shortcode to display current year

Place this code in your theme’s functions.php file to address that pesky problem of copyright dates in the footer not having the current year displayed!! /* shortcode for the current year */ function year_shortcode() { $year = date(‘Y’); return...