Use this code snippet in the functions.php file to create a shortcode that works in elementor.
// Create current year shortcode
function current_year_shortcode() {
$year = date('Y');
return $year;
}
add_shortcode('current_year', 'current_year_shortcode');'
Anywhere you add [current_year], it will populate the year. For example:
@[current_year] Home Centered Care Institute will display as @2025 Home Centered Care Institute but not need to be updated every year.
