Home_Test

cat_ID;
$news_class = ($category_id == 3) ? “selected” : “”;
$features_class = ($category_id == 4) ? “selected” : “”;
$opinion_class = ($category_id == 16) ? “selected” : “”;
$wespeaks_class = ($category_id == 13) ? “selected” : “”;
$arts_class = ($category_id == 6) ? “selected” : “”;
$sports_class = ($category_id == 5) ? “selected” : “”;
if (is_home()) {
$home_class = “selected”;
$news_class = “”;
$features_class = “”;
$opinion_class = “”;
$arts_class = “”;
$wespeaks_class = “”;
$sports_class = “”;
} else {
$home_class = “”;
}
?>

Advertisements