Credo sia questo:
ad ogni modo sul blog ho messo un altro tema nel frattempo.
codice:
<script type="text/javascript"> stepcarousel.setup({ galleryid: 'mygallery', //id of carousel DIV beltclass: 'belt', //class of inner "belt" DIV containing all the panel DIVs panelclass: 'panel', //class of panel DIVs each holding content autostep: {enable:true, moveby:1, pause:3000}, panelbehavior: {speed:500, wraparound:true, persist:true}, defaultbuttons: {enable: true, moveby: 1, leftnav: ['<?php bloginfo('template_url'); ?>/images/left.png', -38, 90], rightnav: ['<?php bloginfo('template_url'); ?>/images/right.png', 10, 90]}, statusvars: ['statusA', 'statusB', 'statusC'], //register 3 variables that contain current panel (start), current panel (last), and total panels contenttype: ['inline'] //content setting ['inline'] or ['external', 'path_to_external_file'] }) </script> <div id="slider"> <div id="mygallery" class="stepcarousel"> <div class="belt"> <?php $glidecat = get_option('am_feat_cat'); $glidecount = get_option('am_feat_count'); $my_query = new WP_Query('category_name= '. $glidecat .'&showposts= '. $glidecount . ''); while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?> <div class="panel"> <?php slider_image();?> <h2>"><?php the_title(); ?></h2> <?php the_excerpt(); ?> </div> <?php endwhile; ?> </div> </div> </div> <div class="clear"></div>