[UPHPU] What is wrong here?

jay jay at businessofdesignonline.com
Mon Oct 29 18:30:19 MDT 2007


Which method are you using to create the excerpt?  That is, are you 
entering something in the optional excerpt field in the post page or 
relying on the automatic 55 words?

the_excerpt will automatically strip html codes if you are using the 
latter but it will not do so if you are using the former.

If you are still having problems, post the full code for The Loop in 
your page.


Jake Spurlock wrote:
> I am at a little bit of a loss here. I have this string in Wordpress,
> and is throwing all kinds of text over the page.
> <div class="book_item"><a
> href="http://digg.com/submit?phase=2&url=<?php the_permalink();
> ?>&title=<?php the_title(); ?>&bodytext=<?php the_excerpt(); ?>"><img
> src="<?php bloginfo('template_url'); ?>/images/digg.gif" alt="Digg"
> border="0" /></a></div>
> You can see it in action here: http://skiutah.com/blog
> I am running Wordpress 2.3.1. I thought this might be the best place
> to ask. Any ideas?
> Thanks
> Jake Spurlock
> _______________________________________________
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net

More information about the UPHPU mailing list