因此,我在标题中有一个图像标记。Wordpress主题Twentyle2的php如下:
<header id="masthead" class="site-header" role="banner">
<hgroup>
<img src="image/logokovil.png" alt="logo" height="100" width="100">
<h1 class="site-title"><a href="<?php echo esc_url( home_url( \'/\' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( \'name\', \'display\' ) ); ?>" rel="home"><?php bloginfo( \'name\' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( \'description\' ); ?></h2>
</hgroup>
这是代码的一部分,问题是这个徽标没有显示出来,相反,我在主页上得到了一个无效的图像标志。图像的位置是:wp content\\themes\\twentyle2\\image。php:wp-content\\themes\\twentyle2所以对我来说它看起来是正确的,但它仍然没有显示图像?可能有什么问题?