0
我编了一个gallery
,它在编辑器中没问题,但在网站视图中不工作,它显示shortcode
而不是图像。它在之前但现在工作..我不知道发生了什么。wordpress不会显示图片图片
$gallery = get_post_field('post_content', 186);
echo $gallery;
帖子内容:
[gallery link="file" ids="110,147,148,154,153,152,151,150,149,155,156,157,158,159,160,161,162,163,164,166,167,168,169,176,177,178" orderby="rand"]
重复,它显示所有图像编辑器,但在网站上查看它只是显示这个代码。 任何想法是什么问题?
结果:
[gallery link="file" ids="110,147,148,154,153,152,151,150,149,155,156,157,158,159,160,161,162,163,164,166,167,168,169,176,177,178" orderby="rand"]
感谢解决.. – Pedram