Mach daraus mal das hier:
PHP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes() ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="content-type" content="<?php bloginfo('html_type') ?>; charset=<?php bloginfo('charset') ?>" />
<title><?php wp_title( '-', true, 'right' ); echo wp_specialchars( get_bloginfo('name'), 1 ) ?></title>
<meta name="revisit-after" content="1 days">
<?php // solves google duplicate content problem
if ( ( is_single() || is_page() || is_home() ) && ( !is_paged() ) ) {
echo '<meta name="robots" content="index, follow" />' . "\n";
} else {
echo '<meta name="robots" content="noindex, follow" />' . "\n";
}
?>
<?php if (get_option('thestars_feedburner') == 'Enable') { ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php echo(get_option('thestars_feedburner_rss')); ?>" />
<?php } else { ?>
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<?php }; ?>
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css" type="text/css" media="screen" />
<?php if (get_option('thestars_color_scheme') <> 'Original') { ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/style-<?php echo(get_option('thestars_color_scheme'));?>.css" type="text/css" media="screen" />
<?php }; ?>
<!--[if lte IE 6]><script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/supersleight-min.js"></script><![endif]-->
<?php if (trim(get_option('thestars_header_code')) <> "" ) { echo stripslashes(get_option('thestars_header_code')); } ?>
<?php if (is_singular()) wp_enqueue_script('comment-reply'); ?>
<!-- start -->
<?php wp_head(); ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/custom.js"></script>
<!-- end -->
</head>
<body class="<?php body_class() ?>">
<?php
$excludes = '';
if (is_array($exclude_pages = unserialize(get_option('thestars_exclude_page')))) {
$excludes = implode(',', $exclude_pages);
}
?>
<div id="top">
<div class="pads clearfix">
<ul>
<li><?php wp_list_pages("sort_order=".get_option('thestars_order_page')."&depth=3&exclude=".$excludes."&title_li="); ?></li>
<li id="t-search"><div class="hide"><?php include (TEMPLATEPATH . '/searchform.php'); ?></div></li>
<li>
<?php if (get_option('thestars_feedburner') == 'Enable') { ?>
<a href="<?php echo(get_option('thestars_feedburner_rss')); ?>"><?php _e( 'Subscribe', 'wpbx' ); ?></a>
<?php } else { ?>
<a href="<?php bloginfo('rss2_url'); ?>" title="Subscribe to Posts"><?php _e( 'Subscribe', 'wpbx' ); ?></a>
<?php }; ?>
</li>
</ul>
</div>
</div>
<div id="header">
<div class="pads clearfix">
<a href="<?php echo get_settings('home'); ?>"><img id="site-logo" src="<?php bloginfo('template_directory'); ?>/images/starsontvlogo2.png" alt="<?php bloginfo('name'); ?>" /></a>
<?php if (get_option('thestars_ads') == 'Enable') { ?>
<div id="ad468x60" class="adblock">
<?php include(TEMPLATEPATH . '/ads/ads-468x60.php'); ?>
</div> <!-- end banner image block -->
<?php }; ?>
</div>
</div><!-- #header -->
<div id="menu">
<div class="pads">
<ul id="nav" class="clearfix">
<li class="<?php if (((is_home()) && !(is_paged())) or (is_archive() && !(is_category())) or (is_single()) or (is_paged()) or (is_search())) { ?>current-cat<?php } else { ?>cat-item<?php } ?>"><a href="<?php echo get_settings('home'); ?>"><?php _e( 'Home', 'wpbx' ) ?></a></li>
<!-- change "depth=3" to suit your menu depth level, and change "exclude=x" with the category ID that you want exclude from the menu (multiple categories separated by , (comma) -->
<?php
$excludes = '';
if (is_array($exclude_cats = unserialize(get_option('thestars_exclude_cat')))) {
$excludes = implode(',', $exclude_cats);
}
?>
<?php wp_list_categories("orderby=".get_option('thestars_sort_cat')."&order=".get_option('thestars_order_cat')."&depth=3&exclude=".$excludes."&title_li="); ?>
</li>
</ul>
</div>
</div>
<div id="container">
<div class="pads clearfix">
Alles anzeigen