This blog post is just for reference and only contains Genesis Hooks. There is a number of hooks available in the Genesis framework. If you notice in Genesis Framework or in its any child theme. There are do_action
‘s
You can customise theme using these hooks and then you can add your own function with these hooks using add_action
Here is the list of hooks available:
genesis/lib/init.php
- genesis_pre
- genesis_pre_framework
- genesis_init
- genesis_setup
genesis/header.php
- genesis_doctype
- genesis_title
- genesis_meta
- genesis_before
- genesis_before_header
- genesis_header
- genesis_after_header
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
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
genesis/sidebar.php
- genesis_before_sidebar_widget_area
- genesis_sidebar
- genesis_after_sidebar_widget_area
genesis/sidebar-alt.php
- genesis_before_sidebar_alt_widget_area
- genesis_sidebar_alt
- genesis_after_sidebar_alt_widget_area
genesis/footer.php
- genesis_before_footer
- genesis_footer
- genesis_after_footer
- genesis_after