Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/240.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/68.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 用户无法在Wordpress的索引中看到图像_Php_Jquery_Html_Css_Wordpress - Fatal编程技术网

Php 用户无法在Wordpress的索引中看到图像

Php 用户无法在Wordpress的索引中看到图像,php,jquery,html,css,wordpress,Php,Jquery,Html,Css,Wordpress,朋友们,在索引页面上,每个标题都有图片,但这些图片并没有显示出来 这是网站:www.manisaihtiyac.com 我认为这个代码有一个问题: <div class="yef_resim"> <a href="<?php the_permalink(); ?>"> <img src="<?php echo get_post_meta($post->ID, 'logo', true); ?>" border="0

朋友们,在索引页面上,每个标题都有图片,但这些图片并没有显示出来

这是网站:www.manisaihtiyac.com

我认为这个代码有一个问题:

<div class="yef_resim">
    <a href="<?php the_permalink(); ?>">
      <img src="<?php  echo get_post_meta($post->ID, 'logo', true); ?>" border="0" />
    </a>
</div>

函数get\u post\u meta未返回任何内容:

<a href="http://www.manisaihtiyac.com/?p=35">
<img src="" border="0">
...
你能告诉我们什么标志回来了吗?在页面上执行类似的var_转储。var\u dumpget\u post\u meta$post->ID,“logo”,true;我认为你对DB中的logo meta没有任何价值