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.

149 Snippets
2.8k Favourites
308k Downloads

Disable Login Autofocus

Prevent autofocus on the username field on the login page.

400+

Set a Minimum Word Count for Posts

Force your authors to write posts that have a minimum length.

400+

Simple Table Of Contents

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

400+

Disable jQuery Migrate

Prevent loading the jQuery Migrate script in the frontend.

400+

Disable Comment URL Linking

Prevent automatically formatting URLs in comments as links.

400+

Disable Fullscreen Editor

Automatically disable the Gutenberg Fullscreen editor for all users.

400+

"New" Badge for Recent Posts

Display a badge to highlight posts that are newer than 7 days.

400+

Set oEmbed Max Width

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

300+

Disable Full Site Editing (FSE)

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

300+

Add Auto Sizes to Lazy Loaded images

Use the "auto" size added in browsers for lazy loaded images.

300+

Extend Login Expiration Time

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

300+

Disable Thumbnail Image Sizes

Prevent WordPress from generating specific thumbnail sizes.

300+
1 5 6 7 8 9 13