Sure!
<!-- Loop -->
<?php $oddentry = 'class="gray" '; ?>
<?php query_posts('cat=14&showposts=4&offset=1'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div <?php echo $oddentry; ?>>
<div class="midcolumnpost">
<h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
<!-- ******************* HERE IS THE EXCERPT ******************** -->
<?php strip_tags(the_excerpt());?>
<!-- ************************************************************ -->
<div class="details">
<?php the_time('F Y'); ?> | <?php comments_popup_link(__('Comment'), __('1 comment'), __('% comments'));?> | <a href="<?php echo get_permalink(); ?>" title="Read more">Read more...</a>
</div>
</div>
</div>
<?php /* Changes every other post to a different class */ $oddentry = ( empty( $oddentry ) ) ? 'class="gray" ' : ''; ?>
<!-- End of Loop for middle column -->
<?php endwhile; else : ?>
<?php endif; ?>
I’d like to strip html tags just from this loop. In the same page I have other loops in where I’d like to keep html in the custom excerpt.
Thanks!