Display Website Elements only on the Frontpage

Sometimes it is necessary to display website elements only on the front page of a website. For this case, the wordpress function is_front_page is very useful. Use it for example in your header.php file.

Other relevant snippets: