Abraham Lincoln Links

1, ‘category’ => 33, ‘orderby’ => ‘rand’);
$totd99 = get_posts($args);
$midnight = strtotime(‘sunday +4 weeks’);
$timenow = time();
$timetillmidnight = $midnight – $timenow;
//echo $midnight;
//echo “,”.$timenow;
set_transient(‘totd99_trans_post_id’, $totd99[0]->ID, $timetillmidnight);
} else {
$args = array(‘post__in’ => array($totd99_trans_post_id));
$totd99 = get_posts($args);

}

foreach( $totd99 as $post ) : setup_postdata($post); ?>