• I appreciate this question appears to have been asked several times, but as all are 1 or 2 years old, as a newby to WordPress I am hoping that more recent versions of WordPress have easier ways of achieveing this requirement.
    The site I plan to build is a WordPress version of http://www.stbees.org.uk which you will see has about 20 sections covering different aspects of the village, each with its own header text & image.

Viewing 7 replies - 1 through 7 (of 7 total)
  • have you tried the 1 to 2 year old anwers?
    they might still be applicable today.

    what theme are you using or planning to use?

    Thread Starter begadoc

    (@begadoc)

    I must admit I haven’t as they are slightly compex and as I am still learning my way around both WOrdpress and php I was hoping that there would be some plugin to do it now as there is for determining whether or not a widget displays on a given page (which solved a similar problem in respect of side bar content).
    The theme I am trying out is Weaver 2.2.6 (Wheat) – will probably go with that one.

    Thread Starter begadoc

    (@begadoc)

    That’s one of the ones I tried to control what displayed on side panels (though ended up using Display Widgets which was better for my purposes). What I (think I) need is something to change the image used in header.php on each page.
    Thanks anyway.

    Will this header image be applied via CSS? If so, using the body_class() function will let you apply header images using classes generated on the <body> element. You can achieve the same thing if the images are being applied within header.php itself but that would take some conditional scripting and may not be quite a flexible as the CSS method.

    afaik, Weaver is based on Twenty Ten, and might have the same coding to show a header image if the page/post has a ‘featured imge’ with the minimum header image dimensions.

    Thread Starter begadoc

    (@begadoc)

    Thanks for your help ladies/gentlemen. I’m afraid this proves I need to climb further up the learning curve! While I have a fair understanding of CSS and HTML, I have no idea as yet as to where to find and apply these suggestions in WOrdpress. It ain’t easy to do what I want to do.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How do I displaya different image on each page’ is closed to new replies.