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.

124 Snippets
2.2k Favourites
248k Downloads

Add the Page Slug to Body Class

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

2.2k

Automatically Link Featured Images to Posts

Wrap featured images in your theme in links to posts.

2.1k

Add an Edit Post Link to Archives

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

2.1k

Disable Comment Form Website URL

Remove the Website URL field from the Comments form.

1.9k

Disable Login by Email

Force your users to login only using their username.

1.7k

Disable Self Pingbacks

Prevent WordPress from automatically creating pingbacks from your own site.

1.6k

Change Excerpt Length

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

1.6k

Remove Query Strings From Static Files

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

1.4k

Disable wlwmanifest link

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

1.3k

Change Outgoing Email Sender

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

1.3k

Change Read More Text for Excerpts

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

1.2k

Dynamic Year Copyright Shortcode

This snippet adds an easy-to-use shortcode to display the copyright symbol with the current year.

1.1k
1 2 3 4 5 11