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.

155 Snippets
3.2k Favourites
383k Downloads

Heartbeat Setting

Add a setting that allows you to configure the heartbeat interval.

100+

Disable Openverse

Disable the Openverse integration for the media inserter.

100+

Custom Logo Per Page

Add a way to choose a custom logo for each page.

90+

Disable Template Editor

Disable access to modify or create templates from the Post Editor.

60+

Disable Inspector Tabs

Revert having a separate tab for block styles.

60+

Inline Spoiler Shortcode

Easily hide spoilers in your text with a shortcode.

60+

Prevent Loading Translations

If your site is using en_US reduce the memory used for translation calls.

60+

Change Editor Default Image Size

Set the default image size to full instead of large in the block editor.

50+

Prevent Copy Paste

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

20+

Markdown URLs for LLMs

LLM-friendly WordPress content. Add .md to any post URL for AI-ready markdown format. Makes your content…

<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

Add WPCode Custom Field Smart Tag

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

<10
1 10 11 12 13