Posted By

kenjosan on 10/24/11



Versions (?)

Share wp-articles on Twitter

 / Published in: PHP

This script will get rid of the p - tag in the excerpt

  1. <?php $excerpt = strip_tags(get_the_excerpt()); ?>
  2. <a href="<?php the_title(); ?><?php echo $excerpt; ?>" rel="nofollow" title="retweet on twitter">Share on Twitter</a>

Report this snippet  

You need to login to post a comment.