This code enables you to change the heading/title tag your entry titles on single posts are wrapped in.
By default, Genesis wraps the post title in H1 when on single posts or pages and H2 when not.
Here’s the code in Genesis which shows you that:
//* Wrap in H1 on singular pages $wrap = is_singular() ? 'h1' : 'h2';
To change this, we can use code and modify the h1 and/or h2 to anything we like.
You can also use the code to change the wrap for semantic headings when using the genesis SEO settings.
On top of this, the code also enables you to change the wrap for the title when not singular.
Here’s the code for members:
You need to pay to fully access this tutorial.
Enjoy unlimited access & coding support by registering.