
內容簡介
TweakMaster 是一款輕量級的 WordPress 外掛,旨在透過一系列精心挑選的調整來提升網站性能、增強隱私和安全性,並提供其他有用的優化功能,讓使用者能夠簡單有效地微調其 WordPress 體驗。
【主要功能】
• 移除版本查詢字串
• 禁用自動垃圾清空
• 自訂管理列問候語
• 禁用 REST API
• 設定垃圾保留天數
• 移除短連結標籤
外掛標籤
開發者團隊
原文外掛簡介
WP Tweak is a lightweight and minimalistic WordPress plugin designed to enhance your website with a curated set of tweaks. It focuses on improving performance, bolstering privacy, strengthening security, and adding other useful optimizations—all without unnecessary bloat. Perfect for users who want a simple yet effective solution to fine-tune their WordPress experience.
This plugins handles tweaks in a minimalistic way. Only files that contains tweaks that you activate are loaded!
Tweaks
Remove version query strings
Removes ?ver=1.2.3 from all styles and scripts.
Disable feeds
Disable emojis
Search single result redirect
Disallow File Edits
Disables the ability to edit files in the file manager. Sets DISALLOW_FILE_EDIT constant to true. Does only work if the constant is already defined, usually in wp-config.php
Admin bar greeting
Replace “Howdy, {name}” with a custom message. Use {name} for the user’s display name. For example Hi, {name}!. Leave empty for no greeting. Use default for the default greeting, preventing the tweak from running.
Enable fonts to uploads
Move (Google) Fonts enabled in the Block Editor from wp-content/fonts to wp-content/uploads
Disable auto trash emptying
Set trash keep days
Set the number of days to keep posts in the trash. Default is 30 days.
Scroll progress bar
Scroll progress color
And valid css will work. You can use this color picker!.
Scroll progress bar background color
Scroll progress height
Disable self SSL verify
Disable Comments
Disable Email Login
Disable REST API
Disable Success Update Emails
Remove Admin Bar WordPress Logo
Requires a hard refresh of the page to take effect.
Remove Asset Attributes
Disable Non Production Emails
If WP_ENV (Trellis) or wp_get_environment_type is not production, emails sending is mocked.
Remove REST API links
Remove RSD link
Removes Really Simple Discovery link tag from head.
Remove shortlink
Removes shortlink link tag from head and shortlink HTTP header.
Remove wlwmanifest link
Removes Windows Live Writer manifest link tag from head.
Admin email check interval
Time in seconds to display email verification message on login. Set to 0 to disable. Default is 15552000 (6 months).
Admin footer text
a href links are allowed. Use “default” for default text.
Remove Welcome Panel
Removes the Welcome Panel from the dashboard.
Remove At a Glance widget
Removes the At a Glance dashboard widget.
Remove Activity widget
Removes the Activity dashboard widget.
Remove Quick Draft widget
Removes the Quick Draft dashboard widget.
Remove WordPress Events and News widget
Removes the WordPress Events and News dashboard widget.
Remove Site Health Status widget
Removes the Site Health Status dashboard widget.
404 Redirect Home
Redirects 404 pages to the homepage.
Set user agent
WP really hates privacy and sends this WordPress/7.1; https://symbiosistheme.test to every site it makes calls to. You can empty the field, pretend to be Chrome Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 or something else. default will change nothing.
Remove EXIF
Remove EXIF data from uploaded images.
Convert jpeg to avif
Convert uploaded jpeg to avif
Clean upload filenames
Sanitize media filenames to remove non-latin special characters and accents
Avif compression
Default is 82
Jpeg compression
Default is 82
Webp compression
Default is 86
Revisions for Posts
Revisions for Pages
Revisions for Custom CSS
Revisions for Patterns
Revisions for Templates
Revisions for Template Parts
Revisions for Global Styles
Revisions for Navigation Menus
Limit ALL revisions
Limit revisions for all post types. This will override the limit for each post type from above!
Disable XML-RPC
Disable XML-RPC – allow Jetpack IPs
Allow XML-RPC only from Jetpack IPs
Remove WP version
Remove `{ tweaks }lt;meta name={ tweaks }quot;generator{ tweaks }quot; content={ tweaks }quot;WordPress 7.1{ tweaks }quot; /{ tweaks }gt;
from html head
Dequeue jQuery Migrate
Dequeue jQuery Migrate from the jQuery script dependencies on the frontend. This is used to help devs debug from old versions of jQuery. You really do not need this on a production site.
Script Optimizer
Optimize script loading by moving them into the headand addingdefer` attribute. This may break your site. Use at your own risk!
Enable relative URLs
Enable relative URLs on the frontend. This may break your site. Use at your own risk!
Disable Contact Form 7 CSS
Sets wpcf7_load_css filter to false
Disable Contact Form 7 Autop
Sets wpcf7_autop_or_not filter to false
Enable Jetpack offline mode
Enable maintenance mode
Enable duplicate post
Global Header Snippet
Inside { tweaks }lt;head{ tweaks }gt; via wp_head hook.
Global Body Snippet
Right after { tweaks }lt;body{ tweaks }gt; opens via wp_body_open hook.
Global Footer Snippet
Before { tweaks }lt;/body{ tweaks }gt; closes via wp_footer hook.
Content Prepend Snippet
Output prepended to the_content via the_content filter.
Content Append Snippet
Output appended to the_content via the_content filter.
Contribute to add quality tweaks to the plugin reviewed by me
Unlike WP Code’s snippet database that is filled with low code quality tweaks where some do not even work at all and spam this plugin only contains high quality tweaks. If something is missing please add it.
It is very easy to contribute to the plugin. Check out the Github Readme.
If you have questions on adding a more complex tweak please feel free to ask.
