Hallo zusammen.
Ich baue seit gestern ein Blog mit WP auf. Habe mir ein Buch gekauft (von DataBecker) und da ein Theme erstellt. Hat auch ganz gut funktioniert.
In der Datei header.php haben ich folgenden Quelltext eingegeben:
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css"/>
jetzt erscheint folgende Fehlermeldung:
Fatal error: Call to undefined function: bloginfo() in /www/htdocs/w00b1f4a/index.php on line 8
Washabe ich falsch gemacht? Wie kann ich den Fehler geheben?
header.php:
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css"/>
<!--[if lte IE 7]>
<link href="css/patches/patch_my_layout.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<div class="page_margins">
<div id="header">
<div id="topnav">
<a class="skip" title="skip link" href="#navigation">Skip to the navigation</a><span class="hideme">.</span>
<a class="skip" title="skip link" href="#content">Skip to the content</a><span class="hideme">.</span><a href="#">Login</a> | <a href="#">Contact</a> | <a href="#">Imprint</a>
</div>
</div>
<div id="nav">
<a id="navigation" name="navigation"></a>
<div class="hlist">
<!-- main navigation: horizontal list -->
<ul>
<?php wp_list_categories('titel_li='); ?>
</ul>
</div>
</div>
<div id="main">
Danke für Eure Hilfe! Ist im Moment noch ziemlich komplex für mich :-?
Gruß Sebastian