WordPress.org

Ready to get started?Download WordPress

Forums

double H1 when static page is frontpage (3 posts)

  1. RavanH
    Member
    Posted 5 years ago #

    Hi,

    Promessing theme :)

    However... I found that when a static page is selected to be frontpage, the result is that both the page title and the blog description is generated as H1.

    This is ofcource not W3C/Accessibility compliant.

    After some rough testing I can conclude that if line 373 in /library/extensions/header-extensions.php is changed from
    if (is_home() || is_front_page()) {
    to
    `if (is_home()) {'
    since is_front_page returns TRUE if there is a page displayed as front page and is_home does not...

  2. hidden driveways
    Member
    Posted 4 years ago #

    I'm trying to figure out how to do this... sort of...

    I'm trying to make a static page the home page. I want to use Thematic as my "resume site" for a lack of a better word. I'm a content writer, and I like that Thematic is so plain looking.

    I haven't been able to figure out how to make a static page the home page yet, but it's promising to hear that it can be done. I'll take another look.

    Example of what I mean... I change the "About" page into my "Resume" page. I want my resume to be the home page when you go to http://www.my-name.com. I like how the tab looks.

    Hopefully I'll get this going... without having to dig into the php. Yikes. That won't go very well.

  3. RavanH
    Member
    Posted 4 years ago #

    hidden, there should be no need to hack theme files. go to settings > reading and set your front page behaviour there...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags