Forums

A Different Header Pic for Each Page (5 posts)

  1. herbyderby
    Member
    Posted 1 year ago #

    All,

    Setup: WP 3.1
    Installed and running Starkers "naked" theme. Using DIVs to "frame" the page template and CSS to style it. So I'm using my own CSS, not WP's out of the box stuff.

    I've created a page template using the page.php. It's not pretty yet and I am still working on it. http://www.kemapartners.com/staging

    I need to have a specific photo load for each page, not the same one for every page. I hope that makes sense. Right now, I use CSS to display the background image of the "Header" DIV.

    Any thoughts? I imagine this has been posted 1,745 times, but I was unsure what to look under.

    Any *help* is appreciated.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have a look at the header.php file in the Twenty Ten theme. It uses featured images for single post pages. Perhaps you could re-use some of the code in your theme?

  3. alchymyth
    The Sweeper
    Posted 1 year ago #

  4. herbyderby
    Member
    Posted 1 year ago #

    Thanks, esmi. It seems that the image goes in the post itself, but I will investigate further.

    alchymyth: Looks interesting...thank you.

  5. herbyderby
    Member
    Posted 1 year ago #

    alchymyth: that code worked perfectly. the directions were a little...vague, but it works like a charm! thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic