我正在开发一个基于使用推特引导开发的主题的WordPress网站。我在我的header.php
它加载在每页的顶部。
Added the image path
在对
header.php
要包括路径
<img src="<?php echo get_stylesheet_directory();?>/images/headerbg.jpg" alt="the image is not showing" class="img-responsive center-block"/>
我的图像仍不显示,并且显示了alt标记
:
Confirming the image path is correct and working
直接使用浏览器中的计算代码时,我可以访问图像: