When to show header image
By default header image or slider is shown on singular pages and on front page. But if you want to change that behaviour there is a filter called kalervo_header_image_conditional
. So put this in child theme functions.php
inside setup function.
`
add_filter( ‘kalervo_header_image_conditional’, ‘my_header_image_conditional’ );
`
Let’s say you want to show header image in singular post or pages. Put this outside setup function.
`
function my_header_image_conditional() {
return is_singular( ‘post’ ) || is_singular( ‘page’ );
}
`
From codex page you can find more conditional tags.