Image slideshow on text widget
-
Am trying to put a slideshow on a text widget by placing links in the widget but only the first image displays. The other images to not slide. Is there an easier way to do this? the original html looks like this
<div id="sliders"> <div id="picha"> <img src="images/beach2.jpg" width="284" height="418" alt="beach" /> <img src="images/breezes2.jpg" width="284" height="418" alt="beach" /> <img src="images/beach.jpg" width="284" height="418" alt="beach" /> </div> </div><!--/sliders -->
on the wp theme
<div id="sliders"> <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('Accomodation_slide')) : else : ?> <p>Add images to the respective widgets on the dashboard</p> <?php endif; ?> </div><!--/sliders -->
and on functions.php
if (function_exists('register_sidebar')) { register_sidebar(array( 'name' => 'Accomodation_slide', 'id' => 'picha', 'description' => 'Accomodation: Images must be 284px by 418px', 'before_widget' => '<div id="picha" class="pichaz">', 'after_widget' => '</div>' ));
Am using a simple jquery slide and it works fine when its static but i want an easier way to add images to this widget.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Image slideshow on text widget’ is closed to new replies.