This WordPress plugin for the Beans Framekwork creates custom fields to output scripts and styles in the header and footer of a website.
Requires the Beans Framework and PHP 5.6+.
The functionality is inspired by the Genesis Framework, the implementation is 100% Beans.
Easily add scripts and styles (Google Analytics, Facebook Pixel, etc...) for the whole website on the Beans Settings page and in the Customizer.
Scripts and styles specific to a single post or page (Conversion tracking, chat bots, etc...) can be added right in the editor screen of that post or page.
Due to the nature of the plugin, the input is NOT sanitized or escaped and only users with unfiltered_html
capability are able to see/use the fields.
- Download the .zip-file into the
wp-content/plugins/
folder. - Extract it.
- Activate the plugin from the WordPress dashboard.
- Open
wp-content/plugins/
of your project in a terminal window. - Type:
git clone https://github.com/christophherr/beans-header-footer-fields
. - Activate the plugin from the WordPress dashboard.
Feedback, bug reports, and pull requests are welcome.
Built by Christoph Herr standing on the shoulders of giants Tonya Mork, Gary Jones, Robin Cornett, Chinmoy Paul and many more.