I want to add some custom code so I’ve created a custom post file with the following content.
I want to remove the header element
<header id="header" class="main-header"> and
style.css from the custom post using function.php file.
I want to keep
<?php get_header(); ?> because of yoast SEO and some analytics scripts.
I don’t want to hide the
main-header using CSS