Add two setting in Settings/General to enable more flexibility with <h1> and <title> tags with sites using a static front page.
|Reported by:||mikeschinkel||Owned by:|
This is a follow up from #12542 where there has appears to have been a strong divergence in believed best practices regarding the use in themes of the
<h1> and <title> tags. "Consistency with how the default theme has treated page titles in the past" was valued by some whereas evolution to support CMS uses was more valued by others.
To (hopefully?) satisfy both sides I'd like to propose we add two (2) admin settings in the "Settings/General" section to support user customization of themes that enable changed behavior of site-title and <h1> tags. The two settings would be:
- "Wrap site branding with <h1 id="site-title"> on front page but use <div id="site-title"> for all other pages."
- "Disable the display of page title on (static) front page."
Note: As proposed these options will only be displayed when a static page is selected for the front page and when current_theme_supports('front-page-uses-h1-for-site-title') and current_theme_supports('disable-page-title-on-front-page'), respectively.
Then with these options in place we could address #12542 to enable support for these new options with the prior behavior as the default.
That said, It's late and I'm tired so I'm not submitting a patch today but if I can any reasonable support for this idea I'll code it up ASAP.