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…

400+

Disable Categories and Tags

Disable the default taxonomies for Posts (Categories, Tags).

400+

Disable Block Directory

Prevent block directory results from being shown when searching for blocks in the editor.

400+

Hide the Submit Button on Calculator Forms

To use any of the Calculator forms but want to hide the submit button. Use this…

400+

Show Active Plugins First

List active plugins first in the wp-admin list of plugins.

400+

Reorder Admin Menu Items

Control the order of the admin menu items with a simple snippet.

400+

Disable Auto-Scaling Oversized Images

Prevent WordPress from scaling large images added in v5.3.

400+

AIOSEO - Increase SEO Analyzer TimeOut

This snippet will increase the Timeout limit set for the SEO Analysis feature on a site.

400+

Disable WordPress 6.5 Font Library

Deactivate the font library feature added in WordPress 6.5.

400+

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…

400+

Restore the Customize Submenu

Add back the Customize menu under Appearance if your theme removes it.

400+

Post Meta Debugger

Add a metabox that lists all the custom fields/meta values for a post/page for easy debugging.

400+

Increasing Image Size in Notification Emails

With this PHP snippet, you can easily adjust the size of these images in larger sizes.

400+

Author Bio After Post

Display the author bio (if any) after the post content.

400+

Disable the Email Address Suggestion

Disables email address suggestion in the Email field.

400+
1 7 8 9 10 11 215