Title: Dessky Snippets
Author: dessky
Published: <strong>March 22, 2017</strong>
Last modified: March 24, 2026

---

Search plugins

![](https://ps.w.org/dessky-snippets/assets/banner-772x250.png?rev=2974338)

![](https://ps.w.org/dessky-snippets/assets/icon-128x128.png?rev=2974338)

# Dessky Snippets

 By [dessky](https://profiles.wordpress.org/dessky/)

[Download](https://downloads.wordpress.org/plugin/dessky-snippets.zip)

 * [Details](https://mri.wordpress.org/plugins/dessky-snippets/#description)
 * [Reviews](https://mri.wordpress.org/plugins/dessky-snippets/#reviews)
 *  [Installation](https://mri.wordpress.org/plugins/dessky-snippets/#installation)
 * [Development](https://mri.wordpress.org/plugins/dessky-snippets/#developers)

 [Support](https://wordpress.org/support/plugin/dessky-snippets/)

## Description

This is a lightweight and simple plugin that gives you the ability to easily add
your custom PHP code from WordPress admin.

No need for editing functions.php file any more, you can easily add new PHP code
with this plugin.

It’s really useful in case of any theme update, because your custom PHP code will
never be overwritten even if you upgrade or switch your theme.

This plugin was developed by [Dessky Team](https://dessky.com/).

Dessky Team does not provide support for the Dessky Snippets on the WordPress.org
forums. In order to get support or make a suggestion from a Dessky Team you will
have to Join Our Open Community and [Start a Discussion](https://discuss.dessky.org/t/dessky-snippets).

[DISCUSS WITH THE DESSKY TEAM](https://discuss.dessky.org/t/dessky-snippets)

[JOIN OUR OPEN COMMUNITY](https://discuss.dessky.org/t/dessky-snippets): The purpose
of this open community is to have a collective place where the community can help
each other, and we can get some feedback to improve Dessky Snippets as well. Joining
the community is also a great way to connect with like-minded people and share your
experience.

You can also [GET THE PREMIUM SUPPORT](https://dessky.me/)

[User Documentation](https://dessky.org/): Although Dessky Snippets is already easy
to set up, we’ve put together tutorials, guides, and some knowledge bases to help
you set up and get started with it.

I have further questions, how do I contact you?

Please fill up the [contact form](https://dessky.com/contact/) and we would be more
than happy to assist.

#### Features

 * Validate the entered code for fatal errors (basic validation)
 * Checkbox for disabling the custom functions
 * Syntax highlighting (by CodeMirror)
 * Line numbers

#### Credits

[CodeMirror](https://codemirror.net/) is an open-source project shared under the
[MIT license](https://codemirror.net/LICENSE).

Dessky Snippets is based on the ‘My Custom Functions’ plugin developed by [Arthur Gareginyan](https://profiles.wordpress.org/arthur-gareginyan/).

Scissors graphic is made by [Appzgear](http://www.flaticon.com/authors/appzgear)
and it is licensed under [Creative Commons BY 3.0](http://creativecommons.org/licenses/by/3.0/).

Code graphic is made by [Freepik](http://www.freepik.com) and it is licensed under
[Creative Commons BY 3.0](http://creativecommons.org/licenses/by/3.0/).

## Installation

Install “Dessky Snippets” just as you would any other WordPress Plugin.

After installation, a “`Dessky Snippets`” menu item will appear under the “`Appearance`”
section. It will lead you to a page where you can add your custom PHP code.

## FAQ

### Q. Will this plugin work on my WordPress.COM website?

A. Sorry, this plugin is available for use only on self-hosted (WordPress.org) websites.

### Q. Does this plugin require theme modifications?

A. Absolutely not. This plugin is added/configured entirely from the WordPress Admin
section.

### Q. How does it work?

A. Just place your PHP code into the textfield and click “Save Changes”. Example
of PHP code:
 function MyAwesomeFunction() {

    ```
        // Content of my awesome function

    }
    ```

### Q. On the plugin settings page, an error message appears. What could be wrong?

A. Here are a few of the most likely causes of the error message:

 1. You make a syntax error in the code that you have entered. Check the syntax of 
    your code and try again.
 2. You have entered function with a name that is already occupied by another function.
    Use a unique name for your function.
 3. You are trying to overwrite an existing function (of WordPress, theme, or plugin).
    Instead, use filters and hooks.

### Q. What to do if this plugin caused the white screen?

A. It may be that a custom code that you’ve entered caused the error and white screen
of death. If this happened then do the following.

Go to plugin folder (in `wp-content/plugins/dessky-snippets/`). Rename the “`START`”
file to “`STOP`“. Then you may go to plugin settings page and edit your entered 
custom code. After editing, just rename the “`STOP`” file that you renamed before
back to “`START`“.

## Reviews

![](https://secure.gravatar.com/avatar/4d8312726ac1f4fb6d496984000c23db233bf2abf62a20cda2011a406ac2b90a?
s=60&d=retro&r=g)

### 󠀁[Really smart and handy plugin](https://wordpress.org/support/topic/really-smart-and-handy-plugin-2/)󠁿

 [marcusspencer](https://profiles.wordpress.org/marcusspencer/) October 4, 2017

This is one handy plugin for adding php code to your site. It’s very easy to use
and it comes with clean design.

 [ Read all 1 review ](https://wordpress.org/support/plugin/dessky-snippets/reviews/)

## Contributors & Developers

“Dessky Snippets” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ dessky ](https://profiles.wordpress.org/dessky/)

[Translate “Dessky Snippets” into your language.](https://translate.wordpress.org/projects/wp-plugins/dessky-snippets)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/dessky-snippets/), 
check out the [SVN repository](https://plugins.svn.wordpress.org/dessky-snippets/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/dessky-snippets/)
by [RSS](https://plugins.trac.wordpress.org/log/dessky-snippets/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Various improvements.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.1**
 *  Last updated **1 month ago**
 *  Active installations **300+**
 *  WordPress version ** 3.9 or higher **
 *  Tested up to **6.9.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/dessky-snippets/)
 * Tags
 * [code-snippets](https://mri.wordpress.org/plugins/tags/code-snippets/)[code-snippets-plugin](https://mri.wordpress.org/plugins/tags/code-snippets-plugin/)
   [snippet](https://mri.wordpress.org/plugins/tags/snippet/)[snippets](https://mri.wordpress.org/plugins/tags/snippets/)
 *  [Advanced View](https://mri.wordpress.org/plugins/dessky-snippets/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dessky-snippets/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/dessky-snippets/reviews/)

## Contributors

 *   [ dessky ](https://profiles.wordpress.org/dessky/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/dessky-snippets/)