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自带的近期评论小工具不会显示详细的评论内容,而且还会显示治理员的评论,觉得不是很好,只能本人...
由于站点不需求显示这么多图片,只要要原图就OK了,所以就要修正下媒体设置。关上设置->媒体,将不需求的缩...
去掉logo或许左侧栏的菜单,避免被改掉。 在应用模板下的functions.php下修正 复制代码代码如下: function ...
说到Wordpress可能有的站长还没用过,然而作为一名博客主,假如不晓得它,您真是OUT了!它是小名鼎鼎的PHP博...
因为国际大多冤家普通都是间接装置WordPress中文版,所以,倡萌在此以WordPress 3.4.2中文版进行演示。 1....
最近对wordpress的一些小改良很感兴味,能够让你的博客愈加共性,也更风趣味性,上面的代码能够在后果中高亮...