WordPress.org

Ready to get started?Download WordPress

Forums

Random Header Plug-In? (5 posts)

  1. DanBollinger
    Member
    Posted 8 years ago #

    I've tried three plug-ins to randomly insert a different top.jpg banner into Connections theme running under WP 2.0.2. Despite my best efforts, none have worked. Any ideas?

    I've tried:
    Randomize
    Random Header
    Rotate

  2. UpTheToon
    Member
    Posted 8 years ago #

    I use rotator on my site, it does the job well

    http://automaticlabs.com/products/rotator

    John.

  3. DanBollinger
    Member
    Posted 8 years ago #

    Neat! It works well when calling it directly using my browser. How do I put it in my code?

    In the theme CSS stylesheet it now calls for the banner as:

    #header {
    background:#fff url(img/top.jpg) no-repeat bottom;

    How would this work using the rotater script?

    <img src="http://example.com/rotate.php">

    thanks, Dan

  4. UpTheToon
    Member
    Posted 8 years ago #

    is top.jpg your current header?

    just change it to point to rotator.php

    eg. if you just dropped the rotator.php into the img folder...

    #header {
    background:#fff url(img/rotator.php) no-repeat bottom;

    does that work?

  5. DanBollinger
    Member
    Posted 8 years ago #

    Excellent! Works perfectly. I owe you one. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags