<h2 class="entry-title"><a href="<?php the_permalink(); ?> "><?php the_title(); ?> </a></h2> <?php include TEMPLATEPATH . '/_/inc/meta.php'; ?> <div class="entry"> <?php echo improved_trim_excerpt(50); ?> </div> <footer class="permalink-button"> <a href="<?php the_permalink(); ?> " class="button">Lire la suite ></a> </footer> </article> <?php } ?>
while (have_posts()) { the_post(); ?> <div <?php post_class('post clear'); ?> id="post_<?php the_ID(); ?> "> <?php get_template_part('post-header'); ?> <div class="post-content"> <?php echo improved_trim_excerpt('', 60, 'Lesa meira'); ?> </div> </div> <?php } ?> </div> <?php }
?> " title="Hlusta á <?php the_title(); ?> "> <?php if ($mp3_url and $mp3_url != '') { ?> <img src="http://lemurinn.is/images/utvarp-play-overlay.png" class="play-overlay" alt="Spila þennan þátt"> <?php } ?> </a> <?php } ?> <div> <span class="post-date"><?php the_time(__('j. F, Y')); ?> | </span> <?php echo improved_trim_excerpt('', 35, 'Nánar'); ?> </div> </div> </div> <?php } }
/* SKIP */ } else { ?> <div class="odd_even<?php echo $ctr % 2 === 0 ? " even" : ""; ?> "> <h4><a href="<?php the_permalink(); ?> " ><?php the_title(); ?> </a></h4> <p><?php echo strip_tags(improved_trim_excerpt(null, 30)); ?> </p> </div> <?php } $ctr++; } ?> <br> <?php kriesi_pagination($allsearch->max_num_pages); ?> <?php } else { ?>