Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   [SOLVED] Make excerpts ignore HTML tags when counting? (http://forum.bytesforall.com/showthread.php?t=4450)

daniel3ub Nov 15, 2009 05:43 PM

[SOLVED] Make excerpts ignore HTML tags when counting?
 
hi! My site is almost ready, and soon I can open it to the world!

I think this is a bug in the way Atahualpa make the excerpts: when the last word from the excerpt is inside an HTML tag, it stripes the HTML tag. Thus, the tag does not close, and the results can be very weird (specially if the post is the last one on the page: then the sidebar is rendered just below the post, in the main column).

Is there any way to make atahualpa only count the actual rendered words in a post for making the excerpt?

juggledad Nov 16, 2009 07:00 AM

have you reviewed http://forum.bytesforall.com/showthread.php?t=3377

daniel3ub Nov 16, 2009 07:51 AM

I had read the thread before your last reply!
Thanks a lot!


All times are GMT -6. The time now is 11:05 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.