Add this function in the functions.php file.
function current_year() { $year = date('Y'); return $year; } add_shortcode('year', 'current_year');
1 hour Free Service for WordPress website :)
No comments:
Post a Comment