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.

112 Snippets
2.0k Favourites
225k Downloads

Add the Page Slug to Body Class

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

2.0k

Automatically Link Featured Images to Posts

Wrap featured images in your theme in links to posts.

1.9k

Add an Edit Post Link to Archives

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

1.9k

Disable Comment Form Website URL

Remove the Website URL field from the Comments form.

1.7k

Disable Login by Email

Force your users to login only using their username.

1.6k

Disable Self Pingbacks

Prevent WordPress from automatically creating pingbacks from your own site.

1.5k

Change Excerpt Length

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

1.5k

Remove Query Strings From Static Files

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

1.3k

Disable wlwmanifest link

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

1.2k

Change Outgoing Email Sender

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

1.2k

Change Read More Text for Excerpts

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

1.2k

Disable Embeds

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

1.0k
1 2 3 4 5 10