Filter hooks are used extensively throughout the theme. Much of theme output (including many class names) can be filtered before being displayed.
Here are the filter hooks listed by template file:
Template Files
header.php
apply_filters( 'thmfdn_viewport', 'width=device-width, initial-scale=1' ) apply_filters( 'thmfdn_wrapper_open_id', 'page' ) apply_filters( 'thmfdn_wrapper_open_class', '' ) apply_filters( 'thmfdn_skip_link_class', 'skip-link screen-reader-text' ) apply_filters( 'thmfdn_skip_link_href', '#content' ) apply_filters( 'thmfdn-header-before-class', 'site-header header-before row' ) apply_filters( 'thmfdn-header-before-wrap-class', 'wrap' ) apply_filters( 'thmfdn_header_id', 'header' ) apply_filters( 'thmfdn_header_class', 'site-header row' ) apply_filters( 'thmfdn_header_wrap_class', 'wrap' ) apply_filters( 'thmfdn_branding_id', 'branding' ) apply_filters( 'thmfdn_branding_class', '' ) apply_filters( 'thmfdn_site_name', '<p class="site-title"><a href="' . esc_url( home_url( '/' ) ) . '">' . get_bloginfo('name') . '</a></p>' ) apply_filters( 'thmfdn_site_description', '<p class="site-description">' . get_bloginfo( 'description' ) . '</p>' ) apply_filters( 'thmfdn-header-inside-class', 'header-inside' ) apply_filters( 'thmfdn-header-after-class', 'site-header header-after row' ) apply_filters( 'thmfdn-header-after-wrap-class', 'wrap' ) apply_filters( 'thmfdn_main_id', 'main' ) apply_filters( 'thmfdn_main_class', 'row' ) apply_filters( 'thmfdn_main_wrap_class', 'wrap' )
index.php
apply_filters( 'thmfdn_content_class', 'primary hfeed' ) apply_filters( 'thmfdn_loop_class', 'loop' ) apply_filters( 'thmfdn_template_part_slug', 'template-parts/content' ) apply_filters( 'thmfdn_template_part_name', 'archive' ) apply_filters( 'thmfdn_404_template_part_slug', 'template-parts/404' ) apply_filters( 'thmfdn_404_template_part_name', '' )
page.php
apply_filters( 'thmfdn_thumbnail_size', '' )
single.php
apply_filters( 'thmfdn_thumbnail_size', '' )
sidebar.php
apply_filters( 'thmfdn_sidebar-1', 'secondary sidebar' ) apply_filters( 'thmfdn_sidebar-2', 'tertiary sidebar' )
footer.php
apply_filters( 'thmfdn-footer-before-class', 'row site-footer footer-before' ) apply_filters( 'thmfdn-footer-before-wrap-class', 'wrap' . $widget_classes ) apply_filters( 'thmfdn_footer_id', 'footer' ) apply_filters( 'thmfdn_footer_class', 'site-footer row' ) apply_filters( 'thmfdn_footer_wrap_class', 'wrap' ) apply_filters( 'thmfdn-footer-inside-class', 'footer-inside' . $widget_classes ) apply_filters( 'site_credits', '<p class="site-credits">© <a href="' . esc_url( home_url( '/' ) ) . '">' . get_bloginfo('name') . '</a></p>' . "\n" ) apply_filters( 'thmfdn-footer-after-class', 'row site-footer footer-after' ) apply_filters( 'thmfdn-footer-after-wrap-class', 'wrap' . $widget_classes )
Template Parts
content.php
apply_filters( 'thmfdn_entry_title_class', 'entry-title' ) apply_filters( 'thmfdn_entry_content_class', 'entry-content' )
content-archive.php
apply_filters( 'thmfdn_thumbnail_size', '' ) apply_filters( 'thmfdn_entry_title_class', 'entry-title' ) apply_filters( 'thmfdn_entry_content_class', 'entry-content' )
content-grid.php
apply_filters( 'thmfdn_thumbnail_size', 'grid' ) apply_filters( 'thmfdn_entry_title_class', 'entry-title' ) apply_filters( 'thmfdn_entry_content_class', 'entry-content' )
content-portfolio.php
apply_filters( 'thmfdn_entry_content_class', 'entry-content' ) apply_filters( 'thmfdn_thumbnail_size', 'gallery' )
content-search.php
apply_filters( 'thmfdn_entry_title_class', 'entry-title' ) apply_filters( 'thmfdn_entry_content_class', 'entry-content' )
content-single.php
apply_filters( 'thmfdn_entry_title_class', 'entry-title' ) apply_filters( 'thmfdn_entry_content_class', 'entry-content' )
Page Templates
child-page-grid.php
apply_filters( 'thmfdn_grid_class', 'thmfdn-grid' )
Includes
settings.php
apply_filters( 'thmfdn_layout_class', $layout_class ) apply_filters( 'thmfdn_content_format', $format )