Support » Theme: Twenty Eleven » [Theme: Twenty Eleven] If Home Add Flash Banner
5 years, 4 months 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.
“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?
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?
5 years, 3 months 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?