[wp-trac] [WordPress Trac] #12753: Add two setting in Settings/General to enable more flexibility with <h1> and <title> tags with sites using a static front page.
WordPress Trac
wp-trac at lists.automattic.com
Mon Mar 29 03:56:45 UTC 2010
#12753: Add two setting in Settings/General to enable more flexibility with <h1>
and <title> tags with sites using a static front page.
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Unassigned
Component: Themes | Version: 3.0
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
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:
1. "''Wrap site branding with {{{<h1 id="site-title">}}} on front page but
use {{{<div id="site-title">}}} for all other pages''."
2. "''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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12753>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list