WordPress.org

Ready to get started?Download WordPress

Forums

Unique header (7 posts)

  1. AboutWeb
    Member
    Posted 3 years ago #

    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/

  2. esmi
    Forum Moderator
    Posted 3 years ago #

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

  3. AboutWeb
    Member
    Posted 3 years ago #

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

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

  5. AboutWeb
    Member
    Posted 3 years ago #

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

  6. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    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

  7. esmi
    Forum Moderator
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags