Total Theme Action Hook Reference

The Total theme is a very advanced and modular theme which has been coded with the use of “hooks” to allow better development but also child theme modifications such as adding/removing/moving content without having to actually edit any template files. For example if you want to move the breadcrumbs from the page title area to somewhere else you can use code either in your child theme or the Code Snippets plugin without having to touch any theme files (sample snippet).

Below is a list of the hooks available in the theme:

WordPress Core

  • wp_head
  • wp_body_open
  • wp_footer

Outer Wrap

  • wpex_outer_wrap_before
  • wpex_outer_wrap_after

Wrap

  • wpex_hook_wrap_before
  • wpex_hook_wrap_top
  • wpex_hook_wrap_bottom
  • wpex_hook_wrap_after

Top Bar

  • wpex_hook_topbar_before
  • wpex_hook_topbar_inner
  • wpex_hook_topbar_after
  • wpex_hook_topbar_social_top
  • wpex_hook_topbar_social_bottom

Header

  • wpex_hook_header_before
  • wpex_hook_header_top
  • wpex_hook_header_inner
  • wpex_hook_header_bottom
  • wpex_hook_header_after

Logo

  • wpex_hook_site_logo_inner

Main Menu

  • wpex_hook_main_menu_before
  • wpex_hook_main_menu_top
  • wpex_hook_main_menu_bottom
  • wpex_hook_main_menu_after
  • wpex_mobile_menu_top
  • wpex_mobile_menu_bottom

Main

  • wpex_hook_main_before
  • wpex_hook_main_top
  • wpex_hook_main_bottom
  • wpex_hook_main_after

Primary Wrap

  • wpex_hook_primary_before
  • wpex_hook_primary_after

Page Header

  • wpex_hook_page_header_before
  • wpex_hook_page_header_top
  • wpex_hook_page_header_inner
  • wpex_hook_page_header_content
  • wpex_hook_page_header_aside
  • wpex_hook_page_header_bottom
  • wpex_hook_page_header_after

Content Wrap

  • wpex_hook_content_before
  • wpex_hook_content_top
  • wpex_hook_content_bottom
  • wpex_hook_content_after

Sidebar

  • wpex_hook_sidebar_before
  • wpex_hook_sidebar_top
  • wpex_hook_sidebar_inner
  • wpex_hook_sidebar_bottom
  • wpex_hook_sidebar_after

Footer

  • wpex_hook_footer_before
  • wpex_hook_footer_top
  • wpex_hook_footer_inner
  • wpex_hook_footer_widgets_top
  • wpex_hook_footer_widgets_bottom
  • wpex_hook_footer_bottom
  • wpex_hook_footer_after

Footer Bottom

  • wpex_hook_footer_bottom_before
  • wpex_hook_footer_bottom_top
  • wpex_hook_footer_bottom_inner
  • wpex_hook_footer_bottom_bottom
  • wpex_hook_footer_bottom_after