Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--start peKenBurns slider-->
- <div class="peKenBurns" data-mode="kb" data-controls="hideOnFirst" data-logo="enabled" data-captions="enabled">
- <?php query_posts("cat=12&paged=$paged"); ?>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div class="peKb_active" data-delay="5" data-thumb="<?php bloginfo('template_url'); ?>/src/resize.php?url=<?php echo img($tamany = 'portada_url'); ?>&size=240x160c50">
- <img src="<?php bloginfo('template_url'); ?>/src/resize.php?url=<?php echo img($tamany = 'portada_url'); ?>&size=1200x800c50" alt="<?php the_title(); ?>" />
- <h1><?php the_excerpt(''); ?></h1>
- </div>
- <?php endwhile;
- wp_reset_query(); ?>
- <?php else : ?>
- <?php endif; ?>
- <?php rewind_posts(); ?>
- <?php query_posts("cat=12&paged=$paged"); ?>
- <?php if (have_posts()) : ?>
- <?php while (have_posts()) : the_post(); ?>
- <div data-delay="5" data-thumb="<?php bloginfo('template_url'); ?>/src/resize.php?url=<?php echo img($tamany = 'portada_url'); ?>&size=240x160c50">
- <img src="<?php bloginfo('template_directory'); ?>/images/presentacion/blank.png" data-src="<?php bloginfo('template_url'); ?>/src/resize.php?url=<?php echo img($tamany = 'portada_url'); ?>&size=1200x800c50" alt="<?php the_title(); ?>" />
- <h1><?php the_excerpt(''); ?></h1>
- </div>
- <?php endwhile; ?>
- <?php else : ?>
- <?php endif; ?>
- </div>
- <!--end peKenBurns slider -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement