开发者

WP-Syntax in post comments

I'm trying to apply the syntax highlighting of the WP-Syntax plugin into post comments. The ch开发者_如何学Goangelog of the plugin suggests that this has already been done. Has anyone does this before?

If they've not implemented this, how can I do it? Which parts of the code should I read?


Editing the plugin solved the problem. The plugin uses the comment_text filter by default (one "before" and one "after"). Change it to the get_comment_text filter worked!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