Plugin Directory

Add Custom Codes – Insert Header, Footer, Custom Code Snippets, Custom CSS, Javascript

Add Custom Codes – Insert Header, Footer, Custom Code Snippets, Custom CSS, Javascript


Add custom codes to your wordpress website. A Light-weight plugin to add custom CSS, Javascript, Google Analytics, Search Console verification tags and other code snippets to your site. Go to Appearance -> Add Custom Codes after installing the plugin.


  • 100% free wordpress plugin, no paid upgrades needed!
  • Light-weight plugin
  • You can add Custom CSS, Javascript, Google Analytics, Facebook Scripts, Meta Verification Codes, Search console verification and other codes to your wordpress website easily.
  • Easy to use interface.
  • No configuration needed.
  • Syntax highlighter enabled.
  • Add Custom Codes to Header and Footer of your wordpress website.
  • Add Custome Codes globally or on individual posts, pages, products and even on custom post types.
  • Option to select where to put Custom CSS codes: before </head> or before </body>


  • Install the plugin using zip file or from wordpress plugins directory
  • Go to ‘Appearance -> Add Custom codes’ to add your Global codes.
  • Add Custom Codes option when editing page, posts etc.


  1. Install the plugin through Plugins -> Add New or Upload the plugin files to the /wp-content/plugins/add-custom-codes directory
  2. Activate ‘Add Custom Codes’ plugin through the ‘Plugins’ page in WordPress
  3. Go to ‘Appearance -> Custom Codes’ to add your codes


Plugin is not working for me. Why?

Make sure that your theme has ‘wp_head()’ call in header.php file and ‘wp_footer()’ call in footer.php file. Also make sure that you have added the right codes in plugin settings. Also Make sure to clear cache after updating codes in plugin settings.

Is this plugin safe from hackers?

The plugin is tested well and is safe to use on your website.

Does the plugin take too long to load?

This is a light-weight plugin which do not affect website performance. But if you feel so, please check if you are loading scripts on header section. It is always better to load most scripts in footer section of a website so that the page content can load easily.

Do you provide plugin support?

Yes, I am happy to provide support for free of cost.

Plugin layout looks broken after update. How do I fix?

Please clear your wordpress cache if you are using a caching plugin or service. Also try clearing browser cache.


شتنبر 1, 2022
This is the plugin I’m waiting for a long time while,and I’m very happy with this plugin
يونيو 8, 2022 2 replies
NEW COMMENT: YESSSSSSSSS! Thank you a lot!! 😀 Old comment already fixed! OLD COMMENT: The plugin has a bug. When active, wp-admin’s “select all” function no longer works on pages, posts, images, etc
يناير 31, 2022
If you are looking for a simple solution to add code snippets, this plugin could be one of your best choices. It doesn’t require any configuration.
مارس 17, 2017
Plugin works faster. Contact support if any problem happens.
Read all 5 reviews

Contributors & Developers

“Add Custom Codes – Insert Header, Footer, Custom Code Snippets, Custom CSS, Javascript” is open source software. The following people have contributed to this plugin.




  • Initial Release


  • Tested to work on latest WordPress version


  • Tested to work on latest WordPress version
  • Replaced text editor.


  • Tested to work on latest WordPress version
  • Bug fixes and improvements.
  • Added support for individual posts, pages, woocommerce products and even custom post types.
  • Option to put CSS in header or footer of website.


  • Tweaks and improvements for the Version 4.0 released earlier.


  • Fixed a reported bug: users were not able to select all pages or posts on WordPress admin screen.


  • Bugfixes and improvements
  • Tested to work with WordPress 6.0


  • Bugfixes and improvements


  • Tested to work with latest WordPress


  • Tested to work with latest WordPress