【发布时间】:2013-09-16 20:23:49
【问题描述】:
有一些关于此的帖子,但解决方案对我不起作用..
感谢您的帮助..
hier 是代码@my single.php
<?php echo '<div class="thecontent">' . apply_filters('the_content', get_the_content()) . '</div>';
这个我试过了,不知道怎么替换代码?
echo preg_replace('/<img[^>]+\>/i', '', get_the_content(), 1);
【问题讨论】:
标签: image wordpress wordpress-featured-image