get_results("SELECT YEAR(post_date_gmt) AS year FROM $wpdb->posts WHERE post_date_gmt > 1970 ORDER BY post_date_gmt ASC"); $last = $posts[count($posts)-1]->year; $first = $posts[0]->year; $c = __('Copyright (©) ', 'inove') . $first; if($first != $last) { $c .= '-'. $last; } return $c; } ?>