我的主题当前已激活,仅显示背景图像和“主页”链接。我认为问题在于标题。php,但我不太清楚是什么。有什么想法吗?(还有,是否有一个php验证器可以运行我的代码,或者WP主题的代码是否过于特定于WP?)
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo(\'html_type\'); ?>; charset=<?php bloginfo(\'charset\'); ?>" />
<meta name="generator" content="Wordpress <?php bloginfo(\'version\'); ?>" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php bloginfo(\'name\'); ?> <?php wp_title(); ?></title>
<link rel="pingback" href="<?php bloginfo(\'pingback url\'); ?>" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo(\'rss2_url\'); ?>" />
<link rel="stylesheet" href="<?php bloginfo(\'stylesheet_url\'); ?>" />
<link rel="shortcut icon" href="<?php bloginfo(\'template_directory\'); ?>/img/favicon.ico" />
<?php wp_head(); ?>
</head>
<body>
<div id="header">
<div class="logo">
<a href="<?php bloginfo(\'url\'); ?>"><img src="images/logo.png" alt="return to the home page" id="logo" /></a>
</div><!-- end logo -->
<div id="nav">
<ul>
<li><a href="<?php bloginfo(\'url\'); ?>">Home</a></li>
<?php wp_lists_pages(\'title_li=&include=9,5,60,62,64\'); ?>
</ul>
</div><!-- end nav -->
</div><!-- end header -->