Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Opiniones Pacientes Dexeus
- */
- ?>
- <?php get_header(); ?>
- <div id="content" class="blog">
- <div class="g960">
- <p class="breadcrumb"><span class="init"><?php _e('<!--:es-->Usted está en:<!--:--><!--:en-->Your are in:<!--:--><!--:ca-->Vostè està en:<!--:-->'); ?></span> <a href="<?php echo qtrans_convertURL('/opiniones-pacientes-familia-dexeus/'); ?>">Opiniones Pacientes Familia Dexeus</a> > <?php echo single_cat_title( '', true ); ?></p>
- </div>
- <div class="g720">
- <ul class="post-list">
- <?php query_posts('category_name=testimonios&posts_per_page=3'); ?>
- <?php global $more; $rotator = 0; if (have_posts()) : while (have_posts()) : the_post(); $more = 0; $rotator++; ?>
- <li>
- <h2><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
- <div class="post-meta">
- <p><?php _e('<!--:en-->Written at<!--:--><!--:es-->Escrito el<!--:--><!--:ca-->Escrit el<!--:-->'); ?> <?php the_time('j F, Y'); ?>, <?php _e('<!--:en-->by<!--:--><!--:es-->por<!--:--><!--:ca-->per<!--:-->'); ?> <?php the_author_posts_link() ?>, <?php _e('<!--:en-->in<!--:--><!--:es-->en<!--:--><!--:ca-->a<!--:-->'); ?> <?php the_category(', ') ?>, <?php comments_popup_link(__('<!--:en-->and without Comments<!--:--><!--:es-->y sin Comentarios<!--:--><!--:ca-->i sense Comentaris<!--:-->'), __('<!--:en-->with<!--:--><!--:es-->con<!--:--><!--:ca-->amb<!--:-->').' 1 '.__('<!--:en-->Comment<!--:--><!--:es-->Comentario<!--:--><!--:ca-->Comentari<!--:-->'), __('<!--:en-->with<!--:--><!--:es-->con<!--:--><!--:ca-->amb<!--:-->').' % '.__('<!--:en-->Comments<!--:--><!--:es-->Comentarios<!--:--><!--:ca-->Comentaris anteriors<!--:-->')); ?></p>
- </div><!--.postMeta-->
- <div class="post-content">
- <?php if (get_the_post_thumbnail($post->ID, 'thumbnail')) { ?>
- <p class="featured-image"><a href="<?php the_permalink(); ?>"><?php echo get_the_post_thumbnail($post->ID, 'thumbnail'); ?></a></p>
- <?php } // end if ?>
- <?php if (has_more()) {
- the_content(__("<!--:es-->¿Quieres conocer mi historia? »<!--:--><!--:en-->Would you like to know more? »<!--:--><!--:ca-->Vols conèixer la resta? »<!--:-->"));
- } else {
- echo '<p>'.shorten_text(220).' <a href="';
- the_permalink();
- echo '">'.__("<!--:es-->Leer más »<!--:--><!--:en-->Read more »<!--:--><!--:ca-->Llegir més »<!--:-->").'</a></p>';
- }
- ?>
- </div>
- </li>
- <?php if (($rotator % 2 == 0) && is_sticky()) {
- /* echo '<li class="sticky-clear"> </li>'; */
- } // end if ?>
- <?php endwhile; ?></ul><?php else: ?>
- <div class="no-results">
- <p>
- <strong>Pues ha habido algún tipo de error.</strong>
- <br />
- Aquí no hay nada.
- </p>
- <p>
- Lamentamos los problemas que pueda causar, pruebe con nuestro buscador.
- </p>
- </div><!--noResults-->
- <?php endif; ?>
- <div class="newer-older">
- <p class="older"><?php next_posts_link('« '.__('<!--:en-->Previous opinions<!--:--><!--:es-->Opiniones anteriores<!--:--><!--:ca-->Opinions anteriors<!--:-->')); ?></p>
- <p class="newer"><?php previous_posts_link(__('<!--:en-->Recent opinions<!--:--><!--:es-->Opiniones recientes<!--:--><!--:ca-->Opinions recents<!--:-->').' »'); ?></p>
- </div>
- </div>
- <div class="g240"><?php if ( ! dynamic_sidebar( 'SidebarTestimonios' ) ) : ?><?php endif ?></div>
- <div class="clear"> </div>
- </div>
- <?php get_footer(); ?>
Add Comment
Please, Sign In to add comment