function get_comment_author_link( $comment_ID = 0 ) {
/** @todo Only call these functions when they are needed. Include in if... else blocks */
$url = get_comment_author_url( $comment_ID );
$author = get_comment_author( $comment_ID );
if ( empty( $url ) || 'http://' == $url )
$return = $author;
else
$return = "$author";
return apply_filters('get_comment_author_link', $return);
}
以上就是安达网络工作室关于《去除wordpress中评论中的nofollow的方法》的一些看法。更多内容请查看本栏目更多内容!
WordPress 的文章摘要性能普通有两种完成办法,即便用 <!--more--> 标志或许利用现成的插件。关于前者,不便...
在开发进程中,调试代码是十分重要的工作,而把握一些 WordPress 的调试技巧,能够更好的进行调试。比方,在...
让WordPress登录页的明码框显示最初一个输出的字符 在通常状况下,网页的设计者们会将明码输出框中的一切字...
WordPress 从 2.5 的版本开端,添加了一个 shortcode (短代码) API ,相似于 BBS 上的 BBCode , shortcode ...
通过一番考察,发现插件 flash-video-player 里的 swfobject.js 文件里也有这个J.parentNode调用,所以和WP...
本文实例讲述了Wordpress中上一篇与下一篇性能代码。分享给大家供大家参考。详细如下: 很多WordPress给文章...