Documentation

Edit on GitHub
Documentation > Fields > Footer Scripts

Footer Scripts

Applicable to Theme Options container only.

Displays a text area, the contents of which will be automatically printed before the closing </body> of each page (during wp_footer()).

Useful for printing Google Analytics tracking code, or user-defined javascript.

Field::make("footer_scripts", "crb_footer_script")

Edit on GitHub

Excited about Carbon Fields? Spread the word!