Add To Header and Footer

Add To Header and Footer

Developed By Isaac Glikson

Compatible with WHMCS v7.6

Do you want to stay up to date with the WHMCS updates without the worry of losing your custom code in the core files? Do you want to change the template to another template without to move again your custom codes in the header or footer ? Do you want to customize the admin login page?

This is the addon for you!


Insert header code and/or footer code across the admin /admin login page or clients area

Add Google Analytics code anywhere

Insert Facebook pixel code anywhere

Insert custom language CSS

Insert any code or script, including HTML / CSS / Javascript / PHP Tags

Everything is working dynamically in real time!

the addon is checking automatically the PHP Syntax before running, for errors that can break the system.

An option to disable the module in real time from outside the system.

Examples of use:

Add RTL support to the admin area if necessary:

<?php global $aInt;if($aInt->language == "hebrew" || $aInt->language == "arabic"){ ?><link rel="stylesheet" href="templates/blend/css/rtl.css"> <?php } ?>

Add RTL support to the clients area:

<?php if($vars['language'] == "hebrew" || $vars['language'] == "arabic"){ ?><link rel="stylesheet" href="/templates/six/css/rtl.css"> <?php } ?>

How to install the addon:

just unzip it in the main WHMCS folder, then go to the modules configurations (/admin/configaddonmods.php) and add the custom codes there.

if you want to disable run the module in live mode. for editing or fixing. or when you don't have an access to the admin backend. add the following line in the main "configuration.php" in the root folder:

global $add_to_head;$add_to_head=false;

For support commands or ideas:




5 stars
4 stars
3 stars
2 stars
1 star

tsuri @tsuri5813

March 27, 2019 at 08:12:44 PM

Thank you!
Excellent employee !!

  • 6 months ago

daniel va @daniel9527

August 29, 2018 at 09:40:40 PM

Quality plugin!, Best service.
Thanks you for the quick support too

  • 1 year ago

Michael Ramsey @michael5267

August 10, 2018 at 02:36:53 AM

Easy to install and adds Facebook Pixel easily to header on every page without fuss.

  • 1 year ago

Elan Ben Sahal @bensahal

January 31, 2018 at 02:16:04 PM

Awesome Tool!

  • 1 year ago
  • Version Number 1.0

Version Compatibility

Compatible with WHMCS v7.6

Full Version Compatibility

  • All versions of WHMCS v7.6
  • All versions of WHMCS v7.5
  • All versions of WHMCS v7.4
  • All versions of WHMCS v7.2
  • All versions of WHMCS v7.1
  • All versions of WHMCS v7.0
  • All versions of WHMCS v6.3
  • All versions of WHMCS v6.2
  • All versions of WHMCS v6.1
  • All versions of WHMCS v6.0

System Requirements

  • PHP 5.6+

* Requirements listed are in addition to the WHMCS default system requirements.

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By Isaac Glikson


v1.4 Released July 26th, 2018

Latest Version

  • checking PHP Syntax before running
  • added an option to disable the module in live mode (for fixing or changing the code) from the main configuration file


Previous Versions

v1.2 Released March 16th, 2018

View/hide detailed changelog

  • Fixed "Add to footer clients area" should show the content in the bottom


v1.1 Released February 15th, 2018

View/hide detailed changelog

  • added the option to support also the admin login page
  • Fixed support php in the admin area


See also

Software Licensing Addon

Build, License & Distribute Your Own Apps using WHMCS

Developers DebugBar

Simple and easy way to debug your current page (defined constants, request variables, queries)

Reseller API System

Reseller API System

Child Themes

Enabled Child Themes System for WHMCS like in Wordpress, So you can get updates without loosing your own Template / CSS / JS / Images customization (Supporting Admin & clients Area)

WRA - RESTful Api addon for WHMCS

WHMCS addon for expose a RESTful API