WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Eleven
If Home Add Flash Banner (3 posts)

  1. Dave333
    Member
    Posted 2 years ago #

    I've built a web site based on Twenty Eleven (using the child theme method) and would now like to add a Flash banner to the top of the body of the Home page.

    Something like:

    "If page is 'Home' then add the flash banner to the top of the page"

    How do I go about doing this?

    Should I do this using the Functions.php file in my child folder?

    On a related point: the Flash banner is simple made of 3 images that rotate, fading into each other. Is Flash to be avoided and should I use a slideshow feature of a plugin like NextGEN instead?

    http://wordpress.org/extend/themes/twentyeleven/

  2. Dave333
    Member
    Posted 2 years ago #

    Well, I have simply pasted the flash code into the sidebar_page.php between the <div id="primary"> and <div id="content" role="main">.

    Seems to work OK but I think this is not the correct method.

    Anyone have any thoughts on that?

  3. Dave333
    Member
    Posted 2 years ago #

    Correction on last post - pasting the flash code into the sidebar_page.php after the primary div only shows the Flash on the Home page. Every other page has a black box where the Flash should be.

    How do I get the Flash to show on all pages?

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic