Title: Header Footer Code Manager
Author: DraftPress Team
Published: <strong>26.08.2016</strong>
Last modified: 22.01.2026

---

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

![](https://ps.w.org/header-footer-code-manager/assets/banner-772x250.png?rev=2681303)

![](https://ps.w.org/header-footer-code-manager/assets/icon-256x256.png?rev=2681303)

# Header Footer Code Manager

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

[Скачать](https://downloads.wordpress.org/plugin/header-footer-code-manager.1.1.44.zip)

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

 [Поддержка](https://wordpress.org/support/plugin/header-footer-code-manager/)

## Описание

Header Footer Code Manager, разработанный 99 Robots — простой интерфейс для добавления
сниппетов в шапку (header), подвал (footer), или до/после содержимого вашей страницы.

#### ПРЕИМУЩЕСТВА

 * Never have to worry about inadvertently breaking your site by adding code
 * Avoid inadvertently placing snippets in the wrong place
 * Eliminate the need for a dozen or more silly plugins just to add a small code
   snippet — Less plugins is always better!
 * Never lose your code snippets when switching or changing themes
 * Know exactly which snippets are loading on your site, where they display, and
   who added them

#### ВОЗМОЖНОСТИ

 * Add an unlimited number of scripts and styles anywhere and on any post / page
 * Manage which posts or pages the script loads
 * Поддерживает пользовательские типы записей
 * Supports ability to load only on a specific post or page, or latest posts
 * Control where exactly on the page the script is loaded — head, footer, before
   content, or after content
 * Script can load only on desktops or mobile. Enable or disable one or the other.
 * Использование шорткодов для ручной вставки кода куда угодно
 * Label every snippet for easy reference
 * Plugin logs which user added and last edited the snippet, and when

#### НАСТРОЙКИ СТРАНИЦЫ ПОКАЗА

 1. Весь сайт на каждой странице/записи
 2. Конкретная запись
 3. Конкретная страница
 4. Конкретная категория
 5. Конкретный тэг
 6. Конкретный пользовательский тип записей
 7. Только последние записи (вы выбираете для скольких)
 8. Ручное размещение через шорткоды

#### МЕСТА ВНЕДРЕНИЯ

 1. Секция head
 2. Подвал (footer)
 3. Над содержимым
 4. Под содержимым

#### НАСТРОЙКИ УСТРОЙСТВА

 * Показывать на всех устройствах
 * Только для ПК
 * Только мобильные устройства

#### ПОДДЕРЖИВАЕМЫЕ СЕРВИСЫ

 * Google Аналитика
 * Google Adsense
 * Google Tag Manager
 * Clicky Web Analytics or other analytics tracking scripts
 * Chat modules such as Olark, Drip, or
 * Верификация сайта для Pinterest
 * Facebook Pixels, Facebook Scripts, Facebook og:image Tag
 * Google Conversion Pixels
 * Twitter
 * Heatmaps from Crazy Egg, notification bars Hello Bar, etc.
 * Он может принимать ЛЮБОЙ сниппет (HTML / Javascript / CSS) из любого сервиса
 * и тэ дэ, и тэ пэ…

### Заметки по Multisite

If using this plugin on a multisite network, please make sure that the plugin is
activated on a subsite level only.

> 
> #### Plugin Information
> 
>  * [Plugin Site](https://draftpress.com/products/header-footer-code-manager/)
>  * [Plugin Documentation](https://www.draftpress.com/docs/header-footer-code-manager)
>  * [Free Plugins on WordPress.org](https://profiles.wordpress.org/99robots#content-plugins)
>  * [Premium Plugins](https://www.draftpress.com/products)

## Скриншоты

 * [[
 * Настройки HFCM
 * [[
 * Dashboard — All Snippets
 * [[
 * Add New Snippet — Read the documentation at: http://www.draftpress.com/docs/header-
   footer-code-manager
 * [[
 * Choose where you want your snippet to be displayed
 * [[
 * HFCM PRO против FREE

## Установка

 1. Upload `header-footer-code-manager` to the `/wp-content/plugins/` directory
 2. Активируйте плагин через меню ‘Плагины’ WordPress
 3. Go to plugins page to see instructions for shortcode and php template tags

ЗАМЕТКА: Если вы используете плагин в сети сайтов (мультисайт), убедитесь, что он
активирован только на уровне подсайта.

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

### В. Почему мои скрипты появляются на сайте в виде текста?

О. Пожалуйста, убедитесь, что ваш скрипт расположен внутри тегов script — <> тут
ваш код <>.

### В: Где размещаются Настройки плагина?

A. After activating the plugin, you can click on settings link under the plugin 
name OR you can click the HFCM tab on the left side navigation. From there, you 
can add, edit, remove, and review code snippets.

### В: Как добавить код сниппета ко всем моим страницам/записям?

A. With the version 1.1.4 of the HFCM plugin, we have replaced the Specific Custom
Post Types with the ability to add code to All Post Types which include posts, pages,
attachments and custom post types.

### В: У меня свой вопрос

О: Т.к. этот плагин бесплатный, пожалуйста, задавайте все вопросы на форуме поддержки
на WordPress.org. Мы постараемся ответить на каждый вопрос в течение 48 часов.

### Q. How can I request a feature or encourage future development?

A. Free plugins rely on user feedback. Therefore, the best thing you can do for 
us is to leave a review to encourage others to try the plugin. The more users, the
more likely newer features will be added. That’s a very small thing to ask for in
exchange for a FREE plugin.

### В: Вы поддерживаете отслеживающие скрипты X или Y?

A. If your script is not supported, just let us know and we’ll look into it immediately.
We will do our best to ensure all reputable services are supported. When requesting
support for a particular script, it would be nice to get a sample of the script 
so that we can see its structure.

### Q. What are the differences between HFCM Pro vs. Free?

A. The PRO version contains many more powerful features not available in the FREE
version in addition to forthcoming features. See the [PRO vs FREE differences](https://draftpress.com/wp-content/uploads/2024/06/hfcm-pro-vs-free-differences.png).

## Отзывы

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

### 󠀁[Most useful](https://wordpress.org/support/topic/most-useful-13/)󠁿

 [](https://profiles.wordpress.org/chillstarr/) 14.05.2026 1 ответ

This has been great- have been using it for some SEO tweakage.

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

### 󠀁[Must have plugin](https://wordpress.org/support/topic/must-have-plaugin/)󠁿

 [callawayx12](https://profiles.wordpress.org/callawayx12/) 12.04.2026 1 ответ

This is a must have plugin. It’s easy to use and understand and makes life so much
easier

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

### 󠀁[Love It!](https://wordpress.org/support/topic/love-it-4354/)󠁿

 [bostonstrippers](https://profiles.wordpress.org/bostonstrippers/) 12.03.2026 1
ответ

It’s a great plugin, I have it on all my wp sites.

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

### 󠀁[Extremely useful and convenient!](https://wordpress.org/support/topic/extremely-useful-and-convenient/)󠁿

 [butoru5](https://profiles.wordpress.org/butoru5/) 13.02.2026 1 ответ

I am very happy with this plugin. It is easy to use and gives a chance to organize
all your custom styles and scripts in the most efficient way. In the past I had 
one long stylesheet with my custom styles loaded globally to each of my website 
pages, It was very ineffective because most of those styles were intended for one
or two pages only. Once I installed HFCM plugin I succeeded to organize all my styles
individually for those pages where I really need them. The same for javascript pieces.
It is very easy to start using HFCM. Its user interface is very intuitive so you
don’t need to read manuals or whatch training videos — just install and use. Thanks
to authors!

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

### 󠀁[Very simple and useful](https://wordpress.org/support/topic/very-simple-and-useful-38/)󠁿

 [MickFrench](https://profiles.wordpress.org/mickfrench/) 29.12.2025 1 ответ

Thank you to keep it free !

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

### 󠀁[Отличный плагин](https://wordpress.org/support/topic/%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%bd%d1%8b%d0%b9-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-992/)󠁿

 [vini125377458](https://profiles.wordpress.org/vini125377458/) 11.12.2025 1 ответ

Удобный простой , все работает !! Спасибо разработчику !

 [ Посмотреть все 306 отзывов ](https://wordpress.org/support/plugin/header-footer-code-manager/reviews/)

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

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

Участники

 *   [ DraftPress Team ](https://profiles.wordpress.org/draftpress/)
 *   [ 99robots ](https://profiles.wordpress.org/99robots/)
 *   [ charliepatel ](https://profiles.wordpress.org/charliepatel/)

«Header Footer Code Manager» переведён на 11 языков. Благодарим [переводчиков](https://translate.wordpress.org/projects/wp-plugins/header-footer-code-manager/contributors)
за их работу.

[Перевести «Header Footer Code Manager» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/header-footer-code-manager)

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

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

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

#### 1.1.44

2026-01-22
 * ADDED: Compatibility with WordPress 6.9

#### 1.1.43

2025-10-03
 * ADDED: Compatibility with WordPress 6.8.3

#### 1.1.42

2025-08-27
 * FIXED: Import functionality not working

#### 1.1.41

2025-08-05
 * ADDED: Compatibility with WordPress 6.8.2 * IMPROVED: Specific Post
Types now includes options to display snippet on only posts, or archives, or both*
FIXED: Snippets not showing on archives of specific post types

#### 1.1.40

2025-05-06
 * ADDED: Compatibility with WordPress 6.8.1

#### 1.1.39

2024-09-27
 * ADDED: Compatibility with WordPress 6.6.2 * FIXED: NULL parent slug
value in the submenu

#### 1.1.38

2024-06-06
 * ADDED: Compatibility with WordPress 6.5.4

#### 1.1.37

2024-01-31
 * ADDED: Compatibility with WordPress 6.4.3

#### 1.1.36

2023-09-04
 * ADDED: Compatibility with WordPress 6.3.1

#### 1.1.35

2023-07-04
 * ADDED: WordPress nonce checks while performing bulk actions on the
snippets

#### 1.1.34

2023-06-27
 * FIXED: Check if Woocommerce installed before using its functions

#### 1.1.33

2023-06-26
 * FIXED: Snippets not showing up on Woocommerce product categories and
tags * UPDATED: Compatibility with WordPress 6.2.2 * UPDATED: Compatibility with
PHP 8.2

#### 1.1.32

2022-12-16
 * ADDED: Warning message to caution about file editing * FIXED: Snippet
including in case of rest api in some cases

#### 1.1.31

2022-12-09
 * ADDED: Warning message to caution users of using improper code or 
untrusted sources code that can break site or create security risks. * UPDATED: 
Compatibility with WordPress 6.1.1

#### 1.1.30

2022-11-09
 * FIXED: Proper checks for user access and capabilities * UPDATED: Compatibility
with WordPress 6.1

#### 1.1.29

2022-09-21
 * FIXED: Description not showing on the RSS feed page

#### 1.1.28

2022-09-18
 * FIXED: Check for not rendering the snippets on the RSS feed page *
UPDATED: Compatibility with WordPress 6.0.2

#### 1.1.27

2022-07-15
 * FIXED: Internationalization support for PO Translation files. Plugin
now supports translation to additional languages in addition to the base language,
English. * ADDED: 1 Translation for Hindi. * UPDATED: Compatibility with WordPress
6.0.1

#### 1.1.26

2022-07-01
 * FIXED: Code snippet sanitization, removed due to incompatibility with
functionality

#### 1.1.25

2022-06-29
 * UPDATED: Code improvements as per WordPress standards

#### 1.1.24

2022-06-25
 * FIXED: XSS Security Vulnerability fix

#### 1.1.23

2022-06-10
 * UPDATED: Compatibility with WordPress 6.0

#### 1.1.22

2022-05-10
 * FIXED: PHP warnings when adding/editing snippets * UPDATED: Add confirmation
before deleting snippets * UPDATED: Copy shortcode button

#### 1.1.21

2022-04-21
 * ADDED: Copy shortcode to clipboard buttons on edit snippet page and
on snippet list page * UPDATED: Compatibility with WordPress 5.9.3 * UPDATED: Included
Custom Taxonomies for snippets * UPDATED: Snippet code editor size * ADDED: Increased
Number of Allowed Posts/Page Exclusions to 200K+ posts.

#### 1.1.20

2022-03-26
 * FIXED: MultiSite issue with subsites in network

#### 1.1.19

2022-03-24
 * FIXED: MultiSite slow query issue * UPDATED: Compatibility with WordPress
5.9.2

#### 1.1.18

2022-03-05
 * ADDED: Ability to apply snippets to search, home, archive page only*
ADDED: Snippet search functionality * ADDED: Snippet type filter * ADDED: Snippet
sort by location * ADDED: Delete snippet button on edit snippet page

#### 1.1.17

2022-02-17
 * FIXED: XSS vulnerability with request parameter page in the HFCM snippet
listing screen * UPDATED: Compatibility with WordPress 5.9 * UPDATED: Text & Plugin
assets * UPDATED: Snippet column length

#### 1.1.16

2021-12-13
 * FIXED: Author not showing on Add/Edit snippet screen * ADDED: PRO 
banner * UPDATED: Text & Plugin icon

#### 1.1.15

2021-10-26
 * UPDATED: Code improvements as per WordPress standards * Proper escaping*
Proper variable naming * Added recommended spacing by WordPress

#### 1.1.14

2021-10-08
 * FIXED: SQL Vulnerability with listing orderby * FIXED: DbDelta query*
UPDATED: Compatibility with WordPress 5.8.1

#### 1.1.13

2021-09-06
 * FIXED: bool function return type * UPDATED: Minimum required PHP version*
UPDATED: Lowest WordPress version that the plugin will work on

#### 1.1.12

2021-09-04
 * FIXED: Import upload file type error * FIXED: Location options for
site display (specific categories) * UPDATED: File format for the import/export 
files * UPDATED: Compatibility with WordPress 5.8

#### 1.1.11

2021-08-10
 * FIXED: Warnings — Undefined Variables * FIXED: Selectize issue of 
not able to select first option from the dropdown * ADDED: Snippet types * ADDED:
Code Editor in place of textarea * ADDED: Import/Export Snippets * UPDATED: Compatibility
with WordPress 5.8

#### 1.1.10

2021-04-23
 * FIXED: Warnings — Undefined Variables * UPDATED: Compatibility with
WordPress 5.7.1

#### 1.1.9

2021-02-18
 * UPDATED: Compatibility with WordPress 5.6.1

#### 1.1.8

2020-09-01
 * FIXED: Specific Taxonomy Snippets showing on archives with at least
one instance. * UPDATED: Compatibility with WordPress 5.5.0

#### 1.1.7

2020-04-20
 * UPDATED: Compatibility with WordPress 5.4.0 * FIXED: Warnings and 
Exclude Pages/Posts showing up on Shortcode Only screen

#### 1.1.6

2019-09-22
 * FIXED: Specific Pages targeting Blog index page, even when it is not
selected.

#### 1.1.5

2019-08-29
 * FIXED: Unable to target Blog index page

#### 1.1.4

2019-08-15
 * UPDATED: All snippets list now shows 20 snippets in the first page
instead of 10 * ADDED: Replaced Specific Custom Post Types under Site Display to
include the functionality to add code snippets to all post types, including posts,
pages, custom post types & attachments * UPDATED: Compatibility with WordPress 5.2.2

#### 1.1.3

2019-05-03
 * UPDATED: Compatibility with WordPress 5.1.1

#### 1.1.2

2019-01-07
 * FIXED: Blank page on dismissing notice when on a few admin pages *
UPDATED: Admin notice will now only show on the HFCM plugin admin pages

#### 1.1.1

2018-12-31
 * FIXED: Warning — Unexpected Output — headers already sent

#### 1.1.0

2018-12-31
 * UPDATED: Code Optimization * UPDATED: Added plugin settings link, 
and update documentation. * Compatible with WordPress 5.0.2

#### 1.0.9

2018-10-09
 * UPDATED: Code Optimization

#### 1.0.8

2018-10-04
 * FIXED: Updated obsolete code causing errors.

#### 1.0.7

2018-10-01
 * ADDED: Functionality to Exclude Posts and Pages from the Site Wide
option.

#### 1.0.6

2018-07-10
 * FIXED: Latest Posts dropdown selection always resets to 1 on save /
update.

#### 1.0.5

2018-06-14
 * UPDATED: «All Snippets» page to show 10 snippets before pagination
starts.

#### 1.0.4

2018-05-23
 * FIXED: style-admin.css not loading on «Add New Snippet» page. * FIXED:
Post List not loading when selecting «Specific Posts» in «Site Display» under Add
New Snippet.

#### 1.0.3

2017-06-09
 * Compatible with WordPress 4.8

#### 1.0.2

2016-9-22
 * FIXED: Updated code triggering a fatal error for sites with older PHP
versions.

#### 1.0.1

2016-9-20
 * FIXED: Updated code triggering a fatal error for sites with older PHP
versions; now compatible.

#### 1.0.0

2016-7-20
 * Initial release — HFCM is born! 🙂

## Мета

 *  Версия **1.1.44**
 *  Обновление: **4 месяца назад**
 *  Активных установок: **600 000+**
 *  Версия WordPress ** 4.9 или выше **
 *  Совместим вплоть до: **6.9.4**
 *  Версия PHP ** 5.6.20 или выше **
 *  Языки
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/header-footer-code-manager/),
   [Dutch](https://nl.wordpress.org/plugins/header-footer-code-manager/), [English (US)](https://wordpress.org/plugins/header-footer-code-manager/),
   [French (France)](https://fr.wordpress.org/plugins/header-footer-code-manager/),
   [German](https://de.wordpress.org/plugins/header-footer-code-manager/), [Russian](https://ru.wordpress.org/plugins/header-footer-code-manager/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/header-footer-code-manager/),
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/header-footer-code-manager/),
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/header-footer-code-manager/),
   [Spanish (Mexico)](https://es-mx.wordpress.org/plugins/header-footer-code-manager/),
   [Spanish (Spain)](https://es.wordpress.org/plugins/header-footer-code-manager/)
   и [Spanish (Venezuela)](https://ve.wordpress.org/plugins/header-footer-code-manager/).
 *  [Перевести на ваш язык](https://translate.wordpress.org/projects/wp-plugins/header-footer-code-manager)
 * Метки:
 * [code manager](https://ru.wordpress.org/plugins/tags/code-manager/)[footer](https://ru.wordpress.org/plugins/tags/footer/)
   [functions.php](https://ru.wordpress.org/plugins/tags/functions-php/)[header](https://ru.wordpress.org/plugins/tags/header/)
   [snippet](https://ru.wordpress.org/plugins/tags/snippet/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/header-footer-code-manager/advanced/)

## Оценки

 4.9 из 5 звёзд.

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

[Your review](https://wordpress.org/support/plugin/header-footer-code-manager/reviews/#new-post)

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

## Участники

 *   [ DraftPress Team ](https://profiles.wordpress.org/draftpress/)
 *   [ 99robots ](https://profiles.wordpress.org/99robots/)
 *   [ charliepatel ](https://profiles.wordpress.org/charliepatel/)

## Поддержка

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

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

## Пожертвование

Хотите поддержать улучшение этого плагина?

 [ Пожертвовать на развитие плагина ](https://draftpress.com)