Actions

Chap init
chap_before_init
Action hook before initializing Chap.
chap_before_init_{$core_class}
Action hook before initializing a core class.
chap_after_init_{$core_class}
Action hook after initializing a core class.
chap_after_init
Action hook after initializing Chap.
Header
chap_render_header
Renders the header by triggering all of the following actions:
chap_render_header_open
Renders the header opening tag.
chap_render_background_video
Renders the header background video.
chap_render_header_template
Renders the header template.
chap_render_masthead_slider
Renders the slider.
chap_render_masthead_title
Renders the masthead page title.
chap_render_header_close
Renders the header closing tag.
Page
chap_render_main_container
Renders main container by triggering one of the following actions:
chap_render_page
Page with no sidebars.
chap_render_full_width_page
Full width page with no sidebars.
chap_render_primary_sidebar_page
Page with primary sidebar on the left.
chap_render_page_primary_sidebar
Page with primary sidebar on the right.
chap_render_primary_sidebar_page_secondary_sidebar
Page with primary sidebar on the left, secondary sidebar on the right.
chap_render_secondary_sidebar_page_primary_sidebar
Page with primary sidebar on the right, secondary sidebar on the left.
Menus
chap_render_main_menu_container
Renders the main menu container and calls the following action:
chap_render_main_menu
Renders the main menu.
chap_render_mobile_menu
Renders the mobile menu.
chap_render_sticky_menu
Renders the sticky menu.
Brand
chap_render_branding_container
Renders branding container and calls the following action:
chap_render_brand
Renders the brand.
Slider
chap_render_slider
Renders the slider container and calls the following actions:
chap_render_slides
Triggers the chap_render_slide action for every slide.
chap_render_slider_pagination
Renders the slider pagination.
chap_render_slider_nav
Renders the slider navigation.
chap_render_slider_scrollbar
Renders the slider scrollbar.
chap_init_slider
Renders the JavaScript that initializes the slider.
chap_render_slide
Renders a slide template where following actions are called to render a slide:
chap_render_slide_open
Renders slide opening tag.
chap_render_slide_loading
Renders the slide loading UI.
chap_render_edit_slide
Renders the “Edit slide” button.
chap_render_slide_close
Renders the slide closing tag.
Miscellaneous actions
chap_render_featured_image
Renders the featured image.
chap_render_browser_warning
Renders warning to older browsers.
chap_render_posts_navigation
Renders posts navigation.
chap_render_page_title
Renders a page title.
chap_render_post_title
Renders a post title.
chap_render_entry_meta
Renders entry meta by calling the following actions:
chap_render_entry_date
Renders the entry date.
chap_render_entry_author
Renders the entry author.
chap_render_extras
Renders the extras by calling the following actions:
chap_read_more
Renders the “Read more” link.
chap_sticky_post_label
Renders the sticky post indicator.
chap_category_labels
Renders the categories.
chap_tag_labels
Renders the tags.
Footer
chap_render_footer
Renders the footer by triggering all of the following actions:
chap_render_footer_open
Renders the footer opening tag.
chap_render_footer_widgets
Renders footer widgets.
chap_render_footer_divider
Renders the footer divider.
chap_render_footer_image
Renders the footer mini image.
chap_render_footer_menu
Renders the footer menu.
chap_render_footer_text
Renders the custom footer text.
chap_render_footer_close
Renders the footer closing tag.