删除wordpress评论中的网址输入框表单-WordPress主题

摘要:在wordpress主题的使用过程是,部分的站长尤其是企业站的站长,在文章的评论中,都不希望出现网址提交的项目,因为在自…

在wordpress主题的使用过程是,部分的站长尤其是企业站的站长,在文章的评论中,都不希望出现网址提交的项目,因为在自己的用户群体或是需求人群中有独立网站的人还是及少数的,而且如果有网站的,输入了网址等于为其它人做了嫁衣,自己还没有达到宣传的目的,所以网址这一个输入框表单是可以删除了,而删除是一劳永益的。

其实操作起来很简单,打开您正在使用主题的 comments.php 文件,搜索 $comment_author_url 函数就可以定位到网址表单的代码,删除整段代码即可。

来源:http://www.wazhuti.com/422.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_13019.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?