学习wordpress模板制作第二天 header.php的尝试

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<meta http-equiv="X-UA-Compatible" content="IE=7" />

<title><?php bloginfo("name") ?></title>

<meta name="keywords" content="" />

<meta name="description" content="<?php bloginfo('description');?>" />

<meta name="author" content="" />

<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />
<script src="<?php bloginfo('template_url'); ?>/js/png.js" type="text/javascript"></script>
<script src="<?php bloginfo('template_url'); ?>/js/scrolltop.js" type="text/javascript"></script>
<?php wp_head(); ?>
</head>

<script src="<?php bloginfo('template_url'); ?>/js/png.js" type="text/javascript"></script> 可换成wp_enqueue_script( 'init_js',get_bloginfo('template_url').'/js/init.js');新手不建议更换

posted @ 2014-08-28 10:05  学做flutter的小菜鸡  阅读(110)  评论(0编辑  收藏  举报