ZE3kr / GuoZeyu.com

我的网站文章的原始数据与历史
https://guozeyu.com
Creative Commons Attribution Share Alike 4.0 International
20 stars 7 forks source link

2016/01/wordpress-plugins/ #20

Open ZE3kr opened 2 years ago

ZE3kr commented 2 years ago

Written on 01/29/2016 02:19:00

URL: https://guozeyu.com/2016/01/wordpress-plugins/

ZE3kr commented 2 years ago

Comment written by danghr on 02/06/2017 12:34:41

今儿调网站的时候,发现Autoptimize仿佛会导致新版主题里由于自适应而折叠的主菜单无法展开。我试过Twenty Sixteen、Twenty Seventeen和Lawyeria Lite(我不记得是不是这么拼的了),都有主菜单点不开的问题。

ZE3kr commented 2 years ago

Comment written by ZE3kr on 02/06/2017 12:54:40

这个问题主要是因为 JS 加载顺序有误的问题,控制菜单折叠部分的 JS 应该在最后加载,不能合并。解决方案:

Exclude scripts from Autoptimize 里添加上 functions.js, themes

关于这个插件我的详细配置方法我也已经在文章中给出了,供大家参考。

ZE3kr commented 2 years ago

Comment written by 大喇叭 on 06/13/2017 16:02:22

https://premium.wpmudev.org...
这个也很不错的。

ZE3kr commented 2 years ago

Comment written by ZE3kr on 06/16/2017 09:10:36

这是一个很精致的图片压缩插件。不过最近在用 Cloudflare 的 Polish 来实现图片压缩,省了好多事。

ZE3kr commented 2 years ago

Comment written by AlexO on 09/21/2017 13:36:58

博主,你好!我安装了wordfence以后,发现如果把固定链接的格式改成默认的plain格式,那么author的页面会无法访问(点击author的链接)。如果停用wordfence就不会有这个问题。我在网上搜了一大圈,似乎没有找到wordfence与固定链接的问题。不知道博主有没有什么建议?

ZE3kr commented 2 years ago

Comment written by AlexO on 09/23/2017 11:04:08

发现wordfence里options菜单里有一个选项"Prevent discovery of usernames through '/?author=N' scans...",默认是勾选的,而且wordfence也建议勾选。但是这样使用plain permalink格式时,列出作者文章会出现404,当然wordfence官网上也给出了解决办法。