Title: Dessky Snippets
Author: dessky
Published: <strong>22.03.2017</strong>
Last modified: 22.07.2026

---

Поиск плагинов

![](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

 Автор: [dessky](https://profiles.wordpress.org/dessky/)

[Скачать](https://downloads.wordpress.org/plugin/dessky-snippets.zip)

 * [Детали](https://ru.wordpress.org/plugins/dessky-snippets/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/dessky-snippets/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/dessky-snippets/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/dessky-snippets/#developers)

 [Поддержка](https://wordpress.org/support/plugin/dessky-snippets/)

## Описание

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/).

## Установка

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.

## Часто задаваемые вопросы

### 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`«.

## Отзывы

![](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/) 04.10.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.

 [ Посмотреть 1 отзыв ](https://wordpress.org/support/plugin/dessky-snippets/reviews/)

## Участники и разработчики

«Dessky Snippets» — проект с открытым исходным кодом. В развитие плагина внесли 
свой вклад следующие участники:

Участники

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

[Перевести «Dessky Snippets» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/dessky-snippets)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/dessky-snippets/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/dessky-snippets/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/dessky-snippets/) 
по [RSS](https://plugins.trac.wordpress.org/log/dessky-snippets/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.1

 * Various improvements.

#### 1.0

 * Initial release.

## Мета

 *  Версия **1.1**
 *  Обновление: **3 месяца назад**
 *  Активных установок: **400+**
 *  Версия WordPress ** 3.9 или выше **
 *  Совместим вплоть до: **7.0.7**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/dessky-snippets/)
 * Метки:
 * [code-snippets](https://ru.wordpress.org/plugins/tags/code-snippets/)[code-snippets-plugin](https://ru.wordpress.org/plugins/tags/code-snippets-plugin/)
   [snippet](https://ru.wordpress.org/plugins/tags/snippet/)[snippets](https://ru.wordpress.org/plugins/tags/snippets/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/dessky-snippets/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  1 5-звездный отзыв     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/dessky-snippets/reviews/?filter=1)

[Ваш отзыв](https://wordpress.org/support/plugin/dessky-snippets/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/dessky-snippets/reviews/)

## Участники

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

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/dessky-snippets/)