Sometime, We want to remove the Post page heading /blog/ when we have a custom page assigned in Settings > Reading.
Before: (default)
After:
To remove it, Add the following code in child-theme/functions.php
remove_action( 'genesis_before_loop', 'genesis_do_posts_page_heading' );
Source: genesis/lib/structure/archive.php
Hi Arjan,
Thanks for this, it works perfectly but it creates an issue of missing H1 tag on the page because the title on the post page is a H2 tag.
Any suggestions for how to overcome that?
Hi, You can assign the h1 in site title using this code in child-theme/functions.php