Easily insert HTML, Javascript, CSS, into the head and footer areas of your site.
This plugin makes it easy for you to add custom scripts to the head and footer sections of your site. A theme can also add theme support to enable the insert of custom code (HTML, Javascript, and CSS) at the top of a page, above header, below header, above content, and below content.
wpc-insert-code.zip
folder.wpc-insert-code
folder to your /wp-content/plugins
directory.wpc-insert-code.zip
folder.wpc-insert-code
folder to your /wp-content/plugins
directory.// Enable support for custom code to be inserted on various sections of theme
add_theme_support( ‘wpc-insert-code’, array( ‘top-of-page’, ‘above-header’, ‘below-header’, ‘above-content’, ‘below-content’ ) );
<!-- add lines of code in the appropriate section of your theme --> <?php do_action( 'wpc_insert_code_top_of_page' ); ?> <?php do_action( 'wpc_insert_code_above_header' ); ?> <?php do_action( 'wpc_insert_code_below_header' ); ?> <?php do_action( 'wpc_insert_code_above_content' ); ?> <?php do_action( 'wpc_insert_code_below_content' ); ?>