Описание
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
НАСТРОЙКИ СТРАНИЦЫ ПОКАЗА
- Весь сайт на каждой странице/записи
- Конкретная запись
- Конкретная страница
- Конкретная категория
- Конкретный тэг
- Конкретный пользовательский тип записей
- Только последние записи (вы выбираете для скольких)
- Ручное размещение через шорткоды
МЕСТА ВНЕДРЕНИЯ
- Секция head
- Подвал (footer)
- Над содержимым
- Под содержимым
НАСТРОЙКИ УСТРОЙСТВА
- Показывать на всех устройствах
- Только для ПК
- Только мобильные устройства
ПОДДЕРЖИВАЕМЫЕ СЕРВИСЫ
- 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
- 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
Скриншоты
Установка
- Upload
header-footer-code-manager
to the/wp-content/plugins/
directory - Активируйте плагин через меню ‘Плагины’ WordPress
- 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.
Отзывы
Участники и разработчики
«Header Footer Code Manager» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники«Header Footer Code Manager» переведён на 8 языков. Благодарим переводчиков за их работу.
Перевести «Header Footer Code Manager» на ваш язык.
Заинтересованы в разработке?
Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.
Журнал изменений
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! 🙂