One thing about the H1 arrangement on blog article pages. Currently both header text (breadcrumb section) is H1 as well as the blog title. This is not good for SEO since there should be only one H1 per individual page.
I know we can disable the page header from individual posts but is it possible to add default options for blog posts also to the theme settings? I’m transferring a lot of posts from my previous site and won’t disable the headers manually.
Open up wp-contentthemesenfoldincludeshelper-post-format.php and search for
$heading = is_singular() ? "h1" : "h2";
Replace h1 and h2 with any headline type of your choice. h1 is used on single post pages, h2 on the blog & archive page. If you’re using a child theme you can duplicate the avia_default_title_filter() function and overwrite the parent theme function if you like.
Viewing 2 posts - 1 through 2 (of 2 total)
The topic ‘Blog header h1 and default settings for articles’ is closed to new replies.