指点云用户44 发表于 2022-8-1 11:28:08

WordPress 必备插件推荐

<p></p><h2 data-first-child="" style="margin: 0px 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">前言</h2><p data-pid="nal0JWBz" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">网站搭好后,为了使网站的安全、性能以及效果上能够达到满意,少不了要安装插件优化。本文就分享下我自己用过的、收藏的 WordPress 优秀插件和相关设置。</p><p data-pid="HyXkcIVH" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">以下插件都可以在 WordPress 的 “插件安装” 中直接搜索安装。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">插件推荐</h2><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">安全</h2><hr style="margin: 4em auto; width: 240px; max-width: 100%; border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top-style: solid; border-top-color: rgb(211, 211, 211); color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"/><p data-pid="Sg-HpEef" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">1. Wordfence Security</span></p><p data-pid="esOSBg60" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">很强大的 WordPress 安全软件,能够扫描网站文件,发现安全隐患并给出设置建议,具有防火墙,防爆破等功能。</p><p data-pid="R23p07ne" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">必备设置:“Wordfence” —&gt; “Options”—&gt; “Hide WordPress version” 选项选中;</p><p data-pid="vGNMfMyQ" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">其他选项很多,包括邮件警告,自动扫描选项等,可以自己研究选择。</p><p></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p></p><p data-pid="WjnvKLDH" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">2. Limit Login Attempts</span></p><p data-pid="6IgDPEpp" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">防止暴力破解的插件,通过限制用户尝试登录网站管理账户的次数,对恶意用户的 ip 进行封禁,从而有效的防止密码被暴力破解!</p><p data-pid="1fRpcpso" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">安装后在设置面板选项中:减小尝试次数,增长封禁时间。</p><p data-pid="PoTGIZMg" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">3. IP Blacklist Cloud</span></p><p data-pid="PAQ1sBYm" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">同样是防爆破并屏蔽 ip 的插件。它的安装量可能不比其他的,但有一个功能很吸引人:它可以设置封禁用指定用户名试图登陆的 ip。</p><p data-pid="Kk3Ku6nP" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">前提是我们已经更改了管理员的默认名字,如 admin。那么就可以设置:发现试图使用 admin、administrator 等用户名登陆的用户立即封禁。</p><p data-pid="R_QXFTRC" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">4. Rename wp-login</span></p><p data-pid="_uQEDRlx" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">更改 WordPress 后台登录地址,自定义一个只有自己知道的登陆地址,默认登录地址将变为 404。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">优化</h2><hr style="margin: 4em auto; width: 240px; max-width: 100%; border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top-style: solid; border-top-color: rgb(211, 211, 211); color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"/><p data-pid="ydCiQ6x8" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">5. Autoptimize</span></p><p data-pid="4EFj9Gxa" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">可以自动合并、压缩 CSS 和 JS 文件,减少请求数和文件体积,优化传输速度。</p><p data-pid="Tv002mCa" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">设置,首先点击右上角的 “Show advanced settings” 显示所有高级设置。</p><p data-pid="IcPaz0HO" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">建议开启选项:</p><ul style="padding: 0px; margin-top: 1.4em; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p><span style="font-weight: 600; font-synthesis: style;">HTML选项</span>:“优化HTML代码”;</p></li><li><p><span style="font-weight: 600; font-synthesis: style;">JavaScript选项</span>:“优化JavaScript代码”;</p></li><li><p><span style="font-weight: 600; font-synthesis: style;">CSS选项</span>:“优化CSS代码”,“Remove Google Fonts”;</p></li><li><p><span style="font-weight: 600; font-synthesis: style;">Cache Info</span>:“Save aggregated script/css as static files”;</p></li></ul><p data-pid="gmeI9a_i" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">6. WP Smush</span></p><p data-pid="4VpMp90L" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">无损压缩优化图片大小,图片体积变小自然会使传输速度更快。</p><p data-pid="F2Fo3vRs" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">已经上传到存储空间的图片,也可以通过手动选项进行压缩。该选项位于多媒体栏目下。</p><p data-pid="MvaAlKM-" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">7. WP Super Cache</span></p><p data-pid="zRE2HnAI" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">WordPress 静态缓存插件,是 WordPress 官方开发人员开发的,支持中文,必备插件。</p><p data-pid="VArFl0zq" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">安装即用。当然也可以进入设置里再个性化配置调整一下。</p><p data-pid="l9OQqhOq" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">8. a3 Lazy Load</span></p><p data-pid="ehWmyo5-" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">懒加载图片,只有在图片出现在当前页面视窗中时,才下载图片,可以减少服务器的压力,提高页面加载速度,避免不必要的资源下载。</p><p></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p></p><p data-pid="HNK2lFI0" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">9. Akismet</span></p><p data-pid="lgGDS6Ey" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">很出名的垃圾留言过滤插件。安装后需要先注册,然后获取激活码,输入激活码激活插件。</p><p data-pid="3ahzkDeZ" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">10. WP-Optimize</span></p><p data-pid="swK1Mrs3" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">数据库的清理和优化的插件。可以手动选择项目优化,也可以定时自动优化。</p><p></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p></p><p data-pid="A0U4LFEH" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">11. Google XML Sitemaps</span></p><p data-pid="tSBvTHVe" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">自动生成站点地图,便于搜索引擎爬取,提高网站索引量。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">自定义</h2><hr style="margin: 4em auto; width: 240px; max-width: 100%; border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top-style: solid; border-top-color: rgb(211, 211, 211); color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"/><p data-pid="hkYNecr9" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">12. Crayon Syntax Highlighter</span></p><p data-pid="e_KLkcFt" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">代码高亮插件。支持多种语言,集成在文章编辑器中,使用方便,几十种主题可供挑选,还可以自定义设置显示格式。程序员必备。</p><p data-pid="xa4ZhUF-" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">13. CSS Plus</span></p><p data-pid="cP3sO7OD" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">通过这款插件可以自己编写CSS样式并应用于文章。插件会在文章编辑区下方生成一个 CSS 输入框。</p><p data-pid="iNnE64ZP" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">14. 图片加水印</span></p><p></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p></p><p data-pid="Ru2wiujK" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">图片自动加水印插件。担心自己的图片被盗用,一张张手动加水印又麻烦。</p><p data-pid="VwxqfVrV" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">这个插件可以自动给上传的图片添加水印,需要提前设置好水印的 文本/图片、位置、格式等。</p><p data-pid="yjEcE5Xx" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">15. WP Statistics</span></p><p data-pid="mSvZdUF-" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">通过这个插件,可以了解到访问网站的用户信息,如访问量、来源、文章点击、用户系统、浏览器、位置分布等。</p><p></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p></p><p data-pid="ObGhvoYL" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">16. Yet Another Related Posts Plugin</span></p><p data-pid="kloykBgc" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">相关文章推荐,就是在博客文章的末尾,把类型相似的、读者可能感兴趣的文章列出来,让读者发现更多感兴趣的内容,增加博客的浏览量 。</p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">SEO</h2><hr style="margin: 4em auto; width: 240px; max-width: 100%; border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top-style: solid; border-top-color: rgb(211, 211, 211); color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"/><p data-pid="O6zcLmAO" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">17. Yoast SEO</span></p><p data-pid="FJFX7PZV" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">通过站内优化提高网站内容被搜索访问到的几率。</p><p data-pid="moyuoJX1" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">会在 文章编辑页面 出现提示框,引导我们优化文章结构和内容,在提示框里可以设置文章关键词和描述。</p><p data-pid="_ejqDHWW" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">ps. 最近版本对中文支持可能有点小问题,比如文章字数识别,但不影响使用。一般设置好文章关键词即可。</p><p></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p></p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">备份与还原</h2><hr style="margin: 4em auto; width: 240px; max-width: 100%; border-right: none; border-bottom: none; border-left: none; border-image: initial; border-top-style: solid; border-top-color: rgb(211, 211, 211); color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"/><p data-pid="mXu2R9dp" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">18. UpdraftPlus – Backup/Restore</span></p><p data-pid="0VTA2js9" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">可以通过 OneDrive,FTP,Email 等 15 种方式进行备份。通过 “还原” 选项一键还原全站或指定项目还原。</p><p data-pid="qqWNeviI" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">备份位置最好选择网盘,OneDrive 等,不要使用 Email,因为当备份文件稍大时会出现发送失败。</p><p data-pid="wFNENgtn" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">设置备份频率和备份项目(数据库、主题、上传等),频率建议根据我们的更文频率来定,如果每日一更,那数据库就最好每日备份。</p><p></p><figure data-size="normal" style="margin: 1.4em 0px; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"></figure><p></p><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">取舍</h2><p data-pid="6EVbpOFT" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">虽然插件可以在一定程度上优化我们的网站,但是插件多了也势必会对网站的性能造成一定的影响。网站在打开时加载的插件太多,也会拖累网站的速度。</p><p data-pid="XzHvBDaM" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">因此,在安装插件时,一定要分清优先级:哪些插件是必须安装的,哪些又是可有可无的。</p><p data-pid="XSFPyQ9s" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);"><span style="font-weight: 600; font-synthesis: style;">对上面提到的插件的使用建议是:</span></p><ul style="padding: 0px; margin-top: 1.4em; margin-bottom: 1.4em; display: table; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>建议安装:1、5、7、17、18;</p></li><li><p>2、3、4:选择 Rename wp-login 配合 Wordfence Security 应该是够的;</p></li><li><p>6、8:针对图片的优化,文章配图较多的建议安装,少的话可以直接在本地压缩好再上传,就省去装这两个插件了;</p></li><li><p>9:垃圾评论自动过滤插件,如果后台设置了 “评论必须经人工批准” 可不装;</p></li><li><p>10:该插件没必要常开,平时关闭,过半个月启用清理一次;</p></li><li><p>11:Yoast SEO 也带了站点地图功能,如果启用这个,就把 Yoast 的站点地图关掉;</p></li><li><p>个性化中的按个人需要了。</p></li></ul><h2 style="margin: calc(2.33333em) 0px calc(1.16667em); font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; font-size: 1.2em; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; clear: left; font-synthesis: style; color: rgb(18, 18, 18); white-space: normal; background-color: rgb(255, 255, 255);">结语</h2><p data-pid="6_49M7eu" style="margin-top: 1.4em; margin-bottom: 1.4em; color: rgb(18, 18, 18); font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; font-size: medium; white-space: normal; background-color: rgb(255, 255, 255);">以上插件都是我用过后筛选出来的,都比较出名并且效果也不错。已经包括了安全、优化、个性化和备份还原各方面,可能不完美,但应该足够使用了。当然也要切忌盲目堆积各种插件,不要看到推荐就往自己的网站上装。</p><p><br/></p><link rel="stylesheet" href="//www.zhidianyun.cn/source/plugin/wcn_editor/public/wcn_editor_fit.css?v134_TZ8" id="wcn_editor_css"/>
页: [1]
查看完整版本: WordPress 必备插件推荐