Adding Slideshow to font page
-
Hi,
I would like to able to add a slideshow to the front page of a site I am developing. The font page is set as static and it templated by a file called front-page.php, which makes a plugin hard. I have found various javascript examples but have failed to get them to work as they require script in the <head> and <body> sections, which the front-page.php does not have. How can I add a slide show, either through a plugin (though not sure how with no physical page the wordpress dashboard) or code. I am sort of experienced with wordpress and html but am only starting out with php.
Thanks
-
What theme are you using? Where did you download it from?
Infoway, from ww.wp.xz.cn/themes
First, create a child theme and then have a look at http://ww.wp.xz.cn/extend/plugins/cimy-header-image-rotator/
Thanks for this. I’m trying to get it working now.
Hi again,
I’ve got this code in my front-page.php file:
<div id="cimy_div_id_0">Loading images...</div> <div class="cimy_div_id_0_caption"></div> <style type="text/css"> #cimy_div_id_0 { float: left; margin: 1em auto; border: 1px solid #000000; width: 950px; height: 370px; overflow: hidden; visibility: visible; } div.cimy_div_id_0_caption { position: absolute; margin-top: 175px; margin-left: -75px; width: 150px; text-align: center; left: 50%; padding: 5px 10px; background: black; color: white; font-family: sans-serif; border-radius: 10px; display: none; z-index: 2; } </style> <noscript> <div id="cimy_div_id_0_nojs"> <img id="cimy_img_id" src="http://localdigitalnews.webserver/wordpress/wp-content/Cimy_Header_Images/0/studio.png" alt="" /> </div> </noscript>Except all I see is a blank box with no image. Any ideas?
Hi again,
I’ve got this code in my front-page.php file:
<div id="cimy_div_id_0">Loading images...</div> <div class="cimy_div_id_0_caption"></div> <style type="text/css"> #cimy_div_id_0 { float: left; margin: 1em auto; border: 1px solid #000000; width: 950px; height: 370px; overflow: hidden; visibility: visible; } div.cimy_div_id_0_caption { position: absolute; margin-top: 175px; margin-left: -75px; width: 150px; text-align: center; left: 50%; padding: 5px 10px; background: black; color: white; font-family: sans-serif; border-radius: 10px; display: none; z-index: 2; } </style> <noscript> <div id="cimy_div_id_0_nojs"> <img id="cimy_img_id" src="http://localdigitalnews.webserver/wordpress/wp-content/Cimy_Header_Images/0/studio.png" alt="" /> </div> </noscript>Except all I see is a blank box with no image. Any ideas?
Please post in http://ww.wp.xz.cn/support/plugin/cimy-header-image-rotator
The topic ‘Adding Slideshow to font page’ is closed to new replies.