About

WPCode makes it easy and safe to add custom WordPress features through code snippets, 
so you can reduce the number of plugins on your site.

154 Snippets
3.1k Favourites
354k Downloads

Post Meta Debugger

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

300+

Disable Automatic Trash Emptying

Prevent WordPress from automatically deleting trashed posts after 30 days.

300+

Reorder Admin Menu Items

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

300+

Add basic Open Graph Tags

Add OG tags for social media in your posts and pages.

300+

Disable WordPress 6.5 Font Library

Deactivate the font library feature added in WordPress 6.5.

300+

Smooth Scrolling for Anchor Links

Enables smooth scrolling for all on-page links with #.

300+

Disable Legacy CSS

Stop loading styles for recent comments and classic gallery shortcode.

300+

Hide "Remember Me"

Hide the "Remember Me" checkbox on the login page.

300+

Disable the Excerpt in RSS Feeds

Hide the excerpt or content from your RSS feeds.

200+

Allow Only Logged-In Users

Make your site private just for logged-in users.

200+

Disable Pattern Directory

Prevent patterns from being shown in the Gutenberg editor block inserter.

200+

Restore the Customize Submenu

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

200+
1 7 8 9 10 11 13