Skip to content

Action Hooks

Jim Reevior edited this page Aug 14, 2018 · 1 revision

Action Hooks

r_after_opening_body_tag

Description: Fires immediately after the opening body tag.

Useful for: Inserting markup immediately following the body tag.

r_before_masthead

Description: Fires immediately before the masthead.

Useful for: Inserting markup immediately before the masthead.

r_after_masthead

Description: Fires immediately after the masthead.

Useful for: Inserting markup immediately after the masthead.

r_before_opening_wrapper

Description: Fires immediately before the opening wrapper div.

Useful for: Inserting markup immediately before the opening wrapper div.

r_after_opening_wrapper

Description: Fires immediately after the opening wrapper div.

Useful for: Inserting markup immediately after the opening wrapper div.

r_before_opening_container_outer

Description: Fires immediately before the outer opening content container.

Useful for: Inserting markup immediately before the outer opening content container.

r_after_opening_container_outer

Description: Fires immediately after the outer opening content container.

Useful for: Inserting markup immediately after the outer opening content container.

r_before_opening_container_inner

Description: Fires immediately before the inner opening content container.

Useful for: Inserting markup immediately before the inner opening content container.

r_after_opening_container_inner

Description: Fires immediately after the inner opening content container.

Useful for: Inserting markup immediately after the inner opening content container.

r_before_closing_container_inner

Description: Fires immediately before the inner closing content container.

Useful for: Inserting markup immediately before the inner closing content container.

r_after_closing_container_inner

Description: Fires immediately after the closing content container div.

Useful for: Inserting markup immediately after the inner closing content container.

r_before_closing_container_outer

Description: Fires immediately before the outer closing content container.

Useful for: Inserting markup immediately before the outer closing content container.

r_after_closing_container_outer

Description: Fires immediately after the outer closing content container.

Useful for: Inserting markup immediately after the outer closing content container.

r_before_closing_wrapper

Description: Fires immediately before the closing wrapper div.

Useful for: Inserting markup immediately before the closing wrapper div.

r_after_closing_wrapper

Description: Fires immediately after the closing wrapper div.

Useful for: Inserting markup immediately after the closing wrapper div.

r_before_footer_brand_assets

Description: Fires immediately before the footer brand assets.

Useful for: Inserting markup immediately before the footer brand assets.

r_after_footer_brand_assets

Description: Fires immediately after the footer brand assets.

Useful for: Inserting markup immediately after the footer brand assets.

r_before_footer_menus

Description: Fires immediately before the footer menus.

Useful for: Inserting markup immediately before the footer menus.

r_after_footer_menus

Description: Fires immediately after the footer menus.

Useful for: Inserting markup immediately after the footer menus.

r_before_closing_body_tag

Description: Fires immediately before the closing body tag.

Useful for: Inserting markup immediately before the closing body tag.

r_sidebar_opening_before

Description: Fires immediately before the opening default sidebar container element.

Useful for: Inserting markup immediately before the opening default sidebar.

r_sidebar_opening_after

Description: Fires immediately after the opening default sidebar container element.

Useful for: Inserting markup immediately after the opening default sidebar element.

r_sidebar_closing_before

Description: Fires immediately before the closing default sidebar container element.

Useful for: Inserting markup immediately before the closing default sidebar container element.

r_sidebar_closing_after

Description: Fires immediately after the closing default sidebar container element.

Useful for: Inserting markup immediately after the closing default sidebar container element.

r_sidebar_footbar_opening_before

Description: Fires immediately before the opening footbar sidebar container element.

Useful for: Inserting markup immediately before the opening footbar sidebar container element.

r_sidebar_footbar_opening_after

Description: Fires immediately after the opening footbar sidebar container element.

Useful for: Inserting markup immediately after the opening footbar sidebar container element.

r_sidebar_footbar_closing_before

Description: Fires immediately before the closing footbar sidebar container element.

Useful for: Inserting markup immediately before the closing footbar sidebar container element.

