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.

114 Snippets
2.1k Favourites
233k Downloads

Allow Contributors to Upload Images

Allow users with the Contributor role to upload files in the admin.

30+

Disable Thumbnail Image Sizes

Prevent WordPress from generating specific thumbnail sizes.

30+

Disable WordPress 6.5 Font Library

Deactivate the font library feature added in WordPress 6.5.

30+

Override Block Editor Palette Colors

Use this snippet to control the pre-defined colors in the Block Editor.

30+

Prevent Copy Paste

This JavaScript snippet prevents right-click and copy events on the frontend

10+

Add WPCode Custom Field Smart Tag

Add a custom smart tag for the WPCode scripts metabox that outputs the value of a…

<10

Add custom CSS in the Admin

Use this snippet to add custom styles in the WordPress admin head. Add your CSS code…

<10

Disable Posts Post Type

This snippet hides the default Posts post type from the WordPress admin

<10

Add WPCode Permalink Smart Tag

Add a custom smart tag for WPCode to output the value of the current page permalink.

<10

Move WPCode Status Column

This snippet makes the status column the 2nd column in the admin list of snippets.

<10

WPCode Add New Snippet Skip Library Screen

This snippet enables you to skip the snippet library screen when adding a new snippet in…

<10

Change TikTok purchase Event

When using the WPCode Conversion Pixels addon the event name used when a purchase is completed…

<10
1 7 8 9 10