cos-html-cache插件发表评论错误的解决
Jun 13, 2016 am 10:38 AM
cowordpressusepublishplug-ingenerateofsolveCommentmistakestatic
使用wordpress的生成静态页插件cos-html-cache之后,每篇文章发表评论后,老是显示前一个评论者的信息,包括清理cookie的情况下还显示:欢迎再次光临XXX。如果不清理cookie,点击名字后输入框直接显示前面评论者的姓名和邮箱等,一旦清理cookie,上面只显示欢迎再次光临XXX,而不显示姓名和邮箱等输入框,点击名字后,各个输入框都没有值。无奈之下,就把几个js文件删除了,希望这个方法可以帮到你。
找到wp-content hemes下面的评论文件comments.php,找到那个显示:欢迎再次光临的div层,直接删除掉,我删除掉下面这些,您自己看您的代码了。
%s.’), $comment_author) ?>
还有下面一段:
OK,解决问题就行,睡觉去。
Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article
Assassin's Creed Shadows: Seashell Riddle Solution
3 weeks agoByDDD
What's New in Windows 11 KB5054979 & How to Fix Update Issues
2 weeks agoByDDD
Where to find the Crane Control Keycard in Atomfall
3 weeks agoByDDD
Saving in R.E.P.O. Explained (And Save Files)
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download
The most popular open source editor

SublimeText3 Linux new version
SublimeText3 Linux latest version

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 English version
Recommended: Win version, supports code prompts!

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.