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.

114 Snippets
2.0k Favourites
228k Downloads

Extend Login Expiration Time

Toggling "Remember Me" will keep you logged-in for 30 days instead of 14 days.

200+

Simple Table Of Contents

Automatically add a table of contents from the headings in your posts.

100+

Disable Fullscreen Editor

Automatically disable the Gutenberg Fullscreen editor for all users.

100+

Add SEO-friendly Breadcrumbs

Automatically add SEO-friendly Breadcrumbs before posts or use as a shortcode for more control.

100+

Disable jQuery Migrate

Prevent loading the jQuery Migrate script in the frontend.

100+

Disable Full Site Editing (FSE)

Prevent any user from making changes to the site using the Full Site Editor.

100+

Limit Uploaded Image Size

Set a max width and height for your image uploads to save space.

100+

Disable Block Directory

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

100+

Disable Automatic Trash Emptying

Prevent WordPress from automatically deleting trashed posts after 30 days.

100+

Maintenance Mode

Display a simple maintenance mode message for non admin users.

100+

Remove Color Scheme Picker

Disable the option to change the admin color scheme in the profile page.

100+

Post Meta Debugger

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

100+
1 5 6 7 8 9 10