WordPress.org

Support

Support » Themes and Templates » [Theme: Graphene] Changing h-tags on header for categories..

[Theme: Graphene] Changing h-tags on header for categories..

  • I found out how to change the H tags for pages and post but i cant figure out how to change it on categories. For pages and post it uses the title of post for the H1 tag and the site name for H2. Under categories it uses site name for H1 i would like to change it to H2 and the category title ass H1.

    Any suggestions i am not too techie with editing the php. files though i edited the header php for post and page with this..

    <?php /* The site title and description */
    if (is_singular() && !is_front_page()) {
    $title_tag = ‘h2’;
    $desc_tag = ‘h3’;
    } else {
    $title_tag = ‘h1’;
    $desc_tag = ‘h2’;
    }
    ?>

    i would like to include the category in here if its possible anyone know how?..

    Also when doing this the font size changes for the site-name under pages and posts. The site-name font size turns into h2…..

    http://wordpress.org/extend/themes/graphene/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Graphene] Changing h-tags on header for categories..’ is closed to new replies.