Hallo,
habe bei mir im Theme das Superfish Menü eingebaut. Sollte alles ordnungsgemäß sein. Nun wird mir das Menü aber nicht angezeigt.
Schaut selbst: http://hazelnut.bplaced.net/wp/
Hier mal der Code meiner Header PHP:
PHP
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<script src="<?php bloginfo('template_directory'); ?>/js/html5.js"></script><!-- this is the javascript allowing html5 to run in older browsers -->
<link href='http://fonts.googleapis.com/css?family=Vollkorn&subset=latin' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/reset.css" media="screen" title="html5doctor.com Reset Stylesheet" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo( 'stylesheet_url' ); ?>" media="screen" />
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/grid.css" media="screen" />
<link rel='stylesheet' type='text/css' media='screen' href='<?php bloginfo('template_directory'); ?>/css/superfish.css' />
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.2.6.min.js"></script>
<script type='text/javascript' src='<?php bloginfo('template_directory'); ?>/js/superfish.js'></script>
<script type='text/javascript'>
$(document).ready(function() {
$('ul.sf-menu').superfish();
});
</script>
</head>
<body>
<div class="row" style="background: #FFF; border:1px solid #E9EFF2; -moz-box-shadow:0 5px 15px #CCCCCC;">
<header>
<div class="logo left" style="font-family: 'Vollkorn', arial, serif"><?php bloginfo('name'); ?></div>
<div class="statement right"><?php bloginfo('description');?></div>
<div class="clear"></div>
<nav id="navi">
<ul id="navigation" class="sf-menu">
<li class="active"><?php wp_nav_menu( array( 'theme_location' => 'header-menu' )); ?></li>
</ul>
</nav>
</header>
Alles anzeigen
Weis da einer einen Rat?
LG SyntaX