
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.
Add the Page Slug to Body Class
Add the page slug to the body class for better styling.

Automatically Link Featured Images to Posts
Wrap featured images in your theme in links to posts.

Disable Comment Form Website URL
Remove the Website URL field from the Comments form.

Add an Edit Post Link to Archives
Make it easier to edit posts when viewing archives. Or on single pages. If you...

Disable Self Pingbacks
Prevent WordPress from automatically creating pingbacks from your own site.

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

Remove the WordPress Logo From the Admin Bar
Hide the WordPress logo in the admin bar for all users.

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

Remove Query Strings From Static Files
Use this snippet to remove query string from CSS & JS files and improve performance ratings.

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

Block WP-Admin Area from Non-Administrators
Prevent users who are not administrators from accessing the wp-admin area.
