// [nextday] function displaydate_next(){ $time = get_the_time('jS F, Y'); $date = strtotime(date("jS F, Y", strtotime($time)) . " +1 day"); return date('jS', $date); } add_shortcode('nextday', 'displaydate_next'); // end nextday date