WordPress.org

Ready to get started?Download WordPress

Forums

WP Rotator
Multiple WP Rotator Sliders in one site (2 posts)

  1. Jason Paul
    Member
    Posted 2 years ago #

    I was just wondering if there's a simple way to have a client create their own sliders so they can embed them inside their posts on their own. Something that works more like Slidedeck. I'm more interested in WP Rotator because it works with Flex Slider so you can use a slider in Responsive design sites. Slidedeck, as I understand it, does not support this. But the advantage of Slidedeck is that clients can generate their own sliders on the fly without developer support. Just wondering.

    http://wordpress.org/extend/plugins/wp-rotator/

  2. What I normally do is use the wp_get_attachment_image function.

    In my theme file, I normally use something like:

    <ul>
    <?php if ( have_posts() ) : while ( have_posts() ) : the_post();    
    
     $args = array(
       'post_type' => 'attachment',
       'numberposts' => -1,
       'post_status' => null,
       'post_parent' => $post->ID
      );
    
      $attachments = get_posts( $args );
         if ( $attachments ) {
            foreach ( $attachments as $attachment ) {
               echo '<li>';
               echo wp_get_attachment_image( $attachment->ID, 'full' );
               </li>';
              }
         }
    
     endwhile; endif; ?>
    </ul>

    Then I just convert the list to whatever is needed for the slider to work. So all the client has to do is upload images and attach them to a post. The only thing that you need to be careful is that the client needs to know what sizes to upload. But if you want, you can add an extra check and ensure that he/she has uploaded the right size and format.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags