Beans Header and Footer Fields
This WordPress plugin for the Beans Framework allows to output scripts and styles that have been added to the Beans Settings page, the Customizer or individual posts and pages in the header or footer of a website.
★ 2stars
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/christophherr/beans-header-footer-fields/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Beans Header Footer Fields Plugin
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.
Usage
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.
Additional Disclaimer
Due to the nature of the plugin, the input is NOT sanitized or escaped and only users with unfilteredhtml capability are able to see/use the fields.
Installation
Zip File
1. Download the .zip-file into the wp-content/plugins/ folder.
2. Extract it.
3. Activate the plugin from the WordPress dashboard.
Clone the Repository
1. Open wp-content/plugins/ of your project in a terminal window.
2. Type: git clone https://github.com/christophherr/beans-header-footer-fields.
3. Activate the plugin from the WordPress dashboard.
Contributions
Feedback,