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.

155 Snippets
3.2k Favourites
386k Downloads

Open External Links in a New Tab

Automatically open all external links added in posts in a new tab.

1.1k

Disable Lazy Load

Prevent WordPress from adding the lazy-load attribute to all images and iframes.

1.1k

Remove "WordPress" from admin titles

Stop adding "WordPress" to the admin pages browser title.

1.1k

Disable New User Notifications

Prevent the admin user from getting new user notification emails.

1.1k

Redirect 404 to Homepage

Automatically redirect 404 pages to the homepage.

1.1k

Enable Shortcode Execution in WPCode HTML Snippets

Use this snippet to enable shortcode execution in WPCode HTML snippets.

1.0k

Disable the WordPress Shortlink

Remove link rel shortlink from your site head area.

1.0k

Add SEO-friendly Breadcrumbs

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

900+

Last Login Column

Add a column to the users table with the last time they logged in.

900+

Remove WP Block Library CSS

Stop WordPress from loading the block editor CSS - especially useful if you don't use Gutenberg.

900+

Delay Posts in RSS Feeds

Add a delay before published posts show up in the RSS feeds.

900+

Display Reading Time

Add the estimated reading time before the post content.

900+
1 3 4 5 6 7 13