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.

75 Snippets
1.3k Favourites
144k Downloads

Add the Page Slug to Body Class

Add the page slug to the body class for better styling.

1.4k

Add an Edit Post Link to Archives

Make it easier to edit posts when viewing archives. Or on single pages. If you...

1.3k

Completely Disable Comments

Disable comments for all post types, in the admin and the frontend.

1.3k

Disable Login by Email

Force your users to login only using their username.

1.2k

Change Excerpt Length

Update the length of the Excerpts on your website using this snippet.

1.1k

Disable Comment Form Website URL

Remove the Website URL field from the Comments form.

1.0k

Disable Self Pingbacks

Prevent WordPress from automatically creating pingbacks from your own site.

900+

Change Read More Text for Excerpts

Customize the "Read More" text that shows up after excerpts.

800+

Remove Query Strings From Static Files

Use this snippet to remove query string from CSS & JS files and improve performance ratings.

800+

Disable wlwmanifest link

Prevent WordPress from adding the Windows Live Writer manifest link to your pages.

700+

Change Outgoing Email Sender

Change the outgoing sender name and email address. Don't forget to edit the snippet with...

700+

Disable Embeds

Remove an extra request and prevent others from adding embeds in your site.

600+
1 2 3 4 5 7