• AboutWeb

    (@aboutweb)


    Hi, by default WordPress puts the same header as your site name in <h1> tag sitewide. I would like to have a unique header for every post/page. Any idea how to do this ?
    My blog is http://www.aboutweb.eu/

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi

    (@esmi)

    WordPress does not put anything in an <h1> tag by default. This is governed by your theme – not WordPress.

    Thread Starter AboutWeb

    (@aboutweb)

    My theme is using a WordPress code for header. How to hack that code to have different header in every post ?

    esmi

    (@esmi)

    Have a look at the header in the Twenty Ten theme. It uses the featured image option to display a unique header image on all single Posts and Pages.

    Thread Starter AboutWeb

    (@aboutweb)

    I can set a feature image myself, but I was talking about <h1> header.

    Michael

    (@alchymyth)

    if you want to have a different text in a h1 tag for each post/page, consider using custom fields:
    http://codex.wordpress.org/Custom_Fields

    esmi

    (@esmi)

    Twenty Ten uses the featured image to create individual header images. It should be possible to re-use that technique to populate the h1 tag.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unique header’ is closed to new replies.