Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress Post Excerpt Theme Issue [the_excerpt()] Re: WordPress Post Excerpt Theme Issue [the_excerpt()]

#73134
blue642
Member

your problem lies in the code that creates the Recent entries…

Code:

Recent Entries

ID == $do_not_duplicate ) continue; update_post_caches($posts); ?>

” rel=”bookmark” title=”Permanent Link to “>

Read More..‘); ?>

Code:
Read More..‘); ?>

The above line by default strips all HTML and graphics by default.

"it will display a teaser which refers to the first 55 words of the post’s content. Also in the latter case, HTML tags and graphics are stripped from the excerpt’s content." – from the codex http://codex.wordpress.org/Template_Tags/the_excerpt

you can fix it by following the great article here…

http://www.aaronrussell.co.uk/blog/improving-wordpress-the_excerpt/

Hope that helps,
Blue