12542,Fix title and h1 elements for Twenty Ten theme,mikeschinkel,iammattthomas,"There are several problems with the Twenty Ten theme related to use when a static front page is used. I have attached a patch to resolve these issues.
The issues include the display of the page title on a static home page, which should be omitted, and the
in the header should instead be an
element when on the front page. I made these fixes in page.php and onecolumn-page.php.
In addition when using a static home page the title element gets "" | "" for both the front page and the posts page. It should get it just for the front page and for the posts page use "" | "" instead.
Finally, I added two helper functions in the function.php file: is_root_page() and the_header_title_element().
This patch addresses use-case applicability (i.e. removing the page title from the front page) and improved semantics/optimized seo (using the and
elements on the front page as search engines would expect and to help search engines differentiate between front page and posts page.)
The patch may not be coded as the core devs would like and that's okay but these fixes really do need to be added one way or another. Please.",defect (bug),closed,normal,3.0,Themes,3.0,normal,fixed,has-patch,,