anyone have wordpress theme with <h1> tag on post title not blog title...
all default wordpress theme make post title as <h2> and blog title as <h1>
it's hard to find that :doh:
Printable View
anyone have wordpress theme with <h1> tag on post title not blog title...
all default wordpress theme make post title as <h2> and blog title as <h1>
it's hard to find that :doh:
I don't know, I asked my programmer to do it, and according to him it was a 5 minutes work.
it's very easy. open the desired theme folder and edit the file single.php with your favorite text editor.
search for the <h2> post title:
now replace h2 with h1. the result would be:Code:<h2><?php the_title(); ?></h2>
Code:<h1><?php the_title(); ?></h1>
Note: don't forget to edit the <h1> header for Blog Title in header.php.
Because if you don't edit it you will have two <h1> tags and that is not recommended at all.Code:<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
You need to update this in:
single.php
page.php
index.php
archive.php
If the theme has all these files (probably yes)
even better option is next thing.
main page (so your frontpage) need to have blog name in h1 and blogposts titles in h2.
on single.php and page.php you need to have h1 on blogposts titles and nothing around blogname in header ;)