visible: hiddendivの CSS プロパティを使用して非表示にするか、 display:none. 表示するスティッキー投稿があるかどうかを確認するだけです。
<?php
query_posts(array('post__in'=>get_option('sticky_posts')));
// $nbrStickyPost = something
$stickyPost = ""
if($nbrStickyPost === 0) {
$stickyPost = " style=\"display:none;\""
}
echo "<div id=\"spotlight-feature\"", $stickyPost, ">";
?>
<div id="spotlight-feature-top">
<!-- [...] -->
<?php while (have_posts()) : the_post(); ?>
<!-- [...] -->
このコードは、nbrStickyPost 変数が 0 の場合、display:none CSS プロパティを div に追加します。実際に nbrStickyPost を決定するには、query_posts() 関数と have_posts() 関数のいくつかを確認する必要があります。