头部header.php调用css样式,
1
|
<link rel=
"stylesheet"
href=
"<?php bloginfo('template_url'); ?>/style.css"
type=
"text/css"
media=
"screen"
/>
|
如wordpress模板调用图片的话,(前提是图片存放在你主题文件夹内,如images文件夹下)
1
|
<img src=
"<?php bloginfo('template_directory'); ?>/images/xxx.gjpg"
alt=
"标题"
width=
"100px"
height=
"100px"
>
|
虽然不是很明白 先留着日后研究