thesis_show_header

Description

Determines whether or not to execute thesis_header_area (when the Page Framework is enabled) or thesis_wrap_header (when the Full-Width Framework is enabled).

Must return either true or false with every iteration (the default is true).

Example

function no_header() {
if (is_home())
	return false;
else
	return true;
}
add_filter('thesis_show_header', 'no_header');

History

  • This filter was added in version 1.8.