wordpress建站中如何利用comment_author_link函数获取评论作者链接,下面web建站小编给大家简单介绍一下!
函数原型:
comment_author_link( int|WP_Comment $comment_id ) //$comment_id,WP_Comment或要打印作者IP地址的评论的ID。默认当前评论。
函数源码:
function comment_author_link( $comment_id = 0 ) {
echo get_comment_author_link( $comment_id );
}
调用方法:
<?php echo comment_author_link(); ?>
上面是“wordpress技巧如何显示评论作者链接”的全面内容,想了解更多关于 wordpress 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_4664.html
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!

iframe嵌套方法有哪些参数(各项参数介绍)
Motion Vue:无需编写复杂的命令式代码,轻松实现动画效果 











