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.

154 Snippets
3.1k Favourites
353k Downloads

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

Order WPCode snippets by title in the admin

Make the default order of WPCode snippets in the admin by title ascending.

<10

Logout URL

This snippet creates a simple logout URL link that you can use as a shortcode.

<10

Add WPCode Permalink Smart Tag

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

<10

Change TikTok purchase Event

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

<10

Add duplicate link to admin bar menu

Extend the WPCode duplicate snippet (https://library.wpcode.com/snippet/7oqnzxow/) with an admin bar menu item. The duplicate snippet needs…

<10

Add data-no-optimize to all JS snippets

This snippet filters the output of all the WPCode JavaScript snippets to add the data-no-optimize parameter…

<10

WPCode Admin Number of Snippets

Change the number of snippets displayed in the admin list using a filter.

<10

Change TikTok purchase Event

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

<10
1 11 12 13