Requires PHP: 5.3 Header and Footer Scripts plugin allows you to add scripts to WordPress site's and just before closing tag.
If you are running a WordPress site then sooner or later you need to insert some kind of code to your website. It is most likley a web analytics code like Google Analytics or may be social media script or some CSS stylesheet or may be Custom fonts. This plugin will do all the magic. Even if you want to insert those codes in a custom post type.
All you have to do is adding appropriate html code.
Don't forget to wrap your code with proper tags.
Or for CSS:
<style type="text/css"> YOUR CSS CODE HERE </style>
Why use this plugin:
- To insert code to
<head>of any single page or post.
- To insert code to Custom Post Type [New Feature].
The plugin should be compatible with WooCommerce.
What it does not offer
- You can't insert/execute PHP codes.
Almost all WordPress theme do support this "Header and Footer Scripts" plugin. If the codes are not appearing in your site [ask for support] or look at your theme file if they have standard
For furhter information you are welcomed to follow these links:
Q. How could I access support and troubleshoot problem?
A. I couldn't handle wp.org forums on regular basis. You are suggested to visit Digital Liberation for more updated plugin documentation and troubleshoot your problem.
Q: Is there any paid version of the plugin available?
A. Nope, There is none. If you need more feature send us feedback or feature request.
- Support to Custom Post Type (CPT).
- Improved ReadMe
- Uniform Coding style.
- Improved Translatable strings.
- Fixed Links
- Code Cleanup
- Visual Improvements.
- better directory structure.
- Fixed variable undefined notice
- Started using PHP5 style construct
- Fixed https issue
- Made for official WordPress Repo.
- Added Single post Header script metabox
- Minor Bug Fixes
- Initial Public Release
There is nothing special about installation of this plugin. It is as simple as uploading the plugin files to your plugins directory.
Upload the plugin to
/wp-content/plugins and activate. OR Search "Header and Footer Scripts" from
WP Dashbard --> Plugins --> Add New then hit Install and then activate.
Once the plugin is activated you will see "Header and Footer Scripts" menu item under setting of WordPress dashboard. Also a meta box on Post and Page edit page.