Theme Action Hooks

This is a developer level topic and isn’t required reading for normal usage of Corp. If you’re interested in theme customization at a code level and want to find out about action hooks, see Using Action Hooks in WordPress Child Themes.

Corp offers the following action hooks for you to use:

header.php

siteorigin_corp_body_top

This hook is located after the opening body tag.
View on GitHub.

siteorigin_corp_header_before

This hook is located before the header opening tag.
View on GitHub.

siteorigin_corp_content_before

This hook is located after the close of the masthead and before the opening of the site content div.
View on GitHub.

siteorigin_corp_content_top

This hook is located after the opening of the site content div and after the opening of the corp container div.
View on GitHub.

footer.php

siteorigin_corp_footer_before

This hook is located after the close of the content div, immediately before the start of the footer.
View on GitHub.

siteorigin_corp_footer_top

This hook is located immediately after the footer opening before the opening of the corp container div.
View on GitHub.

siteorigin_corp_footer_bottom

This hook is located below the bottom bar, immediately before the close of the footer tag.
View on GitHub.

siteorigin_corp_footer_after

This hook is located after the footer closing tag.
View on GitHub.