WordPress.org

Support

Support » Themes and Templates » Different header each visit

Different header each visit

  • Hello. I hope I have come to the right forum.

    I wish to have a library of different header images and each time the blog is loaded a different (random) header is called. I want this throughout the blog, not just on main page.

    Any ideas?

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Just the header (top-image)?
    And you want a rotating header on each page?
    1) So that one user if he visits page 1 gets header x, on second page he gets header z, on thir y…
    2) Or that one user always gets the same header?

    1: Just edit theme and add the different background-images in the css by random. Depends on the theme you are using.
    2: difficult, you have to use cookies

    The Image Rotator is an easy way to make an image on your website change every time a visitor reloads the page. The Rotator picks a randomly selected image from a folder you specify and displays it to your visitors.

    http://automaticlabs.com/products/rotator

    Yeh its just the top-image I wish to change. The link johnoz suggested looks like what I want to do. I will check that out.

    Cheers for your help guys

    I need to have a different header on each page, but not a rotating header.

    Page 1 = header1.jpg
    Page 2 = header2.jpg
    . . . etc

    Would I put these in the header.php in some sort of if then statement.
    TIA,
    Jim A.

    Shawn Thorpe
    Participant

    @shawnogordo

    I used this script to implement random banner images on my new WordPress blog. Super easy to install and use.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different header each visit’ is closed to new replies.