function year_shortcode () { $year = date_i18n ('Y'); return $year; } add_shortcode ('year', 'year_shortcode'); Rival, Red and White Twitch Panels : Clean Channel Buttons - Hexeum