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.

156 Snippets
3.3k Favourites
415k Downloads

Set oEmbed Max Width

Set a max width for the embeds using oEmbed in the content.

400+

Disable Legacy CSS

Stop loading styles for recent comments and classic gallery shortcode.

400+

Auto-logout inactive users

Automatically logout users after 10 minutes.

400+

Hide "Remember Me"

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

400+

Allow Only Logged-In Users

Make your site private just for logged-in users.

400+

Disable Posts in Admin

Hide the Posts menu from the admin if you don't need the default Posts post type.

400+

Floating Social Media Icons

Display your Social Media accounts in a floating sidebar.

400+

Disable Block Directory

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

400+

Reorder Admin Menu Items

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

400+

Disable Categories and Tags

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

400+

Post Meta Debugger

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

300+

Disable WordPress 6.5 Font Library

Deactivate the font library feature added in WordPress 6.5.

300+
1 7 8 9 10 11 13