[ Close ] Learn more about our custom WordPress development services at htmlBurger

Documentation

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

Config methods

Please refer to the Header Scripts field docs.

Excited about Carbon Fields? Spread the word!