Set current URL as the Canonical URL and ignore query strings
This snippet searches for a specific string in the current URL and if found, it set…
Disable Categories and Tags
Disable the default taxonomies for Posts (Categories, Tags).
Disable Block Directory
Prevent block directory results from being shown when searching for blocks in the editor.
Hide the Submit Button on Calculator Forms
To use any of the Calculator forms but want to hide the submit button. Use this…
Show Active Plugins First
List active plugins first in the wp-admin list of plugins.
Reorder Admin Menu Items
Control the order of the admin menu items with a simple snippet.
Disable Auto-Scaling Oversized Images
Prevent WordPress from scaling large images added in v5.3.
AIOSEO - Increase SEO Analyzer TimeOut
This snippet will increase the Timeout limit set for the SEO Analysis feature on a site.
Disable WordPress 6.5 Font Library
Deactivate the font library feature added in WordPress 6.5.
How to Add Custom Code Snippets in WordPress
For this guide, we’ll create a custom code that prevents theme conflicts that cause Radio and…
Restore the Customize Submenu
Add back the Customize menu under Appearance if your theme removes it.
Post Meta Debugger
Add a metabox that lists all the custom fields/meta values for a post/page for easy debugging.
Increasing Image Size in Notification Emails
With this PHP snippet, you can easily adjust the size of these images in larger sizes.
Author Bio After Post
Display the author bio (if any) after the post content.
Disable the Email Address Suggestion
Disables email address suggestion in the Email field.