Support » Themes and Templates » Multiple Headers

Viewing 6 replies - 1 through 6 (of 6 total)
  • I believe there is a plugin which can change the header picture, by randomly selecting one from a folder…

    Ahhh yes – here it
    That will only change the image. Is that all you’re after?

    I have a similar question and would be really grateful for any help I can get. I don’t understand PHP.

    I am using the 3 column relaxation theme and want to have rotating headers. I tried to follow the instructions suppleid by the theme designer here

    But I did something wrong at the point where the styelsheet has to be changed.

    Then I put everything back how it was and tried the plugin Rustedwire linked to. It’s installed & activated but I am getting this message at the top of my site:

    Warning: array_rand(): First argument has to be an array in C:\Domains\\wwwroot\wp-content\plugins\randomheader Folder\randomheader.php on line 41

    The same message appeared when I switched back to Kubrick.

    What should I do? I have uploaded a collection of alternate header images to the Images folder inside the Relaxation 3 Column folder. Are they in the wrong place for the above plugin to work properly? And also, should the random image .jpgs have any particular kind of filename?

    Again, thankyou in advance for help with this.

    I’m creating a theme, how could I integrate that plug-in into it?

    You can’t really. The most you can: prepare (=code) the theme to be “ready” for this plugin and, eventually, offer the plugin in your download, too.

    I noticed that this thread has been marked resolved, but my problem is not resolved. I still have some ready image headers but I can’t get them happening.

    I wonder if someone could advise me in a more general way: is it considered OK to email a theme designer for advice / clarification? Also, are the modifications to the stylesheet the theme asks for a bit of a bad idea?

    Thanks in advance for any help or advice.

    I figured it out. It was one of those things that’s so obvious the code writer hasn’t even mentioned it 😉 there is a line with the site url which i had to change from the designer’s site to my own.

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