在functions.php里添加
//评论加图片 add_action('comment_text', 'comments_embed_img', 2); function comments_embed_img($comment) { $size = auto; $comment = preg_replace(array('/\[img\]((http|https):\/\/\S*)\[\/img\]/'),'<img src="$1" alt="评论" style="width:'.$size.'; height:'.$size.'" />', $comment); return $comment; }
在评论区添加的代码如下:
[img]在这里填写图片链接[/img]
最新评论
笑死我了
真的尬,这种事情,见怪不怪了,平常心。
能不能搞黄油相机?
360发现木马!
还是ID3版本问题,同一专辑,有的2.3有的2.4,能否统一为2.3版本的,毕竟很多播放软件不支持ID3 2.4
哪个连接是最新的啊?
额,我正准备用的,就发现songhaoxue在这里出现了
那个,有没有电脑版的