• Hi,

    I am building a custom Twenty Eleven Child theme. Going good so far. I have a right sidebar and the content area. I have a image in the header and have successfully inserted a slider/rotator between the header image and the navigation bar. I now want to place a rotator/slider below the navigation bar but above the side bar and content section. I want it to be as wide as the header (1000px). I am using the posts page as the front page and only want this new slider/rotator to appear on the frontpage.

    I need some help as to what file and where I have to place the slider/rotator code to to this.

    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • you can place it just after calling the get_header(); in index.php and give it an if(is_home()); that will display it only if its home.

    Note: if the content wrap starts in the header.php then you’ll have to include the file before that wrap.

    Peace,
    LastForOne

    Thread Starter ps1

    (@ps1)

    Hi,

    Thanks for the reply. I have changed my mind in that I would now like the slider to be in the main content section side by side with the sidebar and not above it. With this on the posts frontpage only.

    I have tried using the above you have suggested but it did not work for me. I have no doubts I am doing something wrong as I just fudge code here and there without any real control or skill.

    I am using wow slider and this is the code I use

    [wowslider id=”20″].

    In what file and where do I insert it?

    Thank you

    thats a shortcode it will not work if you directly paste it in .php files go through the wowslider FAQ or Wiki and find out how to output your slider from within php files..

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Help adding Slider/Rotator’ is closed to new replies.