Grow your CSS skills. Land your dream job.

WordPress plug-in to rotate background images

  • # April 24, 2011 at 7:11 pm

    Is there a wordpress plug-in to rotate background images? I can’t decide between a few for this site and though it might be good to randomly rotate a 2 or 3 different ones. Is this possible?

    http://www.kamcheng.net

    # April 24, 2011 at 7:50 pm

    do you want it to choose from a set and randomly display on on page load?
    http://css-tricks.com/snippets/php/randomize-background-image/

    or do you want the image to change while the user is viewing the page? This is also doable but sounds pretty distracting if its a background image on the body.

    # April 25, 2011 at 9:49 am

    Why does it say that the PHP goes ABOVE the DOCTYPE? Nothing should go above the DOCTYPE??? Right?

    # April 26, 2013 at 11:16 pm

    use this[ image rotator](http://www.rasteredge.com/how-to/vb-net-imaging/rotate-image/ “”), i am not sure if if a plug-in though.

    # April 27, 2013 at 6:15 am

    A little javascript for randomise your body background …

    # April 27, 2013 at 1:39 pm

    > Why does it say that the PHP goes ABOVE the DOCTYPE? Nothing should go above the DOCTYPE??? Right?

    Pretty much all server side languages can go above the DOCTYPE. In the example you mention, PHP processes the variables so they are available within the document. Nothing actually gets outputted above the DOCTYPE.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".