Forums

Image slideshow on text widget (6 posts)

  1. mocreativity
    Member
    Posted 4 months ago #

    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.

  2. SwansonPhotos
    Member
    Posted 4 months ago #

    NextGen Gallery allows to display a slideshow in a widget.

  3. mocreativity
    Member
    Posted 4 months ago #

    Thanks SwansonPhotos, I have managed to install the plugin and created a few galleries on pages, how do I implement the slideshow on the text widget?

  4. mocreativity
    Member
    Posted 4 months ago #

    I have an issue here, when I drag the nextgen gallery slideshow to my widget, it just shows the loading gif but the images don't show, what could I be doing wrong?

  5. SwansonPhotos
    Member
    Posted 4 months ago #

    Assuming your theme supprts Widgets, you should now (after activating NextGen Gallery) have a new Widget - go look!

  6. mocreativity
    Member
    Posted 4 months ago #

    Thanks SwansonPhotos, That worked perfectly

Reply

You must log in to post.

About this Topic