WordPress.org

Ready to get started?Download WordPress

Forums

Rotating images (5 posts)

  1. learnerblogger
    Member
    Posted 6 years ago #

    What I want to do: use a rotating image script on all pages except the main page of a site.

    On the theme I am playing with (fheaven from http://www.fahlstad.se/themes )the image (not part of the header but on the post / page) is called via the css. I have sucessfully inserted rotating images using a rotating script but I want the main page to always show the same image.

    How to do this? Newbie here!

  2. charle97
    Member
    Posted 6 years ago #

    use the is_home() tag

  3. learnerblogger
    Member
    Posted 6 years ago #

    Thanks, however I need a little more help.

    the image is in the css so I have made another class in the header called #imagehome which calls the static image.

    The code where the image is inserted is

    <div id="content">

    <div id="image"></div>

    Where and how to I put the is_home() tag

  4. charle97
    Member
    Posted 6 years ago #

    use pastebin to show actual code

  5. xinxin
    Member
    Posted 6 years ago #

    Thanks for the tip charle97. Could someone explain exactly how and where I use this tag?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags