Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About Header and Footer Scripts
This plugin allows you to easily insert code, such as web analytics, social media scripts, and CSS stylesheets, into your WordPress website. It is compatible with WooCommerce and can be used to insert code into the header or footer of your site, as well as specific pages or posts. However, it does not support inserting or executing PHP code.Screenshots


Frequently asked questions
What does the Header and Footer Scripts plugin do?
The Header and Footer Scripts plugin allows you to add scripts to your WordPress site's <head> and just before the closing </body> tag. It supports adding various types of code, such as web analytics, social media scripts, CSS stylesheets, and custom fonts.
Can I insert code into specific pages or custom post types?
Yes, you can insert code into the <head> of any single page or post. The plugin also supports inserting code into Custom Post Types.
What kind of code can I insert using this plugin?
You can insert HTML code, including JavaScript wrapped in <script> tags and CSS wrapped in <style> tags. The plugin does not allow you to insert or execute PHP codes.
Is this plugin compatible with WooCommerce?
Yes, the plugin should be compatible with WooCommerce.
What if the codes are not appearing on my site?
If the codes are not appearing, you can ask for support or check your theme files to ensure they have standard wp_head and wp_footer hooks.
Changelog
2.2.2
- Updated readme.txt.
- Compatibility checked upto WordPress 6.7.1
- Now require PHP v7.4 at least.
2.2.0
- New feature: Now set priority to sitewide script.
- Fix: Monoscript font for text area.
- Improved readme.txt.
- Reverted to PHP v5.6 as many people can’t move to latest one.
2.1.1
- Fixed a bug causing singular post type scripts to appear in archives.
- Compatibility checked upto WordPress 5.2.2
- Now require PHP v7.0 at least.
2.1.0
- Support to Custom Post Type (CPT).
- Improved ReadMe
2.0.1
- Uniform Coding style.
- Improved Translatable strings.
- Fixed Links
- Code Cleanup
2.0.0
- Visual Improvements.
- better directory structure.
1.3.4
- Fixed variable undefined notice
1.3.3
- Started using PHP5 style construct
1.3.2
- Fixed https issue
1.1.0
- Made for official WordPress Repo.
- Added Single post Header script metabox
- Minor Bug Fixes
1.0.0
- Initial Public Release
