[ Close ] Introducing Carbon Fields Version 3 - now with Gutenberg Blocks Support


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")

Excited about Carbon Fields? Spread the word!