Genesis Hook Reference

Also see the Genesis Filter Reference

Initialization

These hooks are found in /genesis/lib/init.php

  • genesis_pre
  • genesis_pre_framework
  • genesis_init
  • genesis_setup

Header

These hooks are found in /genesis/header.php

  • genesis_doctype
  • genesis_title
  • genesis_meta
  • genesis_before
  • genesis_before_header
  • genesis_header
  • genesis_after_header

These hooks are found in /genesis/lib/structure/header.php

  • genesis_site_title
  • genesis_site_description
  • genesis_header_right

Content Area

These hooks are found in /genesis/lib/framework.php

  • genesis_before_content_sidebar_wrap
  • genesis_before_content
  • genesis_before_loop
  • genesis_loop
  • genesis_after_loop
  • genesis_after_content
  • genesis_after_content_sidebar_wrap

These hooks are found in genesis/lib/structure/loops.php

  • genesis_before_while
  • genesis_before_entry
  • genesis_entry_header
  • genesis_before_entry_content
  • genesis_entry_content
  • genesis_after_entry_content
  • genesis_entry_footer
  • genesis_after_entry
  • genesis_after_endwhile
  • genesis_loop_else

This hook can be found in genesis/lib/structure/archive.php

  • genesis_archive_title_descriptions

Comments

These hooks are found in /genesis/comments.php

  • genesis_before_comments
  • genesis_comments
  • genesis_after_comments
  • genesis_before_pings
  • genesis_pings
  • genesis_after_pings
  • genesis_before_comment_form
  • genesis_comment_form
  • genesis_after_comment_form

These hooks are found in /genesis/lib/structure/comments.php

  • genesis_list_comments
  • genesis_list_pings
  • genesis_before_comment
  • genesis_after_comment

Sidebar

These hooks are found in /genesis/sidebar.php

  • genesis_before_sidebar_widget_area
  • genesis_sidebar
  • genesis_after_sidebar_widget_area

These hooks are found in /genesis/sidebar-alt.php

  • genesis_before_sidebar_alt_widget_area
  • genesis_sidebar_alt
  • genesis_after_sidebar_alt_widget_area

Footer

These hooks are found in /genesis/footer.php

  • genesis_before_footer
  • genesis_footer
  • genesis_after_footer
  • genesis_after

Other Frontend Hooks

  • genesis_register_nav_menus in /genesis/lib/structure/menu.php
  • genesis_reset_loops in /genesis/lib/structure/post.php

Admin

These hooks are found in a variety of files.

  • genesis_admin_init
  • genesis_admin_menu
  • genesis_cpt_archives_settings_metaboxes
  • genesis_export
  • genesis_import
  • genesis_import_export_form
  • genesis_theme_settings_metaboxes
  • genesis_customizer
  • genesis_upgrade
  • genesis_admin_before_metaboxes
  • genesis_admin_after_metaboxes
  • {$this->pagehook}_settings_page_boxes
  • {$this->pagehook}_settings_page_form

Bill Erickson

Bill Erickson is the co-founder and lead developer at CultivateWP, a WordPress agency focusing on high performance sites for web publishers.

About Me
Ready to upgrade your website?

I build custom WordPress websites that look great and are easy to manage.

Let's Talk