本文介绍了图像不会通过wordpress中的html代码显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...







我在wordpress中创建了自己的主题,我有在其中添加了下面提到的页面。

header.php,footer.php,functions.php,index.php,sidebar.php,side-menu.php,page.php。



我从仪表板创建了几个页面,并使用img标签从那里我想添加图像但是图像不显示只有代码显示在这样的网页上



< img src =http://localhost/wp_hospital_management/wp-content/uploads/2014/05/Lighthouse.jpg>



该怎么办?

我在这里写了源代码并且图像显示但是在我的主题中它不起作用。



Thanx提前

Hi...



I have created my own theme in wordpress and i have added below mentioned pages in it.
header.php,footer.php,functions.php,index.php,sidebar.php,side-menu.php,page.php.

I have created few pages from dashboard and from there using img tag i want to add image but image is not displayed only code is shown on website page like this

<img src="http://localhost/wp_hospital_management/wp-content/uploads/2014/05/Lighthouse.jpg">

what to do??
I have written the source here and image is displaying but in my theme it is not working.

Thanx in advance

推荐答案

"http://localhost/wp_hospital_management/wp-content/uploads/2014/05/Lighthouse.jpg"





使用此





use this

"http://your website link/wp_hospital_management/wp-content/uploads/2014/05/Lighthouse.jpg"


这篇关于图像不会通过wordpress中的html代码显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 13:50
查看更多