thesis_show_headline_area

Description

Can be used to suppress the entire div.headline_area; must return either true or false with every iteration.

Example

function hide_headline() { 
	if (in_category('asides')) 
		return false; // Do not show headline
	else
		return true; // Show headline
}

add_filter('thesis_show_headline_area', 'hide_headline');

// Alternate version
function hide_headline_compact() {
	return (in_category('asides')) ? false : true;
}

add_filter('thesis_show_headline_area', 'hide_headline_compact');

History

  • This filter was added in version 1.7.