r_sidebar_footbar_closing_after

Description: Fires immediately after the closing footbar sidebar container element.

Useful for: Inserting markup immediately after the closing footbar sidebar container element.

r_sidebar_calendar_opening_before

Description: Fires immediately before the opening calendar sidebar container element.

Useful for: Inserting markup immediately before the opening calendar sidebar container element.

r_sidebar_calendar_opening_after

Description: Fires immediately after the opening calendar sidebar container element.

Useful for: Inserting markup immediately after the opening calendar sidebar container element.

r_sidebar_calendar_closing_before

Description: Fires immediately before the closing calendar sidebar container element.

Useful for: Inserting markup immediately before the closing calendar sidebar container element.

r_sidebar_calendar_closing_after

Description: Fires immediately after the closing calendar sidebar container element.

Useful for: Inserting immediately after the closing calendar sidebar container element.

r_sidebar_posts_opening_before

Description: Fires immediately before the opening posts sidebar container element.

Useful for: Inserting markup immediately before the opening posts sidebar container element.

r_sidebar_posts_opening_after

Description: Fires immediately after the opening posts sidebar container element.

Useful for: Inserting markup immediately after the opening posts sidebar container element.

r_sidebar_posts_closing_before

Description: Fires immediately before the closing posts sidebar container element.

Useful for: Inserting markup immediately before the closing posts sidebar container element.

r_sidebar_posts_closing_after

Description: Fires immediately after the closing posts sidebar container element.

Useful for: Inserting markup immediately after the closing posts sidebar container element.

r_sidebar_profiles_opening_before

Description: Fires immediately before the opening profiles sidebar container element.

Useful for: Inserting markup immediately before the opening profiles sidebar container element.

r_sidebar_profiles_opening_after

Description: Fires immediately after the opening profiles sidebar container element.

Useful for: Inserting markup immediately after the opening profiles sidebar container element.

r_sidebar_profiles_closing_before

Description: Fires immediately before the closing profiles sidebar container element.

Useful for: Inserting markup immediately before the closing profiles sidebar container element.

r_sidebar_profiles_closing_after

Description: Fires immediately after the closing profiles sidebar container element.

Useful for: Inserting markup immediately after the closing profiles sidebar container element.

comment_form

Description: Fires at the end of a comment form.

Useful for: Adding additional form elements to comment forms.

responsive_framework_upgrade

Description: Fires immediately after upgrade routines have run.

Useful for: Running additional upgrade scripts on a site when a new version of Responsive Framework is activated.

r_before_branding_masterplate

Description: Fires immediately before the BU branding masterplate.

Useful for: Inserting markup immediately before the branding masterplate.

r_after_branding_masterplate

Description: Fires immediately after the BU branding masterplate.

Useful for: Inserting markup immediately after the branding masterplate.

r_before_bumc_branding_logo

Description: Fires immediately before the BUMC branding logo.

Useful for: Inserting markup immediately before the BUMC branding logo.

r_after_bumc_branding_logo

Description: Fires immediately after the BUMC branding logo.

Useful for: Inserting markup immediately after the BUMC branding logo.

r_before_branding_disclaimer

Description: Fires immediately before the BU branding disclaimer.

Useful for: Inserting markup immediately before the BU branding disclaimer.

r_after_branding_disclaimer

Description: Fires immediately after the BU branding disclaimer.

Useful for: Inserting markup immediately after the BU branding disclaimer.

before_responsive_setup

Description: Fires immediately before theme setup occurs.

Useful for: Performing theme setup tasks before the framework has performed any default setup.

after_responsive_setup

Description: Fires immediately after theme setup occurs.

Useful for: Performing additional theme setup tasks after the framework has setup its defaults.

Welcome to Responsive!

Get started

Configuration

Build child themes

Sass

Javascript

PHP

Shortcodes

Templates

GitHub

Tasks

Contribute to the framework

Code Examples

BU Developer Resources

Clone this wiki locally