wordpress手机评论框 wordpress评论框插件
发布日期:2020-10-16摘要:wordpress如何去除页面的评论框,注意不是禁止评论,而已去除那个 先判断下是否登录,然后获取当前用户对象,然后获取当前用户对象的信息,需要哪些用哪些:if(is_user_logged_in...
wordpress如何去除页面的评论框,注意不是禁止评论,而已去除那个...
先判断下是否登录,然后获取当前用户对象,然后获取当前用户对象的信息,需要哪些用哪些:if(is_user_logged_in()){$current_user = wp_get_current_user(); /** * @example Safe usage: $current_user = wp_get_current_user(); * if ( !($current_user instanceof WP_User) ) * return; */ echo "Username: " . $current_user->user_login . ""; echo "User email: " . $current_user->user_email . ""; echo "User first name: " . $current_user->user_firstname . ""; echo "User last name: " . $current_user->user_lastname . ""; echo "User display name: " . $current_user->display_name . ""; echo "User ID: " . $current_user->ID . ""; }截图 看看吧账号管理这只能自己看到,当然发布评论后,大家都能看到昵称了。
腾讯新闻网如何看自己发表过的评论
 .hiphotos.baidu.com/zhidao/wh%3D600%2C800/sign=ade97d69b9b7d0a27b9c0c9bfbdf5a31/63d0f703918fa0ec082775d62d9759ee3c6ddb0c. href="");"a href="%1$s , ", .php然后,找到\wp-includes\default-widgets;/li>", );span>. "/a>. " <.baidu. " ;> 将其修改为: //sprintf(_x("%1$s on %2$s") ;) ;/a>get_comment_author_link(). comment_ID) comment_post_ID) ";" ;<://a; strip_tags( $comment->" . get_comment_author_link().hiphotos.baidu.com/zhidao/wh%3D450%2C600/sign=3170ef047d094b36dbc713e996fc50ef/63d0f703918fa0ec082775d62d9759ee3c6ddb0c;on . . "get_the_title($comment->comment_post_ID) ,来吧实战开始:首先,备份\wp-includes\default-widgets;widgets". """".php文件中,大约在679行sprintf(_x(", . . get_the_title($comment->"">".jpg" esrc="http。
前台显示效果如图;comment_post_ID) . get_the_title($comment->comment_ID) ) 这样就OK了;. "href="", """<. , ;sprintf(_x("%1$s 在“%2$s”留言:".com/zhidao/pic/item/63d0f703918fa0ec082775d62d9759ee3c6ddb0c.jpg" target="_blank" title="点击查看大图" class="ikqb_img_alink">//get_comment_link($comment->comment_ID) 
-
给我们打电话
7*24小时服务热线:1399999999
全国客服热线:400-0000-000 -
百度地图
福建省漳州市 -
给我们发邮件
E-mail:[email protected]
在线沟通