the_excerpt() function modification
-
Hi everyone,
I’m putting together a website on my local server, the home page consists of the latest post, but I only want to show the except.
I’ve used the_excerpt function to do this, however it strips out all the tags i.e. <p>, </br> etc…
Does anyone have a customised excerpt that preserves the tags? I’ve increased the length of the excerpt to 140 so looks a bit rubbish without any formatting.
I have looked around, but can’t find any that seem to work with the latest version of WP.
Thanks in advance,
marques_uk
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘the_excerpt() function modification’ is closed to new replies.