Header, Body, And Footer

  • specifics
  • Observations
  • Advancement
  • a brief description

    The tag manager is a simple plugin that allows you to insert/inject code into your website’s header section, following the start body tag, and in the footer, following the ending body tag.

    This plugin allows you to integrate code and snippets for services like Google Tag Manager, Google Analytics, Facebook Pixel, Google Adsense, and more into your website.

    This plugin also allows you to add meta tags to your website header, as well as add phone/WhatsApp buttons and other custom HTML code using footer code injection.

    Injection Location And Features – Tag Manager

    • Between the top page head tags is a section called the head section.
    • Below the body start tag, there is a body section.
    • Footer section – above the close body tag at the bottom of the page
    • The ability to insert multiple codes for each site section.
    • The ability to exclude pages based on the role of the user (admin or logged in users).
    • The ability to exclude or include pages code based on their id.

    Platforms And Services That Are Supported

    • Google Tag Manager is a tool that allows you to manage your
    • Google Analytics is a tool that allows you to track
    • Google Adsense is a program that allows you to earn money by
    • Pixels on Facebook
    • Any other website that necessitates the injection of code.

    Actions that are supported by the plugin

    The steps below will enable you to load the code directly into external files that use WordPress functions. You can use these functions to add header, footer, and body codes to web elements that aren’t part of your WordPress site.

    • yydev_tag_manager_head() yydev_tag_manager_head() yydev_tag_
    • yydev_tag_manager_below_body() yydev_tag_manager_below_body() yydev_tag_
    • before_closing_body() yydev_tag_manager

    Author Information & Licensing

    YYDevelopment made this plugin available for free under the GPLv2 license.

    You are free to use this plugin, as well as all of our other free wordpress plugins, for your own projects, client projects, or whatever else you require. The plugin is completely free, and we intend to keep it that way for the foreseeable future.

    If you found this plugin useful, please share it online, and if you have the opportunity to give it a positive review, we would appreciate it.

    Please submit a ticket if you have any issues or questions about our tag manager – header, body, or footer plugin, and we will be happy to assist you.

    By the way, we are based in Israel, so if you are a fellow Israeli, we invite you to visit our Hebrew site, YYDevelopment Israel.

    Donate a cup of coffee to help us out.

    Don’t you hate it when you download a plugin only to discover that you need to upgrade to the pro version in order to use it?

    Even worse, when you use a plugin and the developer decides to add a pro version out of the blue, he either changes the way the plugin works or converts some of the free functions to paid functions.

    We despised it so much that a few years ago we began developing our own plugins and decided to share them all with the WordPress community for free.

    We now have over 15 plugins available, all of which you can download and use for free by clicking here.

    According to studies, coffee aids in the creation of WordPress plugins. Buy us a coffee if you enjoyed this plugin and want to support our cause.


    • The admin panel for the WordPress Tag Manager plugin
    • Exclude settings in the WordPress tag manager
    • The placement of the header code on the page
    • The code for the body snippet is placed in the page itself.
    • The code in the footer of the page above the end body


    This section explains how to install and activate the plugin.

    As an example,

    1. Install the plugin directly through the WordPress plugins screen, or upload the files to the /wp-content/plugins/tag-manager-header-body-footer directory.
    2. Activate the plugin in WordPress’s ‘Plugins’ screen.
    3. Add your code to the “Tag Manager” option in your admin panel.

    Frequently Asked Questions

    Is there anything I need to do to get this plugin to work?

    All you have to do is install and activate the tag manager plugin, and it will appear on your wordpress mene site.

    How do I include header code in my website?

    To add code to your website’s head tags, go to the tag manager plugin page and paste it under the “insert head tags code below” heading.

    How do I add code to the site below the body tag?

    Simply go to the tag manager plugin page and paste the code under the “Insert below body tags code below” title to add code below the body tag.

    How do I add code to the page’s bottom/footer above the end body tag?

    Insert the code for the footer tags below the body” title. Insert your code above the end body tag to add code to the end of the document.


    Exceptional Plugin

    Excellent add-on

    It works perfectly.

    I strongly advise you to

    Exceptional Plugin

    Thank you so much for everything.

    Developers & Contributors

    The software “Tag Manager – Header, Body, And Footer” is free and open source. This plugin was made possible by the contributions of the people listed below.

      Tag Manager – Header, Body, And Footer” should be translated into your language.

      Do you want to learn more about development?

      Check out the code, the SVN repository, or the RSS feed for the development log.

      a list of changes

      Version 1.0.0

      • Launch of Tag Manager’s Header, Body, and Footer plugins

      1.1.5 –

      • php alerts need to be fixed

      • Error “Cannot modify header information” and how to fix it


      • Fixing PHP Errors


      • Changes to the name of the plugin


      • Nonce has been added to the plugin.
      • A global rating message block has been added.

      1.3.2; 1.3.0; 1.3.0; 1.3.0; 1.3.

      • Language support has been improved.

      Version 1.4.0

      • Content has been improved.
      • Page layout has been improved.


      • Getting the checkbox menu to work in the opposite direction

      Version 1.5.0

      • yydev_tag_manager_head() now has the option to load head code.
      • yydev_tag_manager_below_body() adds the ability to load code below the body.
      • yydev_tag_manager_before_closing_body() adds the option to load code above the end of the body.
      • added a new way to load code below the body without using the ob_buffer


      • Line breaks in the output code


      • ob_start should be removed from the back end.


      • Fixing the error: “parameter must be an array or an object that implements Countable”

      Version 2.0.0

      • The ability to add multiple tags has been added.

      Version 2.0.1

      • Better to get away from the data

      Version 2.1.0

      • The plugin description now includes a donation button.
      • Support for php7,4 has been added.


      • The ability to exclude pages based on user role (admin or logged in users) has been added.
      • The ability to exclude code based on a page’s id has been added.

      • Attempting to resolve all errors related to the undefined function wp_get_current_user()


      • managerpixeltag analyticsfooterheaderpixeltag analyticsfooterheaderpixeltag analyticsfooterheaderpixeltag analyticsfooterheader
      • Scores



            In the last two months, the following issues have been resolved:

            Make a donation

            Would you like to contribute to the plugin’s development?