Skip to content
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.
PHP Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
config
languages
src
tests/phpunit
.editorconfig
.gitattributes
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
README.md
beans-header-footer-fields.php
composer.json
index.php
phpcs.xml.dist
phpunit.xml.dist

README.md

Beans Header Footer Fields Plugin

Build Status

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 unfiltered_html 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, bug reports, and pull requests are welcome.

Credits

Built by Christoph Herr standing on the shoulders of giants Tonya Mork, Gary Jones, Robin Cornett, Chinmoy Paul and many more.

You can’t perform that action at this time.