DigitalRefresh
8/6/2018 - 3:54 PM

Dynamic Year Shortcode for Footer #footer #front

//Current year shortcode for copywrite. To apply use shortcode: [year]
  function year_shortcode() {
    $year = date('Y');
    return $year;
  }
  add_shortcode('year', 'year_shortcode');